Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317845 - media-gfx/exiv2-0.19 fails to compile because of zlib.h and exiting with error 'econf failed'
Summary: media-gfx/exiv2-0.19 fails to compile because of zlib.h and exiting with erro...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2010-04-29 22:56 UTC by philipplewe
Modified: 2010-05-08 00:33 UTC (History)
1 user (show)

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

build.log (build.log,8.12 KB, text/plain)
2010-04-29 23:06 UTC, philipplewe
config.log (config.log,34.63 KB, text/plain)
2010-04-29 23:11 UTC, philipplewe

Note You need to log in before you can comment on or make changes to this bug.
Description philipplewe 2010-04-29 22:56:27 UTC
The ebuild media-gfx/exiv2-0.19 failes to install, because zlib.h could not be compiled.

I reemerged sys-libs/zlib-1.2.3-r1 in hope to fix the problem, but that didn't solve the problem.

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 media-gfx/exiv2

Actual Results:  
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... no
checking zlib.h presence... yes
configure: WARNING: zlib.h: present but cannot be compiled
configure: WARNING: zlib.h:     check for missing prerequisite headers?
configure: WARNING: zlib.h: see the Autoconf documentation
configure: WARNING: zlib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: zlib.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to ##
configure: WARNING:     ## ------------------------------ ##
checking for zlib.h... no
checking zlib in /usr... failed
configure: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/exiv2-0.19/work/exiv2-0.19/config.log
 * ERROR: media-gfx/exiv2-0.19 failed:
 *   econf failed
 * Call stack:
 *, line   48:  Called src_configure
 *   environment, line 2372:  Called econf '--enable-nls' '--disable-xmp'
 *, line  538:  Called die
 * The specific snippet of code:
 *                      die "econf failed"

Expected Results:  
ebuild should compile
Comment 1 philipplewe 2010-04-29 23:00:24 UTC
emerge --info =media-gfx/exiv2-0.19
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r10 x86_64)
                        System Settings
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 29 Apr 2010 12:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
CFLAGS="-march=core2 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdio cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glib glibc gpm gtk hal iconv id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc jpeg jpeg2k kde latex lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ntp ogg opengl openmp otr pam pango pcre pdf perl phonon pm-utils png ppds pppd python qt3support qt4 quicktime rar rdp readline reflection rss samba sdl semantic-desktop session spell spl sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg sysfs syslog tcpd threads tiff truetype unicode usb v41 v412 vcd vim-syntax visualization vnc vorbis wavpack wifi wma wmf x264 xcb xine xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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" 
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-29 23:02:54 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/exiv2-0.19/work/exiv2-0.19/config.log
Comment 3 philipplewe 2010-04-29 23:06:18 UTC
Created attachment 229757 [details]
Comment 4 philipplewe 2010-04-29 23:11:52 UTC
Created attachment 229759 [details]

Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-05 09:40:34 UTC
Can you give a try with =sys-libs/zlib-1.2.5-r2 and report if it works or fails?
Comment 6 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-05 12:42:19 UTC
I resolve the bug as TEST-REQUEST. Reopen if it still fails. Thank you.
Comment 7 philipplewe 2010-05-08 00:33:58 UTC
With =sys-libs/zlib-1.2.5-r2 installed, it works!
Thanks for your help.