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

Bug 406849

Summary: dev-libs/soprano-2.7.4 fails to build with USE=doc
Product: Gentoo Linux Reporter: Stuart Longland (RETIRED) <redhatter>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: anm.mlist01, ansla80, grozin, kripton, Martin.vGagern, rose, xarthisius
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://sourceforge.net/tracker/?func=detail&aid=3499558&group_id=197043&atid=959883
Whiteboard: fixed in 2.7.6
Package list:
Runtime testing required: ---
Attachments: emerge --info and build.log
ebuild patch for -2.7.4

Description Stuart Longland (RETIRED) gentoo-dev 2012-03-04 03:47:32 UTC
Created attachment 304175 [details]
emerge --info and build.log

As per the summary, if one tries to compile soprano with USE=doc set in make.conf, it fails with the following:

/bin/sh: docs/html/installdox: No such file or directory
make[2]: *** [CMakeFiles/apidox] Error 127
make[1]: *** [CMakeFiles/apidox.dir/all] Error 2
make: *** [all] Error 2

A workaround is to disable building of documentation.  Attached is the build log and emerge --info; note that the system normally has MAKEOPTS=-j4; I have disabled this in this build to make the error message more readable.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-03-08 13:38:06 UTC
upstream issue
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-08 13:38:41 UTC
I take it you mean 2.7.4
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-08 14:06:23 UTC
Weird can't reproduce.

But on the other hand i have this:

root@arcarius: ~ #  equery files soprano |grep doc
root@arcarius: ~ # 


So I suppose it is bogus useflag that only builds something.

Could you verify that you have doxygen on your system while trying to build?
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-03-08 16:55:39 UTC
Stuart; I get this with doxygen - 1.8.0;  Is this your installed version?

Thomas; it seems you have the other flaw; the ebuild is not installing the docs when generated
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-03-08 17:49:13 UTC
Created attachment 304649 [details, diff]
ebuild patch for -2.7.4

gentoo64 dev-libs # USE=doc ebuild soprano-2.7.4.ebuild clean install

gentoo64 dev-libs # ls /mnt/gen2/TmpDir/portage/dev-libs/soprano-2.7.4/image/usr/share/                  
dbus-1  doc  soprano
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-03-08 19:06:07 UTC
(In reply to comment #0)
> Created attachment 304175 [details]
> emerge --info and build.log
> 
> As per the summary, if one tries to compile soprano with USE=doc set in
> make.conf, it fails with the following:
> 
> /bin/sh: docs/html/installdox: No such file or directory

installdox is no longer generated for >=doxygen-1.8.0
Comment 7 Mike Gilbert gentoo-dev 2012-03-14 04:06:18 UTC
*** Bug 408041 has been marked as a duplicate of this bug. ***
Comment 8 Juergen Rose 2012-03-16 11:36:45 UTC
dev-libs/soprano-2.7.5 fails with the same issue. Any news, how to handle this?
Comment 9 Juergen Rose 2012-03-20 15:04:17 UTC
As a workaround I removed the doc USE flag from soprano.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2012-05-16 12:05:10 UTC
Upstream says this is fixed in in 2.7.6
Comment 11 Michael Palimaka (kensington) gentoo-dev 2012-05-16 13:07:03 UTC
Thanks everyone.

+*soprano-2.7.6 (16 May 2012)
+
+  16 May 2012; Michael Palimaka <kensington@gentoo.org> +soprano-2.7.6.ebuild:
+  Version bump. Install documentation correctly, based on patch by Ian Delaney
+  <johneed@hotmail.com>. Fixes bug #406849.