Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197005 - dev-java/javatoolkit-0.2.0-r1 missing bunch of keepdirs
Summary: dev-java/javatoolkit-0.2.0-r1 missing bunch of keepdirs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 217497
  Show dependency tree
 
Reported: 2007-10-25 08:20 UTC by Petr Bahula
Modified: 2008-09-28 15:49 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 Petr Bahula 2007-10-25 08:20:19 UTC
It is not 16162 bug.

Halo, I was check my system for missing files, dirs etc. I was found lot of packages, where had file or dir in /var/db/pkg/*/*/CONTENTS
file but not in filesystem. All these packages I was rebuild by "emerge -1 <package>".
All these packages are corret now but the dev-java/javatoolkit-0.2.0-r1 not.

# ls /usr/share/javatoolkit/lib
ls: cannot access /usr/share/javatoolkit/lib: není souborem ani adresářem
# ls -a /usr/share/javatoolkit/   
.  ..  build-xml-source-target.xslt  pym
# emerge -1 javatoolkit
....
>>> Emerging (1 of 1) dev-java/javatoolkit-0.2.0-r1 to /
....
>>> Merging dev-java/javatoolkit-0.2.0-r1 to /
--- /usr/
....
--- /usr/share/javatoolkit/
--- /usr/share/javatoolkit/lib/
>>> /usr/share/javatoolkit/build-xml-source-target.xslt
--- /usr/share/javatoolkit/pym/
--- /usr/share/javatoolkit/pym/parser/
....
--- /usr/lib/javatoolkit/bin/
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/man/man1/findclass.1.bz2
....
--- replaced obj /usr/share/javatoolkit/pym/__init__.py
--- replaced dir /usr/share/javatoolkit/pym
--- replaced dir /usr/share/javatoolkit/lib
--- replaced obj /usr/share/javatoolkit/build-xml-source-target.xslt
--- replaced dir /usr/share/javatoolkit
....
--- replaced dir /usr
 * Cleaning orphaned Python bytecode from /usr/share/javatoolkit ..
>>> Original instance of package unmerged safely.
 * Byte compiling python modules for python-2.4 .. ...                [ ok ]
>>> dev-java/javatoolkit-0.2.0-r1 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
# ls /usr/share/javatoolkit/lib
ls: cannot access /usr/share/javatoolkit/lib: není souborem ani adresářem
# ls -a /usr/share/javatoolkit/   
.  ..  build-xml-source-target.xslt  pym
# grep /usr/share/javatoolkit/lib
/var/db/pkg/dev-java/javatoolkit-0.2.0-r1/CONTENTS 
dir /usr/share/javatoolkit/lib

I was look into javatoolkit-0.2.0-r1.ebuild 
Installation make *.pyc files before pkg_postinst(), pkg_postinst and pkg_postrm call have no wanted efect, but pkg_postrm call remove /usr/share/javatoolkit/lib directory.
Using python eclas is contraproduktive in this case from my view.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-28 15:49:57 UTC
Should be fixed in 0.3.0-r2