Opened 12 months ago

Last modified 12 months ago

#72774 assigned defect

libmsp430 does not respect MacPorts compiler settings

Reported by: barracuda156 Owned by: edilmedeiros (Edil Medeiros)
Priority: Normal Milestone:
Component: ports Version: 2.11.4
Keywords: Cc:
Port: libmsp430

Description

Compiler is hardcoded:

--->  Building libmsp430
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmsp430/libmsp430/work" && /usr/bin/make -j6 -w all STATIC=1 BOOST_DIR=/opt/local/libexec/boost/1.78 PREFIX=/opt/local 
make: Entering directory `/opt/local/var/macports/build/libmc90667/work'
/usr/bin/make PREFIX=/opt/local -C ./ThirdParty/BSL430_DLL
clang++ -x c++-header -o DLL430_v3/src/TI/DLL430/pch.h.gch DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/opt/local/include/hidapi -I/opt/local/libexec/boost/1.78/include -DUNIX -DNDEBUG
make: clang++: Command not found
make[1]: Entering directory `/opt/local/var/macports/build/libmc90667/work/ThirdParty/BSL430_DLL'
clang++ -x c++-header -c -o BSL430_DLL/pch.h.gch BSL430_DLL/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I../include -I./BSL430_DLL -I./BSL430_DLL/Utility_Classes -I./BSL430_DLL/Physical_Interfaces -I./BSL430_DLL/Packet_Handlers -I./BSL430_DLL/Connections -I/opt/local/include/hidapi -I/opt/local/libexec/boost/1.78/include -DUNIX -DNDEBUG
make[1]: clang++: Command not found
make[1]: *** [BSL430_DLL/pch.h.gch] Error 127
make[1]: Leaving directory `/opt/local/var/macports/build/libmc90667/work/ThirdParty/BSL430_DLL'
make: *** [DLL430_v3/src/TI/DLL430/pch.h.gch] Error 127
make: *** Waiting for unfinished jobs....
make: *** [ThirdParty/lib64/libbsl430.a] Error 2
make: Leaving directory `/opt/local/var/macports/build/libmc90667/work'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmsp430/libmsp430/work" && /usr/bin/make -j6 -w all STATIC=1 BOOST_DIR=/opt/local/libexec/boost/1.78 PREFIX=/opt/local 
Exit code: 2
Error: Failed to build libmsp430: command execution failed

Change History (1)

comment:1 Changed 12 months ago by barracuda156

It also uses -std=c++0x, but portfile fails to set the standard.

Note: See TracTickets for help on using tickets.