Opened 16 months ago

Last modified 7 months ago

#66588 assigned defect

emacs does not configure and ffmpeg does not build if gmake is installed with the +guile variant

Reported by: snowflake (Dave Evans) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gmake emacs ffmpeg

Description

I noticed that the buildbots were building emacs without any problems. Here on my machines, there was a problem on El Capitan, but not on Monterey.

There was a segmentation fault during the configure phase. I deactivated gmake and the configure phase completed.

Here is the tail of the log:

config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
./config.status: line 2469: 88402 Segmentation fault: 11  ${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force
config.status: error: 'src/epaths.h' could not be made.
Command failed:  cd "/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_editors_emacs/emacs/work/emacs-28.2" && ./configure --prefix=/opt/local --disable-silent-rules --without-ns --without-x --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-native-compilation 
Exit code: 1
Error: Failed to configure emacs: consult /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_editors_emacs/emacs/work/emacs-28.2/config.log
Error: Failed to configure emacs: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
DEBUG:     while executing
DEBUG: "$procedure $targetname"
Error: See /opt/local/var/macports/logs/_Users_davidevans_macports_sources_github.com_macports_macports-ports_editors_emacs/emacs/main.log for details.

Attachments (1)

gmake_2022-12-30-101451_two.crash (11.3 KB) - added by snowflake (Dave Evans) 16 months ago.
gmake crash log while configuring emacs on macOS 10.11.6

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Can you attach the crash log?

Changed 16 months ago by snowflake (Dave Evans)

gmake crash log while configuring emacs on macOS 10.11.6

comment:2 Changed 16 months ago by snowflake (Dave Evans)

I've attached the crash log. For some unknown reason this ticket is not shown as modified in the Trac timeline. Maybe it was because I posted it at precisely 1 Jan 2023 00:00:00 UTC.

comment:3 Changed 15 months ago by snowflake (Dave Evans)

Port: ffmpeg added
Summary: emacs @28.2_1+nativecomp - does not configure if gmake is active, at least on El Capitanemacs does not configure and ffmpeg does not build if gmake is installed with the +guile variant

I've changed the summary of this ticket.

Today ffmpeg needed to be upgraded. The build phase failed with a seg fault in gmake. This was very similar to the error reported when emacs was configuring.

I noticed that gmake was installed with the +guile variant. I installed gmake without the +guile variant and both emacs and ffmpeg now configured and built.

I tested this on both El Capitan and Monterey.

Port versions:

emacs @28.2_1
ffmpeg @4.4.2_4
gmake @4.4

comment:4 Changed 7 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.