Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252133 - New ebuild: dev-perl/Data-HexDump
Summary: New ebuild: dev-perl/Data-HexDump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Perl Ebuild Requests
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 252131
  Show dependency tree
 
Reported: 2008-12-21 22:56 UTC by Christian Schlotter
Modified: 2013-07-10 12:32 UTC (History)
2 users (show)

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


Attachments
Ebuild for installing Data::HexDump module (Data-HexDump-0.02.ebuild,434 bytes, text/plain)
2008-12-21 22:58 UTC, Christian Schlotter
Details
Ebuild for installing Data::HexDump module (Data-HexDump-0.02.ebuild,626 bytes, text/plain)
2008-12-25 20:56 UTC, Christian Schlotter
Details
fixed ebuild (Data-HexDump-0.02.ebuild,821 bytes, text/plain)
2009-12-03 16:50 UTC, Oleg Gawriloff
Details

Note You need to log in before you can comment on or make changes to this bug.
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.