[gentoo-user] Re: dev-qt/qtdeclarative fails to build
On 01/20/2018 09:10 AM, Christoph Böhmwalder wrote: > Hey everyone, > > I tried building qtdeclarative-5.9.3 today, but the linker failed: > > $ cat build.log > --- >8 --- > g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o > libparticlesplugin.so .obj/plugin.o > -L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib > -lQt5QuickParti > cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): > multiple definition of > `__bss_start' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): > multiple definition of > `_edata' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): > multiple definition of > `_end' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): > multiple definitio > n of `_edata' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): > multiple definitio > n of `__bss_start' > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): > multiple definitio > n of `_end' > collect2: error: ld returned 1 exit status > > $ emerge -pqv '=dev-qt/qtdeclarative-5.9.3::gentoo' > [ebuild N] dev-qt/qtdeclarative-5.9.3 USE="jit widgets xml -debug > (-gles2) -localstorage {-test}" > > > emerge --info output and build.log are attached. > > Any ideas? Thanks! > > -- > Regards, > Christoph > This is probably bug #623566. Based on this output, try rebuilding qtcore, qtgui and qtnetwork then try qtdeclarative again.
Re: [gentoo-user] Re: dev-qt/qtdeclarative fails to build
On Sat, Jan 20, 2018 at 05:26:59AM +0200, Nikos Chantziaras wrote: > Is this for the profile upgrade? It's not, I already did that including an emerge -e @world... > So it tried to link the new PIC-enabled qtdeclarative against the > old non-PIC qtcore. The result was this exact build error. ... however it is entirely possible that I messed something up that's related to the profile switch. Seeing as this is my first profile upgrade I wouldn't be surprised to find that I've horribly broken something. For the record, I tried to install app-crypt/yubikey-manager-qt, which pulls in qtdeclarative as a dependency. I'm rebuilding the 107 packages that revdep-rebuild reported (no idea how that happened) right now, and I'll see if that fixes things. No doubt this will be one giant learning experience for me :) Thanks! -- Regards, Christoph
[gentoo-user] Re: dev-qt/qtdeclarative fails to build
On 20/01/18 00:10, Christoph Böhmwalder wrote: Hey everyone, I tried building qtdeclarative-5.9.3 today, but the linker failed: $ cat build.log --- >8 --- g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o libparticlesplugin.so .obj/plugin.o -L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib -lQt5QuickParti cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of `__bss_start' Is this for the profile upgrade? I had this too, because for some weird reason, emerge wants to rebuild qtdeclarative and qtgui before it rebuilds qtcore. So it tried to link the new PIC-enabled qtdeclarative against the old non-PIC qtcore. The result was this exact build error. If you indeed ran into this due to the @world rebuild that's required by the profile update, you can ignore it and resume the @world rebuild with --skipfirst. Or use --keep-going to skip over all build failures, and then rebuild failed packages manually at the end.