Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323653 - dev-libs/Ice-3.4.0[python]: postinst errors "/Ice.py does not exist!" and similar
Summary: dev-libs/Ice-3.4.0[python]: postinst errors "/Ice.py does not exist!" and sim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 08:49 UTC by Martin von Gagern
Modified: 2010-06-13 16:14 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 Martin von Gagern 2010-06-12 08:49:27 UTC
Installing dev-libs/Ice-3.4.0 on my ~amd64 using portage 2.2_rc67, I get a long list of error messages from postinst:

/Glacier2.py does not exist!
...
/Ice.py does not exist!
...
/IceStorm does not exist!

I'm not sure where this comes from. The fact that the ebuild temporarily overrides EAPI might have something to do with it. The saved environment indicates that the PYTHON_MODULES array does not contain any slashes, so I don't understand where the slashes in the error messages come from.
Comment 1 Martin von Gagern 2010-06-12 09:12:40 UTC
With the patch from bug #312133 comment #5 the problem mostly goes away. The only error message that remains is this:

'Glacier2' does not exist!

Which makes sense, as there really is no directory of that name installed by the ebuild. The ebuild adds that item manually to its PYTHON_MODULES array, and probably that step is wrong.

I really hope that all this ugly postinst/postrm hacking for python modules will vanish one day, to be replaced by simple building of these files in the src_compile phase, and proper timestamp preservation as guaranteed by EAPI=3.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-12 13:13:14 UTC
(In reply to comment #1)
> I really hope that all this ugly postinst/postrm hacking for python modules
> will vanish one day, to be replaced by simple building of these files in the
> src_compile phase, and proper timestamp preservation as guaranteed by EAPI=3.

It's not planned. See bug #301915.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2010-06-13 16:14:48 UTC
Done, thanks.