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

Bug 317723

Summary: sys-libs/zlib-1.2.5-r1 causes compile failures with error in zlib.h header
Product: Gentoo Linux Reporter: Allen Parker <infowolfe>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Allen Parker 2010-04-29 08:23:44 UTC
Steps to reproduce:
merge zlib-1.2.5-r1, merge app-arch/dump, wait.

Error:
optr.c: In function 'timeest':
optr.c:333: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from tape.c:96:
/usr/include/zlib.h:1575:46: error: operator '&&' has no right operand
make[1]: *** [tape.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/dev/shm/portage/app-arch/dump-0.4.42/work/dump-0.4b42/dump'
make: *** [all] Error 1
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-04-29 08:29:48 UTC
vapier: your opinions on this please.

Broken lines:
1574 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && \
1575     _LFS64_LARGEFILE-0 && _LARGEFILE64_SOURCE

Portage 2.2_rc67 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.11.1-r0, 2.6.32.4-... x86_64)
=================================================================
System uname: Linux-2.6.32.4-...-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2352-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Apr 2010 00:15:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.5.4-r2, 2.6.5-r1
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.2.4-r1, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/conf.avail/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="(censored)"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="(censored)"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="(censored)"
USE="3dnow 3dnowext amd64 async authdaemond authlib bash-completion berkdb bzip2 bzlib cap caps cdb chroot ck-server cli cracklib crypt curlwrappers cxx dba dbm dbx device-mapper dio dri erandom exif extensions f2c fam fastcgi flatfile gd-external gdbm gnutls hpn iconv imap innodb ipv6 jpeg lids lm_sensors logrotate memlimit mmx modules mpi mudflap multilib mysql mysqli ncurses nethack network-cron nfs nls no-htdocs nptl nptlonly offensive openmp pam pcre perl png posix postgres pppd python qmail readline reflection reiserfs romio rrdtool session sftp sftplogging sharedext snmp soap sockets spl sqlite sse sse2 ssl symlink sysfs sysvipc tcpd threads truetype unicode urandom vim-syntax vpopmail xattr xml xmlrpc xorg 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-29 08:38:04 UTC

*** This bug has been marked as a duplicate of bug 317397 ***