Opened 14 years ago

Closed 14 years ago

#23883 closed defect (fixed)

vantages should use ${configure.cc}

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: anand@…
Port: vantages

Description

vantages should ensure it's UsingTheRightCompiler

--->  Building vantages
DEBUG: Executing org.macports.build (vantages)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all'
( mkdir -p bin )
( mkdir -p lib )
( cp ./libtool dns/ )
( cp ./libtool src/ )
LIBS="-L/opt/local/lib -lcrypto -lpcap -lexpat -lgpg-error -lgpgme-pthread -lsqlite3 -lpthread  -ldl  -lcurl" /usr/bin/make unix -C shttpd-1.42/src
cc -c  string.c -o string.o
cc -c string.c -o string.o
cc: Error: You should be using ${configure.cc}
See http://trac.macports.org/wiki/UsingTheRightCompiler
make[1]: *** [string.o] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for vantages): org.macports.build
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 14 years ago by anand@…

I have fixed this issue by explicitly setting the compiler. The updated Portfile is in #23881.

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

The proposed fix does not actually fix the problem.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Proper fix committed in r70983.

Note: See TracTickets for help on using tickets.