<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>169141</bug_id>
          
          <creation_ts>2007-03-03 15:36 0000</creation_ts>
          <short_desc>dev-java/sun-jdk - /opt/${P} does not get removed on unmerge</short_desc>
          <delta_ts>2007-03-03 20:05:59 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>carlo@gentoo.org</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2007-03-03 15:36:35 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-03-03 16:33:27 0000</bug_when>
            <thetext>What versions of sun-jdk are we talking about here?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-03-03 16:40:48 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; What versions of sun-jdk are we talking about here?
&gt; 

At least for dev-java/sun-jdk-1.4.2.13 I can&apos;t reproduce this. Are you sure you haven&apos;t for example modified these binaries using pax-utils at some point?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2007-03-03 19:37:53 0000</bug_when>
            <thetext>That&apos;s the right pointer. But not I have, you have. :) Is there a reason to run chpax within pkg_postinst() instead src_install()/${D}/...?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-03-03 20:05:59 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; That&apos;s the right pointer. But not I have, you have. :) Is there a reason to run
&gt; chpax within pkg_postinst() instead src_install()/${D}/...?
&gt; 

Nope and that&apos;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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>