* ERROR: x11-apps/intel-gpu-tools-1.22::gentoo failed (prepare phase): * Failed Running automake ! * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_20180608-214504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * [2] ruby25 (with Rubygems) emerge -qpv x11-apps/intel-gpu-tools [ebuild N ] x11-apps/intel-gpu-tools-1.22 USE="-X -alsa -chamelium -doc -glib -gsl -sound -test-programs -valgrind -xrandr -xv" VIDEO_CARDS="-amdgpu -intel -nouveau"
Created attachment 535870 [details] emerge-info.txt
Created attachment 535872 [details] automake.out
Created attachment 535874 [details] emerge-history.txt
Created attachment 535876 [details] environment
Created attachment 535878 [details] etc.portage.tbz2
Created attachment 535880 [details] temp.tbz2
Created attachment 535882 [details] x11-apps:intel-gpu-tools-1.22:20180614-003348.log
emerge -1 gtk-doc, then intel-gpu-tools will be compiled.
(In reply to LeonBernieniv from comment #8) > emerge -1 gtk-doc, then intel-gpu-tools will be compiled. Now it's working, thanks.
Automake is now deprecated by upstream since v 1.21 - https://lists.x.org/archives/xorg-announce/2018-January/002831.html "Upgraded meson to official production status, automake is still kept around for now." Migrating to meson might fix the problem as it is likely bug in automake hence doc should be optional.
Instructions in comment #c8 worked for me. Thank you, LeonBernieniv.
I confirm the bug, and the workaround in comment #8. While switching to meson looks like the way forward, adding an explicit dependency on dev-util/gtk-doc will be better as a short-term fix.
This is missing a dev-util/gtk-doc-am dependency, not full gtk-doc. That needs to be there for autotools based build even if eautoreconf isn't ran - it allows the gtk-doc.make or other snippets to rebase the pregenerated documentation in tarball to user system paths very fast. For meson, unfortunately no gtk-doc is pregenerated in tarballs and that would be a USE=doc (or similar) with a conditional depend on full gtk-doc instead.
(In reply to Mart Raudsepp from comment #13) > This is missing a dev-util/gtk-doc-am dependency, not full gtk-doc. > I just checked my system, I had dev-util/gtk-doc-am, but still got the error yesterday so I had to install dev-util/gtk-doc as suggested: $ eix -c dev-util/gtk-doc [I] dev-util/gtk-doc (1.25-r1{tbz2}@2018-07-05): GTK+ Documentation Generator [I] dev-util/gtk-doc-am (1.25-r1{tbz2}@2018-04-07): Automake files from gtk-doc Lets reconfirm: $ sudo emerge -C x11-apps/intel-gpu-tools dev-util/gtk-doc [snip] $ eix -c dev-util/gtk-doc [N] dev-util/gtk-doc (1.25-r1{tbz2}): GTK+ Documentation Generator [I] dev-util/gtk-doc-am (1.25-r1{tbz2}@2018-04-07): Automake files from gtk-doc Found 2 matches $ sudo emerge -q x11-apps/intel-gpu-tools >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-apps/intel-gpu-tools-1.22::gentoo >>> Failed to emerge x11-apps/intel-gpu-tools-1.22, Log file: [snip] configure.ac: installing 'build-aux/ylwrap' parallel-tests: installing 'build-aux/test-driver' automake-1.15: error: cannot open < gtk-doc.make: No such file or directory $ sudo emerge -q dev-util/gtk-doc x11-apps/intel-gpu-tools >>> Verifying ebuild manifests >>> Emerging (1 of 2) dev-util/gtk-doc-1.25-r1::gentoo >>> Installing (1 of 2) dev-util/gtk-doc-1.25-r1::gentoo >>> Recording dev-util/gtk-doc in "world" favorites file... >>> Emerging (2 of 2) x11-apps/intel-gpu-tools-1.22::gentoo >>> Installing (2 of 2) x11-apps/intel-gpu-tools-1.22::gentoo >>> Recording x11-apps/intel-gpu-tools in "world" favorites file...
You're right, gtk-doc.make comes from full gtk-doc. This means that intel-gpu-tools tarball used isn't properly disted from autotools.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1bd5b67a5cba9a8851e6ee823040121f653f20 commit fb1bd5b67a5cba9a8851e6ee823040121f653f20 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2018-07-05 17:05:41 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2018-07-05 17:06:47 +0000 x11-apps/intel-gpu-tools: Unconditionally depend on dev-util/gtk-doc The tarball wasn't generated with 'make dist' so the appropriate files are not available. Thus we have to depend on gtk-doc for gtk-doc.make. Closes: https://bugs.gentoo.org/658108 x11-apps/intel-gpu-tools/intel-gpu-tools-1.22.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)