Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE="kde" and distcc and some packages start failing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
someoneG
n00b
n00b


Joined: 26 Nov 2011
Posts: 13

PostPosted: Thu Jul 12, 2012 3:16 pm    Post subject: USE="kde" and distcc and some packages start faili Reply with quote

Well it seems that if i enable the kde useflag in /etc/make.conf some packages begin to fail merging.
if i comment out:
Code:
FEATURES="distcc"
MAKEOPTS="-j20"

the packages seem to compile fine.

There were like 10 packages that would not compile (all having the kde useflag newly set and me running emerge -avuDN --keep-going world), but then i disabled distcc to test it, it worked and dont remember what packages it were.
Packages that failed repeatedly since my last reboot:
* qt-gui-4.8.2
* vlc-2.0.2
* PyQt4-4.9.4
* p7zip-9.20.1-r3


Here is an example of a package failing:
Quote:
* Package: app-arch/p7zip-9.20.1-r3
* Repository: gentoo
* Maintainer: jlec@gentoo.org
* USE: amd64 elibc_glibc kde kernel_linux multilib pch userland_GNU wxwidgets
* FEATURES: distcc sandbox
>>> Unpacking source...
>>> Unpacking p7zip_9.20.1_src_all.tar.bz2 to /dev/shm/portage/app-arch/p7zip-9.20.1-r3/work
>>> Source unpacked in /dev/shm/portage/app-arch/p7zip-9.20.1-r3/work
>>> Preparing source in /dev/shm/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1 ...
* Applying p7zip-9.20.1-execstack.patch ...
[ ok ]
* Applying p7zip-9.20.1-QA.patch ...
[ ok ]
* Applying 9.04-makefile.patch ...
[ ok ]
* Preparing dependency list
make -j20 depend
make -C CPP/7zip/Bundles/Alone depend
make[1]: Entering directory `/dev/shm/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1/CPP/7zip/Bundles/Alone'
rm -f makefile.depend
...
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/Xz.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/XzCrc64.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/XzDec.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/XzEnc.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/XzIn.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -c -I. -I../../../../C -I../../../myWindows -I../../../include_windows -I../../.. ../../../../C/7zCrcT8.c
yasm -f elf -m amd64 ../../../../Asm/x64/7zCrcT8U.asm -o 7zCrcT8U.o
x86_64-pc-linux-gnu-g++ -O3 -pipe -march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DEXTERNAL_CODECS -DUNICODE -D_UNICODE -fPIC -shared -o ../../../../bin/7z.so -Wl,-O1 -Wl,--as-needed wine_date_and_time.o myGetTickCount.o CRC.o IntToString.o MyMap.o MyString.o MyWindows.o MyXml.o StringConvert.o StringToInt.o MyVector.o UTFConvert.o Wildcard.o FileDir.o FileFind.o FileIO.o PropVariant.o PropVariantUtils.o Synchronization.o System.o Time.o InBuffer.o InOutTempBuffer.o CreateCoder.o CWrappers.o FilterCoder.o LimitedStreams.o LockedStream.o MethodId.o MethodProps.o MemBlocks.o OffsetStream.o OutBuffer.o OutMemStream.o ProgressMt.o ProgressUtils.o StreamBinder.o StreamObjects.o StreamUtils.o VirtThread.o ArchiveExports.o DllExports2.o ApmHandler.o ArjHandler.o Bz2Handler.o CpioHandler.o CramfsHandler.o DebHandler.o DeflateProps.o DmgHandler.o
ElfHandler.o FatHandler.o FlvHandler.o GzHandler.o LzhHandler.o LzmaHandler.o MachoHandler.o MbrHandler.o MslzHandler.o MubHandler.o NtfsHandler.o PeHandler.o PpmdHandler.o RpmHandler.o SplitHandler.o SwfHandler.o SquashfsHandler.o VhdHandler.o XarHandler.o XzHandler.o ZHandler.o CoderMixer2.o CoderMixer2MT.o CrossThreadProgress.o DummyOutStream.o FindSignature.o InStreamWithCRC.o ItemNameUtils.o MultiStream.o OutStreamWithCRC.o OutStreamWithSha1.o HandlerOut.o ParseProperties.o 7zCompressionMode.o 7zDecode.o 7zEncode.o 7zExtract.o 7zFolderInStream.o 7zFolderOutStream.o 7zHandler.o 7zHandlerOut.o 7zHeader.o 7zIn.o 7zOut.o 7zProperties.o 7zSpecStream.o 7zUpdate.o 7zRegister.o CabBlockInStream.o CabHandler.o CabHeader.o CabIn.o CabRegister.o ChmHandler.o ChmHeader.o ChmIn.o ChmRegister.o ComHandler.o ComIn.o ComRegister.o HfsHandler.o HfsIn.o HfsRegister.o IsoHandler.o IsoHeader.o IsoIn.o IsoRegister.o NsisDecode.o NsisHandler.o NsisIn.o NsisRegister.o TarHandler.o TarHandlerOut.o TarHeader.o TarIn.o
TarOut.o TarUpdate.o TarRegister.o UdfHandler.o UdfIn.o UdfRegister.o WimHandler.o WimHandlerOut.o WimIn.o WimRegister.o ZipAddCommon.o ZipHandler.o ZipHandlerOut.o ZipHeader.o ZipIn.o ZipItem.o ZipOut.o ZipUpdate.o ZipRegister.o CodecExports.o ArjDecoder1.o ArjDecoder2.o Bcj2Coder.o Bcj2Register.o BcjCoder.o BcjRegister.o BitlDecoder.o BranchCoder.o BranchMisc.o BranchRegister.o ByteSwap.o BZip2Crc.o BZip2Decoder.o BZip2Encoder.o BZip2Register.o CopyCoder.o CopyRegister.o Deflate64Register.o DeflateDecoder.o DeflateEncoder.o DeflateRegister.o DeltaFilter.o Lzma2Decoder.o Lzma2Encoder.o Lzma2Register.o ImplodeDecoder.o ImplodeHuffmanDecoder.o LzhDecoder.o LzmaDecoder.o LzmaEncoder.o LzmaRegister.o LzOutWindow.o Lzx86Converter.o LzxDecoder.o PpmdDecoder.o PpmdEncoder.o PpmdRegister.o PpmdZip.o QuantumDecoder.o ShrinkDecoder.o ZlibDecoder.o ZlibEncoder.o ZDecoder.o 7zAes.o 7zAesRegister.o HmacSha1.o MyAes.o Pbkdf2HmacSha1.o RandGen.o Sha1.o WzAes.o ZipCrypto.o ZipStrong.o 7zBuf2.o 7zStream.o Aes.o Alloc.
o Bra.o Bra86.o BraIA64.o BwtSort.o Delta.o HuffEnc.o LzFind.o LzFindMt.o Lzma2Dec.o Lzma2Enc.o LzmaDec.o LzmaEnc.o MtCoder.o Ppmd7.o Ppmd7Dec.o Ppmd7Enc.o Ppmd8.o Ppmd8Dec.o Ppmd8Enc.o Sha256.o Sort.o Threads.o Xz.o XzCrc64.o XzDec.o XzEnc.o XzIn.o 7zCrcT8.o 7zCrcT8U.o -lpthread -ldl
`.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev' referenced in section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD1Ev[NCompress::NDeflate::NDecoder::CCOMCoder::~CCOMCoder()]' of XarHandler.o: defined in discarded section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev[_ZN9NCompress8NDeflate8NDecoder9CCOMCoderD5Ev]' of XarHandler.o
`.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev' referenced in section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD1Ev[NCompress::NDeflate::NDecoder::CCOMCoder::~CCOMCoder()]' of XarHandler.o: defined in discarded section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev[_ZN9NCompress8NDeflate8NDecoder9CCOMCoderD5Ev]' of XarHandler.o
`.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev' referenced in section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD1Ev[NCompress::NDeflate::NDecoder::CCOMCoder::~CCOMCoder()]' of XarHandler.o: defined in discarded section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev[_ZN9NCompress8NDeflate8NDecoder9CCOMCoderD5Ev]' of XarHandler.o
`.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev' referenced in section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD1Ev[NCompress::NDeflate::NDecoder::CCOMCoder::~CCOMCoder()]' of XarHandler.o: defined in discarded section `.text._ZN9NCompress8NDeflate8NDecoder9CCOMCoderD2Ev[_ZN9NCompress8NDeflate8NDecoder9CCOMCoderD5Ev]' of XarHandler.o
`.text._ZN7NCrypto14CAesCbcDecoderD2Ev' referenced in section `.text._ZN7NCrypto14CAesCbcDecoderD1Ev[NCrypto::CAesCbcDecoder::~CAesCbcDecoder()]' of MyAes.o: defined in discarded section `.text._ZN7NCrypto14CAesCbcDecoderD2Ev[_ZN7NCrypto14CAesCbcDecoderD5Ev]' of MyAes.o
collect2: ld returned 1 exit status
distcc[28199] ERROR: compile (null) on localhost failed
make[1]: *** [../../../../bin/7z.so] Error 1
make[1]: Leaving directory `/dev/shm/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1/CPP/7zip/Bundles/Format7zFree'
make: *** [common7z] Error 2
* ERROR: app-arch/p7zip-9.20.1-r3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-arch/p7zip-9.20.1-r3'`,
* the complete build log and the output of `emerge -pqv '=app-arch/p7zip-9.20.1-r3'`.
* The complete build log is located at '/dev/shm/portage/app-arch/p7zip-9.20.1-r3/temp/build.log'.
* The ebuild environment file is located at '/dev/shm/portage/app-arch/p7zip-9.20.1-r3/temp/environment'.
* Working directory: '/dev/shm/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1'
* S: '/dev/shm/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1'


I solved it by disabling distcc and -j for now.
But it would be nice, if i could distribute the compilation of all the packages as they take quite a bit to compile on a single core.
Any ideas on how to make the packages work with USE="kde" *AND* distcc work?
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2140
Location: $TERM

PostPosted: Thu Jul 12, 2012 3:19 pm    Post subject: Reply with quote

How about cleaning the cache for now?
_________________
Buy from companies supporting opensource -- IBM, Dell, HP, Hitachi, Google etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum