ports/177843: [xcb] port xcb-proto port broken on arm

hiren panchasara hiren at FreeBSD.org
Sat Apr 13 22:50:00 UTC 2013


>Number:         177843
>Category:       ports
>Synopsis:       [xcb] port xcb-proto port broken on arm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 13 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     hiren panchasara
>Release:        current
>Organization:
>Environment:
root at raspberry-pi:~ # uname -a
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248805M: Wed Apr 10 19:40:42 PDT 2013     root at flymockour-l7.corp.yahoo.com:/usr/home/hirenp/git/crochet-freebsd/work/obj/arm.armv6/usr/home/hirenp/head/sys/RPI-B  arm
root at raspberry-pi:~ # 
>Description:
root at raspberry-pi:/usr/ports/x11/xcb-proto # make -DBATCH install
===>   xcb-proto-1.7.1 depends on executable: xmllint - found
===>   xcb-proto-1.7.1 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for xcb-proto-1.7.1
===>   FreeBSD 10 autotools fix applied to /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/aclocal.m4
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 make sets $(MAKE)... yes
checking for xmllint... /usr/local/bin/xmllint
checking whether /usr/local/bin/python2.7 version >= 2.5... configure: error: too old
===>  Script "configure" failed unexpectedly.
Please report the problem to ashish at FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/x11/xcb-proto.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by XCB Proto configure 1.7.1, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=armv6-portbld-freebsd10.0

## --------- ##
## Platform. ##
## --------- ##

hostname = raspberry-pi
uname -m = arm
uname -r = 10.0-CURRENT
uname -s = FreeBSD
uname -v = FreeBSD 10.0-CURRENT #0 r248805M: Wed Apr 10 19:40:42 PDT 2013     root at flymockour-l7.corp.yahoo.com:/usr/home/hirenp/git/crochet-freebsd/work/obj/arm.armv6/usr/home/hirenp/head/sys/RPI-B 

/usr/bin/uname -p = armv6
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1744: checking for a BSD-compatible install
configure:1812: result: /usr/bin/install -c -o root -g wheel
configure:1823: checking whether build environment is sane
configure:1873: result: yes
configure:2014: checking for a thread-safe mkdir -p
configure:2053: result: ./install-sh -c -d
configure:2066: checking for gawk
configure:2096: result: no
configure:2066: checking for mawk
configure:2096: result: no
configure:2066: checking for nawk
configure:2082: found /usr/bin/nawk
configure:2093: result: nawk
configure:2104: checking whether make sets $(MAKE)
configure:2126: result: yes
configure:2209: checking for xmllint
configure:2227: found /usr/local/bin/xmllint
configure:2240: result: /usr/local/bin/xmllint
configure:2269: checking whether /usr/local/bin/python2.7 version >= 2.5
configure:2280: /usr/local/bin/python2.7 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/local/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/local/lib/python2.7/site.py", line 278, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/local/lib/python2.7/site.py", line 253, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/local/lib/python2.7/site.py", line 243, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/local/lib/python2.7/sysconfig.py", line 521, in get_config_var
    return get_config_vars().get(name)
  File "/usr/local/lib/python2.7/sysconfig.py", line 420, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/local/lib/python2.7/sysconfig.py", line 288, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/local/lib/python2.7/config/Makefile (No such file or directory)
configure:2283: $? = 1
configure:2288: error: too old

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_PYTHON_set=set
ac_cv_env_PYTHON_value=/usr/local/bin/python2.7
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=armv6-portbld-freebsd10.0
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_path_XMLLINT=/usr/local/bin/xmllint
ac_cv_prog_AWK=nawk
ac_cv_prog_make_make_set=yes
lt_cv_sys_max_cmd_len=262144

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/missing --run aclocal-1.11'
AMTAR='$${TAR-tar}'
AUTOCONF='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/missing --run automake-1.11'
AWK='nawk'
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
HAVE_XMLLINT_FALSE='#'
HAVE_XMLLINT_TRUE=''
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
PACKAGE='xcb-proto'
PACKAGE_BUGREPORT='xcb at lists.freedesktop.org'
PACKAGE_NAME='XCB Proto'
PACKAGE_STRING='XCB Proto 1.7.1'
PACKAGE_TARNAME='xcb-proto'
PACKAGE_URL=''
PACKAGE_VERSION='1.7.1'
PATH_SEPARATOR=':'
PYTHON='/usr/local/bin/python2.7'
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION='python2.7'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.7.1'
XMLLINT='/usr/local/bin/xmllint'
am__isrc=''
am__leading_dot='.'
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias='armv6-portbld-freebsd10.0'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info'
install_sh='${SHELL} /usr/ports/x11/xcb-proto/work/xcb-proto-1.7.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
xcbincludedir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "XCB Proto"
#define PACKAGE_TARNAME "xcb-proto"
#define PACKAGE_VERSION "1.7.1"
#define PACKAGE_STRING "XCB Proto 1.7.1"
#define PACKAGE_BUGREPORT "xcb at lists.freedesktop.org"
#define PACKAGE_URL ""
#define PACKAGE "xcb-proto"
#define VERSION "1.7.1"

configure: exit 1


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list