Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481642 - media-libs/tiff-3.9.7-r1 fails because an empty DOCS causes src_install from multilib-minimal to fail
Summary: media-libs/tiff-3.9.7-r1 fails because an empty DOCS causes src_install from ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 13:14 UTC by penparu
Modified: 2013-08-19 13:57 UTC (History)
1 user (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 penparu 2013-08-19 13:14:38 UTC
13 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> tiff-3.9.7-r1.ebuild:
  Set empty DOCS to avoid any useless documentation from being installed as this
  is binary-only SLOT.

The above update causes the install to fail (at least in paludis) because src_install from multilib-minimal hands DOCS off to dodoc which fails when supplied with no arguments.

Reproducible: Always

Steps to Reproduce:
1. install media-libs/tiff-3.9.7-r1 with paludis
Actual Results:  
install fails with:

!!! ERROR in media-libs/tiff-3.9.7-r1::gentoo:
!!! In /usr/libexec/paludis/utils/dodoc at line 41
!!! at least one argument needed


Expected Results:  
should install without errors

!!! ERROR in media-libs/tiff-3.9.7-r1::gentoo:
!!! In /usr/libexec/paludis/utils/dodoc at line 41
!!! at least one argument needed

!!! Call stack:
!!!    * paludis_die_or_error_func (/usr/libexec/paludis/die_functions.bash:67)
!!!    * main (/usr/libexec/paludis/utils/dodoc:41)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-08-19 13:57:35 UTC
+  19 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> tiff-3.9.7-r1.ebuild:
+  Remove content of /usr/share in src_install() instead of setting empty DOCS=
+  which is breaking paludis and is supposedly against PMS too wrt #481642