Opened 7 years ago

Closed 7 years ago

#44531 closed defect (fixed)

cbmbasic @1.0 is not UsingTheRightCompiler

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: cbmbasic


...or archflags or optflags or anything like that:

--->  Building cbmbasic
DEBUG: Executing (cbmbasic)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cbmbasic/cbmbasic/work/cbmbasic-1.0" && /usr/bin/make -j2 -w all'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cbmbasic/cbmbasic/work/cbmbasic-1.0" && /usr/bin/make -j2 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cbmbasic/cbmbasic/work/cbmbasic-1.0'
cc -arch i386 -arch x86_64 -arch ppc -Wall -O3   -c -o cbmbasic.o cbmbasic.c
cc -arch i386 -arch x86_64 -arch ppc -Wall -O3   -c -o runtime.o runtime.c
cc -arch i386 -arch x86_64 -arch ppc -Wall -O3   -c -o plugin.o plugin.c
cc -o cbmbasic cbmbasic.o runtime.o plugin.o
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cbmbasic/cbmbasic/work/cbmbasic-1.0'
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: destroot phase started at Sun Aug  3 20:38:35 EDT 2014
--->  Staging cbmbasic into destroot

Change History (2)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

It is using -arch flags for part of it, but not the correct ones: -arch i386 -arch x86_64 -arch ppc. Those are hardcoded in their Makefile, and that won't work on OS X 10.7 or later whose compilers no longer speak PowerPC.

Curiously, those -arch flags don't appear in the Makefile in the upstream repository, and never have. It appears that the 1.0 source tarball was based on r5 of their repository, then modified to include those -arch flags.

comment:2 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.