Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515520 - sys-kernel/linux-docs-3.12.16 USE=html - !!! dohtml: Documentation/DocBook/index does not exist
Summary: sys-kernel/linux-docs-3.12.16 USE=html - !!! dohtml: Documentation/DocBook/in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-06-27 14:33 UTC by Ted Marston
Modified: 2014-10-17 13:16 UTC (History)
2 users (show)

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


Attachments
emerge --info =sys-kernel/linux-docs-3.12.16 (x,5.04 KB, text/plain)
2014-06-27 14:33 UTC, Ted Marston
Details
A simple fix for linux-docs-3.12.16 might be (y,469 bytes, patch)
2014-06-27 15:02 UTC, Ted Marston
Details | Diff

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