public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/lib/pkgconfig collisions
@ 2009-08-02  8:52 Roy Wright
  2009-08-02 10:49 ` [gentoo-user] " ABCD
  0 siblings, 1 reply; 3+ messages in thread
From: Roy Wright @ 2009-08-02  8:52 UTC (permalink / raw
  To: gentoo-user

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used "ebuild ruby-...  
digest" for each of the packages to create the Manifest file.

When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.

Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?

TIA,
Roy




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user]  Re: /usr/lib/pkgconfig collisions
  2009-08-02  8:52 [gentoo-user] /usr/lib/pkgconfig collisions Roy Wright
@ 2009-08-02 10:49 ` ABCD
  2009-08-03  3:06   ` Roy Wright
  0 siblings, 1 reply; 3+ messages in thread
From: ABCD @ 2009-08-02 10:49 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roy Wright wrote:

> Howdy,
> 
> While attempting to try the latest version of ruby-gnome2 (0.19.1), I
> copied the 0.19.0 ebuilds to my local overlay then renamed them to the
> new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,
> placed it in /usr/portage/distfiles, then used "ebuild ruby-...
> digest" for each of the packages to create the Manifest file.
> 
> When I attempt to emerge the updated packages, the first package, ruby-
> glib2-0.19.1, errors with a detected file collision on /usr/lib/
> pkgconfig.  This is a directory and thus emerge finds every package
> that has installed a file in it.
> 
> Now my guess is that some code that attempts to check for conflicts
> within the /usr/lib/pkgconfig directory is being given an blank
> package name, thus is checking the directory.  My problem is I don't
> see where the conflict code is even called.  Anyone have any hints or
> know where the documentation is?
> 
> TIA,
> Roy

My first guess is that, for some reason, the package is trying to install a 
*file* named /usr/lib/pkgconfig: if this is the case, you can find out by 
checking in /var/tmp/portage/${CATEGORY}/${PF}/image/ (herein called 
"${D}"), which contains the full tree that the package is trying to install.  
If usr/lib/pkgconfig under that directory is a file, then it would collide 
with every package that installs a directory named /usr/lib/pkgconfig.

- -- 
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkp1b0wACgkQOypDUo0oQOpXtwCdF5wJNLH934Bvf9DySe7MP/rO
2xoAoNsnQ13Mmv3FL3ofr2FKe0VD5T/h
=OfYF
-----END PGP SIGNATURE-----





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user]  Re: /usr/lib/pkgconfig collisions
  2009-08-02 10:49 ` [gentoo-user] " ABCD
@ 2009-08-03  3:06   ` Roy Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Roy Wright @ 2009-08-03  3:06 UTC (permalink / raw
  To: gentoo-user


On Aug 2, 2009, at 5:49 AM, ABCD wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Roy Wright wrote:
>
>> Howdy,
>>
>> While attempting to try the latest version of ruby-gnome2 (0.19.1), I
>> copied the 0.19.0 ebuilds to my local overlay then renamed them to  
>> the
>> new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,
>> placed it in /usr/portage/distfiles, then used "ebuild ruby-...
>> digest" for each of the packages to create the Manifest file.
>>
>> When I attempt to emerge the updated packages, the first package,  
>> ruby-
>> glib2-0.19.1, errors with a detected file collision on /usr/lib/
>> pkgconfig.  This is a directory and thus emerge finds every package
>> that has installed a file in it.
>>
>> Now my guess is that some code that attempts to check for conflicts
>> within the /usr/lib/pkgconfig directory is being given an blank
>> package name, thus is checking the directory.  My problem is I don't
>> see where the conflict code is even called.  Anyone have any hints or
>> know where the documentation is?
>>
>> TIA,
>> Roy
>
> My first guess is that, for some reason, the package is trying to  
> install a
> *file* named /usr/lib/pkgconfig: if this is the case, you can find  
> out by
> checking in /var/tmp/portage/${CATEGORY}/${PF}/image/ (herein called
> "${D}"), which contains the full tree that the package is trying to  
> install.
> If usr/lib/pkgconfig under that directory is a file, then it would  
> collide
> with every package that installs a directory named /usr/lib/pkgconfig.
>
> - --
> ABCD
>

On the money:

  # cat /var/tmp/portage/dev-ruby/ruby-glib2-0.19.1/image/usr/lib/ 
pkgconfig
Name: GLib
Description: C Utility Library
Version: 0.19.1

Now to find why...

Thank you,
Roy






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-03  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02  8:52 [gentoo-user] /usr/lib/pkgconfig collisions Roy Wright
2009-08-02 10:49 ` [gentoo-user] " ABCD
2009-08-03  3:06   ` Roy Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox