Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117061 - dev-util/libconf upgrade tries to use old libconf2xml.so
Summary: dev-util/libconf upgrade tries to use old libconf2xml.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dams (RETIRED)
URL:
Whiteboard:
Keywords:
: 158651 195733 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-29 02:54 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2009-12-09 14:08 UTC (History)
14 users (show)

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


Attachments
Build Log - revdep-rebuild (build.log,25.74 KB, text/plain)
2008-06-08 21:00 UTC, Dwayne Carter
Details
Environment - revdep-rebuild (environment,81.33 KB, text/plain)
2008-06-08 21:02 UTC, Dwayne Carter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2005-12-29 02:54:31 UTC
emerging of libconf 0.42.10 with a previous version existing tries to compile the ruby bindings against /usr/lib/libconf2xml.so instead of $builddir/bindings/c/src/libcon2xml.so and as a result produces compilation errors.

how to fix: either declare LD_LIBRARY_PATH appropriately or copy the C bound version into /usr/lib manually then ebuild by hand ;)
Comment 1 dams (RETIRED) gentoo-dev 2005-12-30 16:14:03 UTC
assigned to me
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2006-11-28 12:44:16 UTC
Hmm, can't reproduce it here. But by checking the compiler output, I would say this has been solved (somehow):
[...]
i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I.  -fPIC -I../../c/src  -c ext/conf2xml.c
i686-pc-linux-gnu-gcc -shared -L../../c/src   -L'/usr/lib' -Wl,-R'/usr/lib' -o conf2xml.so conf2xml.o  -Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby18 -lconf2xml  -lpthread -ldl -lcrypt -lm   -lc
[...]
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2006-11-28 20:00:46 UTC
I would hazard a guess this problem was resolved by 0.42.10-r1

--- libconf-0.42.10.ebuild      2006-03-02 13:35:54.000000000 +1300
+++ libconf-0.42.10-r1.ebuild   2006-03-02 13:21:57.000000000 +1300
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/libconf-0.42.10.ebuild,v 1.4 2006/03/02 00:21:57 dams Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/libconf-0.42.10-r1.ebuild,v 1.1 2006/03/02 00:21:57 dams Exp $

 inherit multilib

