Re: emacs26-app fails to install

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 1/15/23 2:26 PM, Sean Case wrote:
> On Catalina, using the dpkg1.16 branch of fink.
> 
> emacs26-app builds OK, but then:
> 
>> gsc@192-168-1-3 Barsoom % fink install emacs26-app
>> Password:
>> Information about 15252 packages read in 126 seconds.
>> The package 'emacs26-app' will be installed.
>> Reading dependency for emacs26-app-26.3-2...
>> Reading runtime dependency for emacs26-app-26.3-2...
>> The following package will be installed or updated:
>>   emacs26-app
>> Reading buildlock packages...
>> 	All buildlocks accounted for.
>> /opt/sw/bin/dpkg-lockwait -i /opt/sw/fink/dists/stable/main/binary-darwin-x86_64/editors/emacs26-app_26.3-2_darwin-x86_64.deb
>> Selecting previously unselected package emacs26-app.
>> (Reading database ... 275951 files and directories currently installed.)
>> Preparing to unpack .../emacs26-app_26.3-2_darwin-x86_64.deb ...
>> Unpacking emacs26-app (26.3-2) ...
>> Setting up emacs26-app (26.3-2) ...
>> update-alternatives: using /opt/sw/Applications/Emacs.app/Contents/MacOS/Emacs to provide /opt/sw/bin/emacs26 (emacs) in auto mode
>> update-alternatives: warning: skip creation of /opt/sw/share/man/man1/emacs.1 because associated file /opt/sw/Applications/Emacs.app/Contents/Resources/man/man1/emacs.1 (of link group emacs) doesn't exist
>> update-alternatives: error: alternative path /opt/sw/Applications/Emacs.app/Contents/MacOS/bin/ctags doesn't exist
>> dpkg: error processing package emacs26-app (--install):
>>   installed emacs26-app package post-installation script subprocess returned error exit status 2
>> Processing triggers for dpkg-base-files (0.4-1) ...
>> Clearing dependency_libs of .la files in /opt/sw/lib ...
>> Processing triggers for install-info (6.8-700) ...
>> install-info: warning: no info dir entry in `/opt/sw/share/info/automake-history.info'
>> Errors were encountered while processing:
>>   emacs26-app
>> ### execution of /opt/sw/bin/dpkg-lockwait failed, exit code 1
>> Failed: can't install package emacs26-app-26.3-2

Looks like something got misbuilt with your emacs26. Try rebuilding and 
use the `-l` flag to capture a log file

fink -kl rebuild emacs26

This saves a log of the build output to /tmp. You can then look through 
it to see if anything jumps out.

Also, if you run this (a single line command):
dpkg-deb -c 
/opt/sw/fink/dists/stable/main/binary-darwin-x86_64/editors/emacs26-app_26.3-2_darwin-x86_64.deb 
| grep emacs.1

Do you get any output?

Hanspeter

-- 
Ad Astra



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.