Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588952 - app-emulation/qemu[static-user] should depend on dev-libs/libpcre[static-libs]
Summary: app-emulation/qemu[static-user] should depend on dev-libs/libpcre[static-libs]
Status: RESOLVED DUPLICATE of bug 588082
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
: 591202 593024 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-16 22:01 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2016-11-15 04:56 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (1468699051-install-app-emulation_qemu-2.6.0:0::gentoo.out,8.90 KB, text/plain)
2016-07-16 23:03 UTC, Sergey 'L29Ah' Alirzaev
Details
emerge --info (emerge.info,16.59 KB, text/plain)
2016-07-16 23:04 UTC, Sergey 'L29Ah' Alirzaev
Details
user-build/config.log (config.log,15.89 KB, text/plain)
2016-07-17 08:33 UTC, Sergey 'L29Ah' Alirzaev
Details
user-build/config.log w/ libpcre w/ static-libs (config.log,44.26 KB, text/plain)
2016-07-17 17:02 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2016-07-16 22:01:45 UTC
../configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-2.6.0/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --disable-gcrypt --python=/usr/bin/python2.7 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --host-cc=x86_64-pc-linux-gnu-gcc --disable-debug-info --disable-debug-tcg --enable-docs --disable-tcg-interpreter --enable-attr --disable-brlapi --disable-linux-aio --disable-bluez --disable-cap-ng --disable-curl --disable-fdt --disable-glusterfs --disable-gnutls --disable-nettle --disable-gtk --disable-rdma --disable-libiscsi --disable-vnc-jpeg --disable-kvm --disable-lzo --disable-curses --disable-libnfs --disable-numa --disable-opengl --disable-vnc-png --disable-rbd --disable-vnc-sasl --disable-sdl --disable-seccomp --disable-smartcard --disable-snappy --disable-spice --disable-libssh2 --disable-libusb --disable-usb-redir --disable-uuid --disable-vde --disable-vhost-net --disable-virglrenderer --disable-virtfs --disable-vnc --disable-vte --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --enable-linux-user --disable-system --disable-blobs --disable-tools --target-list=arm-linux-user,i386-linux-user,x86_64-linux-user --static --disable-pie


ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T.
       You probably need to set PKG_CONFIG_LIBDIR
       to point to the right pkg-config files for your
       build target
Comment 1 Mike Gilbert gentoo-dev 2016-07-16 22:56:03 UTC
Please attach a full build log and provide emerge --info.
Comment 2 Sergey 'L29Ah' Alirzaev 2016-07-16 23:03:31 UTC
Created attachment 440898 [details]
build log
Comment 3 Sergey 'L29Ah' Alirzaev 2016-07-16 23:04:46 UTC
Created attachment 440900 [details]
emerge --info
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2016-07-17 07:59:13 UTC
qemu's build tree also contains

    user-build/config.log

Please attach that file as well.
Comment 5 Sergey 'L29Ah' Alirzaev 2016-07-17 08:33:12 UTC
Created attachment 440926 [details]
user-build/config.log
Comment 6 Mike Gilbert gentoo-dev 2016-07-17 15:57:13 UTC
I see you are not using portage; does paludis have some equivalent of emerge --info you could provide instead?
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2016-07-17 16:37:32 UTC
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpcre
> collect2: error: ld returned 1 exit status

It looks like you need at least USE=static-libs for dev-libs/libpcre.
Comment 8 Sergey 'L29Ah' Alirzaev 2016-07-17 17:01:59 UTC
(In reply to Mike Gilbert from comment #6)
> I see you are not using portage; does paludis have some equivalent of emerge
> --info you could provide instead?

It has `cave info`, but it doesn't look like `emerge --info`, looks useless and i don't really know what kind of information do you need.

(In reply to Sergei Trofimovich from comment #7)
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpcre
> > collect2: error: ld returned 1 exit status
> 
> It looks like you need at least USE=static-libs for dev-libs/libpcre.

It used to build fine w/o USE=static-libs for dev-libs/libpcre.
Anyway, built libpcre with the flag, there's your user-build/config.log. The original problem persists tho.
Comment 9 Sergey 'L29Ah' Alirzaev 2016-07-17 17:02:31 UTC
Created attachment 440948 [details]
user-build/config.log w/ libpcre w/ static-libs
Comment 10 Sergey 'L29Ah' Alirzaev 2016-07-17 19:20:24 UTC
Eh, nope, i've mistaken: it built.
Comment 11 Peter Levine 2016-08-09 04:54:44 UTC
I can confirm this bug.  Note, the dependency on a static libpcre only occurs if building qemu with USE="static-user".
Comment 12 Peter Levine 2016-08-09 04:56:11 UTC
(In reply to Peter Levine from comment #11)
> I can confirm this bug.  Note, the dependency on a static libpcre only
> occurs if building qemu with USE="static-user".

Never mind. I missed that in the bug title.
Comment 13 SpanKY gentoo-dev 2016-08-10 06:14:05 UTC
not a bug in qemu ... it doesn't use pcre

*** This bug has been marked as a duplicate of bug 588082 ***
Comment 14 SpanKY gentoo-dev 2016-11-15 04:56:12 UTC
*** Bug 591202 has been marked as a duplicate of this bug. ***
Comment 15 SpanKY gentoo-dev 2016-11-15 04:56:21 UTC
*** Bug 593024 has been marked as a duplicate of this bug. ***