Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584362 - net-misc/iputils does not install `traceroute`
Summary: net-misc/iputils does not install `traceroute`
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2016-05-27 20:25 UTC by David W Noon
Modified: 2016-06-01 19:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,6.96 KB, text/plain)
2016-05-27 20:25 UTC, David W Noon
Details
ebuild log for net-misc/iputils (net-misc:iputils-20151218:20160527-165531.log,8.98 KB, text/plain)
2016-05-27 20:26 UTC, David W Noon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David W Noon 2016-05-27 20:25:07 UTC
Created attachment 435580 [details]
emerge --info

I have set the traceroute use flag for net-misc/iputils, but traceroute is not alled, nor is its man page. However, traceroute6 and its man page were installed.

emerge --info and build log will follow shortly.
Comment 1 David W Noon 2016-05-27 20:26:28 UTC
Created attachment 435582 [details]
ebuild log for net-misc/iputils
Comment 2 SpanKY gentoo-dev 2016-06-01 03:57:38 UTC
iputils has never provided `traceroute`, only `traceroute6`.  you could ask upstream to implement it ;).
Comment 3 David W Noon 2016-06-01 16:50:09 UTC
(In reply to SpanKY from comment #2)
> iputils has never provided `traceroute`, only `traceroute6`.  you could ask
> upstream to implement it ;).

Well, we still have a problem here: iputils with the traceroute USE flag prevents net-analyzer/traceroute from being installed. Since traceroute6 won't work over IPv4-only connections, I cannot do IPv4 traceroutes over my ISP's wires. If I remove the traceroute USE flag and install the old traceroute again, I lose the ability to do IPv6 traceroutes on my internal network.

dwn@karnak ~ % emerge -p net-analyzer/traceroute

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

Calculating dependencies... done!
[ebuild  N     ] net-analyzer/traceroute-2.0.20  USE="-static" 
[blocks B      ] net-misc/iputils[traceroute] ("net-misc/iputils[traceroute]" is blocking net-analyzer/traceroute-2.0.20)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (net-analyzer/traceroute-2.0.20:0/0::gentoo, ebuild scheduled for merge) pulled in by
    net-analyzer/traceroute

  (net-misc/iputils-20151218:0/0::gentoo, installed) pulled in by
    net-misc/iputils required by @system


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


The issue arises from this:

RDEPEND="arping? ( !net-misc/arping )
        rarpd? ( !net-misc/rarpd )
        traceroute? ( !net-misc/traceroute )
        !static? ( ${LIB_DEPEND//\[static-libs(+)]} )"

First observation: there is no package called net-misc/traceroute. It seems Portage matches it to net-analyzer/traceroute.

If the third line of the RDEPEND is removed, I can have both traceroute and traceroute6 installed at the same time. Since there is no intersection set in functionality, I see that as a desirable way to go.

You might also find that renaming the USE flag to traceroute6 will make it more mnemonic.
Comment 4 SpanKY gentoo-dev 2016-06-01 19:00:19 UTC
(In reply to David W Noon from comment #3)

if you want to use the standalone traceroute package, then disable the USE flag in iputils.  seems pretty straight forward to me.

the standalone package used to be in net-misc.  looks like when it was moved, the other ebuilds weren't updated.  fixed here:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e732120f9e37788668f2bbc1a28308a46379e1
Comment 5 David W Noon 2016-06-01 19:25:48 UTC
(In reply to SpanKY from comment #4)
> if you want to use the standalone traceroute package, then disable the USE
> flag in iputils.  seems pretty straight forward to me.

I have already done that.