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

Bug 270351

Summary: media-libs/netpbm-10.46.00 fails to build w/ glibc-2.10
Product: Gentoo Linux Reporter: Sergey Ilinykh <rion4ik>
Component: [OLD] LibraryAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: anaxi, chris, hkbst
Priority: High Keywords: STABLEREQ
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: build.log

Description Sergey Ilinykh 2009-05-18 20:00:51 UTC
subj.

error:
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here

emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/developer, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-zen1 x86_64)
=================================================================
System uname: Linux-2.6.29-zen1-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-2.0.0
Timestamp of tree: Mon, 18 May 2009 16:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="ccache cvs digest distlocks fixpackages multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="ru en"
MAKEOPTS="-j1"
PKGDIR="/usr/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zen-overlay /usr/local/portage/layman/qting-edge /usr/local/portage/layman/rion /usr/local/portage/layman/berkano /usr/local/portage/layman/gnome /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 amrnb amrwb avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-optimization dbus dri dv dvd dvdr dvdread eds emboss encode evo exif fam fbsplash firefox flac fuse gif glitz gnome gnome-keyring gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog jabber jingle jpeg jpeg2k libmodplug libnotify mad mailwrapper midi mikmod mmx mng mozdevelop mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pch pcre pdf png ppds pppd pulseaudio python qt3support qt4 readline reflection samba sdl session snmp speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads tiff tokenizer truetype unicode usb v4l2 vhosts vorbis webkit x264 xcb xcomposite xml xorg xulrunner xv xvid 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="dav dav_fs authn_file auth_digest authz_groupfile authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vesa intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:




i guess its conflict with new glibc-2.10.1
Comment 1 Sergey Ilinykh 2009-05-18 20:01:51 UTC
Created attachment 191716 [details]
build.log
Comment 3 Sergey Ilinykh 2009-05-19 16:26:58 UTC
with patch above netpbm compiled and installed without any problem.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-19 20:21:27 UTC
*** Bug 270491 has been marked as a duplicate of this bug. ***
Comment 5 Chris Smith 2009-05-20 17:06:42 UTC
Ditto
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-05-21 22:13:07 UTC
Fixed by adding:

+       # glibc2.10 compat (bug 270351)
+       sed "s:getline:getline_nonlibc:" -i converter/ppm/xvminitoppm.c || die

to the ebuild.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-07-09 11:46:44 UTC
The same problem happens with netpbm-10.44.00-r1, which is not patched.
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-07-09 12:29:03 UTC
Requestes stabilization in https://bugs.gentoo.org/show_bug.cgi?id=277184