Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547752 - net-misc/iputils[clockdiff] fails at postinst
Summary: net-misc/iputils[clockdiff] fails at postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 547782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-26 04:42 UTC by Robert Sebastian Gerus
Modified: 2015-05-04 02:36 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 Robert Sebastian Gerus 2015-04-26 04:42:30 UTC
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.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-05-02 15:21:11 UTC
*** Bug 547782 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2015-05-04 02:36:02 UTC
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