Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96924

Summary: recent ebuilds of x11-libs/fox fails to compile - "libtool.m4 and ltmain.sh have a version mismatch!"
Product: Gentoo Linux Reporter: Dominic Leland <dleland>
Component: [OLD] LibraryAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominic Leland 2005-06-23 23:26:20 UTC
I was trying to emerge fox today, but emerge fails during sanity check. It reports that libtool.m4 and ltmain.sh have a version mismatch. I thought this was because I was using the lastest version available in portage (1.5.4) at it is masked. I tried going to the previous version, 1.4.12, but that gave the same error.

As a dependancy, it successfully emerged kde-base/smoke, but fox isn't compiling.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2005-06-30 14:35:55 UTC
does it fail during configure?
Comment 2 Dominic Leland 2005-07-01 15:34:51 UTC
It's been a while, but I believe it was during configure that it would fail. It 
would be checking for all of its dependancies, then it would give me that 
libtool mismatch.

Unfortunately, due to hard drive problems, I've had to reformat. I no longer 
have Gentoo installed (will probably reinstall this weekend) so I cannot 
provide any more information about this bug.
Comment 3 tom.conneely 2005-09-07 11:02:16 UTC
I had the same problem with an experimental ebuild (nautilus-cd-burner) which
Ifixed by adding:

libtoolize --copy --force

to the src_compile() function. So the new function should probably look
something like this (not tested!!!!)

src_compile() {
        local myconf

        # Following line closes #61694
        CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" \
        econf \
                `use_with opengl` \
                `use_enable cups` \
                `use_enable debug` \
                `use_enable tiff` \
                `use_enable jpeg` \
                `use_enable png` \
                `use_enable zlib` \
                `use_enable bzip2 bz2lib` \
                `use_with truetype xft` \
                `use_with X xshm` `use_with X xcursor` \
                ${myconf} || die "Configuration Failed"


        libtoolize --copy --force
                
        emake || die "Parallel Make Failed"
}
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 01:02:32 UTC
Reporter no longer using Gentoo, closing.