Opened 19 months ago
Last modified 7 months ago
#67425 assigned defect
bmake fails on Rosetta
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | snowleopard, powerpc, rosetta | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
Port: | bmake |
Description
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 . . .
Attachments (2)
Change History (24)
Changed 19 months ago by barracuda156
Attachment: | bmake_rosetta_log.txt added |
---|
comment:1 Changed 19 months ago by barracuda156
comment:2 Changed 19 months ago by barracuda156
os.sh
is broken: it uses MACHINE=uname -m
, which gives out Power Macintosh
, and that value fails to work.
Passing --with-machine=
or --with-force-machine=
does not help.
comment:3 Changed 19 months ago by barracuda156
This fixes machine on native PPC:
platform powerpc { post-patch { reinplace "s|uname -m|uname -p|" ${worksrcpath}/os.sh } }
And then tests pass.
comment:4 follow-up: 5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
Please report the issue to the developer of bmake. If they agree that's the fix, I'm happy to apply a patch. But I don't think that's the right general fix, since for 64-bit Intel it would change the result from "x86_64" to "i386". I don't know why this build system is trying to infer anything based on output from uname
; that's probably a faulty design.
comment:5 follow-ups: 7 8 Changed 18 months ago by barracuda156
Replying to ryandesign:
Please report the issue to the developer of bmake. If they agree that's the fix, I'm happy to apply a patch. But I don't think that's the right general fix, since for 64-bit Intel it would change the result from "x86_64" to "i386". I don't know why this build system is trying to infer anything based on output from
uname
; that's probably a faulty design.
Well, I opened the issue there, but no one responded so far: https://github.com/arichardson/bmake/issues/5
I propose to make this fix conditional on PowerPC: then it cannot possibly affect anything else.
comment:6 Changed 18 months ago by barracuda156
Or if you have a better solution, please. But atm it is just broken on PPC.
comment:7 follow-ups: 9 11 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to barracuda156:
Well, I opened the issue there, but no one responded so far: https://github.com/arichardson/bmake/issues/5
That repository is not owned by the developer of bmake. To contact the developer of bmake, use the email address at the bottom of the bmake homepage.
comment:8 follow-up: 10 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to barracuda156:
I propose to make this fix conditional on PowerPC: then it cannot possibly affect anything else.
My point is, if uname -m
was wrong, uname -p
isn't any more right. What information is the build system trying to determine by running uname
? I can almost guarantee that uname
is not the right tool for the job. uname
tells you what machine you're building on. It doesn't tell you what machine you're building for. (Consider what would happen when building for i386 on PowerPC, or for ppc on Intel.)
comment:9 Changed 18 months ago by barracuda156
Replying to ryandesign:
Replying to barracuda156:
Well, I opened the issue there, but no one responded so far: https://github.com/arichardson/bmake/issues/5
That repository is not owned by the developer of bmake. To contact the developer of bmake, use the email address at the bottom of the bmake homepage.
Sent an e-mail, will update, if get a reply.
comment:10 Changed 18 months ago by barracuda156
Replying to ryandesign:
Replying to barracuda156:
I propose to make this fix conditional on PowerPC: then it cannot possibly affect anything else.
My point is, if
uname -m
was wrong,uname -p
isn't any more right. What information is the build system trying to determine by runninguname
? I can almost guarantee thatuname
is not the right tool for the job.uname
tells you what machine you're building on. It doesn't tell you what machine you're building for. (Consider what would happen when building for i386 on PowerPC, or for ppc on Intel.)
Yes, in fancy scenarios it won’t work, and that is a typical problem of uname
, as it is often used – it breaks the build.
I cannot subscribe to “isn’t any more right” part – at least that fixes a native build on PPC, but anyway, let’s wait if the developer fixes it appropriately.
comment:11 Changed 18 months ago by barracuda156
Replying to ryandesign:
Replying to barracuda156:
Well, I opened the issue there, but no one responded so far: https://github.com/arichardson/bmake/issues/5
That repository is not owned by the developer of bmake. To contact the developer of bmake, use the email address at the bottom of the bmake homepage.
It has been fixed by the developer in v. 20230522. I can confirm native PPC now builds. (I did not bother upstream with Rosetta matter.)
comment:12 Changed 18 months ago by barracuda156
Could we update Macports version to it, so that PPC is fixed?
comment:13 follow-up: 14 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
comment:14 Changed 18 months ago by barracuda156
Replying to ryandesign:
In 80ec7d88385450b891dce84baaafbac935b731fc/macports-ports (master):
Thank you!
comment:15 follow-ups: 16 17 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Is there anything remaining to do for this ticket, or did updating the port fix whatever was wrong?
comment:16 Changed 7 months ago by barracuda156
Replying to ryandesign:
Is there anything remaining to do for this ticket, or did updating the port fix whatever was wrong?
I will try to test it soon. Not doing much with Rosetta recently, since need the Quad to do stuff, and Intel machine is elsewhere.
comment:17 Changed 7 months ago by barracuda156
Replying to ryandesign:
Is there anything remaining to do for this ticket, or did updating the port fix whatever was wrong?
It is still broken in Rosetta (native ppc is fine on 10.6).
Changed 7 months ago by barracuda156
Attachment: | bmake_20240414_rosetta.txt added |
---|
comment:18 follow-up: 19 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Then I guess I'll have to override the build system's machine and/or machine arch choices. Looking through buildbot logs, I see that on macOS 14 arm64 it used -DMACHINE="arm64" -DMACHINE_ARCH="arm"
, on OS X 10.11 it used -DMACHINE="x86_64" -DMACHINE_ARCH="i386"
, and on Mac OS X 10.6 (both x86_64 and i386) it used -DMACHINE="i386" -DMACHINE_ARCH="i386"
. What are the values on your successful PowerPC build, and are you building for ppc or ppc64?
comment:19 Changed 7 months ago by barracuda156
Replying to ryandesign:
Then I guess I'll have to override the build system's machine and/or machine arch choices. Looking through buildbot logs, I see that on macOS 14 arm64 it used
-DMACHINE="arm64" -DMACHINE_ARCH="arm"
, on OS X 10.11 it used-DMACHINE="x86_64" -DMACHINE_ARCH="i386"
, and on Mac OS X 10.6 (both x86_64 and i386) it used-DMACHINE="i386" -DMACHINE_ARCH="i386"
. What are the values on your successful PowerPC build, and are you building for ppc or ppc64?
Sorry, I just back to the PowerMac, needed to check that:
checking for MACHINE & MACHINE_ARCH... defaults: MACHINE=powerpc, MACHINE_ARCH=powerpc Using: MACHINE=powerpc, MACHINE_ARCH=powerpc
So these work for PowerPC.
comment:20 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
comment:21 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
On a standard 64-bit Intel install of Mac OS X 10.6, building bmake for ppc with sudo port -d build bmake build_arch=ppc configure.compiler=gcc-4.2
is still failing when it runs the tests at the end of the build phase with errors like the ones you reported initially. I'm sorry, I don't know how to cross compile bmake. If you find a solution that works, let me know.
comment:22 Changed 7 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
Apparently broken on native PPC too, differently (cannot check 10.5.8 now, but 10.6 should behave identically here):