Gentoo Archives: gentoo-user

From: Michael Palimaka <kensington@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: dev-qt/qtdeclarative fails to build
Date: Tue, 23 Jan 2018 12:50:52
Message-Id: 885755ec-f1b6-2bd8-f52d-6ca994c7baaf@gentoo.org
In Reply to: [gentoo-user] dev-qt/qtdeclarative fails to build by "Christoph Böhmwalder"
1 On 01/20/2018 09:10 AM, Christoph Böhmwalder wrote:
2 > Hey everyone,
3 >
4 > I tried building qtdeclarative-5.9.3 today, but the linker failed:
5 >
6 > $ cat build.log
7 > ------- >8 -------
8 > g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o libparticlesplugin.so .obj/plugin.o
9 > -L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib -lQt5QuickParti
10 > cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
11 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of
12 > `__bss_start'
13 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of
14 > `_edata'
15 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of
16 > `_end'
17 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): multiple definitio
18 > n of `_edata'
19 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): multiple definitio
20 > n of `__bss_start'
21 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Network.so:(*IND*+0x0): multiple definitio
22 > n of `_end'
23 > collect2: error: ld returned 1 exit status
24 >
25 > $ emerge -pqv '=dev-qt/qtdeclarative-5.9.3::gentoo'
26 > [ebuild N ] dev-qt/qtdeclarative-5.9.3 USE="jit widgets xml -debug (-gles2) -localstorage {-test}"
27 >
28 >
29 > emerge --info output and build.log are attached.
30 >
31 > Any ideas? Thanks!
32 >
33 > --
34 > Regards,
35 > Christoph
36 >
37
38 This is probably bug #623566. Based on this output, try rebuilding
39 qtcore, qtgui and qtnetwork then try qtdeclarative again.