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

Bug 252133

Summary: New ebuild: dev-perl/Data-HexDump
Product: Gentoo Linux Reporter: Christian Schlotter <again>
Component: New packagesAssignee: Perl Ebuild Requests <perl-request>
Status: RESOLVED FIXED    
Severity: enhancement CC: barzog, web-apps
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 252131    
Attachments: Ebuild for installing Data::HexDump module
Ebuild for installing Data::HexDump module
fixed ebuild

Description Christian Schlotter 2008-12-21 22:56:53 UTC
Please find attached an ebuild for installing the perl module Data::HexDump on Gentoo. It is required as a dependency for dev-perl/RadiusPerl (see bug #252131).
Comment 1 Christian Schlotter 2008-12-21 22:58:32 UTC
Created attachment 176110 [details]
Ebuild for installing Data::HexDump module

Not yet fully tested. This ebuild currently generates the following file collision:

$ portageq owners / /usr/bin/hexdump
sys-apps/util-linux-2.14.1
        /usr/bin/hexdump
dev-perl/Data-HexDump-0.02
        /usr/bin/hexdump

What can I do about it?
Comment 2 Christian Schlotter 2008-12-25 20:56:57 UTC
Created attachment 176383 [details]
Ebuild for installing Data::HexDump module

(In reply to comment #1)
> What can I do about it?

I don't install this package's hexdump script into /usr/bin, but put it into the documentation directory:
...
        # this script can serve as an example on how to use Data::HexDump
        dodoc "${D}/usr/bin/hexdump"
        # prevent file collision with util-linux
        rm "${D}/usr/bin/hexdump"
...

I think this is better now. What smells a bit is that I sometimes got the following message emerging with this ebuild (with no "test" in FEATURES):
 * The ebuild phase 'test' has exited unexpectedly. This type of behavior
 * is known to be triggered by things such as failed variable assignments
 * (bug #190128) or bad substitution errors (bug #200313).
Unfortunately I could not find anything suspicious in my ebuild...
Comment 3 Oleg Gawriloff 2009-12-03 16:50:29 UTC
Created attachment 211874 [details]
fixed ebuild

Here's fixed ebuild. Its solves overlapping with util linux NOT by removing util-linux hexdump. It installs hexdump.pl instead hexdump
Comment 4 Oleg Gawriloff 2010-02-09 23:17:29 UTC
Available in my overlay: http://code.google.com/p/barzog-gentoo-overlay/
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-07-10 12:32:29 UTC
Already in the tree.