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 9:37 PM, Sean Case wrote:
> 
> 
>> On 16 Jan 2023, at 09:59, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> 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:
> 
> [ installation fails in postinst ]
> 
>> 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.
>>
> 
> What jumps out is the dog that didn't bark.  At no point did the build process attempt
> to put the missing files into Emacs.app/Contents.
> 
>> 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?
> 
> The output is rather telling:
> 
> gsc@192-168-1-3 Barsoom % 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
> 
> -rw-r--r-- root/admin     6476 2023-01-16 12:48 ./opt/sw/share/man/man1/emacs.1.gz
> 
> gsc@192-168-1-3 Barsoom % dpkg-deb -c /opt/sw/fink/dists/stable/main/binary-darwin-x86_64/editors/emacs26-app_26.3-2_darwin-x86_64.deb| grep ctags
> 
> -rwxr-xr-x root/admin   145160 2023-01-16 12:52 ./opt/sw/bin/ctags
> -rw-r--r-- root/admin     6602 2019-01-08 01:26 ./opt/sw/share/emacs/26.3/lisp/org/org-ctags.el.gz
> -rw-r--r-- root/admin    12132 2019-08-22 08:57 ./opt/sw/share/emacs/26.3/lisp/org/org-ctags.elc
> -rw-r--r-- root/admin       37 2023-01-16 12:48 ./opt/sw/share/man/man1/ctags.1.gz
> 
> It looks as if the package has got the man pages for emacs, ctags, etags, ebrowse,
> and emacsclient in /opt/sw/share/man, and the  binaries for ctags etc in /opt/sw/bin,
> but the postinst script expects to find them inside Emacs.app/Contents/Resources and
> Emacs.app/Contents/MacOS respectively.
> 
> The postinst also refers to executables for b2m, rcs-checkin, and grep-changelog,
> which do not appear to be in the package at all.
> 
> Am I the only one having this problem?

Sounds like the build system failed to detect the build wanted a .app 
bundle and defaulted to the unixy layout.

Towards the end of the configure output, there's a line that starts 
"Where should the build process" followed by a summary of what features 
will be used. Then there's a paragraph on my output that says "The 
installed application will go to nextstep/Emacs.app"

This is what I got on 10.14.6 where emacs26-app just built and runs 
(although the update-alternatives may need some work)

   Where should the build process find the source code?    .
   What compiler should emacs be built with?               gcc -O1
   Should Emacs use the GNU version of malloc?             no
     (The GNU allocators don't work with this system configuration.)
   Should Emacs use a relocating allocator for buffers?    no
   Should Emacs use mmap(2) for buffer allocation?         no
   What window system should Emacs use?                    nextstep
   What toolkit should Emacs use?                          none
   Where do we find X Windows header files?                NONE
   Where do we find X Windows libraries?                   NONE
   Does Emacs use -lXaw3d?                                 no
   Does Emacs use -lXpm?                                   no
   Does Emacs use -ljpeg?                                  no
   Does Emacs use -ltiff?                                  no
   Does Emacs use a gif library?                           no
   Does Emacs use a png library?                           no
   Does Emacs use -lrsvg-2?                                no
   Does Emacs use cairo?                                   no
   Does Emacs use -llcms2?                                 no
   Does Emacs use imagemagick (version 6)?                 no
   Does Emacs support sound?                               no
   Does Emacs use -lgpm?                                   no
   Does Emacs use -ldbus?                                  no
   Does Emacs use -lgconf?                                 no
   Does Emacs use GSettings?                               no
   Does Emacs use a file notification library?             yes (kqueue)
   Does Emacs use access control lists?                    yes
   Does Emacs use -lselinux?                               no
   Does Emacs use -lgnutls?                                no
   Does Emacs use -lxml2?                                  yes
   Does Emacs use -lfreetype?                              no
   Does Emacs use -lm17n-flt?                              no
   Does Emacs use -lotf?                                   no
   Does Emacs use -lxft?                                   no
   Does Emacs use -lsystemd?                               no
   Does Emacs directly use zlib?                           yes
   Does Emacs have dynamic modules support?                yes
   Does Emacs use toolkit scroll bars?                     yes
   Does Emacs support Xwidgets (requires gtk3)?            no
   Does Emacs have threading support in lisp?              yes


The output from the x11 variant looks very different.

Hanspeter

-- 
........\|/......\|/........
........~@-/ oO \-@~........
......../_( \__/ )_\........
...........\__U_/...........
....NEENER NEENER NEENER....



_______________________________________________
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.