Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416967 - [x11 overlay] x11-libs/xcb-utils fails during autotools-utils_autoreconf due to missing ltmain.sh
Summary: [x11 overlay] x11-libs/xcb-utils fails during autotools-utils_autoreconf due ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 417865
Blocks:
  Show dependency tree
 
Reported: 2012-05-21 20:31 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2012-06-06 17:20 UTC (History)
2 users (show)

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


Attachments
xcb-util-9999.ebuild (xcb-util-9999.ebuild,1.08 KB, text/plain)
2012-05-21 20:51 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-21 20:31:44 UTC
A recent upstream change causes eautoreconf run to fail in x11-libs/xcb-util-9999::x11 and related packages.

 * Running aclocal -I m4 ...                                    [ ok ]
 * Running autoconf ...                                         [ ok ]
 * Running automake --add-missing --copy --foreign ...          [ !! ]

 * Failed Running automake !

/var/tmp/portage/x11-libs/xcb-util-9999/temp/automake.out:
---
***** automake *****
***** PWD: /var/tmp/portage/x11-libs/xcb-util-9999/work/xcb-util-9999
***** automake --add-missing --copy --foreign

configure.ac:8: installing `./config.guess'
configure.ac:8: installing `./config.sub'
configure.ac:5: installing `./install-sh'
configure.ac:8: required file `./ltmain.sh' not found
configure.ac:5: installing `./missing'
src/Makefile.am: installing `./depcomp'
---

upstream autogen.sh contains the line
autoreconf -v --install || exit 1
It was suggested on IRC that the missing --install is responsible for the failure.
Comment 1 SpanKY gentoo-dev 2012-05-21 20:47:27 UTC
attach the ebuild for me to `ebuild ... prepare`
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-21 20:51:43 UTC
Created attachment 312593 [details]
xcb-util-9999.ebuild
Comment 3 SpanKY gentoo-dev 2012-05-21 21:24:30 UTC
you aren't using autotools.eclass:eautoreconf().  you're probably using the less reliable logic from autotools-utils.eclass.  when i manually tell the ebuild to use eautoreconf, things work fine.

not base-system's problem
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-21 21:56:12 UTC
mgorny, reavertm: do you have any insight in this? If I modify the following part of autotools-utils.eclass

        if [[ $(autotools_check_macro AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT) ]]
        then
                _elibtoolize --copy --force --install
        else
                eaclocal
        fi

to always call elibtoolize then it builds successfully.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-05-22 06:03:22 UTC
Eh, they've moved their libtool call to a separate macro file. Dumb.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-06 17:20:39 UTC
This should be fixed now with switch to regular eautoreconf. Please sync the tree in a while and re-test.