Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578948 - sys-devel/prelink-20151030[doc] fails to build
Summary: sys-devel/prelink-20151030[doc] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-03 18:03 UTC by Alexander Miller
Modified: 2019-01-27 22:29 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Miller 2016-04-03 18:03:21 UTC
'USE=doc emerge =sys-devel/prelink-20151030' fails in install phase:
'dodoc failed' (no such file or directory).

In the ebuild in src_install(), the line
    use doc && dodoc "${WORKDIR}"/prelink.pdf
should read
    use doc && dodoc "${DISTDIR}"/prelink.pdf
instead. The build completes with that fix applied.
Comment 1 Martin von Gagern 2016-04-24 08:23:58 UTC
I'd almost have submitted a duplicate of this. Perhaps it would be a good idea to mention prelink.pdf in the title. And I'll quote relevant parts of the build log, to help people searching for that.

>>> Unpacking source...
>>> Unpacking prelink-cross-20151030.tar.bz2 to /var/tmp/portage/sys-devel/prelink-20151030/work
>>> Unpacking prelink.pdf to /var/tmp/portage/sys-devel/prelink-20151030/work
unpack prelink.pdf: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/sys-devel/prelink-20151030/work
...
make[1]: Leaving directory '/var/tmp/portage/sys-devel/prelink-20151030/work/prelink-cross-20151030'
install: cannot stat '/var/tmp/portage/sys-devel/prelink-20151030/work/prelink.pdf': No such file or directory
!!! dodoc: /var/tmp/portage/sys-devel/prelink-20151030/work/prelink.pdf does not exist
 * ERROR: sys-devel/prelink-20151030::gentoo failed (install phase):
 *   dodoc failed
Comment 2 Larry the Git Cow gentoo-dev 2019-01-27 22:29:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57eb3b62e67cbc563075f575cb278b3e92c9696d

commit 57eb3b62e67cbc563075f575cb278b3e92c9696d
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-01-27 22:28:39 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-01-27 22:28:52 +0000

    sys-devel/prelink: fix USE=doc failure, bug #578948
    
    Fix by Alexander Miller.
    
    Reported-by: Alexander Miller
    Closes: https://bugs.gentoo.org/578948
    Package-Manager: Portage-2.3.58, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/prelink/prelink-20151030.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)