[MacPorts] #65328: emacs-mac-app compilation failed

MacPorts noreply at macports.org
Fri Jun 10 23:03:19 UTC 2022


#65328: emacs-mac-app compilation failed
----------------------------+--------------------
  Reporter:  lyskov         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  emacs-mac-app  |
----------------------------+--------------------
Description changed by lyskov:

Old description:

> Attempt to install emacs-mac-app fail on build step with the following
> error:
> {{{
> :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
> }}}

New description:

 Attempt to install emacs-mac-app fail on build step with the following
 error. 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
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65328#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list