First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 248743
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Geaaru <geaaru@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libxcb-1.1.92.ebuild libxcb-1.1.92 ebuild text/plain Geaaru 2008-11-25 07:51 0000 1.17 KB Details
xcb-util-0.3.1.ebuild xcb-util 0.3.1 text/plain Geaaru 2008-11-25 07:55 0000 1020 bytes Details
libX11-1.1.99.2.ebuild version 1.1.99.2 of libX11 that doesn't use xcb-xlib.pc file text/plain Geaaru 2008-11-26 08:58 0000 1.17 KB Details
randrproto-1.2.99.1.ebuild randrproto version 1.2.99.1 text/plain Geaaru 2008-11-26 21:12 0000 481 bytes Details
xproto-7.0.14.ebuild xproto-7.0.14 text/plain Geaaru 2008-11-26 21:12 0000 549 bytes Details
libXi-1.1.4.ebuild libXi version 1.1.4 text/plain Geaaru 2008-11-26 21:21 0000 680 bytes Details
libXaw-1.0.5.ebuild libXaw version 1.0.5 text/plain Geaaru 2008-11-26 21:22 0000 822 bytes Details
libXaw-1.0.5.ebuild Remove xprint use flags because xprint library is depracated and libXaw8 is not included with new version text/plain Geaaru 2008-11-27 08:33 0000 788 bytes Details
xorg-server-1.5.99.2.ebuild xorg-server-1.5.99.2 text/plain Geaaru 2008-12-03 14:51 0000 13.60 KB Details
libxcb-1.2.ebuild New version of libxcb-1.2 text/plain Geaaru 2009-02-27 06:44 0000 1.17 KB Details
xcb-proto-1.4.ebuild xcb-proto-1.4 text/plain Geaaru 2009-02-27 06:45 0000 640 bytes Details
xorg-server-1.6.0.ebuild Released version 1.6.0 of the xorg server text/plain Geaaru 2009-02-27 06:50 0000 13.60 KB Details
xorg-server-1.6.0.ebuild Xorg-server-1.6.0 text/plain Geaaru 2009-02-27 07:32 0000 13.51 KB Details
libX11-1.2.ebuild libX11-1.2 text/plain Geaaru 2009-02-27 21:16 0000 768 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 248743 depends on: Show dependency tree
Bug 248743 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-25 07:49 0000
Hi, there are available new version of libxcb, xcb-util and xpyb packages.

Reproducible: Always

------- Comment #1 From Geaaru 2008-11-25 07:51:33 0000 -------
Created an attachment (id=173301) [details]
libxcb-1.1.92 ebuild

Rename of ebuild libxcb-1.1.90.1 seems works fine.

------- Comment #2 From Geaaru 2008-11-25 07:55:31 0000 -------
Created an attachment (id=173302) [details]
xcb-util 0.3.1

Still in this case only rename of the xcb-util-0.3.0 works.

Bye

Ge@@ru

------- Comment #3 From Geaaru 2008-11-26 08:57:53 0000 -------
It isn't so easy use new libxcb because:
 * new library doesn't create libxcb-xlib;
 * there isn't file xcb-xlib.pc used by all X library and X server.

To use these new libraries is needed update all X library to last version.
I will insert here all ebuild used by all libraries. I hope that will insert at
least on layman x11.

Bye

------- Comment #4 From Geaaru 2008-11-26 08:58:56 0000 -------
Created an attachment (id=173415) [details]
version 1.1.99.2 of libX11 that doesn't use xcb-xlib.pc file

------- Comment #5 From Geaaru 2008-11-26 21:12:06 0000 -------
Created an attachment (id=173520) [details]
randrproto version 1.2.99.1

------- Comment #6 From Geaaru 2008-11-26 21:12:50 0000 -------
Created an attachment (id=173522) [details]
xproto-7.0.14

------- Comment #7 From Geaaru 2008-11-26 21:21:47 0000 -------
Created an attachment (id=173525) [details]
libXi version 1.1.4

