Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406849 - dev-libs/soprano-2.7.4 fails to build with USE=doc
Summary: dev-libs/soprano-2.7.4 fails to build with USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: fixed in 2.7.6
Keywords:
: 408041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-04 03:47 UTC by Stuart Longland (RETIRED)
Modified: 2012-05-16 13:07 UTC (History)
7 users (show)

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


Attachments
emerge --info and build.log (emerge-info-and-build.log,15.64 KB, text/plain)
2012-03-04 03:47 UTC, Stuart Longland (RETIRED)
Details
ebuild patch for -2.7.4 (soprano.patch,787 bytes, patch)
2012-03-08 17:49 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.