Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85993 - x11-wm/windowmaker-0.91.0-r4 fails (libtoolize --copy --force)
Summary: x11-wm/windowmaker-0.91.0-r4 fails (libtoolize --copy --force)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 03:18 UTC by Charlie Gehlin
Modified: 2005-03-25 00:57 UTC (History)
4 users (show)

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


Attachments
Patch to the actual to resolve this problem. (windowmaker-0.91.0-r4.ebuild.patch,815 bytes, patch)
2005-03-22 15:32 UTC, Francisco José Cañizares Santofimia
Details | Diff
Ebuild that appears to solve the problem. (windowmaker-0.91.0-r5.ebuild,6.77 KB, text/plain)
2005-03-22 15:34 UTC, Francisco José Cañizares Santofimia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Gehlin 2005-03-20 03:18:35 UTC
I've tried to apply the command at several places in the ebuild (before and after econf etc) but nogo :(

Reproducible: Always
Steps to Reproduce:
1.emerge -uDv world
2.
3.

Actual Results:  
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.14, ltmain.sh = 1.5.10) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

make: *** [config.status] Error 1

!!! ERROR: x11-wm/windowmaker-0.91.0-r4 failed.
!!! Function src_compile, Line 106, Exitcode 2
!!! windowmaker: make has failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
windowmaker to build & install ;)

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 20:10:31)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3
-m3dnow -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3
-m3dnow -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms usepkg"
GENTOO_MIRRORS="http://gentoo.gehlin.com/gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X X509 a52 aac aalib acl acpi alsa apache2 apm arts audiofile
authdaemond avi bash-completion bcmath berkdb bind-mysql bitmap-fonts bmp bzip2
bzlib cdparanoia cdr chroot commercial cross crypt cups curl dba dedicated dga
dio directfb divx4linux dlz dmx dts dv dvb dvd dvdr dvdread dxr3 emboss encode
escreen esd exif extensions faac faad fam fame fb fbcon ffmpeg flac font-server
foomaticdb fortran fpx ftp gcj gd gd-external gdbm ggi gif gkrellm gmp gnome
gnustep gnutls gphoto2 gpm graphviz gsnd gstreamer gtk gtk2 hal howl icq idea
ieee1394 imagemagick imap imlib insecure-drivers ipv6 jack java javascript jbig
jce joystick jpeg jpeg2k kde kerberos krb4 lcmsdv ldap libcaca libclamav libg++
libwww lirc live lm_sensors lzo mad mailwrapper md5sum mikmod mime mjpeg mmap
mmx mmx2 mmxext mng motif mozilla mp3 mpeg msn mysql mythtv nas ncurses network
nfsv4 nls nntp nocardbus nvidia objc offensive oggvorbis opengl openntpd oss pam
pcre pdflib perl php plotutils png pnp portaudio ppds pvm python qt quicktime
quotas readline real remote rpm rrdtool rtc samba sasl sdl session sftplogging
shared sharedmem slp sndfile snmp speex spl sse ssl stats svga sysvipc tcltk
tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2
vdesktop vhosts vidix vim-with-x virus-scan wmf x86 xanim xfs xine xinerama xml2
xmms xosd xpm xprint xrandrrecode xscreensaver xv xvid xvmc yv12 zlib zvbi
video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

Thanks!
/Charlie
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-20 04:20:23 UTC
raker@g.o listed in metadata.xml isn't a account valid according to Bugzie (or on toucan).
Comment 2 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-20 11:26:58 UTC
Hrm ... you do have an unstable libtool version (~x86), but that shouldn't matter in this case.

I've uploaded a revised ebuild, that calls libtoolize --copy --force at the right point.  Hopefully that will fix things for you.  After and emerge --sync, please let me know if this fixes things for you.
Comment 3 gentoo-bugs 2005-03-21 05:57:35 UTC
Didn't fix it here (got the same error) with sync from two hours ago :)

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-mm3 i686)
=================================================================
System uname: 2.6.11-mm3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 11 2005, 22:51:16)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups curl dvd emboss encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms xprint xv zlib video_cards_savage"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 4 Brendan Rankin 2005-03-21 19:21:38 UTC
The problem is that gentoo_lt_version in aclocal.m4 is set to "1.5.10", whereas the current version is "1.5.14".