------- Comment #8 From Geaaru 2008-11-26 21:22:23 0000 -------
Created an attachment (id=173526) [details]
libXaw version 1.0.5

------- Comment #9 From Geaaru 2008-11-27 08:33:51 0000 -------
Created an attachment (id=173571) [details]
Remove xprint use flags because xprint library is depracated and libXaw8 is not
included with new version

------- Comment #10 From Geaaru 2008-11-30 08:53:42 0000 -------
I have some problems with new libXcb ... i have this error when i try to start
application that use glx:

glxinfo: _XReply: Assertion `!dpy->xcb->reply_data' failed

This error is relative to file xcb_io.c in libX11 library... seems that
xorg-server doesn't return correct data. In this moment i use xorg-server 1.5.3
but i try to use repository version or an older version.

Anyone had already see this error?

Bye

Ge@@ru

------- Comment #11 From Rémi Cardona 2008-11-30 17:18:41 0000 -------
(In reply to comment #10)
> I have some problems with new libXcb ... i have this error when i try to start
> application that use glx:
> 
> glxinfo: _XReply: Assertion `!dpy->xcb->reply_data' failed
> 
> This error is relative to file xcb_io.c in libX11 library... seems that
> xorg-server doesn't return correct data. In this moment i use xorg-server 1.5.3
> but i try to use repository version or an older version.

Please file a bug in http://bugs.freedesktop.org/

Upstream needs to know ASAP about this sort of bugs. And if it's already fixed,
we need to pull the patch :)

Thanks

------- Comment #12 From Geaaru 2008-11-30 22:32:20 0000 -------
Bug opened on bugzilla... i'm waiting for a response.

Bye

Ge@@ru

------- Comment #13 From Geaaru 2008-12-02 22:03:26 0000 -------
I see new ebuild about xorg-server-1.5.99.1 but doesn't compile...
I see that file hw/dmx/input/atKeynames.h isn't inside of the 1.5.99.1 package
but it is included of files usb-keyboard.c and lnx-keyboard.c

Ge@@ru

------- Comment #14 From Geaaru 2008-12-02 23:18:32 0000 -------
I speak of this problem about lost files on xorg-server chat channel and
developers said me that will be soon released a patch to use with 1.5.99.x tree
that resovle problem.

Byes

------- Comment #15 From Geaaru 2008-12-03 14:51:40 0000 -------
Created an attachment (id=174166) [details]
xorg-server-1.5.99.2

This version compile but i think that is correct wait a new version... only
version from git remove problem about libX11 for

