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

Bug 410865

Summary: sys-apps/kmod-7 with sys-libs/zlib-1.2.3-r1 - configure: error: Package requirements (zlib) were not met: No package 'zlib' found
Product: Gentoo Linux Reporter: Richard Scott <gentoo.bugs>
Component: [OLD] Core systemAssignee: udev maintainers <udev-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Scott 2012-04-05 11:50:17 UTC
when installing sys-apps/kmod I get this error:

>> checking for zlib... no
>> configure: error: Package requirements (zlib) were not met:
>> 
>> No package 'zlib' found

This happens even though I have zlib-1.2.3-r1 is installed.
Upgrading zlib to zlib-1.2.6 and then installing kmod works for me.
Comment 1 Richard Scott 2012-04-05 11:53:09 UTC
 # emerge --info
Portage 2.1.10.55 (hardened/linux/x86, gcc-4.3.2, glibc-2.8_p20080602, 2.6.18-274.el5.028stab093.2 i686)
=================================================================
System uname: Linux-2.6.18-274.el5.028stab093.2-i686-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-2.0.0
Timestamp of tree: Thu, 05 Apr 2012 10:30:01 +0000
app-shells/bash:          3.2_p48::funtoo
dev-lang/python:          2.5.2-r8::funtoo, 2.7.2-r3
dev-util/pkgconfig:       0.23::funtoo
sys-apps/baselayout:      2.0.0-r1::funtoo
sys-apps/openrc:          0.3.0.20081113-r2::funtoo
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.2::funtoo, 1.11.4
sys-devel/binutils:       2.19::funtoo
sys-devel/gcc:            4.3.2::funtoo
sys-devel/gcc-config:     1.4.0-r4::funtoo
sys-devel/libtool:        2.2.6a::funtoo
sys-devel/make:           3.81::funtoo
sys-kernel/linux-headers: 2.6.27-r2::funtoo (virtual/os-headers)
sys-libs/glibc:           2.8_p20080602::funtoo
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv modules mudflap ncurses nls nptl nptlonly openmp pam pax_kernel pcre pic pppd readline session ssl sysfs tcpd urandom x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-05 13:26:52 UTC
Wouldn't it help to update to =sys-libs/zlib-1.2.5-r2, which has been stable since last year?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-05 13:27:30 UTC
1) Please attach the entire build log to this bug report.
2) Specifically, also attach the config.log to this bug report.
Comment 4 Richard Scott 2012-04-06 14:30:37 UTC
(In reply to comment #2)
> Wouldn't it help to update to =sys-libs/zlib-1.2.5-r2, which has been stable
> since last year?

that's exactly my point, it doesn't pull in the latest zlib release and upgrade it.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-06 15:26:58 UTC
(In reply to comment #3)
> 1) Please attach the entire build log to this bug report.
> 2) Specifically, also attach the config.log to this bug report.
Comment 6 Richard Scott 2012-04-06 20:37:34 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > 1) Please attach the entire build log to this bug report.
> > 2) Specifically, also attach the config.log to this bug report.

I'm sorry, but I don't have them available anymore. At the end of the day, the kmod ebuild doesn't ask for a specific version of zlib when it obviously has a build dependency on a recent release.

It could do with this:
 zlib? ( sys-libs/zlib )

being changed to this:
 zlib? ( >=sys-libs/zlib-1.2.6 )