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

Bug 589192

Summary: x11-libs/gtk+-3.20.6 - Failed Running gtkdocize
Product: Gentoo Linux Reporter: kapsh <kapsh>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete build log
gtkdocize.out (with set -x enabled)

Description kapsh 2016-07-19 22:00:20 UTC
I cannot update gtk to 3.20.6 with the following errors:

src_prepare error:
Failed Running gtkdocize !

gtkdocize error:
cp: cannot stat '/usr/share/gtk-doc/data/gtk-doc.notmpl.make': No such file or directory

It seems that this file doesn't exist anywhere on my system. 

This issue is also affects gnome-base/librsvg update, maybe more.
Comment 1 kapsh 2016-07-19 22:00:46 UTC
Created attachment 441168 [details]
Complete build log
Comment 2 kapsh 2016-07-19 22:02:35 UTC
Created attachment 441170 [details]
gtkdocize.out (with set -x enabled)
Comment 3 Pacho Ramos gentoo-dev 2016-07-30 19:44:58 UTC
[master b2f203e] x11-libs/gtk+: gtk-doc is also needed when running eautoreconf (#589192 by kapsh)
 1 file changed, 2 insertions(+)
Comment 4 LP 2016-08-01 23:36:35 UTC
(In reply to Pacho Ramos from comment #3)
> [master b2f203e] x11-libs/gtk+: gtk-doc is also needed when running
> eautoreconf (#589192 by kapsh)
>  1 file changed, 2 insertions(+)

This fix has created a new problem,

Now, an emerge of gtk+ automatically installs the gtk-docs on my system even though I have "-docs" specified in my USE flags.  This did not happen with the previous ebuild files.

If I remove the 2 insertions from the ebuild I can emerge gtk+ without error and without automatically installing the gtk-docs.

Can't some other fix be done without destroying the old behavior when emerging gtk+?
Comment 5 Francisco J. Vazquez 2016-08-06 14:30:26 UTC
Same here as comment 4. Compiling gtk+-3.20.8 without gtk-doc works fine. The new dependency however brings with it 12 other unneeded packages.
Comment 6 Pacho Ramos gentoo-dev 2016-08-07 10:55:41 UTC
[master f35dc11] x11-libs/gtk+: gtk-doc is not really needed as eautoreconf skips when gtkdocize (installed by gtk-doc) is not present.
 1 file changed, 2 deletions(-)


And the original bug is invalid as the run is skipped when gtkdocize is not present (and it's installed by gtk-doc)
Comment 7 kapsh 2016-08-15 01:09:29 UTC
Hello,
Sorry for this false alarm. I figured out now that I had orphaned /usr/bin/gtkdocize file (but no gtk-doc package installed). Can't say how it was happened but it looks like it was the cause of this issue.