Skip site navigation (1)Skip section navigation (2)
Date:      10 Sep 2002 12:33:05 +0200
From:      Eric Jacoboni <jaco@scrogneugneu.org>
To:        freebsd-ports@freebsd.org
Subject:   [bison] port broken, how to diagnose my problem?
Message-ID:  <87bs76m8wu.fsf@titine.scrogneugneu.org>

next in thread | raw e-mail | index | archive | help
Since i have upgrade from previous release to 4.6.2, my port system
is deadly broken. As i'm unable to build some critical ports, such as
bison, i cannot install most of them.

My /etc/make.conf is nothing special:
XFREE86_VERSION=4
HAVE_MOTIF=YES

I've nuked my /usr/ports tree, then re-cvsup'ed it.

Here is the symptom:

shadok# cd /usr/ports/devel/bison
shadok# make clean
===>  Cleaning for libiconv-1.8_1
===>  Cleaning for libtool-1.3.4_4
===>  Cleaning for bison-1.35_1
shadok# make
===>  Extracting for bison-1.35_1
>> Checksum OK for bison-1.35.tar.bz2.
===>   bison-1.35_1 depends on shared library: iconv.3 - found
===>  Patching for bison-1.35_1
===>  Applying FreeBSD patches for bison-1.35_1
===>  Configuring for bison-1.35_1
./configure[1151]: eval: line 2: CFLAGS: not found
./configure[1151]: eval: line 3: CPPFLAGS: not found
./configure[1151]: eval: line 4: CPP: not found
(...)
./configure[1154]: eval: line 6: build_alias: not found
./configure[1154]: eval: line 7: host_alias: not found
./configure[1154]: eval: line 8: target_alias_value: not found
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... \
configure: error: ls -t appears to
 fail.  Make sure there is not a broken
alias in your environment
configure: error: newly created file is older than distributed files!
Check your system clock
===>  Script "configure" failed unexpectedly.
      Please report the problem to ports@FreeBSD.org [maintainer] and attach
      the "/usr/local/ports/devel/bison/work/bison-1.35/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/local/ports/devel/bison.

# ls /var/db/pkg
Mesa-3.4.2_2                            nedit-5.3
XFree86-4.1.0_7                         open-motif-2.1.30_3
XFree86-libraries-4.2.0_1               pkg_tarup-1.2_3
autoconf213-2.13.000227_2               pkgdb.db
cvsup-16.1e                             png-1.2.4
freetype2-2.0.9                         portupgrade-20020902
gmake-3.79.1_3                          qt-3.0.5_3
imake-4.2.0_1                           ruby-1.6.7.2002.07.15
jpeg-6b_1                               ruby-bdb1-0.1.7
lcms-1.08                               ruby-shim-ruby18-1.7.2.2002.07.31
libiconv-1.8_1                          sed_inplace-2002.06.28
libmng-1.0.3                            sudo-1.6.6
libtool-1.3.4_4                         wrapper-1.0_1
m4-1.4_1
shadok#

Here is my 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 GNU Bison configure 1.35, which was
generated by GNU Autoconf 2.53a.  Invocation command line was

$ ./configure --with-included-gettext --prefix=/usr/local \
--target=i386-unknown-freebsd4.6.2

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

hostname = shadok.univ-tlse2.fr
uname -m = i386
uname -r = 4.6.2-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 4.6.2-RELEASE #0: Thu Aug 29 11:18:18 CEST 2002\
     root@shadok.univ-tlse2.fr:/usr/obj/usr/src/sys/SHADOK

/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:1267: checking for a BSD-compatible install
configure:1321: result: /usr/bin/install -c -o root -g wheel
configure:1332: checking whether build environment is sane
configure:1356: error: ls -t appears to fail.  Make sure there is not a broken
alias in your environment
configure:1369: error: newly created file is older than distributed files!
Check your system clock

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

ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/local/include
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/usr/local/lib
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-unknown-freebsd4.6.2

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

#define PACKAGE_NAME "GNU Bison"
#define PACKAGE_TARNAME "bison"
#define PACKAGE_VERSION "1.35"
#define PACKAGE_STRING "GNU Bison 1.35"
#define PACKAGE_BUGREPORT "bug-bison@gnu.org"

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

The same thing arise if i try to build manually... Plus some lines
saying that 'test -f' doesn't work.

My clock seems ok:
shadok# date
Mar 10 sep 2002 12:22:46 CEST

ls -t works:
shadok# ls -t
work            pkg-plist       distinfo        pkg-comment
files           Makefile        pkg-descr

and i have no aliases...

This same problem arise with other ports so i suspect it's related to
my whole system.

Some clue, please?
-- 
Éric Jacoboni, né il y a 1335096872 secondes

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




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