Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245889 - x11-libs/libxcb-1.1.92 and x11-libs/libX11-1.1.99.2: libxcb-xlib: upcoming hell
Summary: x11-libs/libxcb-1.1.92 and x11-libs/libX11-1.1.99.2: libxcb-xlib: upcoming hell
Status: RESOLVED DUPLICATE of bug 158476
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 246468 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-06 20:40 UTC by Rafał Mużyło
Modified: 2008-12-22 07:41 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2008-11-06 20:40:02 UTC
Yes, these are 0-day bumps, but this is not the point of this bug.

The point is a major warning:
libxcb-xlib will be gone with these releases and revdep-rebuild will be only
of little help. While on an --as-needed system very few libs will break,
libxcb-xlib was injected to a lot of la files and revdep-rebuild didn't
detect it. The effect was that I was forced to run
`find /usr/lib/ -name '*.la' -exec -i -e 's:/usr/lib/libxcb-xlib.la ::g' \;`
to get the things moving, as libtool was failing at linking of any lib,
depending even indirectly on libX11.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-11-07 07:31:35 UTC
@Jeroen, this is probably more of a portage/revdep-rebuild issue. What do you think?

Thanks
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-07 17:41:12 UTC
I don't think so. I have no idea what this bug is all about - I was just delivering the mail. Apparently we need to start panicking or avoid xcb. :)
Comment 3 Rafał Mużyło 2008-11-07 18:29:19 UTC
Well, that bug was just about the fact, that while
revdep-rebuild did detect the broken la files,
'revdep-rebuild -p' output did not include all of those packages.

And and all the la files that still contained /usr/lib/libxcb-xlib.la
prevented linking of almost every libX11 dependent (especially indirectly)
package.
Comment 4 Mart Raudsepp gentoo-dev 2008-11-08 18:46:04 UTC
additionally the sed hack will orphan the *.la files to not be considered belonging to the package they do belong to as far as the package manager is concerned, as checksums and such change. That can cause all kinds of fun in corner cases too, so what is really necessary is fixing of .la files in a portage aware way, me thinks. Then again fix_libtool.sh or whatever gcc has for some similar stuff seems to work fine for its purpose?
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-11-11 23:24:29 UTC
Or maybe have an elog message that outputs a nice qfile+sed oneliner for people to use?

That or fix revdep-rebuild...
Comment 6 Mart Raudsepp gentoo-dev 2008-11-11 23:38:07 UTC
(In reply to comment #5)
> Or maybe have an elog message that outputs a nice qfile+sed oneliner for people
> to use?

To do exactly what breaks VDB records of ownerships as far as portage is concern? ;p
How does fix_libtool_files.sh work here?

> That or fix revdep-rebuild...
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-12 10:36:37 UTC
*** Bug 246468 has been marked as a duplicate of this bug. ***
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-12 10:57:25 UTC
(In reply to comment #6)

> To do exactly what breaks VDB records of ownerships as far as portage is
> concern? ;p
> How does fix_libtool_files.sh work here?

It orphans them. See also bug 140019, bug 90744. 
In short: While it is possible to update mtimesdb and hashes, it wasn't done, because libstdc++.la was removed as of gcc-4.1.1.

I propose the same be done here. I don't have the libxcb la files and have experienced no adverse effects. See also the epunt_la_files function sent for review on gentoo-dev ml which I'll commit later today if noone objects. It's time to start considering it a Best Common Practice to be punting la files when there's a .so bump or when revdep-rebuild has to be run anyway.
Comment 9 Mart Raudsepp gentoo-dev 2008-11-12 13:25:28 UTC
(In reply to comment #8)
> See also the epunt_la_files function sent for
> review on gentoo-dev ml which I'll commit later today if noone objects.

I don't see that this has had all questions or concerned answered fully, but I'll just raise my objections soon on the thread...
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-11-12 14:58:58 UTC
(In reply to comment #4)
> additionally the sed hack will orphan the *.la files to not be considered
> belonging to the package they do belong to as far as the package manager is
> concerned, as checksums and such change.

FEATURES="unmerge-orphans" is enabled by default, so the changed *.la files usually will be removed during unmerging.
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-12-22 07:41:07 UTC

*** This bug has been marked as a duplicate of bug 158476 ***