Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270629 - ~cdrkit-1.1.9 - problem with glibc 2.10.1
Summary: ~cdrkit-1.1.9 - problem with glibc 2.10.1
Status: RESOLVED DUPLICATE of bug 270372
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://pastebin.com/m750d032c
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 20:16 UTC by Diego Stamigni
Modified: 2011-10-30 23:14 UTC (History)
1 user (show)

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


Attachments
patch that fixes things for glibc 2.10.1 (nogetline2.patch,7.86 KB, patch)
2009-05-21 01:00 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Stamigni 2009-05-20 20:16:08 UTC
I'm getting this error when i try to emerge cdrkit: 


Reproducible: Always
Comment 1 Diego Stamigni 2009-05-20 20:18:17 UTC
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.0
Timestamp of tree: Wed, 20 May 2009 17:45:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
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.8.5-r3, 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=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ ftp://ftp.unina.it/pub/linux/distributions/gentoo "
LANG="it"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl amd64 apm arts avi berkdb bitmap-fonts bzip2 cli consolekit cracklib crypt cups dbus dri dvd embedded emerald encode f77 foomaticdb fortran gdbm gif glitz gnome gpm gtk hal iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod mmx mng motif mpeg mudflap multilib mysql ncurses nls nptl nptlonly oggvorbis opengl openmp oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd truetype unicode webkit xcb xml2 xorg xscreensaver xulrunner xv 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" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Mike Auty (RETIRED) gentoo-dev 2009-05-20 21:59:14 UTC
You haven't included an error message, and pastebin URLs aren't reliable.  Please attach the complete build.log file (which you can find specified when emerge fails) to this bug so that all the information we need for this bug is kept in one place.  Thanks...
Comment 3 Rafał Mużyło 2009-05-20 23:21:28 UTC
Well, yes, he should have attached the log,
but for an already fixed bug (like this one),
pastebin is enough.

getline problem with recent glibc is supposed to be fixed
in linux-headers - read the changelog and reemerge.

Unless this:
/var/tmp/portage/app-cdr/cdrkit-1.1.9-r1/work/cdrkit-1.1.9/librols/../include/schily.h:119: error: conflicting types for 'fexecve'
/usr/include/unistd.h:524: error: previous declaration of 'fexecve' was here

means that more fixes are required.
Comment 4 Rafał Mużyło 2009-05-20 23:35:42 UTC
So, OK, it's not fixed yet.
Or, at least, it seems cdrkit will need a specific fix.
Comment 5 Rafał Mużyło 2009-05-21 01:00:23 UTC
Created attachment 191972 [details, diff]
patch that fixes things for glibc 2.10.1

Well, it's both same bug and not same bug.
Problem comes from glibc 2.10.1 declaring a higher POSIX standard compliance
than before.
Following patch makes cdrkit build with glibc 2.10.1,
but it's really a dirty hack.
For a cleaner solution, cdrkit would have to be, i.e.
ported to use gnulib.
Comment 6 Nicholas J. Michalek 2009-05-21 08:06:27 UTC
So... it looks obvious that these are the same:
bug 270372
and
bug 270629 (this one)
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-21 09:24:44 UTC

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