bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake-1.7.3


From: H.Merijn Brand
Subject: Re: Automake-1.7.3
Date: Thu, 13 Mar 2003 09:04:13 +0100

On Thu 13 Mar 2003 00:40, Alexandre Duret-Lutz <address@hidden> wrote:
> >>> "H" == H Merijn Brand <address@hidden> writes:
> 
> [...]
> 
>  H> AIX 4.3.3.0
> 
>  H> FAIL: pr300-prog.test
> 
> Thanks for the report.  Can you send the output of 
> 
>   env VERBOSE=x TESTS=pr300-prog.test make -e check

i2:/pro/3gl/GNU/automake-1.7.3 102 > env VERBOSE=x TESTS=pr300-prog.test make -e
 check
Making check in .
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3'
Making check in m4
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3/m4'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/m4'
Making check in lib
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3/lib'
Making check in Automake
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/lib/Automake'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/lib/Automake'
Making check in am
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/lib/am'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/lib/am'
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/lib'
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/lib'
Making check in tests
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests'
make  defs
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests'
make[2]: `defs' is up to date.
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests'
make  check-TESTS
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests'
pr300-prog: running gcc --version
gcc (GCC) 3.3 20030303 (prerelease)
Copyright (C) 2002 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.

=== Running test ./pr300-prog.test
+ pwd
/pro/3gl/GNU/automake-1.7.3/tests/testSubDir
+ set -e
+ cat
+ 1>> configure.in 0< /tmp/sh19804.3
+ cat
+ 1> Makefile.am 0< /tmp/sh19804.5
+ cat
+ 1> a.c 0< /tmp/sh19804.7
+ /pro/bin/perl /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/../../aclocal -I /p
ro/3gl/GNU/automake-1.7.3/tests/testSubDir/../../m4 --acdir=/pro/3gl/GNU/automak
e-1.7.3/tests/../m4
+ /bin/sh /pro/3gl/GNU/automake-1.7.3/lib/missing --run autoconf
+ /pro/bin/perl /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/../../automake --li
bdir=/pro/3gl/GNU/automake-1.7.3/tests/../lib --foreign -Werror -Wall --copy --a
dd-missing
+ pwd
+ ./configure --prefix /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst
configure: loading site script /pro/3gl/GNU/Policy.sh
OSTYPE: aix, CC: gcc, CFLAGS: , LDFLAGS:
OSTYPE: aix, CC: gcc, CFLAGS: -O4  -I/pro/local/include, LDFLAGS:  -s -L/pro/loc
al/lib
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make test-all
if gcc -DPACKAGE_NAME=\"pr300-prog\" -DPACKAGE_TARNAME=\"pr300-prog\" -DPACKAGE_
VERSION=\"1.0\" -DPACKAGE_STRING=\"pr300-prog\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -D
PACKAGE=\"pr300-prog\" -DVERSION=\"1.0\"  -I. -I.     -O4  -I/pro/local/include
-MT a.o -MD -MP -MF ".deps/a.Tpo" \
  -c -o a.o `test -f 'a.c' || echo './'`a.c; \
then mv ".deps/a.Tpo" ".deps/a.Po"; \
else rm -f ".deps/a.Tpo"; exit 1; \
fi
mkdir -p -- subdir
gcc  -O4  -I/pro/local/include  -s -L/pro/local/lib -o subdir/wish  a.o
gcc  -O4  -I/pro/local/include  -s -L/pro/local/lib -o subdir/want  a.o
test -f subdir/wish
test -f subdir/want
+ make test-install
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
/bin/sh ./mkinstalldirs /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin
mkdir -p -- /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin
  ./install-sh -c subdir/wish /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/
bin/wish
/bin/sh ./mkinstalldirs /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin
  /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/install-sh -c subdir/want /pro/3g
l/GNU/automake-1.7.3/tests/testSubDir/inst/bin/subdir/want
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
test -f inst/bin/wish
test -f inst/bin/subdir/want
+ make test-uninstall
 rm -f /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin/wish
 rm -f /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin/subdir/want
test ! -f inst/bin/wish
test ! -f inst/bin/subdir/want
+ make test-install-strip
make  INSTALL_PROGRAM="/bin/sh /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst
all-sh -c -s" \
  INSTALL_STRIP_FLAG=-s \
  `test -z '' || \
    echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
