Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38114 - [libxcb] can not build inconsistent use of tabs and spaces in indentation

Attached to Project: Arch Linux
Opened by Daniel YC Lin (dlin) - Thursday, 12 December 2013, 08:25 GMT
Last edited by Jan de Groot (JGC) - Monday, 23 December 2013, 17:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 3.3
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.3/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.3/site-packages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for xsltproc... /usr/bin/xsltproc
checking for XCBPROTO... yes
checking for NEEDED... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking XCBPROTO_XCBINCLUDEDIR... /usr/share/xcb
checking XCBPROTO_XCBPYTHONDIR... /usr/lib/python2.7/site-packages
checking for ANSI C header files... (cached) yes
checking for library containing getaddrinfo... none required
checking for library containing connect... none required
checking for struct sockaddr_un.sun_len... no
checking tsol/label.h usability... no
checking tsol/label.h presence... no
checking for tsol/label.h... no
checking for is_system_labeled... no
checking whether IOV_MAX is declared... yes
checking whether gcc supports symbol visibility... yes
checking for doxygen... yes
checking for dot... /usr/bin/dot
checking whether documentation is built... yes
checking for getaddrinfo... yes
checking for poll... yes
checking for launchd... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating xcb.pc
config.status: creating xcb-composite.pc
config.status: creating xcb-damage.pc
config.status: creating xcb-dpms.pc
config.status: creating xcb-dri2.pc
config.status: creating xcb-glx.pc
config.status: creating xcb-randr.pc
config.status: creating xcb-record.pc
config.status: creating xcb-render.pc
config.status: creating xcb-res.pc
config.status: creating xcb-screensaver.pc
config.status: creating xcb-shape.pc
config.status: creating xcb-shm.pc
config.status: creating xcb-sync.pc
config.status: creating xcb-xevie.pc
config.status: creating xcb-xf86dri.pc
config.status: creating xcb-xfixes.pc
config.status: creating xcb-xinerama.pc
config.status: creating xcb-xinput.pc
config.status: creating xcb-xkb.pc
config.status: creating xcb-xprint.pc
config.status: creating xcb-xselinux.pc
config.status: creating xcb-xtest.pc
config.status: creating xcb-xv.pc
config.status: creating xcb-xvmc.pc
config.status: creating doc/xcb.doxygen
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Package: libxcb 1.9.1

Configuration
XDM support.........: yes
Build unit tests....: no
XCB buffer size.....: 16384

X11 extensions
Composite...........: yes
Damage..............: yes
Dpms................: yes
Dri2................: yes
Glx.................: yes
Randr...............: yes
Record..............: yes
Render..............: yes
Resource............: yes
Screensaver.........: yes
selinux.............: no
Shape...............: yes
Shm.................: yes
Sync................: yes
Xevie...............: yes
Xfixes..............: yes
Xfree86-dri.........: yes
xinerama............: yes
xinput..............: yes
xkb.................: yes
xprint..............: yes
xtest...............: yes
xv..................: yes
xvmc................: yes

Used CFLAGS:
CPPFLAGS............: -D_FORTIFY_SOURCE=2
CFLAGS..............: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
Warning CFLAGS......: -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs

Installation:
Prefix..............: /usr

Making all in src
make[1]: Entering directory '/var/abs/local/libxcb/src/libxcb-1.9.1/src'
/usr/bin/python ./c_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/xproto.xml
/usr/bin/python ./c_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/bigreq.xml
/usr/bin/python ./c_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/xc_misc.xml
/usr/bin/python ./c_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/composite.xml
/usr/bin/python ./c_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/damage.xml
Traceback (most recent call last):
File "./c_client.py", line 2896, in <module>
Traceback (most recent call last):
Traceback (most recent call last):
File "./c_client.py", line 2896, in <module>
File "./c_client.py", line 2896, in <module>
Traceback (most recent call last):
File "./c_client.py", line 2896, in <module>
from xcbgen.state import Module
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen import matcher
File "/usr/lib/python2.7/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "/usr/lib/python2.7/site-packages/xcbgen/xtypes.py", line 82
new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
^
TabError: inconsistent use of tabs and spaces in indentation
from xcbgen.state import Module
Traceback (most recent call last):
File "./c_client.py", line 2896, in <module>
from xcbgen.state import Module
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen import matcher
File "/usr/lib/python2.7/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "/usr/lib/python2.7/site-packages/xcbgen/xtypes.py", line 82
new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
^
TabError: inconsistent use of tabs and spaces in indentation
from xcbgen.state import Module
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen import matcher
File "/usr/lib/python2.7/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "/usr/lib/python2.7/site-packages/xcbgen/xtypes.py", line 82
new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
^
TabError: inconsistent use of tabs and spaces in indentation
from xcbgen.state import Module
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen import matcher
File "/usr/lib/python2.7/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "/usr/lib/python2.7/site-packages/xcbgen/xtypes.py", line 82
new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
^
TabError: inconsistent use of tabs and spaces in indentation
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen import matcher
File "/usr/lib/python2.7/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "/usr/lib/python2.7/site-packages/xcbgen/xtypes.py", line 82
new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
^
TabError: inconsistent use of tabs and spaces in indentation
Makefile:1245: recipe for target 'bigreq.c' failed
make[1]: *** [bigreq.c] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1245: recipe for target 'composite.c' failed
make[1]: *** [composite.c] Error 1
Makefile:1245: recipe for target 'xc_misc.c' failed
make[1]: *** [xc_misc.c] Error 1
Makefile:1245: recipe for target 'damage.c' failed
make[1]: *** [damage.c] Error 1
Makefile:1245: recipe for target 'xproto.c' failed
make[1]: *** [xproto.c] Error 1
make[1]: Leaving directory '/var/abs/local/libxcb/src/libxcb-1.9.1/src'
Makefile:556: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().

Additional info:
* package version(s)
libxcb 1.9.1-2
* config and/or log files etc.


Steps to reproduce:
makepkg
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 23 December 2013, 17:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.10.
Comment by Daniel YC Lin (dlin) - Thursday, 12 December 2013, 09:12 GMT Comment by Jan de Groot (JGC) - Thursday, 12 December 2013, 10:59 GMT
Maybe it's time to downgrade xcb-protos. We downgraded libxcb because of an ABI+API break that upstream still has not resolved. As the lib generates its headers from the protos, we should downgrade the protos also.
Comment by Daniel YC Lin (dlin) - Thursday, 12 December 2013, 23:57 GMT
I build it.
Here is my patch. Please help to notify upstream, too.

Loading...