Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568856 - app-emulation/qemu[-gnutls]: libgcrypt is automatically detected
Summary: app-emulation/qemu[-gnutls]: libgcrypt is automatically detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 06:37 UTC by Oleh
Modified: 2015-12-20 19:17 UTC (History)
0 users

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


Attachments
qemu-static-builg.log (qemu-static-build.log,175.26 KB, text/x-log)
2015-12-20 06:37 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-12-20 06:37:23 UTC
qemu have at least 3 static* USE's in ebuild and setting either one missing at least 2 dependencies, shown in summary. When static-user enabled only, it asks only to set static-libs USE to glib and zlib. When adding static and static-softmmu USE's it asks to set static-libs into bunch of ebuilds, but still 2 missing.

Reproducible: Always

Steps to Reproduce:
1. USE=static-user emerge qemu. Or set static-user in qemu's package.use
2. USE="static static-user static-softmmu" emerge qemu. Or as above, have the USE's set in package.use
3. Notice a failure with -lgcrypt and -lgpg-error and dev-libs/libgpg-error[static-libs]
4. set static-libs to dev-libs/libgcrypt and dev-libs/libgpg-error.
5. notice a successful installation

Actual Results:  
LC_ALL=C makeinfo --no-headers --no-split --number-sections --html /var/tmp/portage/app-emulation/qemu-2.5.0/work/qemu-2.5.0/qemu-doc.texi -o qemu-doc.html
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpg-error
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpg-error
collect2: error: ld returned 1 exit status
/var/tmp/portage/app-emulation/qemu-2.5.0/work/qemu-2.5.0/rules.mak:123: recipe for target 'tests/qemu-iotests/socket_scm_helper' failed
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1
Comment 1 Oleh 2015-12-20 06:37:49 UTC
Created attachment 419882 [details]
qemu-static-builg.log
Comment 2 SpanKY gentoo-dev 2015-12-20 19:17:58 UTC
we don't want to use libgcrypt in the first place

http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ce86d1757fa73a25cdca0287d5360cca5b531b