Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 169141

Summary: dev-java/sun-jdk - /opt/${P} does not get removed on unmerge
Product: Gentoo Linux Reporter: Carsten Lohrke (RETIRED) <carlo>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.