Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212723 - dev-scheme/guile-1.8.4{,-r1} fail to emerge w/ libtool-2.2
Summary: dev-scheme/guile-1.8.4{,-r1} fail to emerge w/ libtool-2.2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Scheme Project
: 220339 220367 220509 220589 220703 (view as bug list)
Depends on:
Blocks: libtool-2.2
  Show dependency tree
Reported: 2008-03-08 15:15 UTC by Geert Vanhaute
Modified: 2008-05-07 07:11 UTC (History)
20 users (show)

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

dev-scheme/guile-1.8.4 build log (dev-scheme_guile-1.8.4.log,148.65 KB, text/plain)
2008-03-08 15:15 UTC, Geert Vanhaute
fix libtool 2.2 problem (ltdl_patch.diff,549 bytes, patch)
2008-03-09 13:30 UTC, Tanner Oakes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geert Vanhaute 2008-03-08 15:15:02 UTC
dev-scheme/guile-1.8.4 fails to emerge
It needs to be reinstalled by revdep-rebuild after upgrade of tcl-tk

Reproducible: Always

Steps to Reproduce:
1.emerge -av1 dev-scheme/guile-1.8.4

Actual Results:  
see attached build log

Expected Results:  
compile and install

# emerge --info
Portage (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-zen1 x86_64)
System uname: 2.6.24-zen1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sat, 08 Mar 2008 14:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
FEATURES="ccache distlocks metadata-transfer parallel parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en en_GB nl"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/einit /usr/portage/local/layman/initng /usr/portage/local/layman/arcon /usr/portage/local/layman/science /usr/local/portage /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/einit /usr/portage/local/layman/initng /usr/portage/local/layman/arcon /usr/portage/local/layman/science"
USE="X a52 aac acpi alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bluetooth branding browser bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus directfb divx dts dvd dvdnav dvdr dvdread eds emboss emerald enchant encode equalizer esd evo exif extrafilters fam fbcon fbcondecor ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gimp gksu glitz gmedia gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv id3tag imap imlib irmc isdnlog jack java javascript jbig jpeg jpeg2k ladcca lcms libnotify libsexy libwww lm_sensors logrotate mad mdnsresponder-compat midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mpeg mplayer mplayer-bin mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ogg opengl openmp oss pam paste64 pcre pda pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp sdl sdl-image sensord session skins smp sms sounds spell spl srt sse sse2 ssl subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff tk totem tracker trayicon truetype twolame um unicode unsupported upnp usb userlocales userpriv vorbis winbind wma wmf wmp wxwindows x264 xcb xcomposite xml xorg xosd xprint xrandr xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="directory lg_gsm" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Comment 1 Geert Vanhaute 2008-03-08 15:15:53 UTC
Created attachment 145563 [details]
dev-scheme/guile-1.8.4 build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 15:32:13 UTC
creating .libs/guileS.c
(cd .libs && x86_64-pc-linux-gnu-gcc  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
x86_64-pc-linux-gnu-gcc -pthread -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes .libs/guileS.o -pthread -Wl,--as-needed -o .libs/guile guile-guile.o -Wl,--export-dynamic  ./.libs/ -lgmp -lcrypt -lm -lltdl  -Wl,--rpath -Wl,/usr/lib64
guile-guile.o: In function `main':
guile.c:(.text+0x15): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
make[3]: *** [guile] Error 1

Does it work if you downgrade to libtool-1.5.26?
Comment 3 Freddie Witherden 2008-03-08 16:33:18 UTC
> Does it work if you downgrade to libtool-1.5.26?
Comment 4 Albert W. Hopkins 2008-03-08 19:05:23 UTC
There are a few packages that fail with libtool 2.2.  ImageMagick is another one that comes to mind.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 22:35:07 UTC
(In reply to comment #4)
> There are a few packages that fail with libtool 2.2.  ImageMagick is another
> one that comes to mind.

File a separate bug please.

Comment 6 Tanner Oakes 2008-03-09 13:30:08 UTC
Created attachment 145645 [details, diff]
fix libtool 2.2 problem
Comment 7 Tanner Oakes 2008-03-09 13:34:57 UTC
I submitted a patch that allows guile to compile with libtool 2.2.  The basis for the patch can be found here
Comment 8 Rafał Mużyło 2008-03-20 16:59:28 UTC
You'll probably not going to believe it, but only thing that needs to be patched is the ebuild and the patch is almost trivial.
All that's needed is eautoreconf at the end of src_unpack().
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-23 21:45:52 UTC
(In reply to comment #8)
> All that's needed is eautoreconf at the end of src_unpack().

I'm confirming it.
Comment 10 M. Franco 2008-04-02 08:11:51 UTC
(In reply to comment #8)
> You'll probably not going to believe it, but only thing that needs to be
> patched is the ebuild and the patch is almost trivial.
> All that's needed is eautoreconf at the end of src_unpack().

Works for me too.
Comment 11 Tim Mason 2008-04-03 01:37:07 UTC
I can confirm the diff file works and also that the bug is applicable to x86 as well.
Comment 12 Marijn Schouten (RETIRED) gentoo-dev 2008-04-25 23:22:14 UTC
fixed in 1.8.4-r1
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2008-05-05 21:45:59 UTC
*** Bug 220339 has been marked as a duplicate of this bug. ***
Comment 14 Bertrand Piétu 2008-05-05 22:13:05 UTC
I'm sorry but for me this bug it's not fixed at all. When i emerge guile-1.8.4-r1 i have this error:
[ebuild   R   ] dev-scheme/guile-1.8.4-r1  USE="deprecated networking nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-scheme/guile-1.8.4-r1 to /
 * guile-1.8.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking guile-1.8.4.tar.gz ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking guile-1.8.4.tar.gz to /var/tmp/portage/dev-scheme/guile-1.8.4-r1/work
tar: guile-1.8.4/guile-readline/ : l'horodatage 1970-01-01 01:00:00 est trop vieux pour être plausible
tar: guile-1.8.4/build-aux/config.sub : l'horodatage 1970-01-01 01:00:00 est trop vieux pour être plausible
tar: guile-1.8.4/build-aux/config.guess : l'horodatage 1970-01-01 01:00:00 est trop vieux pour être plausible
tar: guile-1.8.4/build-aux/ : l'horodatage 1970-01-01 01:00:00 est trop vieux pour être plausible
 * Applying gcc-4.3.patch ...                                             [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-scheme/guile-1.8.4-r1/work/guile-1.8.4' ...
 * Running aclocal -I guile-config ...                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ !! ]

 * Failed Running libtoolize !
 * Include in your bugreport the contents of:
 *   /var/tmp/portage/dev-scheme/guile-1.8.4-r1/temp/libtoolize-15428.out

 * ERROR: dev-scheme/guile-1.8.4-r1 failed.
 * Call stack:
 *     , line   49:  Called src_unpack
 *             environment, line 2846:  Called eautoreconf
 *             environment, line  952:  Called _elibtoolize '--copy' '--force'
 *             environment, line  278:  Called autotools_run_tool 'libtoolize' '--copy' '--force' '--automake'
 *             environment, line  423:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running libtoolize !
 * 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-scheme/guile-1.8.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-scheme/guile-1.8.4-r1/temp/environment'.

and it fails only with libtool-2.2.4 that is unmasked today
Comment 15 Bertrand Piétu 2008-05-05 22:16:25 UTC
Here is the libtoolize-15428.out :

***** libtoolize *****
***** libtoolize --copy --force --automake

libtoolize: AC_CONFIG_MACRO_DIR([m4]) conflicts with ACLOCAL_AMFLAGS=-I guile-config.
Comment 16 Patrick Fourniols 2008-05-05 23:01:22 UTC
patch from bug report 220339 solve pb
don't know why bug 220339 had been said a duplicate of this one ;)
Comment 17 Jan Kundrát (RETIRED) gentoo-dev 2008-05-05 23:01:58 UTC
*** Bug 220367 has been marked as a duplicate of this bug. ***
Comment 18 Jan Kundrát (RETIRED) gentoo-dev 2008-05-06 07:12:54 UTC
*** Bug 220509 has been marked as a duplicate of this bug. ***
Comment 19 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-06 11:33:15 UTC
Reopening as -r1 apparently does not fix the problem, cf bug 220339.
Comment 20 Chris Smith 2008-05-06 19:23:09 UTC
Problem remains with libtool-2.2.4 and guile-1.8.4-r1.
Comment 21 Marijn Schouten (RETIRED) gentoo-dev 2008-05-06 20:15:23 UTC
*** Bug 220589 has been marked as a duplicate of this bug. ***
Comment 22 Devin Heckman 2008-05-06 20:23:35 UTC
Fix suggested in comment #8 of bug #220339 resolves this error.
Comment 23 Marijn Schouten (RETIRED) gentoo-dev 2008-05-06 22:11:00 UTC
Panagiotos, thanks for the quick patch, I have sent it upstream and committed it.
Comment 24 Ulrich Müller gentoo-dev 2008-05-07 07:11:04 UTC
*** Bug 220703 has been marked as a duplicate of this bug. ***