Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136382 - gcc file /usr/lib/pkgconfig/libgcj.pc is not slotted
Summary: gcc file /usr/lib/pkgconfig/libgcj.pc is not slotted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 145723 145741 157864 201752 (view as bug list)
Depends on:
Blocks: 216241
  Show dependency tree
 
Reported: 2006-06-11 04:52 UTC by Kevin F. Quinn (RETIRED)
Modified: 2009-01-28 02:28 UTC (History)
11 users (show)

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


Attachments
Slot libgcj.pc with ${PV} (toolchain.eclass-libgcj.pc-collision.patch,650 bytes, patch)
2006-11-26 04:59 UTC, Kevin F. Quinn (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn (RETIRED) gentoo-dev 2006-06-11 04:52:10 UTC
So it collides from one version of gcc to another.

Suggest renaming it to /usr/lib/pkgconfig/libgcj-<version>.pc, and in gcc-config/eselect-compiler symlink/copy it to /usr/lib/pkgconfig/libgcj.pc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 09:17:26 UTC
*** Bug 145723 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2006-09-01 18:04:51 UTC
*** Bug 145741 has been marked as a duplicate of this bug. ***
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-03 18:38:55 UTC
*bump*
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-11-13 04:08:04 UTC
*bump*
Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2006-11-26 04:59:36 UTC
Created attachment 102748 [details, diff]
Slot libgcj.pc with ${PV}

This is a simple way around the collision with libgcj.pc

The collision between libgjsmalsa and gnuclasspath has been fixed upstream in 4.2 (where it's been renamed to a gcc-specific name), but they're not going to back-port that change to 4.1.

Also it may be necessary for gcc-config (etc) to softlink libgcj.pc -> libgcj-<selectedversion>.pc.  Whether that's worth doing or not depends on whether any packages actually _use_ 'pkg-config libgcj'.

For the record, .pc files are used by pkg-config to locate things like libraries, include directories and so forth.  Since Gentoo always has multiple versions of the compiler installed, .pc files from the compiler should always include the version.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 15:09:13 UTC
*** Bug 157864 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2007-12-09 21:58:05 UTC
*** Bug 201752 has been marked as a duplicate of this bug. ***
Comment 8 Adrian Bassett 2008-02-22 15:06:43 UTC
Upgrading GCC from 4.2.2 to 4.2.3 (x86) I get the following collision:

 * package sys-devel/gcc-4.2.3 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/lib/pkgconfig/libgcj-4.2.pc
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-devel/gcc-4.2.2
 * 	/usr/lib/pkgconfig/libgcj-4.2.pc

so perhaps so minor versioning is required.

Comment 9 Ken Long 2008-05-31 13:36:24 UTC
I am looking for a solution to the cracklin unmerge oprhan bug.

I have a brand new system, just installed 2007 cd.(no X, no alsa..just installed)
found one bug when I tried to emerge protage (with the bash conflict)

after portage was upgraded, I did a emerge --deep system and found this bug.
regarding cracklib and unmerge orphans feature.

So what is the solution? or work around?
Comment 10 Bill Leuze 2008-06-21 04:23:35 UTC
I'm not sure if the following is a symptom of this bug or it is a new one:

when re emerging gcc-3.4.6-r2 and gcc-4.1.2 with the gcj use flag there is a file collision. They both install /usr/lib/pkgconfig/libgcj.pc

~ # portageq owners / /usr/lib/pkgconfig/libgcj.pc
sys-devel/gcc-3.4.6-r2
        /usr/lib/pkgconfig/libgcj.pc
sys-devel/gcc-4.1.2
        /usr/lib/pkgconfig/libgcj.pc
~ #