Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431930 - dev-java/gcj-jdk and sys-devel/gcc file collisions
Summary: dev-java/gcj-jdk and sys-devel/gcc file collisions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 06:51 UTC by Claudio Roberto França Pereira
Modified: 2012-10-15 04:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.85 KB, text/plain)
2012-08-19 06:51 UTC, Claudio Roberto França Pereira
Details

Note You need to log in before you can comment on or make changes to this bug.
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.