glxinfo: _XReply: Assertion `!dpy->xcb->reply_data' failed

error.

Bye

Ge@@ru

------- Comment #16 From Geaaru 2008-12-03 14:54:10 0000 -------
Ah sorry, it works fine only with dmx disabled else there are compile error
with Xcalloc macro.

------- Comment #17 From Donnie Berkholz 2009-02-27 06:29:18 0000 -------
Since xcb isn't enabled by default, I'm kinda thinking we just go with the dumb
solution -- bump, require USE=xcb people to do lots of revdep-rebuilding
(ewarn). Maybe with a note (ewarn) that --as-needed folks can use sed on *la
instead.

Additionally, I think we should go EAPI=1 on libX11 and set +xcb by default.

Remi, or anyone else, thoughts?

------- Comment #18 From Geaaru 2009-02-27 06:44:44 0000 -------
Created an attachment (id=183338) [details]
New version of libxcb-1.2

Works for me (on amd64).

------- Comment #19 From Geaaru 2009-02-27 06:45:54 0000 -------
Created an attachment (id=183340) [details]
xcb-proto-1.4

needed for libxcb-1.2

------- Comment #20 From Geaaru 2009-02-27 06:50:22 0000 -------
Created an attachment (id=183341) [details]
Released version 1.6.0 of the xorg server

On xorg-server-1.5.99.303 is been identified a regression that broken compiz
for radeon driver with white screen. This bug is been fixed with 1.6.0.
And now works fine. Seems that there are less memory leak of previous beta
versions.

I think that an ewarn about rebuild of all libraries that use libxcb is correct
but i think that as on beta portage version (2.2*) a way to recompile all
package used by compiz with emerge @compiz is another worderfull thing.

Bye
Ge@@ru

------- Comment #21 From Geaaru 2009-02-27 07:32:15 0000 -------
Created an attachment (id=183343) [details]
Xorg-sever-1.6.0

Sorry, it is needed remove old patches.

Ge@@ru

------- Comment #22 From Rémi Cardona 2009-02-27 08:02:19 0000 -------
(In reply to comment #17)
> Remi, or anyone else, thoughts?

Yeah, I guess people who use USE=xcb had it coming anyway :) In any case, the
sooner we get it done, the better.

+1 from me.

Thanks

------- Comment #23 From aidar 2009-02-27 12:40:13 0000 -------
emerging xorg-server-1.6.0 says : 

...
 -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow 
-I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org
Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((0) *
1000) + 0)" -O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -MT
dispatch.lo -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.lo dispatch.c
In file included from dispatch.c:134:
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No such file
or directory
make[2]: *** [dispatch.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-1.6.0/work/xorg-server-1.6.0/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-1.6.0/work/xorg-server-1.6.0/dix'
make: *** [all-recursive] Error 1
 * 
 * ERROR: x11-base/xorg-server-1.6.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3170:  Called x-modular_src_compile
 *             environment, line 3965:  Called x-modular_src_make
 *             environment, line 4000:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/x11-base/xorg-server-1.6.0/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/x11-base/xorg-server-1.6.0/temp/environment'.

------- Comment #24 From Rémi Cardona 2009-02-27 12:45:48 0000 -------
(In reply to comment #23)
> emerging xorg-server-1.6.0 says : 

@Amir, please don't hijack this bug and open a new one.

@Geaaru, we already have ebuilds in the x11 overlay for all this stuff, please
only post diffs if you have improvements for them.

Thanks

------- Comment #25 From Geaaru 2009-02-27 21:16:05 0000 -------
Created an attachment (id=183410) [details]
libX11-1.2

Now you can found yet new libX11-1.2 library.

About your error:
$# equery belongs panoramiXext.h
[ Searching for file(s) panoramiXext.h in *... ]
x11-proto/xineramaproto-1.1.2 (/usr/include/X11/extensions/panoramiXext.h

What version of the xineramaproto package you have installed?

For some packages i use x11 overlay ebuild directly from git repository. I will
try to create ebuild for all libraries/proto used on my environment.

Good luck!

Bye

------- Comment #26 From Ryan 2009-03-06 23:09:34 0000 -------
Found this bug from the blog post. 

I've ended up with a good mix of ~ and non-~ system. My portage is
sys-apps/portage-2.2_rc23 , 

I think b/c of the preserved libs. It was keeping libxcb-xlib.so.0.0.0 , which
was breaking any type of rebuild.

The rebuild script provided doesn't work. I am having to use revdep-rebuild.
I'll keep this updated with what I find.

------- Comment #27 From Alexander 'E-Razor' Krause 2009-03-10 16:00:32 0000 -------
Hi all.

I was just adding the X11 overlay and did a emerge -uD world .
Then i did a revdep-rebuild after upgrading to x11-libs/libxcb-1.2 .

Well, i got a huge list of broken packages and most i can't emerge most of them
cos of 
libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive

Packages are for example cairo and pango.

Anyone got a hint for me?

------- Comment #28 From Donnie Berkholz 2009-03-10 18:02:35 0000 -------
Did you run xcb-rebuilder.sh?

------- Comment #29 From Alexander 'E-Razor' Krause 2009-03-10 18:41:08 0000 -------
(In reply to comment #28)
> Did you run xcb-rebuilder.sh?
Just did that, and sorry, the message was:
grep: /usr/lib/libxcb-xlib.la: No such file or directory                        
/bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory         
libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive

------- Comment #30 From Ivor Prebeg 2009-03-28 22:46:04 0000 -------
(In reply to comment #29)
> (In reply to comment #28)
> > Did you run xcb-rebuilder.sh?
> Just did that, and sorry, the message was:
> grep: /usr/lib/libxcb-xlib.la: No such file or directory                        
> /bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory         
> libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive
> 

Same here

------- Comment #31 From István Pongrácz 2009-04-03 09:45:58 0000 -------
> 
> Same here
> 

Unfortunately the same here. Now I have a totally broken machine :)

------- Comment #32 From tonich 2009-04-03 10:13:43 0000 -------
http://www.mail-archive.com/xorg@lists.freedesktop.org/msg06012.html

------- Comment #33 From tonich 2009-04-03 10:16:35 0000 -------
PS. find /usr/lib -name "*.la" | xargs egrep libxcb-xlib 2>/dev/null | awk
-F':' '{print $1}' | while read i; do echo cat $i | sed
's/\/usr\/lib\/libxcb-xlib.la//g' > /tmp/qweqwe; mv /tmp/qweqwe $i ; done | sh

------- Comment #34 From Andrew Muhametshin 2009-04-03 12:02:40 0000 -------
1.
I upgraded the libxcb-1.1.90.1 to the libxcb-1.2

2.
Running:
$ find /usr/lib -name "*.la"  -exec \
 sed -e "s:-lxcb-xlib:: ; s:/usr/lib/libxcb-xlib.la::" -i \{\} \;

$ find /usr/kde/3.5/lib -name "*.la" -exec \
 sed -e "s:-lxcb-xlib:: ; s:/usr/lib/libxcb-xlib.la::" -i \{\} \;

$ xcb-rebuilder.sh
...

3.
Some applications are not started now:
======================================
$ playonlinux
PlayOnLinux v3.3.1

Checking python :                               [ Ok ]
Traceback (most recent call last):
  File "/usr/share/games/playonlinux/python/mainwindow.py", line 23, in
<module>
    import wx, wx.html
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 45, in <module>

  File "usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
4, in <module>
ImportError: /usr/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io

$ ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 32, in <module>
    import gtk
  File "//usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in
<module>
    from gtk import _gtk
ImportError: /usr/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io
======================================

------- Comment #35 From Rémi Cardona 2009-04-03 12:13:03 0000 -------
(In reply to comment #29)
> grep: /usr/lib/libxcb-xlib.la: No such file or directory                        
> /bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory         
> libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive

Could you paste the full output when you run xcb-rebuilder.sh ?

(In reply to comment #34)
> 3.
> Some applications are not started now:

Try running revdep-rebuild.

Thanks

------- Comment #36 From Andrew Muhametshin 2009-04-03 12:46:04 0000 -------
> (In reply to comment #34)
> > 3.
> > Some applications are not started now:
> 
> Try running revdep-rebuild.

some programs fails to compile:
==============================
/usr/lib/libxcb-xlib.so: undefined reference to `_xcb_lock_io'
/usr/lib/libxcb-xlib.so: undefined reference to `_xcb_unlock_io'
==============================

------- Comment #37 From Rémi Cardona 2009-04-03 13:45:53 0000 -------
(In reply to comment #36)
> > (In reply to comment #34)
> > > 3.
> > > Some applications are not started now:
> > 
> > Try running revdep-rebuild.
> 
> some programs fails to compile:
> ==============================
> /usr/lib/libxcb-xlib.so: undefined reference to `_xcb_lock_io'
> /usr/lib/libxcb-xlib.so: undefined reference to `_xcb_unlock_io'
> ==============================

Sigh, @preserved-rebuild is killing us here.

Please remove /usr/lib/libxcb-xlib.so first and then run revdep-rebuild. Beware
that might have to run it multiple times and you might have to run some emerges
by hand if you have circular deps on your system.

So far the safe way to bootstrap revdep-rebuild is to do those packages first
(if you do have them) :
 - pango
 - cairo
 - gtk+
 - libgnomeui

I have no idea what order Qt/KDE libs should be rebuilt in.

Cheers

------- Comment #38 From István Pongrácz 2009-04-03 14:40:46 0000 -------
(In reply to comment #37)
> 
>  - pango
>  - cairo

In my system Cairo (x11-libs/cairo-1.8.6-r1) tries to find libxcb-render-util
(-lxcb-render-util).
........
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lxcb-render-util
........
When I removed manually these libs and build cairo without that, I was able to
compile it, but after I got error with pango :) 
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_query_version'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_glyphs_8'
/usr/lib/libcairo.so: undefined reference to
`xcb_render_util_find_standard_format'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_glyphs_32'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_query_formats'
/usr/lib/libcairo.so: undefined reference to
`xcb_render_util_composite_text_free'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_composite_text'
/usr/lib/libcairo.so: undefined reference to
`xcb_render_util_find_visual_format'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_find_format'
/usr/lib/libcairo.so: undefined reference to
`xcb_render_util_composite_text_stream'
/usr/lib/libcairo.so: undefined reference to `xcb_render_util_glyphs_16'

