Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336762 - sys-apps/dbus-1.2.24-r2 fails to install with USE=doc on paludis
Summary: sys-apps/dbus-1.2.24-r2 fails to install with USE=doc on paludis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 20:39 UTC by Maciej Piechotka
Modified: 2010-09-13 21:25 UTC (History)
4 users (show)

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


Attachments
full build log (1284146033-install-sys-apps_dbus-1.2.24-r2:0::gentoo.out,342.03 KB, text/plain)
2010-09-10 20:39 UTC, Maciej Piechotka
Details
Patch for the ebuild, which fixes the problem. (dbus-1.2.24-r2.ebuild.patch,452 bytes, patch)
2010-09-12 09:52 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2010-09-10 20:39:10 UTC
install -m0644 doc/api/html/structDBusWatchList.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/structHeaderFieldType.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/structReplacementBlock.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/structShutdownClosure.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/tab_a.png /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/tab_b.png /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/tab_h.png /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/tab_s.png /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/tabs.css /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/todo.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/unionDBusBasicValue.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//
install -m0644 doc/api/html/unionDBusGUID.html /var/tmp/paludis/sys-apps-dbus-1.2.24-r2/image/usr/share/doc/dbus-1.2.24-r2/html//

!!! ERROR in sys-apps/dbus-1.2.24-r2::gentoo:
!!! In src_install at line 4300
Comment 1 Maciej Piechotka 2010-09-10 20:39:42 UTC
Created attachment 246754 [details]
full build log
Comment 2 Petr Zima 2010-09-12 09:52:41 UTC
Created attachment 246950 [details, diff]
Patch for the ebuild, which fixes the problem.

The problem is that the dbus ebuild uses build directory ${BD} separate from ${S}. And while the doxygen api docs are located in ${BD}/doc/api/html, the other html docs are located in ${S}/doc. The ebuild does not take this into account and my patch fixes it. The patch additionally creates an `api' subdirectory for the doxygen api docs in the final image, which is imho a better arrangement.

Plesa merge the patch into the portage tree.
Comment 3 Petr Zima 2010-09-12 10:17:30 UTC
I should also note, that the bug appears only when "USE=doc" is set for dbus.

Furthermore, the failure itself may be specific only for users of paludis, which has a stricter dohtml function (cf. http://lists.pioto.org/pipermail/paludis-user/2009-October/001147.html). Anyway, this is *a bug* also for normal users of portage and should be fixed. The path ${BD}/doc/*.html is simply wrong.

uzytkownik: I appreciate that you reported this bug, that I, also just a user of gentoo, have also hit. But if I can ask, please spend one more minute on the report and try to be more specific. First, you should note the doc use flag directly in the title (I know it is quite clear from the build log, but it would not hurt you to note it). Second (and *very important*), apparently you are a user of paludis; me too. You should definitely ephasize this or try with emerge. Unless you understand the problem and are 100% sure that it makes no difference. This is not the case, since the dohtml function from paludis behaves a bit differently than the one from emerge.
Comment 4 Maciej Mrozowski gentoo-dev 2010-09-13 21:25:54 UTC
Also , even if you're using paludis, it's mandatory you attached (either inline or as a file) output of emerge --info <package_that_failed>

As for bug, indeed there was a problem. Fixed in 1.2.24-r2 and 1.4.0. Thanks!