Portupgrade fails after buildworld

Attos attos.janus at gmail.com
Thu Mar 30 13:52:16 UTC 2006


Hi again.
I refresh my ports collection and some of the ports fail to upgrade
with portupgrade. Most of them fail in the config phase, with
something similar to:

-----------------------------------------
configure:2772: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
-----------------------------------------

This is the output of curl's config log:

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

It was created by curl configure -, which was
generated by GNU Autoconf 2.59.  Invocation command line was

 $ ./configure --with-ssl=/usr --without-gnutls --without-libidn
--prefix=/usr/local --build=i386-portbld-freebsd6.0

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

hostname = example.no-ip.org
uname -m = i386
uname -r = 6.0-RELEASE-p4
uname -s = FreeBSD
uname -v = FreeBSD 6.0-RELEASE-p4 #0: Tue Feb  7 21:31:17 EST 2006    
root at example.no-ip.org:/usr/obj/usr/src/sys/GENERIC

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
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: /usr/X11R6/bin
PATH: /root/bin


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

configure:1592: checking whether to enable maintainer-specific
portions of Makefiles
configure:1601: result: no
configure:1619: checking for sed
configure:1638: found /usr/bin/sed
configure:1651: result: /usr/bin/sed
configure:1707: checking for ar
configure:1724: found /usr/bin/ar
configure:1735: result: ar
configure:1793: checking for a BSD-compatible install
configure:1848: result: /usr/bin/install -c -o root -g wheel
configure:1859: checking whether build environment is sane
configure:1902: result: yes
configure:1967: checking for gawk
configure:1996: result: no
configure:1967: checking for mawk
configure:1996: result: no
configure:1967: checking for nawk
configure:1983: found /usr/bin/nawk
configure:1993: result: nawk
configure:2003: checking whether make sets $(MAKE)
configure:2023: result: yes
configure:2191: checking curl version
configure:2193: result: 7.15.3
configure:2225: checking build system type
configure:2243: result: i386-portbld-freebsd6.0
configure:2251: checking host system type
configure:2265: result: i386-portbld-freebsd6.0
configure:2291: checking for style of include used by make
configure:2319: result: GNU
configure:2390: checking for gcc
configure:2416: result: cc
configure:2660: checking for C compiler version
configure:2663: cc --version </dev/null >&5
cc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2666: $? = 0
configure:2668: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518
configure:2671: $? = 0
configure:2673: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:2676: $? = 1
configure:2699: checking for C compiler default output file name
configure:2702: cc -O2 -fno-strict-aliasing -pipe   
-rpath=/usr/lib:/usr/local/lib conftest.c  >&5
configure:2705: $? = 0
configure:2751: result: a.out
configure:2756: checking whether the C compiler works
configure:2762: ./a.out
configure:2765: $? = 140
configure:2772: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

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

ac_cv_env_CXXFLAGS_value='-O2 -fno-strict-aliasing -pipe'
ac_cv_env_F77_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_LDFLAGS_set=set
ac_cv_exeext=
ac_cv_prog_ac_ct_AR=ar
ac_cv_env_CFLAGS_set=set
ac_cv_env_FFLAGS_set=
lt_cv_sys_max_cmd_len=262144
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CXX_set=set
ac_cv_path_SED=/usr/bin/sed
ac_cv_env_host_alias_set=
ac_cv_env_build_alias_set=set
ac_cv_env_CXXCPP_value=
ac_cv_env_LDFLAGS_value=' -rpath=/usr/lib:/usr/local/lib'
ac_cv_env_target_alias_set=
ac_cv_host_alias=i386-portbld-freebsd6.0
ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe '
ac_cv_env_CC_set=set
ac_cv_prog_make_make_set=yes
ac_cv_env_FFLAGS_value=
ac_cv_build_alias=i386-portbld-freebsd6.0
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXX_value=c++
ac_cv_host=i386-portbld-freebsd6.0
ac_cv_env_F77_set=
ac_cv_env_host_alias_value=
ac_cv_build=i386-portbld-freebsd6.0
ac_cv_prog_AWK=nawk
ac_cv_env_build_alias_value=i386-portbld-freebsd6.0
ac_cv_prog_ac_ct_CC=cc
ac_cv_env_target_alias_value=
ac_cv_env_CC_value=cc
ac_cv_env_CPP_set=

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

