Summary: | net-misc/iputils[clockdiff] fails at postinst | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Sebastian Gerus <ar> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | klaus.kusche |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
*** Bug 547782 has been marked as a duplicate of this bug. *** should be all set now in the tree; thanks for the report! Commit message: Fix install of clockdiff http://sources.gentoo.org/net-misc/iputils/iputils-20121221-r2.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/net-misc/iputils/iputils-99999999.ebuild?r1=1.19&r2=1.20 |
When built with USE="clockdiff", ebuild calls fcaps cap_net_raw with $(usex clockdiff 'usr/bin/clockdiff' '') as one of the arguments. This causes ebuild to fail at postinst phase due to clockdiff being installed at /usr/sbin/clockdiff Reproducible: Always Steps to Reproduce: 1. USE="clockdiff" emerge -v1 iputils Actual Results: * ERROR: net-misc/iputils-20121221-r2::gentoo failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called pkg_postinst * environment, line 2161: Called fcaps 'cap_net_raw' 'bin/ping' 'bin/ping6' 'bin/arping' 'usr/bin/clockdiff' * environment, line 1103: Called die * The specific snippet of code: * chmod ${caps_mode} "${file}" || die; * * If you need support, post the output of `emerge --info '=net-misc/iputils-20121221-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/iputils-20121221-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-misc/iputils-20121221-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/iputils-20121221-r2/temp/environment'. * Working directory: '/usr/lib64/python2.7/site-packages' * S: '/var/tmp/portage/net-misc/iputils-20121221-r2/work/iputils-s20121221' Expected Results: >>> net-misc/iputils-20121221-r2 merged.