Summary: | sys-libs/libhx-3.22: install fails: /usr/bin/install: cannot create regular file '/var/tmp/portage/sys-libs/libhx-3.22/image//usr/share/doc/libhx-3.22/libHX_Documentation.pdf': File exists | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | [OLD] Library | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mattst88 |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment emerge --info libhx-3.22-no-lyx.patch libhx-3.22.ebuild.patch |
Created attachment 435998 [details]
environment
Created attachment 436000 [details]
emerge --info
Looks like package has an automagick dependency on app-office/lyx and builds PDF docs if it is found. Created attachment 436030 [details, diff]
libhx-3.22-no-lyx.patch
Since source tarball already contains generated pdf, there is no need to regenerate it using lyx, thus proposed patch removes lyx detection and disables pdf regeneration.
It also fixes original problem with already existent pdf.
Created attachment 436032 [details, diff]
libhx-3.22.ebuild.patch
Brand new EAPI=6 ebuild with eautoreconf, needed for a proposed no-lyx.patch and new USE=doc to control PDF and API docs.
Thank you. That looks good to me. Feel free to commit the changes. Thanks for prompt review, committed to the tree. |
Created attachment 435996 [details] build.log Hi, libhx-3.22 fails to install here: /bin/mkdir -p '/var/tmp/portage/sys-libs/libhx-3.22/image//usr/share/doc/libhx-3.22' /usr/bin/install -c -m 644 libHX_Documentation.pdf '/var/tmp/portage/sys-libs/libhx-3.22/image//usr/share/doc/libhx-3.22' /usr/bin/install: cannot create regular file '/var/tmp/portage/sys-libs/libhx-3.22/image//usr/share/doc/libhx-3.22/libHX_Documentation.pdf': File exists make[2]: *** [Makefile:319: install-dist_docDATA] Error 1 Also it would be nice to have USE="doc" for documentation.