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

Bug 515520

Summary: sys-kernel/linux-docs-3.12.16 USE=html - !!! dohtml: Documentation/DocBook/index does not exist
Product: Gentoo Linux Reporter: Ted Marston <ted>
Component: [OLD] Core systemAssignee: Mike Pagano <mpagano>
Status: RESOLVED FIXED    
Severity: normal CC: graham, kernel-misc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =sys-kernel/linux-docs-3.12.16
A simple fix for linux-docs-3.12.16 might be

Description Ted Marston 2014-06-27 14:33:17 UTC
Created attachment 379790 [details]
emerge --info =sys-kernel/linux-docs-3.12.16

All sys-kernel/linux-docs fail to install with USE="html". The error message for linux-docs-3.12.16 is:

 ... [skip] ...
mkdir -p /var/tmp/portage/sys-kernel/linux-docs-3.12.16/image//usr/share/man/man9/
install Documentation/DocBook/man/*.9.gz /var/tmp/portage/sys-kernel/linux-docs-3.12.16/image//usr/share/man/man9/
!!! dohtml: Documentation/DocBook/index does not exist
 * ERROR: sys-kernel/linux-docs-3.12.16::gentoo failed (install phase):
 *   dohtml failed

The ebuild strips .html from filenames to pass subdirectory names to dohtml, but Documentation/DocBook/index.html needs to be copied as-is. There is no subdirectory named index.
Comment 1 Ted Marston 2014-06-27 15:02:22 UTC
Created attachment 379794 [details, diff]
A simple fix for linux-docs-3.12.16 might be

Something similar needs to be applied to all the linux-docs ebuilds.
Comment 2 Mike Pagano gentoo-dev 2014-10-17 13:16:12 UTC
Sorry I did not see this, it got lost in my emails and I tend to only look at kernel team assigned bugs as I don't get too many assigned to me directly.

Ted, thanks for the patch. 

  17 Oct 2014; Mike Pagano <mpagano@gentoo.org> -linux-docs-3.2.55.ebuild,
  -linux-docs-3.4.82.ebuild, +linux-docs-3.4.104.ebuild,
  -linux-docs-3.10.32.ebuild, +linux-docs-3.10.58.ebuild,
  -linux-docs-3.12.16.ebuild, +linux-docs-3.12.30.ebuild,
  -linux-docs-3.13.9.ebuild, +linux-docs-3.14.22.ebuild,
  +linux-docs-3.16.6.ebuild, +linux-docs-3.17.1.ebuild:
  Version bumps. Remove old and fix bug in install for USE=html. Thanks to Ted
  Marston. See bug #51552