Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126928 - net-analyzer/scapy-1.0.3 installs to the wrong location
Summary: net-analyzer/scapy-1.0.3 installs to the wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrea Barisani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 03:39 UTC by Mike Auty (RETIRED)
Modified: 2006-03-20 08:29 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 Mike Auty (RETIRED) gentoo-dev 2006-03-20 03:39:37 UTC
Scap-1.0.3 installs to the /usr/python-2.4 directory, because it doesn't inherit the multilib eclass, and so doesn't have the get_libdir call used to determine the lib directory.  Because of this python can't find it and it can't be used as a python module.  This can be easily fixed by inheritting either multilib or something that inherits multilib, such as eutils.

This bug was originally filed as part of bug 121467, but apparently couldn't initially be diagnosed, and then once diagnosed required a new bug to fix, so here it is.  I can provide a patch for the ebuild too, to show how the fix should be applied if that'd help get this bug closed sooner?  Thanks...
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2006-03-20 03:45:38 UTC
Yes, please provide a patch if you have one. (unless this is as easy as 'inherit multilib' which I can add right now)
Comment 2 Mike Auty (RETIRED) gentoo-dev 2006-03-20 03:53:15 UTC
Yes, it really is that easy.  Sorry, I definitely woke up on the wrong side of bed this morning and was being very sarcastic, I appologize.  Sorry...  5:(

It just seemed like such a lot of effort and a month or two to get something fixed because of the bug being marked as "works for me" or "file a different bug for a different problem".  It really is a trivial fix.
Comment 3 Andrea Barisani (RETIRED) gentoo-dev 2006-03-20 03:57:14 UTC
Committing right now.

Sorry but from your bug report (and maybe it's my fault) it wasn't clear that
this issue was specific to the scapy ebuild and so easily fixable. That's why I
stressed opening a new bug, I thought it was a general portage/ebuild issue since
it worked for me without issues.

Anyway leaving the bug open for committ follow up and comments for now.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2006-03-20 08:29:11 UTC
Yep, that completely sorts the problem.  Thanks very much for fixing it, and sorry again for my mood...