@@ -42,14 +42,6 @@
 }
 src_compile() {
        emake "BINDINGS=${mybindings}" || die "make failed"
-
-       # Multilib fix. Needs to be in src_compile because we need to tweak the
-       # Makefile that's generated by extconf.rb. More elegant solution?
-       if use ruby ; then
-               sed -i "/^sitedir/ { s:lib:$(get_libdir): }" \
-                       bindings/ruby/src/Makefile \
-                       || die "bad sed"
-       fi
 }
   
 src_install() {

So I think its apt we close this bug now.

I'll leave that decision up to you dams, cos your the only one who really knows for sure what the above code does :)
                                         
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 08:50:29 UTC
*** Bug 158651 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 08:51:10 UTC
(In reply to comment #3)
> I would hazard a guess this problem was resolved by 0.42.10-r1

Not really, reopen.
Comment 6 Michael Lelli 2007-01-11 00:26:56 UTC
I have this same problem, but libconf compiles without any problems. I'm not sure if the library with the non-existing dependency is a problem though, since it only built it because of my ruby USE flag.
Comment 7 Steve Kutnar 2007-04-16 04:34:23 UTC
For me, revdep-rebuild complains constantly about missing libconf2xml.so for conf2xml.so
Comment 8 Michael Lelli 2007-06-11 19:35:01 UTC
Is there any reason the C bindings are being discarded to begin with?
Comment 9 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-06-19 01:14:38 UTC
(In reply to comment #8)
> Is there any reason the C bindings are being discarded to begin with?

Perhaps this?

 * QA Notice: The following shared libraries lack a SONAME
 *  /var/tmp/portage/dev-util/libconf-0.42.10-r1/image/usr/lib/libconf2xml.so

That's with this patch for the ebuild.. ;)

Index: libconf-0.42.10-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/libconf/libconf-0.42.10-r1.ebuild,v
retrieving revision 1.5
diff -r1.5 libconf-0.42.10-r1.ebuild
29c29
<       mybindings="bash"
---
>       mybindings="bash c"
Comment 10 Patrizio Bassi 2007-09-01 17:57:33 UTC
i still notice this issue on my system
Comment 11 Howard B. Golden 2007-12-31 21:05:26 UTC
(In reply to comment #9)

It seems to me, logically, that the C binding should be built if the ruby USE flag is selected. So I would add it to the ebuild logic that adds the ruby binding (so it also adds the C binding).

However, this will generate the following QA Notice, since the libconf2xml.so doesn't have a SONAME:

>  * QA Notice: The following shared libraries lack a SONAME
>  *  /var/tmp/portage/dev-util/libconf-0.42.10-r1/image/usr/lib/libconf2xml.so

I don't know if this needs to be fixed in the Makefile for the C binding to work correctly, or if it only needs to be fixed to eliminate the QA Notice.
Comment 12 Frederico Freire Boaventura 2008-05-07 14:34:26 UTC
I have this problem now... it wasn't here last week.  I tend to run revdep-rebuild once a week, when I do emerge -u world, so this morning libconf started showing up on the packages to be rebuild.

Three times I run revdep-rebuild and three times libconf showed up, and it's still there.  Running ldd agains the conf2xml.so that revdep-rebuild complains, gives me the result stating that libconf2xml.so wasn't found.

$ ldd /usr/lib/ruby/site_ruby/1.8/i686-linux/conf2xml.so
        linux-gate.so.1 =>  (0xffffe000)
        libruby18.so.1.8 => /usr/lib/libruby18.so.1.8 (0xb7fab000)
        libconf2xml.so => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f63000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f5f000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f2c000)
        libm.so.6 => /lib/libm.so.6 (0xb7f08000)
        libc.so.6 => /lib/libc.so.6 (0xb7dd9000)
        /lib/ld-linux.so.2 (0xb8077000)

The strangest part is that libconf emerges without complains, nor error, nor even warning messages.



$ emerge --info
Portage 2.1.5_rc7 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r2 i686)
=================================================================
System uname: 2.6.25-gentoo-r2 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Wed, 07 May 2008 10:36:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/portage/local/fred"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acct acl acpi addbookmarks administrator ads aim alias alsa amazon amrnb amrwb ao apache2 apm archive arts artswrappersuid async audiofile automount bash-completion bcmath berkdb bidi binary-drivers bind-mysql bluetooth bzip2 calendar caps captury ccache cdda cddb cdio cdparanoia cdr cgi chm cisco clamav cli connectionstatus contentcache cpudetection cracklib crypt css ctype cups curl curlwrappers daap dbase dbm dbmaker dbtool dbus dbx dga dialup directfb diskio divx djvu dlz dmx dri dts dv dvb dvd dvdr dvdread dxr3 dynamic dynamicplugin eap-tls elf enca encode enscript epson exif expat extensions extrafilters fam fame fastbuild fastcgi fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash font-server fontconfig foomaticdb fortran fpx ftp fuse gadu gd gdbm ggi gif glib gnokii gnutls gphoto2 gpm graphviz gsm gtk hal hardware-carrier hddtemp htmlhandbook ical iconv ieee1394 imagemagick imlib ipv6 irda isdnlog jack java jbig john joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos ladspa lame laptop latex lcms ldap libcaca lirc live lm_sensors logrotate lzo mad md5sum midi mjpeg mmap mmx mmxext mng mp2 mp3 mpeg mplayer mudflap musepack musicbrainz mysql nas ncurses nemesi network networkmanager nforce2 nls nptl nptlonly nsplugin nss nvidia odbc ogg openal openct openexr opengl openmp oscar oss pae pam pch pcmcia pcre pda pdf perl php pmu png pnm povray pppd pulseaudio python qt3 qt3support qt4 quicktime quotas radio rar readline real reflection rrdcgi rrdtool rtc ruby samba scanner sdl session slang smp sms sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 subversion svg svga syslog tcl tcpd teletext tga theora threads tidy tiff truetype unicode usb utempter v4l v4l2 vcd video vidix vim-syntax vnc vorbis wavpack wifi win32codecs winbind wmf x264 x86 xanim xcomposite xforms xine xinerama xml xorg xprint xscreensaver xv xvid xvmc yahoo zeroconf zip zlib zoran zrtp" ALSA_CARDS="hda-intel bt87x mpu401" 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" 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 imagemap proxy proxy_ftp proxy_http version" APACHE2_MPMS="worker" CAMERAS="ptp2 sony_dscf1" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l fbdev nv vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 13 Dwayne Carter 2008-06-08 20:59:06 UTC
make[3]: Entering directory `/var/tmp/portage/dev-util/libconf-0.42.10-r1/work/perl-Libconf-0.42.10/bindings/ruby/src'
mkdir -p /var/tmp/portage/dev-util/libconf-0.42.10-r1/image//usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/bin/install -c -m 0755 conf2xml.so /var/tmp/portage/dev-util/libconf-0.42.10-r1/image//usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/bin/install: cannot create regular file `/var/tmp/portage/dev-util/libconf-0.42.10-r1/image//usr/lib/ruby/site_ruby/1.8/i686-linux': File exists
make[3]: *** [/var/tmp/portage/dev-util/libconf-0.42.10-r1/image//usr/lib/ruby/site_ruby/1.8/i686-linux/conf2xml.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/libconf-0.42.10-r1/work/perl-Libconf-0.42.10/bindings/ruby/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-util/libconf-0.42.10-r1/work/perl-Libconf-0.42.10/bindings/ruby'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-util/libconf-0.42.10-r1/work/perl-Libconf-0.42.10/bindings'
make: *** [install] Error 2
 * 
 * ERROR: dev-util/libconf-0.42.10-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2034:  Called die
 * The specific snippet of code:
 *       emake BINDINGS="$(bindings)" PREFIX="${D}/usr" DESTDIR="${D}" ROOT="${D}" CPA="cp -pR" install || die "emake install failed";
 *  The die message:
 *   emake install failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/libconf-0.42.10-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/libconf-0.42.10-r1/temp/environment'.
Comment 14 Dwayne Carter 2008-06-08 21:00:47 UTC
Created attachment 156001 [details]
Build Log - revdep-rebuild
Comment 15 Dwayne Carter 2008-06-08 21:02:29 UTC
Created attachment 156003 [details]
Environment - revdep-rebuild
Comment 16 Dwayne Carter 2008-06-08 21:03:07 UTC
Portage 2.1.5.4 (default/linux/x86/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Timestamp of tree: Sun, 08 Jun 2008 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.namerica.gentoo.org/gentoo-portage"
USE="acl acpi animgif apache2 aspnet aspnet2 bash-completion bcmath berkdb bzip2 calendar caps chroot cli cracklib crypt ctype cups curl curlwrappers dbase dbm dbx discard-path dri exif expat extensions fam fastcgi fdftk filter flatfile fortran freetds ftp gd gdbm geoip gif gmp gpm graphviz hal hash iconv imagemagick imap imlib inifile innodb iodbc ipv6 isdnlog javascript jbig jpeg jpeg2k kerberos ldap ldap-sasl libedit libnotify libwww lm_sensors maildir mailwrapper mcal mcve memlimit mhash midi mime ming mmap mmx mng mnogosearch mono mp3 mpi mpm-prefork mssql mudflap mysql mysqli ncurses nls nptl nptlonly odbc openmp pam pcntl pcre pdf pdo perl php plotutils png pop3d posix postfix pppd python reflection rrdcgi rrdtool ruby samba sasl session sharedext sharedmem simplexml skey snmp soap sockets socks5 speex spell spl sqlite sqlite3 sse ssl startup-notification suhosin symlink sysvipc tcl tcpd tidy tiff tk tokenizer truetype unicode vhosts vim-syntax wddx wmf x86 xinetd xml xmlreader xmlrpc xmlwriter xorg xpm xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 17 Dwayne Carter 2008-06-08 21:04:13 UTC
I have a attach the emerge info from dev server.  It strange that this issue is in the 2008.0 train as well.
Comment 18 Patrizio Bassi 2008-09-21 10:33:58 UTC
no hints here?
Comment 19 Dmitry Halturin 2008-10-14 14:53:31 UTC
Hi,
this my patch at /usr/portage/dev-util/libconf/libconf-0.42.10-r1.ebuild:


diff -Naur libconf-0.42.10-r1.orig.ebuild libconf-0.42.10-r1.ebuild
--- libconf-0.42.10-r1.orig.ebuild      2008-10-14 18:38:18.000000000 +0400
+++ libconf-0.42.10-r1.ebuild   2008-10-14 18:38:39.000000000 +0400
@@ -25,9 +25,10 @@

 bindings() {
        local mybindings
-       mybindings="bash"
+       mybindings="bash c"
        use python && mybindings="${mybindings} python"
        use ruby && mybindings="${mybindings} ruby"
+       use c && mybindings="${mybindings} c"
        echo ${mybindings}
 }


And all ok ;)
Comment 20 Simon Kohlmeyer 2009-05-14 13:22:53 UTC
(In reply to comment #19)

I can confirm that this patch solves the problem. revdep-rebuild doesn't complain anymore.
Comment 21 Torsten Veller (RETIRED) gentoo-dev 2009-11-11 20:44:25 UTC
*** Bug 195733 has been marked as a duplicate of this bug. ***
Comment 22 Ian Abbott 2009-11-12 11:26:57 UTC
(In reply to comment #19)

Here's a similar patch that only builds the C bindings if the Ruby bindings are needed:

--- /usr/portage/dev-util/libconf/libconf-0.42.10-r1.ebuild	2009-07-03 01:08:09.000000000 +0100
+++ ./libconf-0.42.10-r1.ebuild	2009-11-12 11:21:19.000000000 +0000
@@ -27,7 +27,8 @@
 	local mybindings
 	mybindings="bash"
 	use python && mybindings="${mybindings} python"
-	use ruby && mybindings="${mybindings} ruby"
+	# ruby bindings require c bindings - bug #117061
+	use ruby && mybindings="${mybindings} c ruby"
 	echo ${mybindings}
 }
 
Comment 23 Howard B. Golden 2009-11-28 23:33:23 UTC
(In reply to comment #22)

> Here's a similar patch that only builds the C bindings if the Ruby bindings are
> needed:
> 
> --- /usr/portage/dev-util/libconf/libconf-0.42.10-r1.ebuild     2009-07-03
> 01:08:09.000000000 +0100
> +++ ./libconf-0.42.10-r1.ebuild 2009-11-12 11:21:19.000000000 +0000
> @@ -27,7 +27,8 @@
>         local mybindings
>         mybindings="bash"
>         use python && mybindings="${mybindings} python"
> -       use ruby && mybindings="${mybindings} ruby"
> +       # ruby bindings require c bindings - bug #117061
> +       use ruby && mybindings="${mybindings} c ruby"
>         echo ${mybindings}
>  }
 
This patch works for me. Respectfully, I request that it be applied so this bug can be closed finally. (My previous comment on this bug was almost 2 _years_ ago!)
Comment 24 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-09 14:08:46 UTC
FIxing in main tree on behalf of QA team.