From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 11 06:58:38 2010 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5AF4106564A; Thu, 11 Nov 2010 06:58:38 +0000 (UTC) (envelope-from james.technew@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3A36C8FC08; Thu, 11 Nov 2010 06:58:37 +0000 (UTC) Received: by gya6 with SMTP id 6so1024852gya.13 for ; Wed, 10 Nov 2010 22:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=r8pcT+mT7QgqDyBkI/hARJnu3+nNupij1KpF8wjLyaI=; b=Du1f+suRiY5BooJsmja6tzvVcwlYZWkbX+OqoxxwWhu+po+gKhIbkFT/KaFlfm0QKW RYqhhQkXyqzZUCTQFjiPucP3DkKx9mg1GICbSTTE8A42N+ivsMnhRYkjc5TXQfPv8UMU ysZN2JxN8snEBtcpZg8bhu1uEePge+xlMOnrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=L8bi5A4OdTq3KfWNh2QVx48yGG6VA7nijaR9qDn4qXslhYlaFXci8odhh/O7aflqhG 0FfvImfrn0eI+uMezsVhjRvleCXNfYjzCbufhP0Faid8vr/dZ/qNU4Kf4ZvhCk32L8xq nxhIYiHkTVxcfupum4DWsNL9b2ncubxGZ3s4g= MIME-Version: 1.0 Received: by 10.42.225.3 with SMTP id iq3mr366936icb.333.1289457054298; Wed, 10 Nov 2010 22:30:54 -0800 (PST) Received: by 10.42.166.198 with HTTP; Wed, 10 Nov 2010 22:30:54 -0800 (PST) Date: Thu, 11 Nov 2010 14:30:54 +0800 Message-ID: From: James Chang To: ashish@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports-bugs , freebsd-ports Subject: /usr/ports/x11/libxcb build Faild with Python31-3.1.2_1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 06:58:38 -0000 Dear Sir, Today I try to build libxcb from ports tree with Python31-3.1.2_1(installed from ports tree) but it show me the following ERROR Messages: ================================================================= ===> Vulnerability check disabled, database not found ===> License accepted by the user ===> Extracting for libxcb-1.7 => SHA256 Checksum OK for libxcb-1.7.tar.bz2. ===> Patching for libxcb-1.7 ===> Applying FreeBSD patches for libxcb-1.7 ===> libxcb-1.7 depends on file: /usr/local/lib/libcheck.a - found ===> libxcb-1.7 depends on executable: xsltproc - found ===> libxcb-1.7 depends on file: /usr/local/libdata/pkgconfig/xcb-proto.pc - found ===> libxcb-1.7 depends on package: xcb-proto>=1.6 - found ===> libxcb-1.7 depends on file: /usr/local/libdata/pkgconfig/pthread-stubs.pc - found ===> libxcb-1.7 depends on file: /usr/local/bin/python3.1 - found ===> libxcb-1.7 depends on executable: gmake - found ===> libxcb-1.7 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> libxcb-1.7 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found ===> Configuring for libxcb-1.7 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether /usr/local/bin/python3.1 version >= 2.5... yes checking for /usr/local/bin/python3.1 version... 3.1 checking for /usr/local/bin/python3.1 platform... freebsd8 checking for /usr/local/bin/python3.1 script directory... ${prefix}/lib/python3.1/site-packages checking for /usr/local/bin/python3.1 extension module directory... ${exec_prefix}/lib/python3.1/site-packages checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... yes checking build system type... amd64-portbld-freebsd8.1 checking host system type... amd64-portbld-freebsd8.1 checking for style of include used by gmake... GNU checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /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... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no 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 ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking how to run the C preprocessor... cpp 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 for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.1 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... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for xsltproc... /usr/local/bin/xsltproc checking for XCBPROTO... yes checking for NEEDED... yes checking for XDMCP... yes checking for XdmcpWrap in -lXdmcp... yes checking XCBPROTO_XCBINCLUDEDIR... /usr/local/share/xcb checking XCBPROTO_XCBPYTHONDIR... /usr/local/lib/python3.1/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... yes checking whether cc supports symbol visibility... yes checking whether documentation is built... no checking for poll... yes checking for launchd... no 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-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.7 Configuration XDM support.........: yes Build unit tests....: yes 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 xprint..............: yes xtest...............: yes xv..................: yes xvmc................: yes Used CFLAGS: CPPFLAGS............: CFLAGS..............: -O2 -fno-strict-aliasing -pipe -march=nocona Warning CFLAGS......: -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs Installation: Prefix..............: /usr/local ===> Building for libxcb-1.7 Making all in src gmake[1]: Entering directory `/usr/ports/x11/libxcb/work/libxcb-1.7/src' /usr/local/bin/python3.1 ./c_client.py -p /usr/local/lib/python3.1/site-packages /usr/local/share/xcb/xproto.xml File "./c_client.py", line 1013 except getopt.GetoptError, err: ^ SyntaxError: invalid syntax gmake[1]: *** [xproto.c] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/libxcb/work/libxcb-1.7/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/x11/libxcb. ================================================================= If it MUST HAVE python 2.6.6 installed? If above is true, it means my system should have two version of python at the same time? Best Regards! James Chang