Skip to contentSkip to conversation

New: libxcb-1.12b built Error

Buildroot bugzilla at busybox.net 1 participant 12 messages Feb 12, 2017 – Feb 14, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=9651

Bug ID: 9651
Summary: libxcb-1.12b built Error
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: kalman.staudinger at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

[7m>>> libxcb 1.12 Building[27m PATH="/root/buildroot/output/host/bin:/root/buildroot/output/host/sbin:/root/buildroot/output/host/usr/bin:/root/buildroot/output/host/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games"
/usr/bin/make -j3 -C /root/buildroot/output/build/libxcb-1.12/
make[1]: Entering directory `/root/buildroot/output/build/libxcb-1.12'
Making all in src
make[2]: Entering directory `/root/buildroot/output/build/libxcb-1.12/src'

  GEN      xproto.c
  GEN      bigreq.c
  GEN      xc_misc.c

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

make[2]: Leaving directory /root/buildroot/output/build/libxcb-1.12/src' make[1]: Leaving directory /root/buildroot/output/build/libxcb-1.12'

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 9651] libxcb-1.12b built Error

https://bugs.busybox.net/show_bug.cgi?id=9651

Skamlinux <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

               Host|                            |i686
           Severity|normal                      |critical
             Target|                            |i386
              Build|                            |x86
   Target Milestone|---                         |2017.05
Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 9651] libxcb-1.12b built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

--- Comment #1 from Skamlinux <[email protected]> --- root# cd buildroot
root# make

Quoted 1 line
Quoted 1 line
Quoted 1 line

host-libxcb 1.12 Building

PATH="/root/buildroot/output/host/bin:/root/buildroot/output/host/sbin:/root/buildroot/output/host/usr/bin:/root/buildroot/output/host/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games" PKG_CONFIG="/root/buildroot/output/host/usr/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/root/buildroot/output/host/usr/lib/pkgconfig:/root/buildroot/output/host/usr/share/pkgconfig"
/usr/bin/make -j3 -C /root/buildroot/output/build/host-libxcb-1.12/
make[1]: Entering directory `/root/buildroot/output/build/host-libxcb-1.12'
Making all in src
make[2]: Entering directory `/root/buildroot/output/build/host-libxcb-1.12/src'
make[2]: warning: -jN forced in submake: disabling jobserver mode.

  GEN      xproto.c
  GEN      bigreq.c
  GEN      xc_misc.c

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

Traceback (most recent call last):
File "./c_client.py", line 3294, in <module>
from xcbgen.state import Module
File
"/root/buildroot/output/host/usr/lib/python2.7/site-packages/xcbgen/state.py", line 5, in <module>
from xml.etree.cElementTree import parse
File
"/root/buildroot/output/host/usr/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError:
/root/buildroot/output/host/usr/lib/python2.7/lib-dynload/_elementtree.so:
undefined symbol: PyUnicodeUCS2_FromFormat
make[2]: *** [bigreq.c] Error 1
make[2]: *** Waiting for unfinished jobs....

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

Traceback (most recent call last):
File "./c_client.py", line 3294, in <module>
from xcbgen.state import Module
File
"/root/buildroot/output/host/usr/lib/python2.7/site-packages/xcbgen/state.py", line 5, in <module>
from xml.etree.cElementTree import parse
File
"/root/buildroot/output/host/usr/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError:
/root/buildroot/output/host/usr/lib/python2.7/lib-dynload/_elementtree.so:
undefined symbol: PyUnicodeUCS2_FromFormat
make[2]: *** [xc_misc.c] Error 1

Failed to load the xcbgen Python package!
Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path.
Refer to the README file in xcb/proto for more info.

Traceback (most recent call last):
File "./c_client.py", line 3294, in <module>
from xcbgen.state import Module
File
"/root/buildroot/output/host/usr/lib/python2.7/site-packages/xcbgen/state.py", line 5, in <module>
from xml.etree.cElementTree import parse
File
"/root/buildroot/output/host/usr/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError:
/root/buildroot/output/host/usr/lib/python2.7/lib-dynload/_elementtree.so:
undefined symbol: PyUnicodeUCS2_FromFormat
make[2]: *** [xproto.c] Error 1
make[2]: Leaving directory `/root/buildroot/output/build/host-libxcb-1.12/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/buildroot/output/build/host-libxcb-1.12'
make: *** [/root/buildroot/output/build/host-libxcb-1.12/.stamp_built] Error 2 root#

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

--- Comment #4 from Thomas Petazzoni <[email protected]> --- I have successfully built the following defconfig (based on yours):

BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_HOSTNAME="skamilinux" BR2_TARGET_GENERIC_ISSUE="Welcome to SkamiLinux !" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ENABLE_LOCALE_WHITELIST="C en_US hu hu_HU" BR2_PACKAGE_GETTEXT=y BR2_PACKAGE_LIBERATION=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB=y BR2_PACKAGE_LIBDRM=y BR2_PACKAGE_LIBDRM_INTEL=y BR2_PACKAGE_LIBDRM_RADEON=y BR2_PACKAGE_LIBDRM_AMDGPU=y BR2_PACKAGE_LIBDRM_NOUVEAU=y BR2_PACKAGE_LIBDRM_VMWGFX=y BR2_PACKAGE_MTDEV=y
BR2_PACKAGE_LIBEVDEV=y BR2_PACKAGE_LIBFFI=y
BR2_PACKAGE_NCURSES=y BR2_PACKAGE_NCURSES_WCHAR=y BR2_PACKAGE_PCRE=y
BR2_PACKAGE_PCRE_UCP=y BR2_PACKAGE_GOOGLEFONTDIRECTORY=y BR2_PACKAGE_UTIL_LINUX_LIBMOUNT=y BR2_TARGET_ROOTFS_CPIO=y BR2_TARGET_ROOTFS_CPIO_GZIP=y BR2_TARGET_ROOTFS_SQUASHFS=y
# BR2_TARGET_ROOTFS_TAR is not set

So I believe your error is most likely due to a partial build.

Can you double check that you still get this error after doing "make clean all" ? Thanks.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |bernd.kuhls at t-online.de
|.org |

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

--- Comment #5 from Skamlinux <[email protected]> --- Created attachment 6896
--> https://bugs.busybox.net/attachment.cgi?id=6896&action=edit
xproto_xproto-7.0.31 error

Thank you for your job.

I made defconfig based on your config.
Made make clean all and than make.

The new attached file xproto_xproto-7.0.31 error.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#9 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

--- Comment #6 from Thomas Petazzoni <[email protected]> --- So there is in fact no build issue with libxcb, correct? If that's the case, then it would be better to close this bug, and re-open a new one so that things are clear.

Are you starting the build with just a plain "make", or using "make -j<somenumber>" ?

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#10 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

--- Comment #7 from Skamlinux <[email protected]> --- Yes, close this and a new open.

This config was copied from here so there is no cpu selection. I use only simply make.

What should i do and how ?
Select the resolved option?

Sorry for lama questions....
:-(

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#11 lore raw

[Buildroot] [Bug 9651] libxcb-1.12 built Error

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9651

Skamlinux <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #8 from Skamlinux <[email protected]> --- One time i have deleted this directory and building will continue and finally libxcb will be the problem again.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.