Opened 2 years ago

Last modified 2 years ago

#65207 new defect

tradcpp fails to use correct arch flag for ppc64

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, leopard, ppc64 Cc:
Port: tradcpp

Description

When I try to build tradcpp +universal, it does not build for ppc64. Without adding muniversal the variant is just ignored, ppc build done. After adding muniversal, it pretends to build ppc+ppc64, however in fact ppc64 is fake:

--->  Building tradcpp for architecture ppc64
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tradcpp/tradcpp/work/tradcpp-0.5.3-ppc64" && /usr/bin/bsdmake -j4 all 
Warning: Object directory not changed from original /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tradcpp/tradcpp/work/tradcpp-0.5.3-ppc64
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c main.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c files.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c directive.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c eval.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c macro.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c output.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c place.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c array.c
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c utils.c
gzip -cn tradcpp.1 > tradcpp.1.gz
/usr/bin/gcc-4.2 -Os -arch ppc   -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter  -o tradcpp main.o files.o directive.o eval.o macro.o output.o place.o array.o utils.o 
--->  Staging tradcpp into destroot

Change History (1)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

It has no universal variant, so yes, asking for +universal will do nothing. It presumably builds fine for ppc64 only.

Note: See TracTickets for help on using tickets.