ACLOCAL='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing" --run
aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing" --run tar'
AR='ar'
AS=''
AUTOCONF='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing"
--run autoconf'
AUTOHEADER='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing"
--run autoheader'
AUTOMAKE='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing"
--run automake-1.9'
AWK='nawk'
CABUNDLE_FALSE=''
CABUNDLE_TRUE=''
CC='cc'
CCDEPMODE=''
CFLAGS='-O2 -fno-strict-aliasing -pipe '
CPP=''
CPPFLAGS=''
CROSSCOMPILING_FALSE=''
CROSSCOMPILING_TRUE=''
CURL_CA_BUNDLE=''
CURL_DISABLE_COOKIES=''
CURL_DISABLE_CRYPTO_AUTH=''
CURL_DISABLE_DICT=''
CURL_DISABLE_FILE=''
CURL_DISABLE_FTP=''
CURL_DISABLE_HTTP=''
CURL_DISABLE_LDAP=''
CURL_DISABLE_TELNET=''
CURL_DISABLE_TFTP=''
CURL_DISABLE_VERBOSE_STRINGS=''
CXX='c++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -fno-strict-aliasing -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
HAVE_ARES=''
HAVE_LIBZ=''
HAVE_LIBZ_FALSE=''
HAVE_LIBZ_TRUE=''
IDN_ENABLED=''
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='${SHELL} $(install_sh) -c -s'
IPV6_ENABLED=''
KRB4_ENABLED=''
LDFLAGS=' -rpath=/usr/lib:/usr/local/lib'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} "/usr/ports/ftp/curl/work/curl-7.15.3/missing"
--run makeinfo'
MANOPT=''
MIMPURE_FALSE=''
MIMPURE_TRUE=''
NO_UNDEFINED_FALSE=''
NO_UNDEFINED_TRUE=''
NROFF=''
OBJDUMP=''
OBJEXT=''
PACKAGE='curl'
PACKAGE_BUGREPORT='a suitable curl mailing list => http://curl.haxx.se/mail/'
PACKAGE_NAME='curl'
PACKAGE_STRING='curl -'
PACKAGE_TARNAME='curl'
PACKAGE_VERSION='-'
PATH_SEPARATOR=':'
PERL=''
PKGADD_NAME='cURL - a client that groks URLs'
PKGADD_PKG='HAXXcurl'
PKGADD_VENDOR='curl.haxx.se'
PKGCONFIG=''
RANDOM_FILE=''
RANLIB=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_GNUTLS=''
USE_MANUAL_FALSE=''
USE_MANUAL_TRUE=''
USE_SSLEAY=''
USE_WINDOWS_SSPI=''
VERSION='7.15.3'
VERSIONNUM='070f03'
ac_ct_AR='ar'
ac_ct_AS=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd6.0'
build_alias='i386-portbld-freebsd6.0'
build_cpu='i386'
build_os='freebsd6.0'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd6.0'
host_alias=''
host_cpu='i386'
host_os='freebsd6.0'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/ports/ftp/curl/work/curl-7.15.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

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

#define OS "i386-portbld-freebsd6.0"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list =>
http://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_VERSION "-"
#define VERSION "7.15.3"

configure: exit 1
-----------------------------------------

On 3/15/06, Kris Kennaway <kris at obsecurity.org> wrote:
> On Wed, Mar 15, 2006 at 08:33:00AM -0500, Attos wrote:
> > Hi,
> > I'm sure this has been discussed before but I haven't find the source.
> > I recently upgraded a machine from 5.4 to 6.0. Everything went OK
> > until I cvsup'ed the ports collection and ran portupgrade. Some of the
> > ports failed. I recall that this is a problem related to the ports
> > collection and the kernel being out of sync.
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Not likely, FYI.
>
> Kris
>
>
>


--
Attos Janus


More information about the freebsd-ports mailing list