pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46794: devel/pkg-config fails to build on Mac OS X
>Number: 46794
>Category: pkg
>Synopsis: devel/pkg-config fails to build on Mac OS X
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 12 23:25:00 +0000 2012
>Originator: Ian McWilliam
>Release:
>Organization:
>Environment:
Darwin kristamari-w1 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15
PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
>Description:
The latest update for pkg-config 0.27 fails to build under Darwin Mac OS X
10.7.x
bmake update
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
if /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe "pkg-config-[0-9]*"; then
/usr/pkg/sbin/pkg_info -K /var/db/pkg -qr "pkg-config-[0-9]*" >
/Users/ianm/ports/pkgsrc/devel/pkg-config/work/.DLIST; else /usr/bin/touch
/Users/ianm/ports/pkgsrc/devel/pkg-config/work/.DLIST; fi
===> Deinstalling for pkg-config-0.27
Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg-config-0.25nb1
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Fetching pkg-config-0.27.tar.gz
=> Total size: 1912566 bytes
Requesting http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz
100% |***********************************| 1867 KiB 432.23 KiB/s 00:00 ETA
1912566 bytes retrieved in 00:04 (432.19 KiB/s)
=> Checksum SHA1 OK for pkg-config-0.27.tar.gz
=> Checksum RMD160 OK for pkg-config-0.27.tar.gz
===> Installing dependencies for pkg-config-0.27
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency checkperms>=1.1: found checkperms-1.11
===> Overriding tools for pkg-config-0.27
===> Extracting for pkg-config-0.27
===> Patching for pkg-config-0.27
=> Applying pkgsrc patches for pkg-config-0.27
===> Creating toolchain wrappers for pkg-config-0.27
===> Configuring for pkg-config-0.27
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
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... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin11
checking host system type... i386-apple-darwin11
checking how to print strings... printf
checking for style of include used by make... GNU
checking for i386-apple-darwin11-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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc...
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) 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 "+="... yes
checking how to convert i386-apple-darwin11 file names to i386-apple-darwin11
format... func_convert_file_noop
checking how to convert i386-apple-darwin11 file names to toolchain format...
func_convert_file_noop
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option
to reload object files... -r
checking for i386-apple-darwin11-objdump... no
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for i386-apple-darwin11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386-apple-darwin11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for i386-apple-darwin11-strip... no
checking for strip... strip
checking for i386-apple-darwin11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for i386-apple-darwin11-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for i386-apple-darwin11-dsymutil... no
checking for dsymutil... dsymutil
checking for i386-apple-darwin11-nmedit... no
checking for nmedit... nmedit
checking for i386-apple-darwin11-lipo... no
checking for lipo... lipo
checking for i386-apple-darwin11-otool... no
checking for otool... otool
checking for i386-apple-darwin11-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or
directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin11 dyld
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 i386-apple-darwin11-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 dependency style of gcc... (cached) gcc3
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for unistd.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for default search path for .pc files...
${libdir}/pkgconfig:${datadir}/pkgconfig:/usr/X11/lib/pkgconfig:/usr/lib/pkgconfig
checking for system include path to avoid -I flags... /usr/include
checking for system library path to avoid -L flags... /usr/lib
configure: creating ./config.lt
config.lt: creating libtool
rm: libtoolT: No such file or directory
checking whether to list both direct and indirect dependencies... sh: line 386:
"pass_all": command not found
no
checking for Win32... no
checking if internal glib should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating check/Makefile
config.status: creating check/config.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=== configuring in glib
(/Users/ianm/ports/pkgsrc/devel/pkg-config/work/pkg-config-0.27/glib)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr/pkg' '--with-internal-glib'
'--with-pc-path=${libdir}/pkgconfig:${datadir}/pkgconfig:/usr/X11/lib/pkgconfig:/usr/lib/pkgconfig'
'--build=i386-apple-darwin11' '--host=i386-apple-darwin11'
'--mandir=/usr/pkg/man' 'build_alias=i386-apple-darwin11'
'host_alias=i386-apple-darwin11' 'CC=gcc' 'CFLAGS=-pipe -O2 -I/usr/include'
'LDFLAGS=-L/usr/lib -L/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-no-cpp-precomp -isystem
/usr/include -I/usr/include' --cache-file=/dev/null --srcdir=.
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... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for i386-apple-darwin11-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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... i386-apple-darwin11
checking host system type... i386-apple-darwin11
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... yes
checking for Mac OS X Cocoa support... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
readlink: illegal option -- f
usage: readlink [-n] [file ...]
checking for i386-apple-darwin11-c++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for i386-apple-darwin11-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 dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gawk... (cached) /usr/bin/awk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl...
/Users/ianm/ports/pkgsrc/devel/pkg-config/work/.tools/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... yes
checking whether to cache iconv descriptors... yes
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
./configure: line 8473: ./po/POTFILES.in: No such file or directory
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
configure: error: ./configure failed for glib
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/devel/pkg-config
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/devel/pkg-config
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/devel/pkg-config
>How-To-Repeat:
Try building the lastest devel/pkg-config
>Fix:
Home |
Main Index |
Thread Index |
Old Index