Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169141 - dev-java/sun-jdk - /opt/${P} does not get removed on unmerge
Summary: dev-java/sun-jdk - /opt/${P} does not get removed on unmerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-03 15:36 UTC by Carsten Lohrke (RETIRED)
Modified: 2007-03-03 20:05 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 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-03 15:36:35 UTC
When unmerging and re-emerging a sun-jdk, Portage bails out because of file  collisions.

/opt/${P}
|-- bin
|   |-- jar
|   |-- java
|   |-- javac
|   |-- javadoc
|   `-- javah
`-- jre
    `-- bin
        `-- java_vm
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-03-03 16:33:27 UTC
What versions of sun-jdk are we talking about here?
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-03-03 16:40:48 UTC
(In reply to comment #1)
> What versions of sun-jdk are we talking about here?
> 

At least for dev-java/sun-jdk-1.4.2.13 I can't reproduce this. Are you sure you haven't for example modified these binaries using pax-utils at some point?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-03 19:37:53 UTC
That's the right pointer. But not I have, you have. :) Is there a reason to run chpax within pkg_postinst() instead src_install()/${D}/...?
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-03-03 20:05:59 UTC
(In reply to comment #3)
> That's the right pointer. But not I have, you have. :) Is there a reason to run
> chpax within pkg_postinst() instead src_install()/${D}/...?
> 

Nope and that's why all but 1.4* do it there. It seems this version was not migrated to use pax-utils.eclass which I just did in -r1.