Summary: | [Science overlay] omniORBpy version 3.6 ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mikael Morin <morin-mikael> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | python |
Priority: | Normal | Keywords: | InOverlay |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The failing omniORBpy ebuild file.
This ebuild works |
Description
Mikael Morin
2011-08-11 22:03:30 UTC
Created attachment 282957 [details]
The failing omniORBpy ebuild file.
Hey Mikael, Skimming through the ebuild you sent, I got to this line: CONFLICTING_FILE="$(python_get_lib_dir)/site-packages/omniidl_be/__ini__.py" If this is the ebuild you are testing, then I think you missed a 't' in the filename -> '__ini__.py' Regards, (In reply to comment #2) > Hey Mikael, > > Skimming through the ebuild you sent, I got to this line: > CONFLICTING_FILE="$(python_get_lib_dir)/site-packages/omniidl_be/__ini__.py" > > If this is the ebuild you are testing, then I think you missed a 't' in the > filename -> '__ini__.py' > > Regards, Right, thank you for noticing the typo. Unfortunately, it doesn't work any better once fixed. And I can't debug this if I don't get some basic loging working. Created attachment 286005 [details]
This ebuild works
The problem was that the conflict checking code is run before pkg_preinst.
Thus my pkg_preinst function removing the conflicting file was never run.
In the attached ebuild, the conflicting file is removed in the src_install function. There is no more conflict, and the package is installed without problem.
Looks like this is a duplicate of Bug 166738. As I have made an ebuild for this, maybe this can be integrated into the science overlay? Changing the summary: From: "New ebuild: omniORBpy and conflicting files" to "[Science overlay] omniORBpy version 3.6 ebuild" In the science overlay. Closing. |