- do not substitute CXX recursively - include missing headers for g++46 How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111215000124.pointyhat-west/spiralsynthmodular-0.2.2a_6.log $ printf 'CC=gcc46\nCXX=g++46\nCPP=cpp46\n' >Makefile.local $ __MAKE_CONF= make [...] ===> Building for spiralsynthmodular-0.2.2a_6 g++4646 -c -O2 -pipe -fno-strict-aliasing -DNO_DEBUG -Wno-unused -fPIC -fPIC -I/usr/local/include -o main.o main.cpp g++4646: No such file or directory *** [main.o] Error code 1 $ __MAKE_CONF= make [...] g++46 -c -O2 -pipe -fno-strict-aliasing -DNO_DEBUG -Wno-unused -fPIC -fPIC -I/usr/local/include -o SpiralSound/SpiralInfo.o SpiralSound/SpiralInfo.C In file included from SpiralSound/SpiralInfo.h:26:0, from SpiralSound/SpiralInfo.C:24: SpiralSound/Sample.h: In member function 'Sample& Sample::operator=(const Sample&)': SpiralSound/Sample.h:106:51: error: 'memcpy' was not declared in this scope *** [SpiralSound/SpiralInfo.o] Error code 1 [...] g++46 -c -O2 -pipe -fno-strict-aliasing -DNO_DEBUG -Wno-unused -fPIC -fPIC -I/usr/local/include -o SpiralSound/ChannelHandler.o SpiralSound/ChannelHandler.C SpiralSound/ChannelHandler.C: In destructor 'ChannelHandler::~ChannelHandler()': SpiralSound/ChannelHandler.C:43:27: error: 'free' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::UpdateDataNow()': SpiralSound/ChannelHandler.C:82:55: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C:90:55: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C:108:78: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C:117:66: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C:132:45: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::RegisterData(const string&, ChannelHandler::Type, void*, int)': SpiralSound/ChannelHandler.C:177:35: error: 'malloc' was not declared in this scope SpiralSound/ChannelHandler.C:182:44: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::GetData(const string&, void*)': SpiralSound/ChannelHandler.C:208:56: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::SetData(const string&, void*)': SpiralSound/ChannelHandler.C:231:53: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::FlushChannels()': SpiralSound/ChannelHandler.C:254:61: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C: In member function 'void ChannelHandler::BulkTransfer(const string&, void*, int)': SpiralSound/ChannelHandler.C:323:44: error: 'malloc' was not declared in this scope SpiralSound/ChannelHandler.C:325:52: error: 'memcpy' was not declared in this scope SpiralSound/ChannelHandler.C:326:16: error: 'free' was not declared in this scope *** [SpiralSound/ChannelHandler.o] Error code 1 [...] g++46 -c -O2 -pipe -fno-strict-aliasing -DNO_DEBUG -Wno-unused -fPIC -fPIC -I/usr/local/include -I../../../ -I/usr/local/include -o LADSPAInfo.o LADSPAInfo.C LADSPAInfo.C: In constructor 'LADSPAInfo::LADSPAInfo(bool, const char*)': LADSPAInfo.C:51:22: error: 'strlen' was not declared in this scope LADSPAInfo.C:52:34: error: 'strdup' was not declared in this scope LADSPAInfo.C: In member function 'void LADSPAInfo::ScanPathList(const char*, void (LADSPAInfo::*)(std::string, std::string))': LADSPAInfo.C:492:37: error: 'strncpy' was not declared in this scope *** [LADSPAInfo.o] Error code 1
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants his PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
miwi 2011-12-26 23:34:51 UTC FreeBSD ports repository Modified files: audio/spiralsynthmodular Makefile Added files: audio/spiralsynthmodular/files patch-gcc46 Log: - Unbreak build with lang/gcc46 PR: 163346 Submitted by: Jan Beich <jbeich@tormail.net> Revision Changes Path 1.24 +3 -3 ports/audio/spiralsynthmodular/Makefile 1.1 +32 -0 ports/audio/spiralsynthmodular/files/patch-gcc46 (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"