Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 22:07:35 +0200
From:      Vallo Kallaste <kalts@estpak.ee>
To:        gnome@FreeBSD.org
Subject:   pkgconfig build fails in -current
Message-ID:  <20030312200735.GA4900@kevad.internal>

next in thread | raw e-mail | index | archive | help
Hi

I've tried to build my workstation bundle metaport, to test
correctness of (freezed) ports tree and compatibility with recent
-current. The build environment is absolutely clean, /usr/local and
/usr/X11R6 removed and then recreated by mtree. WRKDIRPREFIX,
DISTDIR and PACKAGES are customised but located on local disk. FYI:
I have encountered the same bug '/ltconfig: Can't open /ltconfig'
more, it was probably popt or rpm port which failed some days ago.

----------------------------------------
bundle.log (make output)

[output deleted]
===>   Returning to build of pkgconfig-0.15.0
===>   pkgconfig-0.15.0 depends on executable: libtool - found
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-portbld-freebsd5.0
checking build system type... i386-portbld-freebsd5.0
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC 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.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd5.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for Win32... no
checking for working alloca.h... no
checking for alloca... yes
checking for setresuid... yes
checking for dirent.h... yes
checking for unistd.h... yes
checking for sys/wait.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in glib-1.2.8
running /bin/sh ./configure  --disable-threads --prefix=/usr/local i386-portbld-freebsd5.0 --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... ../
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i386-portbld-freebsd5.0
checking build system type... i386-portbld-freebsd5.0
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache .././config.cache
/ltconfig: Can't open /ltconfig: No such file or directory
configure: error: libtool configure failed
configure: error: ./configure failed for glib-1.2.8
===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and attach
      the
      "/usr/local/src/portbuild/usr/ports/devel/pkgconfig/work/pkgconfig-0.15.0/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. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/pkgconfig.
*** Error code 1

Stop in /usr/ports/x11-fonts/fontconfig.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.
*** Error code 1

Stop in /usr/ports/misc/bundle-workstation.

----------------------------------------
config.log

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

configure:732: checking for a BSD compatible install
configure:785: checking whether build environment is sane
configure:842: checking whether gmake sets ${MAKE}
configure:888: checking for working aclocal-1.4
configure:901: checking for working autoconf
configure:914: checking for working automake-1.4
configure:927: checking for working autoheader
configure:940: checking for working makeinfo
configure:954: checking whether to enable maintainer-specific portions of Makefiles
configure:993: checking for Cygwin environment
configure:1009: cc -c -O -pipe -march=pentiumpro  conftest.c 1>&5
configure: In function `main':
configure:1005: `__CYGWIN32__' undeclared (first use in this function)
configure:1005: (Each undeclared identifier is reported only once
configure:1005: for each function it appears in.)
configure: failed program was:
#line 998 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1026: checking for mingw32 environment
configure:1038: cc -c -O -pipe -march=pentiumpro  conftest.c 1>&5
configure: In function `main':
configure:1034: `__MINGW32__' undeclared (first use in this function)
configure:1034: (Each undeclared identifier is reported only once
configure:1034: for each function it appears in.)
configure: failed program was:
#line 1031 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1055: checking how to run the C preprocessor
configure:1076: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1210: checking host system type
configure:1231: checking build system type
configure:1251: checking for gcc
configure:1364: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works
configure:1380: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:1406: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler
configure:1411: checking whether we are using GNU C
configure:1420: cc -E conftest.c
configure:1439: checking whether cc accepts -g
configure:1482: checking for ld used by GCC
configure:1550: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.13.2 [FreeBSD] 2002-11-27
configure:1567: checking for /usr/bin/ld option to reload object files
configure:1579: checking for BSD-compatible nm
configure:1617: checking whether ln -s works
configure:1638: checking how to recognise dependant libraries
configure:1821: checking for object suffix
configure:1827: cc -c -O -pipe -march=pentiumpro  conftest.c 1>&5
configure:1847: checking for executable suffix
configure:1857: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:1888: checking command to parse /usr/bin/nm -B output
configure:1968: cc -c -O -pipe -march=pentiumpro  conftest.c 1>&5
configure:1971: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2022: cc -o conftest -O -pipe -march=pentiumpro   conftest.c conftstm.o 1>&5
configure:2071: checking for dlfcn.h
configure:2081: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2249: checking for ranlib
configure:2316: checking for strip
configure:2559: checking for objdir
configure:2586: checking for cc option to produce PIC
configure:2738: checking if cc PIC flag -fPIC works
configure:2752: cc -c -O -pipe -march=pentiumpro -fPIC -DPIC  conftest.c 1>&5
configure:2804: checking if cc static flag -static works
configure:2819: cc -o conftest -O -pipe -march=pentiumpro   -static conftest.c  1>&5
configure:2846: checking if cc supports -c -o file.o
configure:2865: cc -c -O -pipe -march=pentiumpro -o out/conftest2.o  conftest.c 1>&5
configure:2894: checking if cc supports -c -o file.lo
configure:2912: cc -c -O -pipe -march=pentiumpro -c -o conftest.lo  conftest.c 1>&5
configure:2962: checking if cc supports -fno-rtti -fno-exceptions
configure:2975: cc -c -O -pipe -march=pentiumpro -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
configure:3002: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:3686: checking how to hardcode library paths into programs
configure:3714: checking whether stripping libraries is possible
configure:3728: checking dynamic linker characteristics
configure:4125: checking if libtool supports shared libraries
configure:4129: checking whether to build shared libraries
configure:4152: checking whether to build static libraries
configure:4688: checking whether -lc should be explicitly linked in
configure:4695: cc -c -O -pipe -march=pentiumpro  conftest.c 1>&5
configure:4708: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep  -lc  >/dev/null 2>&1
configure:5293: checking for gcc
configure:5406: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works
configure:5422: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:5448: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler
configure:5453: checking whether we are using GNU C
configure:5481: checking whether cc accepts -g
configure:5514: checking for Win32
configure:5580: checking for working alloca.h
configure:5592: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:5586:20: alloca.h: No such file or directory
configure: failed program was:
#line 5585 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:5613: checking for alloca
configure:5646: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:5815: checking for setresuid
configure:5843: cc -o conftest -O -pipe -march=pentiumpro   conftest.c  1>&5
configure:5871: checking for dirent.h
configure:5881: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5871: checking for unistd.h
configure:5881: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5871: checking for sys/wait.h
configure:5881: cc -E  conftest.c >/dev/null 2>conftest.out

----------------------------------------
pkgdb listing

bash-2.05b.004
expat-1.95.6_1
gettext-0.11.5_1
gmake-3.80
imake-4.3.0
libiconv-1.8_2
libtool-1.3.4_4
perl-5.6.1_11
perl-5.8.0_4
-- 

Vallo Kallaste

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312200735.GA4900>