[MacPorts] #67425: bmake fails on Rosetta

MacPorts noreply at macports.org
Sun May 14 13:21:39 UTC 2023


#67425: bmake fails on Rosetta
-------------------------------------------+------------------------
 Reporter:  barracuda156                   |      Owner:  ryandesign
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  snowleopard, powerpc, rosetta  |       Port:  bmake
-------------------------------------------+------------------------
 It configures with `-DMACHINE="x86_64" -DMACHINE_ARCH="i386"` though use
 `-arch ppc` after that.
 Build fails badly on tests.

 {{{
 :notice:build --->  Building bmake
 :debug:build Executing org.macports.build (bmake)
 :debug:build Environment:
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='/opt/local/include'
 :debug:build DEVELOPER_DIR='/Developer'
 :debug:build LIBRARY_PATH='/opt/local/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake"
 && ./boot-strap op=build
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake"
 && ./boot-strap op=build
 :info:build NOTE: default prefix=/usr/local
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -DMAKE_VERSION="20230414" -DMACHINE="x86_64"
 -DMACHINE_ARCH="i386" -D_PATH_DEFSYSPATH="/opt/local/share/mk" -o main.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/main.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o arch.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/arch.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o buf.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/buf.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o compat.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/compat.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o cond.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/cond.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o dir.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/dir.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o for.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/for.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o hash.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/hash.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o lst.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/lst.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o make.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/make.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o make_malloc.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/make_malloc.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o metachar.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/metachar.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o parse.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/parse.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o sigcompat.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/sigcompat.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o str.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/str.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o suff.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/suff.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o targ.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/targ.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o trace.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/trace.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o var.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/var.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o util.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/util.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o stresep.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/stresep.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o meta.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/meta.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 -DHAVE_CONFIG_H -I/opt/local/include -DMAKE_NATIVE -DUSE_META
 -DBMAKE_PATH_MAX=1024 -o job.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake/job.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc -o bmake main.o job.o meta.o
 arch.o buf.o compat.o cond.o dir.o for.o hash.o lst.o make.o make_malloc.o
 metachar.o parse.o sigcompat.o str.o suff.o targ.o trace.o var.o util.o
 stresep.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 /unit-tests &&  MAKEFLAGS=
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/darwin10-x86_64/bmake
 -r -m / test
 :info:build bmake[1]:
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 /unit-tests/makefile" line 492: warning: Skipping broken tests: shell-ksh
 . . .
 :info:build ---
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 /unit-tests/cmd-errors-jobs.exp    2022-09-29 00:41:42.000000000 +0800
 :info:build +++ cmd-errors-jobs.out     2023-05-14 21:14:28.000000000
 +0800
 :info:build @@ -1,9 +1,2 @@
 :info:build  : undefined--eol
 :info:build -make: Unclosed variable "UNCLOSED"
 :info:build -: unclosed-variable-
 :info:build -make: Unclosed variable expression (expecting '}') for
 "UNCLOSED"
 :info:build -: unclosed-modifier-
 :info:build -make: Unknown modifier "Z"
 :info:build -: unknown-modifier--eol
 :info:build -: end-eol
 :info:build -exit status 0
 :info:build +exit status 1
 :info:build ---
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 /unit-tests/depsrc-meta.exp        2022-01-27 14:49:09.000000000 +0800
 :info:build +++ depsrc-meta.out 2023-05-14 21:14:33.000000000 +0800
 :info:build @@ -2,6 +2,8 @@
 :info:build  Skipping meta for .END: .SPECIAL
 :info:build  Targets from meta mode:
 :info:build  | TARGET depsrc-meta-target
 :info:build -Targets from meta mode in jobs mode:
 :info:build -| TARGET depsrc-meta-target
 :info:build -exit status 0
 :info:build +*** Error code 1 (continuing)
 :info:build +
 :info:build +Stop.
 :info:build +make: stopped in unit-tests
 :info:build +exit status 1
 :info:build ---
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bmake/bmake/work/bmake
 /unit-tests/depsrc-wait.exp        2022-06-13 08:25:54.000000000 +0800
 :info:build +++ depsrc-wait.out 2023-05-14 21:14:34.000000000 +0800
 :info:build @@ -1,18 +1,7 @@
 :info:build  echo a
 :info:build  a
 :info:build -echo b1
 :info:build -b1
 :info:build -echo b
 :info:build -b
 :info:build -echo x
 :info:build -x
 :info:build -: Making 3a
 :info:build -: Making 3a
 :info:build -: Making 3a
 :info:build -: Making 3b
 :info:build -: Making 3b
 :info:build -: Making 3b
 :info:build -: Making 3c
 :info:build -: Making 3c
 :info:build -: Making 3c
 :info:build -exit status 0
 :info:build +*** Error code 1 (continuing)
 :info:build +
 :info:build +Stop.
 :info:build +make: stopped in unit-tests
 :info:build +exit status 1
 . . .
 }}}

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


More information about the macports-tickets mailing list