I maintain spring under Fedora and trying to release spring 96.
I'm currently facing a weird issue, trying to get pr_download built.
I know Fedora DSO is a bitch to satisfy (I carry a number of DSO patches that I never bothered to push upstream as I doubt it'll interest other distros) - but in this case I'm lost: At least as far as I can see, DSO really doesn't like the use of archives instead of libraries and ignores them.
Any ideas?
- Gilboa
Build log (tail):
Code: Select all
cd /home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/pr-downloader.dir/link.txt --verbose=1
/usr/lib64/ccache/c++ -fuse-ld=gold -std=gnu++11 -mtune=generic -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread -Wall -O0 -g -fPIC -O2 -Wno-unknown-pragmas -DNDEBUG -Wl,-z,relro -Wl,--compress-debug-sections=zlib CMakeFiles/pr-downloader.dir/main.cpp.o -o pr-downloader -rdynamic libpr-downloader_static.a libUtil.a Downloader/Rapid/libRapid.a Downloader/Http/libHttp.a -lcurl lib/xmlrpc++/libxmlrpc.a libCurlWrapper.so libVersion.a Downloader/Plasma/libPlasma.a lib/soap/libsoap.a FileSystem/libFileSystem.so -lz lib/md5/libpr-md5.a lib/sha1/libpr-sha1.a lib/bencode/libbencode.a lib/7z/libpr-7z.so -lminizip -ldl -Wl,-rpath,/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src:/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/FileSystem:/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/lib/7z:
/usr/bin/ld.gold: warning: hidden symbol 'L_LOG' in libUtil.a(Logger.cpp.o) is referenced by DSO FileSystem/libFileSystem.so
/usr/bin/ld.gold: warning: hidden symbol 'parse_int32(unsigned char*)' in libUtil.a(Util.cpp.o) is referenced by DSO FileSystem/libFileSystem.so
/usr/bin/ld.gold: warning: hidden symbol 'LOG_PROGRESS' in libUtil.a(Logger.cpp.o) is referenced by DSO FileSystem/libFileSystem.so
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:19: error: undefined reference to 'CFileSystem::GetInstance()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:19: error: undefined reference to 'CFileSystem::extractEngine(std::string const&, std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:153: error: undefined reference to 'CFileSystem::GetInstance()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:153: error: undefined reference to 'CFileSystem::setWritePath(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:166: error: undefined reference to 'CFileSystem::GetInstance()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:166: error: undefined reference to 'CFileSystem::getSpringDir()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:251: error: undefined reference to 'CFileSystem::GetInstance()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:251: error: undefined reference to 'CFileSystem::getSpringDir()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:254: error: undefined reference to 'CFileSystem::validatePool(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:259: error: undefined reference to 'CFileSystem::dumpSDP(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/pr-downloader.cpp:146: error: undefined reference to 'CFileSystem::Shutdown()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:153: error: undefined reference to 'CFileSystem::getSpringDir()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:154: error: undefined reference to 'CFileSystem::createSubdirs(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:157: error: undefined reference to 'CFileSystem::fileExists(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:157: error: undefined reference to 'CFileSystem::isOlder(std::string const&, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Repo.cpp:30: error: undefined reference to 'CFileSystem::getSpringDir()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Repo.cpp:31: error: undefined reference to 'CFileSystem::createSubdirs(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Repo.cpp:33: error: undefined reference to 'CFileSystem::fileExists(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Repo.cpp:35: error: undefined reference to 'CFileSystem::createSubdirs(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Repo.cpp:33: error: undefined reference to 'CFileSystem::isOlder(std::string const&, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:159: error: undefined reference to 'HashMD5::HashMD5()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:160: error: undefined reference to 'HashMD5::Set(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:161: error: undefined reference to 'IHash::toString(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:161: error: undefined reference to 'CFileSystem::getPoolFilename(std::string const&, std::string&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:162: error: undefined reference to 'AtomicFile::AtomicFile(std::string)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:217: error: undefined reference to 'CFileSystem::fileIsValid(FileData const*, std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:51: error: undefined reference to 'CFileSystem::directoryExists(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:51: error: undefined reference to 'CFileSystem::createSubdirs(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:265: error: undefined reference to 'CurlWrapper::CurlInit()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:67: error: undefined reference to 'CFileSystem::directoryExists(std::string const&) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:76: error: undefined reference to 'CFileSystem::fileExists(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:83: error: undefined reference to 'CFileSystem::parseSdp(std::string const&, std::list<FileData*, std::allocator<FileData*> >&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:88: error: undefined reference to 'HashMD5::HashMD5()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:89: error: undefined reference to 'FileData::FileData()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:93: error: undefined reference to 'HashMD5::Set(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:95: error: undefined reference to 'IHash::toString(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:95: error: undefined reference to 'CFileSystem::getPoolFilename(std::string const&, std::string&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:96: error: undefined reference to 'CFileSystem::fileExists(std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:80: error: undefined reference to 'CFileSystem::parseSdp(std::string const&, std::list<FileData*, std::allocator<FileData*> >&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:125: error: undefined reference to 'FileData::~FileData()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:89: error: undefined reference to 'FileData::~FileData()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/FileSystem/IHash.h:19: error: undefined reference to 'vtable for IHash'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:127: error: undefined reference to 'CFileSystem::Rename(std::string const&, std::string const&)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Rapid/Sdp.cpp:89: error: undefined reference to 'FileData::~FileData()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/FileSystem/IHash.h:19: error: undefined reference to 'vtable for IHash'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:162: error: undefined reference to 'CFile::Write(char const*, int, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:158: error: undefined reference to 'CFile::Write(char const*, int, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:176: error: undefined reference to 'CFile::GetPiecesSize(std::vector<unsigned int, std::allocator<unsigned int> >) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:220: error: undefined reference to 'HashSHA1::HashSHA1()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:231: error: undefined reference to 'CFile::IsNewFile()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:232: error: undefined reference to 'CFile::Hash(IHash&, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:234: error: undefined reference to 'IHash::compare(IHash const*)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:208: error: undefined reference to 'HashMD5::HashMD5()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:209: error: undefined reference to 'CFile::Hash(IHash&, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:210: error: undefined reference to 'IHash::compare(IHash const*)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:211: error: undefined reference to 'IHash::toString(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:216: error: undefined reference to 'IHash::toString(unsigned char const*, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/FileSystem/IHash.h:19: error: undefined reference to 'vtable for IHash'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:264: error: undefined reference to 'CFile::GetPieceSize(int) const'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:274: error: undefined reference to 'CurlWrapper::CurlInit()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:309: error: undefined reference to 'CFile::GetTimestamp()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:330: error: undefined reference to 'HashSHA1::HashSHA1()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:361: error: undefined reference to 'CFile::Hash(IHash&, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:363: error: undefined reference to 'IHash::compare(IHash const*)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:427: error: undefined reference to 'CFile::CFile()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:428: error: undefined reference to 'CFile::Open(std::string const&, long, int)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:514: error: undefined reference to 'CFile::SetTimestamp(long)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:38: error: undefined reference to 'CurlWrapper::CurlInit()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:125: error: undefined reference to 'HashMD5::HashMD5()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:118: error: undefined reference to 'CFileSystem::parseTorrent(char const*, int, IDownload*)'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Http/DownloadData.cpp:13: error: undefined reference to 'CurlWrapper::CurlInit()'
/home/gilboa/work/redhat/BUILD/spring_96.0/tools/pr-downloader/src/Downloader/Plasma/PlasmaDownloader.cpp:64: error: undefined reference to 'CFileSystem::parseTorrent(char const*, int, IDownload*)'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/pr-downloader/src/pr-downloader] Error 1
make[2]: Leaving directory `/mnt/WorkBuild/redhat/BUILD/spring_96.0'
make[1]: *** [tools/pr-downloader/src/CMakeFiles/pr-downloader.dir/all] Error 2
make[1]: Leaving directory `/mnt/WorkBuild/redhat/BUILD/spring_96.0'
make: *** [all] Error 2