bug-autoconf
[Top][All Lists]
Advanced

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

Test 349 "Go" failed with gccgo 4.7.1, with latest autoconf from master


From: Stefano Lattarini
Subject: Test 349 "Go" failed with gccgo 4.7.1, with latest autoconf from master
Date: Sat, 27 Oct 2012 12:38:12 +0200

Here are the details of the failure:

#                             -*- compilation -*-
349. go.at:30: testing Go ...
./go.at:30: autoconf --force -W obsolete
./go.at:30: /bin/sh -n configure
stderr:
./go.at:30: autoheader
./go.at:30: ./configure $configure_options -C
--- /dev/null   2012-10-27 08:55:35.239176271 +0200
+++ /devel/bleeding/src/autoconf/tests/testsuite.dir/at-groups/349/stderr       
2012-10-27 12:03:37.000000000 +0200
@@ -0,0 +1,4 @@
+configure: error: in `/devel/bleeding/src/autoconf/tests/testsuite.dir/349':
+configure: error: cannot run Go compiled programs.
+If you meant to cross compile, use `--host'.
+See `config.log' for more details
stdout:
configure: loading site script /usr/local/bleeding/config.site
configure: creating cache config.cache
checking for gccgo... gccgo
checking whether the Go compiler works... yes
checking for Go compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... ./go.at:30: exit code was 1, 
expected 0
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 configure, which was
> generated by GNU Autoconf 2.69.39-bfa5.  Invocation command line was
>
>   $ ./configure -C
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = bigio
> uname -m = i686
> uname -r = 2.6.30-2-686
> uname -s = Linux
> uname -v = #1 SMP Sat Sep 26 01:16:22 UTC 2009
>
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /devel/bleeding/src/autoconf/tests/
> PATH: /devel/bleeding/src/autoconf/tests/
> PATH: /usr/local/bleeding/bin/
> PATH: /home/stefano/bin/linux/
> PATH: /home/stefano/bin/
> PATH: /usr/local/bin/
> PATH: /opt/bin/
> PATH: /usr/lib/jvm/java-6-sun-1.6.0.26/bin/
> PATH: /usr/games/
> PATH: /usr/bin/
> PATH: /usr/sbin/
> PATH: /bin/
> PATH: /sbin/
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1597: loading site script /usr/local/bleeding/config.site
> | # -*- shell -*-
> | # config.site for bleeding-edge software
> |
> | get_version_ () {
> |   (
> |     cd "$srcdir" || exit 1
> |     if (${GIT-'git'} log --oneline -1) >/dev/null 2>&1; then
> |       ${GIT-'git'} describe --tags \
> |         || ${GIT-'git'} log -1 --format='format:%h, %ai'
> |     elif (${HG-hg} log --limit 1) >/dev/null 2>&1; then
> |       # Copied from <http://mercurial.selenic.com/wiki/GitConcepts>
> |       # Should be mostly equivalent to "git describe".
> |       ${HG-'hg'} log -r . --template 
> '{latesttag}-{latesttagdistance}-{node|short}\n'
> |     elif test -d .svn; then
> |       ${SVNVERSION-'svnversion'}
> |     elif test -d CVS; then
> |       ${CVS-'cvs'} log -N ChangeLog 2>/dev/null | sed -n -e '
> |         /^date:/ {
> |           s|^date: *\([^ ]*\).*|\1|p
> |           q
> |         }'
> |     else
> |       : # TODO: Maybe try the ChangeLog?
> |     fi
> |   )
> | }
> |
> | test "$prefix" = NONE && prefix=/usr/local/bleeding
> |
> | test -f "$srcdir"/config.site && . "$srcdir"/config.site
> | test -f ./config.site && . ./config.site
> |
> | #export with_mpfr=$prefix
> | #export with_gmp=$prefix
> | #export with_mpc=$prefix
> |
> | if test x"$avoid_packager_info" != x"yes"; then
> |   with_packager=${with_packager='Bleeding Edge Support'}
> |   if test x"$with_packager_version" = x; then
> |     with_packager_version=`get_version_ || echo "Unknown Build"`
> |   fi
> | fi
> |
> | # vim: ft=sh ts=4 sw=4 et
> configure:1620: creating cache config.cache
> configure:1765: checking for gccgo
> configure:1785: found /usr/bin/gccgo
> configure:1796: result: gccgo
> configure:1926: checking for Go compiler version
> configure:1934: gccgo --version >&5
> gccgo (Debian 4.7.1-7) 4.7.1
> Copyright (C) 2012 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:1945: $? = 0
> configure:1959: checking whether the Go compiler works
> configure:1981: gccgo   conftest.go  >&5
> configure:1985: $? = 0
> configure:2033: result: yes
> configure:2036: checking for Go compiler default output file name
> configure:2038: result: a.out
> configure:2044: checking for suffix of executables
> configure:2051: gccgo -o conftest   conftest.go  >&5
> configure:2055: $? = 0
> configure:2077: result:
> configure:2103: checking whether we are cross compiling
> configure:2111: gccgo -o conftest   conftest.go  >&5
> conftest.go:4:14: error: too many arguments
> configure:2115: $? = 1
> configure:2122: ./conftest
> ./configure: line 2124: ./conftest: No such file or directory
> configure:2126: $? = 127
> configure:2133: error: in 
> `/devel/bleeding/src/autoconf/tests/testsuite.dir/349':
> configure:2135: error: cannot run Go compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_env_GOC_set=
> ac_cv_env_GOC_value=
> ac_cv_env_GOFLAGS_set=
> ac_cv_env_GOFLAGS_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> 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=
> ac_cv_env_target_alias_value=
> ac_cv_prog_ac_ct_GOC=gccgo
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EXEEXT=''
> GOC='gccgo'
> GOFLAGS=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> OBJEXT=''
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_URL=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SHELL='/usr/local/bleeding/bin/bash'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr/local/bleeding'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> /* confdefs.h */
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
>
> configure: exit 1
349. go.at:30: 349. Go (go.at:30): FAILED (go.at:30)

-*-*-

The guilty line in conftest.go seems to be this one:

    f, err := os.Open("conftest.out", os.O_CREATE|os.O_WRONLY, 0777)

I've not investigated further.

Regards,
  Stefano



reply via email to

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