#65328 closed defect (invalid)

emacs-mac-app compilation failed

Reported by: lyskov (Sergey Lyskov) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: emacs-mac-app

Description (last modified by lyskov (Sergey Lyskov))

Attempt to install emacs-mac-app fail on build step with the following error. Please see attachment for a full version of build log. Thanks,

:debug:main Starting logging for emacs-mac-app @9.0_0+nativecomp
:debug:sysinfo macOS 12.4 (darwin/21.5.0) arch i386
:debug:sysinfo MacPorts 2.7.2
:debug:sysinfo Xcode none
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:debug:main epoch: in tree: 1 installed: 1
:debug:main autoconf 2.71_1 exists in the ports tree
:debug:main autoconf 2.71_1  is the latest installed
:debug:main autoconf 2.71_1  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/autoconf
<SKIPPED>
:info:build macappkit.m:1117:16: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
:info:build       [manager dispatchRawAppleEvent:&appleEvent withRawReply:&reply
:info:build                ^
:info:build macappkit.m:9255:40: error: use of undeclared identifier 'NSAppKitVersionNumber11_0'; did you mean 'NSAppKitVersionNumber10_0'?
:info:build   if (floor (NSAppKitVersionNumber) == NSAppKitVersionNumber11_0)
:info:build                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build                                        NSAppKitVersionNumber10_0
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:37:30: note: 'NSAppKitVersionNumber10_0' declared here
:info:build static const NSAppKitVersion NSAppKitVersionNumber10_0 = 577;
:info:build                              ^
:info:build macappkit.m:13237:38: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
:info:build       NSData *compiledData = [script compiledDataForType:nil
:info:build                                      ^                   ~~~
:info:build 2 warnings and 1 error generated.
:info:build make[1]: *** [macappkit.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcdef_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_emacs-mac-app/emacs-mac-app/work/mituharu-emacs-mac-3ff676c2f98c/src'
:info:build make: *** [src] Error 2
:info:build make: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcdef_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_emacs-mac-app/emacs-mac-app/work/mituharu-emacs-mac-3ff676c2f98c/doc/emacs'
:info:build make[1]: Leaving directory `/Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcdef_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_emacs-mac-app/emacs-mac-app/work/mituharu-emacs-mac-3ff676c2f98c/doc/lispref'
:info:build make: Leaving directory `/Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcdef_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_emacs-mac-app/emacs-mac-app/work/mituharu-emacs-mac-3ff676c2f98c'
:info:build Command failed:  cd "/Users/abcdef/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcdef_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_emacs-mac-app/emacs-mac-app/work/emacs-28.1-mac-9.0" && /usr/bin/make -j32 -w all NATIVE_FULL_AOT=1 
:info:build Exit code: 2
:error:build Failed to build emacs-mac-app: command execution failed

Attachments (1)

main.log (333.5 KB) - added by lyskov (Sergey Lyskov) 23 months ago.
full main.log

Download all attachments as: .zip

Change History (5)

comment:1 Changed 23 months ago by lyskov (Sergey Lyskov)

Description: modified (diff)

Changed 23 months ago by lyskov (Sergey Lyskov)

Attachment: main.log added

full main.log

comment:2 Changed 23 months ago by lyskov (Sergey Lyskov)

Description: modified (diff)

comment:3 Changed 23 months ago by lyskov (Sergey Lyskov)

I just noticed that after re-installing command-line tools this error is no longer appear. So perhaps this ticket could be closed. - Sorry for the false alarm!

comment:4 Changed 23 months ago by reneeotten (Renee Otten)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.