make[1]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
make[2]: Entering directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
/bin/sh ./mkinstalldirs /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin
  /bin/sh /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/install-sh -c -s subdir/w
ish /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin/wish
strip: /pro/3gl/GNU/automake-1.7.3/tests/testSubDir/inst/bin/#inst.26282# -- 065
4-420 The file was already stripped as specified.
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests/testSubDir'
make: *** [install-strip] Error 2
FAIL: pr300-prog.test
=====================================
1 of 1 tests failed
Please report to address@hidden
=====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/automake-1.7.3/tests'
make: *** [check-recursive] Error 1
Exit 2
i2:/pro/3gl/GNU/automake-1.7.3 103 >


Yes, that is bleading edge gcc, and yes, it's very recent perl (not an
out of the box copy, but with some development patches)

Here's my $CONFIG_SITE

i2:/pro/3gl/GNU/automake-1.7.3 103 > cat $CONFIG_SITE
# $CONFIG_SITE -> /pro/3gl/GNU/policy.sh

echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"
if [ $OSTYPE = hpux -a ${CC:-x} = x ]; then
    CC=cc
#   CFLAGS="-Ae -fast +Onolimit"
    LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS"
    CFLAGS="-Ae +O2 +Onolimit $CFLAGS"
    if [ $HOST = d3 ]; then
        CFLAGS=$CFLAGS" +DAportable"
        fi
elif [ $OSTYPE = aix -a ${CC:-x} = x ]; then
    CC=cc
    CFLAGS="-O2 -qmaxmem=204800"
elif [ $OSTYPE = osf1 ]; then
    CC=cc
    CFLAGS="-O2 -std"
elif [ ${CC:-x} = gcc -o ${CC:-x} = gcc32 -o ${CC:-x} = gcc64 ]; then
    CFLAGS="-O4 $CFLAGS"
else
    #CC=cc
    CFLAGS=-O2
    fi

if [ $OSTYPE = hpux -a ${CC:-x} = gcc64 ]; then
    PATH="/usr/local/pa20_64:$PATH"
    CC=gcc
    CFLAGS=$CFLAGS" -mpa-risc-2-0"
    LDFLAGS="-s -L/usr/lib/pa20_64 "$LDFLAGS
elif [ $OSTYPE = hpux -a ${CC:-x} = gcc ]; then
    if [ `uname -r` = "B.10.20" ]; then
        CFLAGS=$CFLAGS" -mpa-risc-1-1"
    else
        CFLAGS=$CFLAGS" -mpa-risc-2-0"
        fi
    fi

case "$CFLAGS:$CC" in
    *DA2.0w*|*DD64*|*:gcc64) ;;
    *)  CFLAGS=$CFLAGS" -I/pro/local/include"
        LDFLAGS=$LDFLAGS" -s -L/pro/local/lib"
    esac

if [ "${USE_NCURSES:-}" = "YES" ]; then
    CFLAGS=`echo "$CFLAGS -I." | sed -e 's,-I,-I/pro/local/include/ncurses -I,' 
-e 's, -I.$,,'`
    fi

if [ -d /usr/include/X11R6 ]; then
    CFLAGS=$CFLAGS" -I/usr/include/X11R6"
    fi
if [ -d /usr/lib/X11R6 ]; then
    LDFLAGS=$LDFLAGS" -L/usr/lib/X11R6"
    fi
echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"

#In $CONFIG_SITE, you can do things like
#
#    test x$CPPFLAGS = x && CPPFLAGS='-I/bla/bla/include'
#    test x$LDFALGS = x && LDFLAGS='-L/bla/bla/lib'
#
#But even better, you can do things conditionally on whether or not
#you've set --prefix to something other than /usr/local:
#
#    if test x$prefix != xNONE -a x$prefix != x/usr/local; then
#        test -d $prefix/include && CPPFLAGS="$CPPFLAGS
#        -I$prefix/include" test -d $prefix/lib && LDFLAGS="$LDFLAGS
#        -L$prefix/lib"
#        fi
i2:/pro/3gl/GNU/automake-1.7.3 104 >

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: address@hidden
http://archives.develooper.com/address@hidden/   address@hidden
send smoke reports to: address@hidden, QA: http://qa.perl.org






reply via email to

[Prev in Thread] Current Thread [Next in Thread]