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

Bug 775563

Summary: Failed to compile util-linux:Can't exec "gtkdocize": No such file or directory at /usr/share/autoconf-2.71/Autom4te/FileUtils.pm line 293.
Product: Gentoo Hosted Projects Reporter: Furude Rika <myloveyuxuan>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: daniel.koszta
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732648    

Description Furude Rika 2021-03-12 08:56:42 UTC
Please check genkernel.log follow the link below:
  https://dpaste.com/DEA6G74DZ

And I can emerge the util-linux package into @world
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-15 02:54:50 UTC
Please attach genkernel.log to this bug, your dpaste.com link has expired.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-15 16:20:03 UTC
OK, I am able to reproduce. It will happen when >=sys-devel/autoconf-2.70 is present.
Comment 3 Larry the Git Cow gentoo-dev 2021-03-15 20:02:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=235fcd4e9c1f57af368ca9bbe9dd25effc0dc900

commit 235fcd4e9c1f57af368ca9bbe9dd25effc0dc900
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-03-15 19:52:15 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-03-15 19:52:15 +0000

    gkbuild.sh: gkautoreconf(): add workaround for >autoconf-2.69
    
    Since >autoconf-2.69, autoreconf will check for GTK_DOC_CHECK macro and
    will call gtkdocize automatically [Link 1] when invoked with "--install"
    parameter.
    
    This is a problem for genkernel because our gkautoreconf is just a rudimentary
    implementation of Gentoo's eautoreconf: I.e. autotools eclass in Gentoo is
    not calling autoreconf with "--install" parameter, instead eclass is manually
    checking all used macros like autoreconf but will only call used tools when
    available.
    
    Because we do not care about docs in gkbuild packages, we can stick to our poor
    man's implementation of gkautoreconf and replace calls to gtkdocize with true.
    
    Link 1: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768
    Bug: https://bugs.gentoo.org/775563
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 worker_modules/gkbuild.sh | 4 ++++
 1 file changed, 4 insertions(+)
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-21 23:21:20 UTC
Released with genkernel-4.2.0!