This will fail every time and the correct solution is to:
1.  Change the value in aclocal.m4.
2.  re-run autoconf.
3.  Generate a new tarball and resdistribute it.
    - I've seen some of the other _ugly_ ./configure file hacks/patches associated with Windowmaker...and that's not what should be continued!

Cheers,

- Brendan 
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-03-22 01:18:55 UTC
I have the same issue with -r4.
Comment 6 Ulrich Plate (RETIRED) gentoo-dev 2005-03-22 04:48:35 UTC
Grepping for 1.5.10 in /var/tmp/portage/windowmaker-0.91.0-r4/work/WindowMaker-0.91.0/, editing both occurrences to 1.5.14, and running `ebuild /usr/portage/x11-wm/windowmaker/windowmaker-0.91.0-r4.ebuild compile install qmerge` did the trick for me. I wonder why the libtoolize call in the ebuild has no effect, do you know?
Comment 7 Colin Macdonald 2005-03-22 12:12:00 UTC
Comment #6's "solution" seems to work for me.
Comment 8 Francisco José Cañizares Santofimia 2005-03-22 15:32:53 UTC
Created attachment 54188 [details, diff]
Patch to the actual to resolve this problem.

This ebuild checks the current libtool version and put it into the files
needed.
This patch is for developers reference.
Comment 9 Francisco José Cañizares Santofimia 2005-03-22 15:34:29 UTC
Created attachment 54190 [details]
Ebuild that appears to solve the problem.

This ebuild appears to solve the problems.
Yes, yes, I know it's not needed a -r5 for this, but it's just for ease things
;)
Please, confirm it works.
Comment 10 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-22 15:42:01 UTC
okay, comitted the newest patch, and ebuild to use it...give time to sync, and please report if this fixes things (looks like I forgot to run autoreconf, which calls libtoolize)

if this doesn't fix things, I'll look into the other changes suggested here...my fix is "right", but if it doesn't work, well...heh, the hacky fix will have to work

please let me know if this works (give time for mirror syncing to happen)
Comment 11 Andrej Kacian (RETIRED) gentoo-dev 2005-03-22 15:53:55 UTC
I'm getting a following error with the latest version:

