Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 08:45:07 -0500
From:      Attos <attos.janus@gmail.com>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Portupgrade fails after buildworld
Message-ID:  <5297d6fd0603300545w5556fa09lb0b073a2a7da2dd6@mail.gmail.com>
In-Reply-To: <20060315182504.GA85248@xor.obsecurity.org>
References:  <5297d6fd0603150533r43dda747k6039ef2a7060175@mail.gmail.com> <20060315182504.GA85248@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D/usr --without-gnutls --without-libidn
--prefix=3D/usr/local --build=3Di386-portbld-freebsd6.0

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

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

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

/bin/arch              =3D unknown
/usr/bin/arch -k       =3D unknown
/usr/convex/getsysinfo =3D unknown
hostinfo               =3D unknown
/bin/machine           =3D unknown
/usr/bin/oslevel       =3D unknown
/bin/universe          =3D 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: $? =3D 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: $? =3D 0
configure:2673: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:2676: $? =3D 1
configure:2699: checking for C compiler default output file name
configure:2702: cc -O2 -fno-strict-aliasing -pipe  =20
-rpath=3D/usr/lib:/usr/local/lib conftest.c  >&5
configure:2705: $? =3D 0
configure:2751: result: a.out
configure:2756: checking whether the C compiler works
configure:2762: ./a.out
configure:2765: $? =3D 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=3D'-O2 -fno-strict-aliasing -pipe'
ac_cv_env_F77_value=3D
ac_cv_env_CXXCPP_set=3D
ac_cv_env_LDFLAGS_set=3Dset
ac_cv_exeext=3D
ac_cv_prog_ac_ct_AR=3Dar
ac_cv_env_CFLAGS_set=3Dset
ac_cv_env_FFLAGS_set=3D
lt_cv_sys_max_cmd_len=3D262144
ac_cv_env_CPP_value=3D
ac_cv_env_CPPFLAGS_set=3D
ac_cv_env_CXX_set=3Dset
ac_cv_path_SED=3D/usr/bin/sed
ac_cv_env_host_alias_set=3D
ac_cv_env_build_alias_set=3Dset
ac_cv_env_CXXCPP_value=3D
ac_cv_env_LDFLAGS_value=3D' -rpath=3D/usr/lib:/usr/local/lib'
ac_cv_env_target_alias_set=3D
ac_cv_host_alias=3Di386-portbld-freebsd6.0
ac_cv_env_CFLAGS_value=3D'-O2 -fno-strict-aliasing -pipe '
ac_cv_env_CC_set=3Dset
ac_cv_prog_make_make_set=3Dyes
ac_cv_env_FFLAGS_value=3D
ac_cv_build_alias=3Di386-portbld-freebsd6.0
ac_cv_env_CPPFLAGS_value=3D
ac_cv_env_CXXFLAGS_set=3Dset
ac_cv_env_CXX_value=3Dc++
ac_cv_host=3Di386-portbld-freebsd6.0
ac_cv_env_F77_set=3D
ac_cv_env_host_alias_value=3D
ac_cv_build=3Di386-portbld-freebsd6.0
ac_cv_prog_AWK=3Dnawk
ac_cv_env_build_alias_value=3Di386-portbld-freebsd6.0
ac_cv_prog_ac_ct_CC=3Dcc
ac_cv_env_target_alias_value=3D
ac_cv_env_CC_value=3Dcc
ac_cv_env_CPP_set=3D

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

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

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

#define OS "i386-portbld-freebsd6.0"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list =3D>
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@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



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