Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658108 - x11-apps/intel-gpu-tools-1.22 : * Failed Running automake !
Summary: x11-apps/intel-gpu-tools-1.22 : * Failed Running automake !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-14 16:40 UTC by Toralf Förster
Modified: 2018-07-05 17:08 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.64 KB, text/plain)
2018-06-14 16:40 UTC, Toralf Förster
Details
automake.out (automake.out,489 bytes, text/plain)
2018-06-14 16:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.38 KB, text/plain)
2018-06-14 16:40 UTC, Toralf Förster
Details
environment (environment,109.06 KB, text/plain)
2018-06-14 16:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.62 KB, application/x-bzip)
2018-06-14 16:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.39 KB, application/x-bzip)
2018-06-14 16:40 UTC, Toralf Förster
Details
x11-apps:intel-gpu-tools-1.22:20180614-003348.log (x11-apps:intel-gpu-tools-1.22:20180614-003348.log,2.48 KB, text/plain)
2018-06-14 16:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-14 16:40:05 UTC
 * 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"
Comment 1 Toralf Förster gentoo-dev 2018-06-14 16:40:08 UTC
Created attachment 535870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-14 16:40:11 UTC
Created attachment 535872 [details]
automake.out
Comment 3 Toralf Förster gentoo-dev 2018-06-14 16:40:14 UTC
Created attachment 535874 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-14 16:40:17 UTC
Created attachment 535876 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-14 16:40:20 UTC
Created attachment 535878 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-14 16:40:22 UTC
Created attachment 535880 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-06-14 16:40:25 UTC
Created attachment 535882 [details]
x11-apps:intel-gpu-tools-1.22:20180614-003348.log
Comment 8 LeonBernieniv 2018-06-17 10:46:51 UTC
emerge -1 gtk-doc, then intel-gpu-tools will be compiled.
Comment 9 lekto 2018-06-17 11:19:30 UTC
(In reply to LeonBernieniv from comment #8)
> emerge -1 gtk-doc, then intel-gpu-tools will be compiled.

Now it's working, thanks.
Comment 10 Wojciech Myrda 2018-06-26 08:48:06 UTC
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.
Comment 11 Matthew Marchese Gentoo Infrastructure gentoo-dev 2018-06-27 19:44:23 UTC
Instructions in comment #c8 worked for me. Thank you, LeonBernieniv.
Comment 12 Kalin KOZHUHAROV 2018-07-04 23:57:49 UTC
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.
Comment 13 Mart Raudsepp gentoo-dev 2018-07-05 05:38:57 UTC
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.
Comment 14 Kalin KOZHUHAROV 2018-07-05 08:08:55 UTC
(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...
Comment 15 Mart Raudsepp gentoo-dev 2018-07-05 08:20:13 UTC
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.
Comment 16 Larry the Git Cow gentoo-dev 2018-07-05 17:08:19 UTC
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(-)