Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125478

Summary: sys-apps/util-linux should block sys-apps/hexdump
Product: Gentoo Linux Reporter: Alexander Mieland <dma147>
Component: New packagesAssignee: Tom Payne (RETIRED) <twp>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, sbriesen
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Mieland 2006-03-08 07:17:05 UTC
I've a script which makes use of hexdump to get the PCIIDs and USBIDs directly from the files in /proc. For example:

------------------ snip ------------------
#!/bin/bash
for i in `ls /proc/bus/pci/??/*`; do
    hexdump -s 0 -n 2 -e '1/2 "%04x"' ${i}
done
------------------ snap ------------------

This only works with hexdump from sys-apps/util-linux, not with sys-apps/hexdump, because this one doesn't support the parameter -n.
Both are overwriting the binary which was installed before by the other package.

They really should block each other...
Comment 1 SpanKY gentoo-dev 2006-03-08 08:33:40 UTC
if they blocked, then pretty much no one would be able to install hexdump

sys-apps/hexdump should prob rename the bin to like 'esr-hexdump'
Comment 2 Tom Payne (RETIRED) gentoo-dev 2006-03-08 08:48:18 UTC
+1 for rename hexdump -> esr-hexdump

Will get on to it...
Comment 3 Tom Payne (RETIRED) gentoo-dev 2006-03-08 09:35:41 UTC
Thanks for the bug report.

Move completed sys-apps/hexdump -> sys-apps/esr-hexdump and binaries renamed. No other packages depend on this one.
Comment 4 Alexander Mieland 2006-03-08 09:54:34 UTC
maybe it would be better to rename it to hexdump-esr... ;)
Because some users will search for something like:
# hex<tab><tab>
...and they won't find it then. *g*
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2006-03-08 11:23:54 UTC
jupp, please rename it to hexdump-esr.
Comment 6 Tom Payne (RETIRED) gentoo-dev 2006-03-09 01:16:11 UTC
oops, will do...
Comment 7 Tom Payne (RETIRED) gentoo-dev 2006-04-05 14:40:12 UTC
Now done.