Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 405785

Summary: app-emulation/qemu-1.0-r3[static] fails to configure, Error: zlib check failed
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Andreas K. Hüttel archtester gentoo-dev 2012-02-25 16:23:09 UTC
Created attachment 303189 [details]
build log

See summary and attached log. 

zlib is installed as sys-libs/zlib-1.2.6[minizip]

Will investigate too...
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-02-25 16:26:14 UTC
From config.log:

x86_64-pc-linux-gnu-gcc -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -o /var/tmp/portage/app-emulation/qemu-1.0-r3/temp/qemu-conf-24663-17623-2540.exe /var/tmp/portage/app-emulation/qemu-1.0-r3/temp/qemu-conf-22491-17623-30929.c -m64 -static -g -Wl,-z,execheap -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lz

heh... seems it checks for a static library!
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-02-25 16:27:17 UTC
... which may be related to the fact that I try to build a static qemu ...
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-02-25 21:01:16 UTC
I've made a tweak to qemu and qemu-kvm that should resolve this issue for you.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-02-25 21:01:39 UTC
I've made a tweak to qemu and qemu-kvm that should resolve this issue for you.