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

Bug 431930

Summary: dev-java/gcj-jdk and sys-devel/gcc file collisions
Product: Gentoo Linux Reporter: Claudio Roberto França Pereira <spideybr>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Claudio Roberto França Pereira 2012-08-19 06:51:10 UTC
After rebuilding gcc with +gcj, I've built gcj-jdk, and it reported 2 file collisions:

 * Detected file collision(s):
 * 
 *      /usr/bin/gcj-dbtool
 *      /usr/bin/gij

Confirmed the collisions:

stalker spidey # equery b /usr/bin/gcj-dbtool
 * Searching for /usr/bin/gcj-dbtool ... 
dev-java/gcj-jdk-4.6.3 (/usr/bin/gcj-dbtool -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcj-dbtool)
sys-devel/gcc-4.6.3 (/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcj-dbtool)
stalker spidey # equery b /usr/bin/gij
 * Searching for /usr/bin/gij ... 
dev-java/gcj-jdk-4.6.3 (/usr/bin/gij -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gij)
sys-devel/gcc-4.6.3 (/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gij)
Comment 1 Claudio Roberto França Pereira 2012-08-19 06:51:32 UTC
Created attachment 321666 [details]
emerge --info
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-09-28 18:44:37 UTC
Fixed, thanks for the report.

*gcj-jdk-4.6.3-r1 (28 Sep 2012)

  28 Sep 2012; Ralph Sennhauser <sera@gentoo.org> +gcj-jdk-4.6.3-r1.ebuild:
  No longer install symlinks in /usr/bin to work with recent gcc-config.
  #431930
  Add missing dodir for server vm.
  Use get_libdir for vm home.

Btw, /usr/bin/gij can no longer be used though a symlink named java as the gcc-config wrapper will look for 'java' in gcc's bin dir.
Comment 3 Andrew John Hughes 2012-10-15 04:32:34 UTC
I've reverted this change in the 4.7.2 ebuild.  gcc is still not installing gij and gcj-dbtool and thus these are missing from the path following the change above.