Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482930 - net-analyzer/tcpdump-4.4.0-r1 depends on sys-kernel/linux-headers with USE="drop-root"
Summary: net-analyzer/tcpdump-4.4.0-r1 depends on sys-kernel/linux-headers with USE="d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal minor (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 15:24 UTC by Dmitri Bogomolov
Modified: 2013-10-14 04:55 UTC (History)
0 users

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 Dmitri Bogomolov 2013-08-29 15:24:30 UTC
I have installed and working with =net-analyzer/tcpdump-4.4.0. It has ~x86-fbsd in IUSE. But it can't be updated to =net-analyzer/tcpdump-4.4.0-r1 on g/fbsd because of new dependencies. 

Reproducible: Always

Steps to Reproduce:
1. emerge -va1 tcpdump

Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-lang/swig-2.0.10  USE="pcre -ccache -doc" 5,179 kB
[ebuild  N    *] sys-kernel/linux-headers-3.10  3,563 kB
[ebuild  N    *] sys-libs/libcap-ng-0.7.3  USE="python -static-libs" 384 kB
[ebuild     U  ] net-analyzer/tcpdump-4.4.0-r1 [4.4.0] USE="drop-root%* ssl -ipv6 -samba -smi -suid {-test} (-chroot%*)" 894 kB

Expected Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-analyzer/tcpdump-4.4.0-r1  USE="chroot ssl -ipv6 -samba -smi -suid {-test}" 894 kB

Total: 1 package (1 reinstall), Size of downloads: 894 kB

I think this happened because of USE="drop-root%*. Corresponding change in ebuild follows

 RDEPEND="
+       drop-root? ( sys-libs/libcap-ng )

# USE="-drop-root" emerge -va1 tcpdump

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-analyzer/tcpdump-4.4.0-r1 [4.4.0] USE="ssl -drop-root% -ipv6 -samba -smi -suid {-test} (-chroot%*)" 894 kB

Total: 1 package (1 upgrade), Size of downloads: 894 kB
Comment 1 Naohiro Aota gentoo-dev 2013-10-14 04:55:04 UTC
I've use.masked drop-root on BSDs.