Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285819 - app-text/evince and x11-libs/libxcb-1.4-r1 build failure
Summary: app-text/evince and x11-libs/libxcb-1.4-r1 build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 11:00 UTC by Mario Bachmann
Modified: 2009-09-21 20:32 UTC (History)
0 users

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


Attachments
evince-build.log.bz2 (evince-build.log.bz2,13.19 KB, application/x-bzip)
2009-09-21 11:00 UTC, Mario Bachmann
Details
evince-build.log (evince-build.log,281.00 KB, text/plain)
2009-09-21 13:03 UTC, Mario Bachmann
Details
xcb-rebuilder-output (xcb-rebuilder-sh.txt,9.35 KB, text/plain)
2009-09-21 13:07 UTC, Mario Bachmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Bachmann 2009-09-21 11:00:03 UTC
After upgrading to x11-libs/libxcb-1.4-r1, i unmerged gnome. 
Than i set USE="xcb" in the make conf, recompiled cairo, pango and mesa and reemerged app-text/evince-2.26.2.


Reproducible: Always

Steps to Reproduce:
1. upgrade to libxcb-1.4-r1 (with the guide)
2. emerge evince

Actual Results:  
emerge fails with "undefined reference".

Expected Results:  
evince should compile. 

from the end of the build.log of evince:
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
Comment 1 Mario Bachmann 2009-09-21 11:00:59 UTC
Created attachment 204786 [details]
evince-build.log.bz2
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 11:10:58 UTC
Comment on attachment 204786 [details]
evince-build.log.bz2

Please set the correct mime type with attachments please, and try to send them as plain text if bugzilla allows it.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 11:13:10 UTC
Did you follow _all_ the steps in the upgrade guide?

Thanks
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-21 11:30:21 UTC
This is a typical failure you see when the rebuild is incomplete, I say close invalid.
Comment 5 Mario Bachmann 2009-09-21 12:07:28 UTC
i followed the guide http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml and i did revdep-rebuild. 

what is incomplete? 

"I say close invalid." - a joke?
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 12:50:05 UTC
@Mario, could you run xcb-rebuilder.sh again and attach its full output here?

@Gilles, there's a tiny chance Mario might have a circular dep problem here. I just want to look into it before closing it.

Thanks
Comment 7 Romain Perier (RETIRED) gentoo-dev 2009-09-21 12:58:13 UTC
Please get back us, about the build.log's mime type :
- Don't attach a compressed file.
- in "Create a New Attachment", have a look to "select from list" and choice "plain-text" as mime type.

thanks
Comment 8 Mario Bachmann 2009-09-21 13:03:49 UTC
Created attachment 204814 [details]
evince-build.log

plain text now.
Comment 9 Mario Bachmann 2009-09-21 13:07:02 UTC
Created attachment 204815 [details]
xcb-rebuilder-output

So i must recompile all the listed packages after "Broken packages:" ?
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 14:38:48 UTC
Reopeing
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 14:42:16 UTC
Yes you should rebuild those packages but the steps in the guide tell you how.

You need to follow what _all_ the steps in the guide, not only those that you like.

Please continue doing what the guide says after running xcb-rebuilder.sh and you should be just fine.

Thanks
Comment 12 Mario Bachmann 2009-09-21 17:38:38 UTC
evince compiled now. 

sorry, i do not see where the guide tells me that i should rebuild the packages reported by xcb-rebuilder.sh. 

beside, i expected that a script named rebuilder do a rebuild and not only a report. otherwise i would expect a script named xcb-broken-report. 

the guide is bad OR my english is bad... :-)
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2009-09-21 17:45:26 UTC
From the guide : 

"The tool will also report whether shared libraries (.so files, usually located in /lib and /usr/lib) still reference the now defunct library. If the tool reports broken packages, please read on. If not, lucky you, your system is ready to go :) "

I'm not sure if it can be any clearer.

Thanks
Comment 14 Mario Bachmann 2009-09-21 17:56:39 UTC
If the tool reports broken packages -> TRUE
please read on -> DONE

no word that i should emerge broken_packages_listed_by_xcb-rebuilder.sh .

conclusion: today i missed two jokes. 
Comment 15 Romain Perier (RETIRED) gentoo-dev 2009-09-21 20:32:06 UTC
reopening
Comment 16 Romain Perier (RETIRED) gentoo-dev 2009-09-21 20:32:20 UTC
Fixed per comment 12