Not so easy :)

István

------- Comment #39 From Rémi Cardona 2009-04-03 14:50:46 0000 -------
New list :

 - xcb-util
 - pango
 - cairo
 - gtk+
 - libgnomeui

------- Comment #40 From István Pongrácz 2009-04-03 14:58:05 0000 -------
(In reply to comment #39)
> New list :
> 
>  - xcb-util
>  - pango
>  - cairo
>  - gtk+
>  - libgnomeui
> 

I really like you, thanks :) Just do it.

------- Comment #41 From István Pongrácz 2009-04-03 15:06:19 0000 -------
(In reply to comment #40)
> (In reply to comment #39)
> > New list :
> > 
> >  - xcb-util

Now I remember. When I was in light-panic, I wiped out all libxcb*.la, and
xcb-util was in the victims. After I forgot to recompile xcb-util.

So, this was my fault, sorry. The original list also good for others, who saved
xcb-util libs.

(...compiling...)

------- Comment #42 From Peter Alfredsen 2009-04-15 16:06:00 0000 -------
*** Bug 266188 has been marked as a duplicate of this bug. ***

------- Comment #43 From Rémi Cardona 2009-08-18 09:16:19 0000 -------
All of those are now unmasked in the 10.0 profile.

I'll write up a proper announcement with a small howto based on the info we
gathered here.

Thanks to all for your feedback, we greatly appreciate it :)

------- Comment #44 From Pascal Vanier 2009-09-16 08:30:58 0000 -------
Thanks guys, this really helped me!

------- Comment #45 From ~S 2009-09-17 08:29:52 0000 -------
@Rémi Cardona 
can you please direct me to the announcement?
I am totally confused here

~S

------- Comment #46 From Tomáš Chvátal 2009-09-17 08:40:38 0000 -------
(In reply to comment #45)
> @Rémi Cardona 
> can you please direct me to the announcement?
> I am totally confused here
> 
> ~S
> 

http://archives.gentoo.org/gentoo-dev/msg_95329568add4ae50f128a0775a7007c1.xml

------- Comment #47 From Rémi Cardona 2009-09-17 10:24:20 0000 -------
That and the ebuild contains a big ewarn message with a link to the upgrade
guide.

Thanks

------- Comment #48 From ~S 2009-09-17 13:30:58 0000 -------
thanks a lot again
i did emerge -uavDN world after a long time and it updated loads of packages
I couldn't see each and every package's build warns
is there any way to tell portage to report all build.warns/messages at the end
of emerge -uavDN world?
one simply can not keep looking at the scrolling text and read the warn
messages when emerge is compiling packages one after other

again, thanks a lot !
used the upgrade guide to fix ~65 packages :)
i suppose revdep will fix the rest

~S

First Last Prev Next    No search results available      Search page      Enter new bug