tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libiconv on OS X - builtin issues?



I last built py27-libxslt on 8/30.  Since then the files in py-libxslt
and in libiconv don't seem to have changed.  But now trying to build, I
get an errror.  I tracked this down to it building ok if libiconv is
installed, even though the bl3/builtin logic chooses native.

So there seems to be a leak of the environment into the setup.py
machinery, and also the bl3 of the inclined iconv (with headers in xcode
land) doesn't seem to be working right.

Forcing USE_BUILTIN.iconv=no resolves the build issue, but I suspect
it's going to be broken in the bulk builds, and that this may affect
other packages with setuptools.

Perhaps we should just declare native libiconv never to be good enough
on OS X, unless someone has a better fix?



=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for libxslt-1.1.28.tar.gz
=> Checksum RMD160 OK for libxslt-1.1.28.tar.gz
===> Installing dependencies for py27-libxslt-1.1.28nb2
==========================================================================
The following variables will affect the build process of this package,
py27-libxslt-1.1.28nb2.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27

Based on these variables, the following variables have been set:

        * PYPACKAGE = python27

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/Users/gdt/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency ccache-[0-9]*: found ccache-3.2.2
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency py27-expat-[0-9]*: found py27-expat-2.7.10
=> Full dependency py27-libxml2>=2.6.8: found py27-libxml2-2.9.2
=> Full dependency libxslt>=1.1.28nb2: found libxslt-1.1.28nb5
=> Full dependency python27>=2.7.1nb2: found python27-2.7.10
===> Overriding tools for py27-libxslt-1.1.28nb2
===> Extracting for py27-libxslt-1.1.28nb2
/bin/cp /usr/pkgsrc/textproc/py-libxslt/files/setup.py /usr/pkgsrc/textproc/py-libxslt/work/libxslt-1.1.28/python
===> Patching for py27-libxslt-1.1.28nb2
===> Creating toolchain wrappers for py27-libxslt-1.1.28nb2
===> Building for py27-libxslt-1.1.28nb2
=> Fixing hardcoded paths.
(cd /usr/pkgsrc/textproc/py-libxslt/work/libxslt-1.1.28/python/ && /usr/bin/env PYLIBXSLTVERSION=1.1.28nb2 USETOOLS=no PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=clang CFLAGS=-O2\ -I/usr/pkg/include\ -I/include CPPFLAGS=-I/usr/pkg/include\ -I/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/lib LINKER_RPATH_FLAG=-L PATH=/usr/pkgsrc/textproc/py-libxslt/work/.wrapper/bin:/usr/pkgsrc/textproc/py-libxslt/work/.buildlink/bin:/usr/pkgsrc/textproc/py-libxslt/work/.ccache/bin:/usr/pkgsrc/textproc/py-libxslt/work/.tools/bin:/usr/pkg/bin:/Applications/android/sdk/tools:/Applications/android/sdk/platform-tools:/Users/gdt/JAVA/apache-ant-1.9.3/bin:/Users/gdt/bin:/Users/gdt/bin/x86_64-Darwin:/usr/y0/sbin:/usr/y0/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/X11/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/bin:/opt/X11/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=clang\ -E HOME=/usr/pkgsrc/textproc/py-libxslt/work/.home CPP=clang\ -E LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG= WHOLE_ARCHIVE_FLAG=-Wl,-force-load X11BASE=/opt/X11 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ gdt\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ gdt\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ gdt\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ gdt\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/textproc/py-libxslt/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/textproc/py-libxslt/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/textproc/py-libxslt/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/textproc/py-libxslt/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes /usr/pkg/bin/python2.7  setup.py  build )
failed to find headers for libiconv: update includes_dir
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/py-libxslt
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/py-libxslt



Attachment: pgpyt7MqTSJ7Z.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index