(cd .libs && rm -f libwraster.so.3 && ln -s libwraster.so.3.1.0 libwraster.so.3)
(cd .libs && rm -f libwraster.so && ln -s libwraster.so.3.1.0 libwraster.so)
i686-pc-linux-gnu-ar cru .libs/libwraster.a  LookupCmap.o StdCmap.o CrCmap.o DelCmap.o CmapAlloc.o raster.o draw.o color.o load.o save.o gradient.o xpixmap.o convert.o x86_specific.o context.o misc.o scale.o rotate.o convolve.o nxpm.o xpm.o xutil.o ppm.o png.o jpeg.o tiff.o gif.o
i686-pc-linux-gnu-ranlib .libs/libwraster.a
creating libwraster.la
/bin/sed: can't read //usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
libtool: link: `//usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive
make[1]: *** [libwraster.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/windowmaker-0.91.0-r2/work/WindowMaker-0.91.0/wrlib'
make: *** [all-recursive] Error 1
Comment 12 Francisco José Cañizares Santofimia 2005-03-22 16:02:17 UTC
Andrej:
The problem you are having is a "famous" big this day :(
It has nothing to do with windowmaker but with gcc, please check bug #84324
Comment 13 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-22 16:16:39 UTC
well, the newer libstdc++.la error does seem related to bug 84324 -- are you using one of those versions of gcc? do any of the fixes there work for you wrt this bug?
Comment 14 Andrej Kacian (RETIRED) gentoo-dev 2005-03-22 16:49:31 UTC
Well, I fixed this problem with `fix_libtool_files.sh 3.4.3` and the ebuild compiles nicely. :)
Comment 15 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-22 17:17:19 UTC
Okay, since ticho had both the first problem, and the 2nd (diff. bug caused), and now both are gone, marking this as fixed.

FWIW, after patching configure.ac, "autoconf" doesn't seem to be enough, which i didn't know before.  "autoreconf" did the trick.
Comment 16 Chad 2005-03-24 11:19:37 UTC
I am running windowmaker on all four of my gentoo boxes, I built windowmaker on two of them before you actually patched the ebuild, using my proposed solution below.  Your patches above are a no go.  

The "Ebuild that appears to solve the problem" above is the right idea, but placed in the wrong spot.  As of my last sync at 9:30am PST on 24 March 2005, the windowmaker ebuild is still broken.

If you simply put the:

  libtoolize --copy --force

a couple of lines farther down, between lines 78 and 79 in the ebuild, everything works.

Thus, change 


    # don't know if zh_TW is still non-functional, but leaving it out still
    #  for now
    cd ${S}/po
    cp Makefile Makefile.orig

to
    # don't know if zh_TW is still non-functional, but leaving it out still
    #  for now
    libtoolize --copy --force
    cd ${S}/po
    cp Makefile Makefile.orig

that works.

Comment 17 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 11:31:07 UTC
"Are a no go?"  how?  can you give some error results with the newest patches?  When was the last time you sync'd?

Thanks.
Comment 18 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 11:33:15 UTC
added contact info so cfeller sees my last comment (remove yourself, if you want cfeller, i'm just curious about questions I had to you last comment).

Reposting them again, so you see them in the email sent:
----------------------------
"Are a no go?"  how?  can you give some error results with the newest patches?  When was the last time you sync'd?

Thanks.
Comment 19 Chad 2005-03-24 11:41:40 UTC
last sync was this morning (9-24) at about 9:30am PST.  I am still getting:

  *** Gentoo sanity check failed! ***
  *** libtool.m4 and ltmain.sh have a version mismatch! ***
  *** (libtool.m4 = 1.5.14, ltmain.sh = 1.5.10) ***

  Please run:

    libtoolize --copy --force

  if appropriate, please contact the maintainer of this
  package (or your distribution) for help.

  make: *** [config.status] Error 1

  !!! ERROR: x11-wm/windowmaker-0.91.0-r4 failed.
  !!! Function src_compile, Line 106, Exitcode 2
  !!! windowmaker: make has failed
  !!! If you need support, post the topmost build error, NOT this status message.

  sm
Comment 20 Chad 2005-03-24 11:41:40 UTC
last sync was this morning (9-24) at about 9:30am PST.  I am still getting:

  *** Gentoo sanity check failed! ***
  *** libtool.m4 and ltmain.sh have a version mismatch! ***
  *** (libtool.m4 = 1.5.14, ltmain.sh = 1.5.10) ***

  Please run:

    libtoolize --copy --force

  if appropriate, please contact the maintainer of this
  package (or your distribution) for help.

  make: *** [config.status] Error 1

  !!! ERROR: x11-wm/windowmaker-0.91.0-r4 failed.
  !!! Function src_compile, Line 106, Exitcode 2
  !!! windowmaker: make has failed
  !!! If you need support, post the topmost build error, NOT this status message.

  sméagol ~ # 

However, if you add the libtoolize --copy --force in the location I suggest in my last post everything works.  If you need any more info, feel free to email me or post back.

Comment 21 Francisco José Cañizares Santofimia 2005-03-24 11:43:49 UTC
I completely agree with latest Chad comment (although my wbuild works, too ;))
Comment 22 Chad 2005-03-24 11:59:37 UTC
Francisco, that is interesting - I saw that your solution, not the patch, but the proposed ebuild was in portage yesterday, but today it is gone.  i.e. these lines are no longer in the ebuild today:


	# one of the patches included triggers ltmain.sh / libtool mismatches
	libtoolize --copy --force


The curious thing is that putting the same solution a couple of lines up (in your location) didn't work (at least on my systems), but moving the solution a couple of lines down (to my location) worked...
Comment 23 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 12:05:24 UTC
Chad -
What is troublesome is that the 2nd patch version (the one you would likely have if you sync'd this morning) was made after a call to autoreconf.  The libtoolize call shouldn't be needed, so this is disturbing (as it's done in the autoreconf [although, maybe w/o the "force"]) :-\  However, it also can't hurt to add the libtoolize --copy --force call, so I'll stick that in there...
Also, could you include a posting of your `emerge info` please?


Francisco-
What are you "agreeing" with?  Confused....
Also, could you include a posting of your `emerge info` please?

Chad-
Yeah, the libtoolize line was removed, as the new patch "shouldn't need it" ... something is still amiss.

Looking into this again, more....
Comment 24 Chad 2005-03-24 12:09:49 UTC
sm
Comment 25 Chad 2005-03-24 12:09:49 UTC
sméagol ~ # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Mar  3 2005, 05:24:17)]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mmmx -msse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mmmx -msse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux doc dvd emboss encode esd fam fbcon flac font-server foomaticdb fortran gdbm gif gnome gnustep gpm gstreamer gtk gtk2 imlib ipv6 ithreads java jce jpeg junit libg++ libwww mad mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls objc oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime readline sdk sdl slang spell sse ssl svga tcpd tetex threads tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

sméagol ~ # 
Comment 26 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 12:33:27 UTC
Okay, for everyone who is still having problems, please try this:
- grab these:
http://dev.gentoo.org/~fafhrd/wm/windowmaker-0.91.0-r4.ebuild
http://dev.gentoo.org/~fafhrd/wm/windowmaker-0.9X-use-giflib.patch3.bz2

- put the ebuild in your overlay (remove/backup any testing ones you had)
- clear out temp files:
--+ rm -Rf /var/tmp/portage/windowmaker*
- cp the patch to your distfiles directory
--+ cp windowmaker-0.9X-use-giflib.patch3.bz2 /usr/portage/distfiles
- digest the ebuild
--+ ebuild windowmaker-0.91.0-r4.ebuild digest 
... and now your hopefully good to go as usual with building.

This patch has absolutely been autoreconf'd (autoreconf --install --force -v [and the messages looked good]).

Please test, and make sure temp files and any overlay ebuilds that may conflict as removed.

Thanks!
Comment 27 Francisco José Cañizares Santofimia 2005-03-24 12:48:30 UTC
Armando: I was agreeing with comment #16

Latest solution you provided works for me.

Here is my emerge --info:
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.4.28-gentoo-r8 i686)
=================================================================
System uname: 2.4.28-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.7.0
Python:              dev-lang/python-2.4-r3 [2.4 (#1, Mar 21 2005, 21:17:49)]
dev-lang/python:     2.4-r3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apm arts artswrappersuid avi bash-completion berkdb bindinst bitmap-fonts bmp cddb cdr crypt cups curl dedicated dga directfb dvd emboss encode esd faad fam fbcon ffmpeg flac font-server foomaticdb fortran gcj gdbm ggi gif gnome gnustep gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java joystick jpeg junit kde libcaca libdsk libg++ libwww lirc live mad mikmod mmx mmx2 motif mozcalendar mozilla mozsvg mp3 mpeg ncurses nls objc ogg oggvorbis old-eq opengl oss pam pdflib perl png ppds python qt quicktime readline real ruby samba scanner sdl silc slang softmmu spell sse sse2 ssl svg svga symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vorbis wxwindows xchatdccserver xchattext xinerama xml xml2 xmms xosd xv zlib video_cards_radeon linguas_es"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Chad: uh, oh?
My ebuild was not based in calling libtoolize --copy in that location.
MY ebuild changes the value of libtool configure and aclocal.m4 (check the src_unpack) Check the patch, as it was against the ebuild in portage (not a patch to apply, it's just for reference).
Comment 28 Chad 2005-03-24 12:51:51 UTC
the problem remains...  and it appears that your patch is getting applied.

# emerge windowmaker                                        
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/windowmaker-0.91.0-r4 to /
>>> md5 src_uri ;-) WindowMaker-0.91.0.tar.gz
>>> md5 src_uri ;-) WindowMaker-extra-0.1.tar.gz
>>> md5 src_uri ;-) windowmaker-0.9X-use-giflib.patch3.bz2
>>> Unpacking source...
>>> Unpacking WindowMaker-0.91.0.tar.gz to /var/tmp/portage/windowmaker-0.91.0-r4/work
>>> Unpacking WindowMaker-extra-0.1.tar.gz to /var/tmp/portage/windowmaker-0.91.0-r4/work
>>> Unpacking windowmaker-0.9X-use-giflib.patch3.bz2 to /var/tmp/portage/windowmaker-0.91.0-r4/work
 * Applying windowmaker-0.9X-use-giflib.patch3 ...                        [ ok ]
 * Applying menufocus.patch ...                                           [ ok ]
 * Applying singleclick-shadeormaxopts-0.9x.patch ...                     [ ok ]
 * Applying wlist-0.9x.patch ...                                          [ ok ]
 * Applying 64bit+endian-fixes-0.9x.patch ...                             [ ok ]
>>> Source unpacked.

 ...
 ...

checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.14, ltmain.sh = 1.5.10) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

make: *** [config.status] Error 1

!!! ERROR: x11-wm/windowmaker-0.91.0-r4 failed.
!!! Function src_compile, Line 106, Exitcode 2
!!! windowmaker: make has failed
!!! If you need support, post the topmost build error, NOT this status message.


Comment 29 Francisco José Cañizares Santofimia 2005-03-24 13:01:30 UTC
Chad, can you try the ebuild in this bug? (It was never in portage) Just the ebuild is needed, the patch it's just for developers reference.
Please, confirm here if works or not.
Thanks.
Comment 30 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 13:05:40 UTC
Chad-
okay, the patch is made correctly, but the problem still remains for you (you did clean out temp files? probably, just asking...)
anyways, specifically, in the ebuild, where does the libtoolize --copy --force command work for you?  Just copy some of the ebuild surrounding that here, or a patch or something, please
Oh, just read the last newest post -- the ebuild I posted had no libtoolize call and used patch3...just making sure

Thanks for all the help, all...this is an annoying bug, as the "correct" fixes aren't working!!
Comment 31 Chad 2005-03-24 13:39:58 UTC
Francisco:  Yes, I did use the new ebuild from <a href="http://bugs.gentoo.org/show_bug.cgi?id=85993#c24">this</a> post.  

Armando:  Yes, I cleaned out the temp files.  Your ebuild just finished with the libtoolize --copy --force, so yes that works.  Here is a patch to use with your ebuild from comment 24:
http://www.cs.unr.edu/~feller/wmaker_patch.gz


Comment 32 Francisco José Cañizares Santofimia 2005-03-24 13:45:22 UTC
Chad: I was talking about ebuild in comment #9 but thanks :-)
Comment 33 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-24 17:35:04 UTC
Okay, the latest changes, and the libtoolize line that some people seem to need is in portage.  The latest patch (patch3) should be on the mirrors now, and the ebuild is up'd.

If Chad and Fransisco could please test this last version (sync in a little while).

Thanks again; please let me know, this may to do it.
Comment 34 Chad 2005-03-25 00:40:46 UTC
Just sync'd and emerged - we're golden.  

Good job...
Comment 35 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-25 00:57:03 UTC
Closing bug again.

yay and whatnot ;-)