[MacPorts] #64614: groff fails to build on M1 platform / macOS 12.2

MacPorts noreply at macports.org
Sun Feb 6 02:53:50 UTC 2022


#64614: groff fails to build on M1 platform / macOS 12.2
------------------------------+--------------------
 Reporter:  grantjanssen      |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.7.1
 Keywords:  ARM architecture  |       Port:  groff
------------------------------+--------------------
 Could be an issue with the ARM architecture.
 log indicates "(have 'x86_64', need 'arm64e')"

 {{{
 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:22][#333586]% sudo port
 clean groff
 --->  Cleaning groff
 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:27][#334586]% sudo port
 install groff
 --->  Computing dependencies for groff
 --->  Fetching archive for groff
 --->  Attempting to fetch groff-1.22.4_6.darwin_21.arm64.tbz2 from
 https://packages.macports.org/groff
 --->  Attempting to fetch groff-1.22.4_6.darwin_21.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/groff
 --->  Attempting to fetch groff-1.22.4_6.darwin_21.arm64.tbz2 from
 https://kmq.jp.packages.macports.org/groff
 --->  Fetching distfiles for groff
 --->  Verifying checksums for groff
 --->  Extracting groff
 --->  Applying patches to groff
 --->  Configuring groff
 --->  Building groff
 Error: Failed to build groff: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_groff/groff/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port groff failed
 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:27][#335586]%
 }}}


 HARDWARE / SOFTWARE

 {{{
 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:35][#336586]%
 system_profiler SPHardwareDataType
 Hardware:

     Hardware Overview:

       Model Name: MacBook Pro
       Model Identifier: MacBookPro18,2
       Chip: Apple M1 Max
       Total Number of Cores: 10 (8 performance and 2 efficiency)
       Memory: 64 GB
       System Firmware Version: 7429.81.3
       OS Loader Version: 7429.81.3
       Serial Number (system): GKVF79924N
       Hardware UUID: DD58F9EE-1E49-59A7-BBC8-1FF6ED983675
       Provisioning UDID: 00006001-000861090102801E
       Activation Lock Status: Disabled

 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:35][#337586]%
 system_profiler SPSoftwareDataType
 Software:

     System Software Overview:

       System Version: macOS 12.2 (21D49)
       Kernel Version: Darwin 21.3.0
       Boot Volume: Macintosh HD
       Boot Mode: Normal
       Computer Name: grants-EFILM-MacBookPro-M1
       User Name:  (grant)
       Secure Virtual Memory: Enabled
       System Integrity Protection: Disabled
       Time since boot: 4 days 3:24

 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:35][#338586]%

 }}}


 LOGFILE
 from
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_groff/groff/main.log
 {{{
 version:1
 :debug:main Starting logging for groff @1.22.4_6
 :debug:sysinfo macOS 12.2 (darwin/21.3.0) arch arm
 :debug:sysinfo MacPorts 2.7.1
 :debug:sysinfo Xcode 13.2.1
 :debug:sysinfo SDK 12
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0

 -snip-

 :info:build Can't load '/opt/local/lib/perl5/vendor_perl/5.30/darwin-
 thread-multi-2level/auto/IO/IO.bundle' for module IO:
 dlopen(/opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-
 2level/auto/IO/IO.bundle, 0x0001): tried:
 '/opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-
 2level/auto/IO/IO.bundle' (mach-o file, but is an incompatible
 architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/IO.bundle'
 (no such file), '/usr/lib/IO.bundle' (no such file) at
 /opt/local/lib/perl5/5.30/XSLoader.pm line 96.
 :info:build Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-
 2level/IO/Handle.pm line 268.
 :info:build BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-
 2level/IO/Handle.pm line 268.
 :info:build Compilation failed in require at /opt/local/share/texinfo/lib
 /libintl-perl/lib/Locale/gettext_pp.pm line 68.
 :info:build BEGIN failed--compilation aborted at
 /opt/local/share/texinfo/lib/libintl-perl/lib/Locale/gettext_pp.pm line
 68.
 :info:build Compilation failed in require at /opt/local/share/texinfo/lib
 /libintl-perl/lib/Locale/Messages.pm line 57.
 :info:build Compilation failed in require at /opt/local/bin/makeinfo line
 97.
 :info:build BEGIN failed--compilation aborted at /opt/local/bin/makeinfo
 line 97.
 :info:build make: *** [doc/groff.info] Error 2
 :info:build make: *** Waiting for unfinished jobs....
 :info:build mv t-ref-del.sed ref-del.sed
 :info:build if test -n ""; then \
 :info:build       for m in ""; do \
 :info:build         rm -f ./tmac/$m-wrap; \
 :info:build         if test "$m" = an; then \
 :info:build           echo .do mso andoc.tmac >>./tmac/$m-wrap; \
 :info:build         fi; \
 :info:build         echo .cp 1 >>./tmac/$m-wrap; \
 :info:build         echo .so $m >>./tmac/$m-wrap; \
 :info:build       done; \
 :info:build     fi
 :info:build mv t-charset.alias charset.alias
 :info:build touch tmac/stamp-wrap
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_groff/groff/work/groff-1.22.4'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_groff/groff/work/groff-1.22.4"
 && /usr/bin/make -j10 -w all
 :info:build Exit code: 2
 :error:build Failed to build groff: command execution failed
 :debug:build Error code: CHILDSTATUS 18961 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_groff/groff/main.log
 for details.
 grant at grants-EFILM-MacBookPro-M1:~[20220205-18:23][#319585]%
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64614>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list