Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173088 - app-cdr/cdrkit-1.1.2 fails to compile on uclibc due to redeclaration of 'clone'
Summary: app-cdr/cdrkit-1.1.2 fails to compile on uclibc due to redeclaration of 'clone'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 07:04 UTC by Natanael Copa
Modified: 2007-04-10 14:14 UTC (History)
1 user (show)

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


Attachments
cdrkit-readom-clone.patch (cdrkit-readom-clone.patch,1.09 KB, patch)
2007-04-02 07:20 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2007-04-02 07:04:15 UTC
[ 98%] Building C object readom/CMakeFiles/readom.dir/readom.o
/var/tmp/portage/app-cdr/cdrkit-1.1.2/work/cdrkit-1.1.2/readom/readom.c:206: error: 'clone' redeclared as different kind of symbol
/usr/include/bits/sched.h:57: error: previous declaration of 'clone' was here
/var/tmp/portage/app-cdr/cdrkit-1.1.2/work/cdrkit-1.1.2/readom/readom.c:206: error: 'clone' redeclared as different kind of symbol
/usr/include/bits/sched.h:57: error: previous declaration of 'clone' was here
Comment 1 Natanael Copa 2007-04-02 07:05:18 UTC
Portage 2.1.2.2 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28.3-r0, 2.6.20-gentoo-r2 i686)
=================================================================
System uname: 2.6.20-gentoo-r2 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 02 Apr 2007 06:00:01 +0000
distcc 2.18.3 i386-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/cache/packages/default"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 bitmap-fonts bri bzip2 cli cracklib dri encode expat extensions hardened iproute2 ipv6 jpeg lua mad midi ncurses netboot nonfsv4 ntfs ogg oss pci pcmcia pic png pppd pri readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc uclibc++ udev usb userlocales wifi wordexp x86 xorg zaptel zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="avmfritz hfcmulti hfcpci hfcsmini hfcsusb netjetpci sedlfax w6692pci xhfc" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l apm ark chips cirrus cyrix epson glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng vesa vga via voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Natanael Copa 2007-04-02 07:20:53 UTC
Created attachment 115225 [details, diff]
cdrkit-readom-clone.patch

Just renamed the global variable 'clone' to 'clonemode'.
Should do the trick.
Comment 3 Natanael Copa 2007-04-02 07:29:30 UTC
I sent an email to debburn-devel@lists.alioth.debian.org for upstream fix.
Comment 4 Natanael Copa 2007-04-03 06:01:44 UTC
The patch is committed upstream:
http://lists.alioth.debian.org/pipermail/debburn-devel/2007-April/000350.html

Comment 5 Lars Weiler (RETIRED) gentoo-dev 2007-04-10 14:14:01 UTC
Thanks for your patch.  It's included in gentoo's version 1.1.4 until cdrkit-1.1.5 is released.