pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45583: databases/mysql-workbench can't create C executable
The following reply was made to PR pkg/45583; it has been noted by GNATS.
From: Rares Aioanei <bsdlisten%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/45583: databases/mysql-workbench can't create C executable
Date: Mon, 07 Nov 2011 14:03:33 +0200
On 11/07/2011 01:55 PM, diro%nixsyspaus.org@localhost wrote:
>> Number: 45583
>> Category: pkg
>> Synopsis: databases/mysql-workbench can't create C executable
>> Confidential: no
>> Severity: critical
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Mon Nov 07 11:55:02 +0000 2011
>> Originator: diro%nixsyspaus.org@localhost
>> Release: NetBSD 5.1.0_PATCH
>> Organization:
>> Environment:
> System: NetBSD themobe.lan 5.1.0_PATCH NetBSD 5.1.0_PATCH (THEMOBE2) #1: Tue
> Oct
> 25 20:58:49 UTC 2011
> root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE2
> i386
> Architecture: i386
> Machine: i386
>> Description:
> ===> Configuring for mysql-workbench-5.2.33nb2
> => Fixing hardcoded python binary
> => Modifying GNU configure scripts to avoid --recheck
> => Replacing config-guess with pkgsrc versions
> ...skipping...onfig-sub with pkgsrc versions
> => Replacing install-sh with pkgsrc version
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... /usr/bin/awk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking build system type... i386--netbsdelf
> checking host system type... i386--netbsdelf
> checking for i386--netbsdelf-gcc... cc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> *** Error code 77
>
> Stop.
> bmake: stopped in /usr/pkgsrc/databases/mysql-workbench
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/databases/mysql-workbench
>
> # 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 mysql-workbench configure 5.2.33, which was
> generated by GNU Autoconf 2.61. Invocation command line was
>
> $ ./configure --with-system-ctemplate --with-libiconv-prefix=/usr/pkg
> --with-libintl-prefix=/usr/pkg --prefix=/usr/pkg --build=i386--netbsdelf
> --host=i386--netbsdelf --mandir=/usr/pkg/man
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = themobe.lan
> uname -m = i386
> uname -r = 5.1.0_PATCH
> uname -s = NetBSD
> uname -v = NetBSD 5.1.0_PATCH (THEMOBE2) #1: Tue Oct 25 20:58:49 UTC 2011
> root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE2
>
> /usr/bin/uname -p = i386
> /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: /usr/pkgsrc/databases/mysql-workbench/work/.wrapper/bin
> PATH: /usr/pkgsrc/databases/mysql-workbench/work/.buildlink/bin
> PATH: /usr/pkgsrc/databases/mysql-workbench/work/.gcc/bin
> PATH: /usr/pkgsrc/databases/mysql-workbench/work/.tools/bin
> PATH: /usr/pkg/bin
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /bin
> PATH: /usr/bin
> PATH: /usr/X11R7/bin
> PATH: /usr/pkg/sbin
> PATH: /usr/pkg/bin
> PATH: /usr/local/sbin
> PATH: /usr/local/bin
> PATH: /root/bin
> PATH: /usr/pkg/bin
> PATH: /usr/pkg/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2106: checking for a BSD-compatible install
> configure:2162: result: /usr/bin/install -c -o root -g wheel
> configure:2173: checking whether build environment is sane
> configure:2216: result: yes
> configure:2244: checking for a thread-safe mkdir -p
> configure:2283: result: ./install-sh -c -d
> configure:2296: checking for gawk
> configure:2323: result: /usr/bin/awk
> configure:2334: checking whether make sets $(MAKE)
> configure:2355: result: yes
> configure:2538: checking how to create a ustar tar archive
> configure:2551: tar --version
> tar: unknown option -- version
> usage: tar [-]{crtux}[-befhjklmopqvwzHOPSXZ014578] [archive] [blocksize]
> [-C directory] [-T file] [-s replstr] [file ...]
> configure:2554: $? = 1
> configure:2551: gnutar --version
> gnutar: not found
> configure:2554: $? = 127
> configure:2551: gtar --version
> tar (GNU tar) 1.26
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
> configure:2554: $? = 0
> configure:2594: tardir=conftest.dir&& eval gtar --format=ustar -chf -
> "$tardir">conftest.tar
> configure:2597: $? = 0
> configure:2601: gtar -xf -<conftest.tar
> configure:2604: $? = 0
> configure:2617: result: gnutar
> configure:2714: checking build system type
> configure:2732: result: i386--netbsdelf
> configure:2754: checking host system type
> configure:2769: result: i386--netbsdelf
> configure:2799: checking for i386--netbsdelf-gcc
> configure:2826: result: cc
> configure:3104: checking for C compiler version
> configure:3111: cc --version>&5
> 2.95.3
> configure:3114: $? = 0
> configure:3121: cc -v>&5
> Reading specs from
> /usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3/specs
> gcc version 2.95.3 20010315 (release) (NetBSD nb3)
> configure:3124: $? = 0
> configure:3131: cc -V>&5
> gcc: invalid version number format
> configure:3134: $? = 1
> configure:3157: checking for C compiler default output file name
> configure:3184: cc -O2 -I/usr/pkg/include -I/usr/pkg/lib/libzip/include
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql -Wextra -Wall -Wno-unused -Wsign-compare
> -DTIXML_USE_STL=1 -I/usr/pkg/include -I/usr/pkg/lib/libzip/include
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql
> -L/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -Wl,-R/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -L/usr/pkg/gcc-2.95.3/lib -Wl,-R/usr/pkg/gcc-2.95.3/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/mysql
> -Wl,-R/usr/pkg/lib/mysql conftest.c>&5
> cc1: Invalid option `-Wextra'
> configure:3187: $? = 1
> configure:3225: result:
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "mysql-workbench"
> | #define PACKAGE_TARNAME "mysql-workbench"
> | #define PACKAGE_VERSION "5.2.33"
> | #define PACKAGE_STRING "mysql-workbench 5.2.33"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "mysql-workbench"
> | #define VERSION "5.2.33"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:3231: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i386--netbsdelf
> ac_cv_env_CAIRO_CFLAGS_set=
> ac_cv_env_CAIRO_CFLAGS_value=
> ac_cv_env_CAIRO_LIBS_set=
> ac_cv_env_CAIRO_LIBS_value=
> ac_cv_env_CCC_set=
> ac_cv_env_CCC_value=
> ac_cv_env_CC_set=set
> ac_cv_env_CC_value=cc
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value='-O2 -I/usr/pkg/include -I/usr/pkg/lib/libzip/include
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql'
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value='-I/usr/pkg/include -I/usr/pkg/lib/libzip/include
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql'
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_CXXCPP_set=
> ac_cv_env_CXXCPP_value=
> ac_cv_env_CXXFLAGS_set=set
> ac_cv_env_CXXFLAGS_value='-O2 -I/usr/pkg/include
> -I/usr/pkg/lib/libzip/include -I/usr/include -I/usr/pkg/include/freetype2
> -I/usr/pkg/include/ncurses -I/usr/pkg/include/mysql'
> ac_cv_env_CXX_set=set
> ac_cv_env_CXX_value=c++
> ac_cv_env_F77_set=set
> ac_cv_env_F77_value=f77
> ac_cv_env_FFLAGS_set=set
> ac_cv_env_FFLAGS_value=-O
> ac_cv_env_GLIB_CFLAGS_set=
> ac_cv_env_GLIB_CFLAGS_value=
> ac_cv_env_GLIB_LIBS_set=
> ac_cv_env_GLIB_LIBS_value=
> ac_cv_env_GNOME_CFLAGS_set=
> ac_cv_env_GNOME_CFLAGS_value=
> ac_cv_env_GNOME_KEYRING_CFLAGS_set=
> ac_cv_env_GNOME_KEYRING_CFLAGS_value=
> ac_cv_env_GNOME_KEYRING_LIBS_set=
> ac_cv_env_GNOME_KEYRING_LIBS_value=
> ac_cv_env_GNOME_LIBS_set=
> ac_cv_env_GNOME_LIBS_value=
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value='-L/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -Wl,-R/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -L/usr/pkg/gcc-2.95.3/lib -Wl,-R/usr/pkg/gcc-2.95.3/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/mysql
> -Wl,-R/usr/pkg/lib/mysql'
> ac_cv_env_LIBGNOME_CFLAGS_set=
> ac_cv_env_LIBGNOME_CFLAGS_value=
> ac_cv_env_LIBGNOME_LIBS_set=
> ac_cv_env_LIBGNOME_LIBS_value=
> ac_cv_env_LIBS_set=set
> ac_cv_env_LIBS_value=
> ac_cv_env_LIBUUID_CFLAGS_set=
> ac_cv_env_LIBUUID_CFLAGS_value=
> ac_cv_env_LIBUUID_LIBS_set=
> ac_cv_env_LIBUUID_LIBS_value=
> ac_cv_env_LUA_CFLAGS_set=
> ac_cv_env_LUA_CFLAGS_value=
> ac_cv_env_LUA_LIBS_set=
> ac_cv_env_LUA_LIBS_value=
> ac_cv_env_PKG_CONFIG_set=set
> ac_cv_env_PKG_CONFIG_value=/usr/pkgsrc/databases/mysql-workbench/work/.tools/bin/pkg-config
> ac_cv_env_SIGC_CFLAGS_set=
> ac_cv_env_SIGC_CFLAGS_value=
> ac_cv_env_SIGC_LIBS_set=
> ac_cv_env_SIGC_LIBS_value=
> ac_cv_env_SQLITE3_CFLAGS_set=
> ac_cv_env_SQLITE3_CFLAGS_value=
> ac_cv_env_SQLITE3_LIBS_set=
> ac_cv_env_SQLITE3_LIBS_value=
> ac_cv_env_ZIP_CFLAGS_set=
> ac_cv_env_ZIP_CFLAGS_value=
> ac_cv_env_ZIP_LIBS_set=
> ac_cv_env_ZIP_LIBS_value=
> ac_cv_env_build_alias_set=set
> ac_cv_env_build_alias_value=i386--netbsdelf
> ac_cv_env_host_alias_set=set
> ac_cv_env_host_alias_value=i386--netbsdelf
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_host=i386--netbsdelf
> ac_cv_path_CAT=/bin/cat
> ac_cv_path_ECHO=echo
> ac_cv_path_EGREP=/usr/bin/egrep
> ac_cv_path_ENV=/usr/bin/env
> ac_cv_path_FALSE=false
> ac_cv_path_GREP=/usr/bin/grep
> ac_cv_path_TEST=test
> ac_cv_path_TRUE=true
> ac_cv_prog_AWK=/usr/bin/awk
> ac_cv_prog_CC=cc
> ac_cv_prog_make_make_set=yes
> am_cv_prog_tar_ustar=gnutar
> lt_cv_sys_max_cmd_len=262144
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL}
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/missing
> --run aclocal-1.10'
> AMDEPBACKSLASH=''
> AMDEP_FALSE=''
> AMDEP_TRUE=''
> AMTAR='${SHELL}
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/missing
> --run tar'
> AR=''
> AUTOCONF='${SHELL}
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/missing
> --run autoconf'
> AUTOHEADER='${SHELL}
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/missing
> --run autoheader'
> AUTOMAKE='${SHELL}
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/missing
> --run automake-1.10'
> AWK='/usr/bin/awk'
> BUILD_CTEMPLATE_FALSE=''
> BUILD_CTEMPLATE_TRUE=''
> BUILD_GRT_HEADERS_FALSE=''
> BUILD_GRT_HEADERS_TRUE='#'
> BUILD_SE_FALSE=''
> BUILD_SE_TRUE=''
> BUNDLE_UTILITIES_FALSE=''
> BUNDLE_UTILITIES_TRUE=''
> CAIRO_CFLAGS=''
> CAIRO_LIBS=''
> CATALOGS=''
> CATOBJEXT=''
> CC='cc'
> CCDEPMODE=''
> CFLAGS='-O2 -I/usr/pkg/include -I/usr/pkg/lib/libzip/include -I/usr/include
> -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql -Wextra -Wall -Wno-unused -Wsign-compare
> -DTIXML_USE_STL=1'
> CPP=''
> CPPFLAGS='-I/usr/pkg/include -I/usr/pkg/lib/libzip/include -I/usr/include
> -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql'
> CTEMPLATE_CFLAGS=''
> CTEMPLATE_LIBS=''
> CXX='c++'
> CXXCPP=''
> CXXDEPMODE=''
> CXXFLAGS='-O2 -I/usr/pkg/include -I/usr/pkg/lib/libzip/include
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ncurses
> -I/usr/pkg/include/mysql -Wextra -Wall -Wno-unused -Wno-deprecated
> -DTIXML_USE_STL=1'
> CYGPATH_W='echo'
> DATADIRNAME=''
> DEFS=''
> DEPDIR=''
> DLEXT=''
> DLMAKE=''
> DSYMUTIL=''
> ECHO='echo'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP='/usr/bin/egrep'
> EXEEXT=''
> F77='f77'
> FFLAGS='-O'
> GETTEXT_PACKAGE=''
> GLIB_CFLAGS=''
> GLIB_LIBS=''
> GMOFILES=''
> GMSGFMT=''
> GNOME_CFLAGS=''
> GNOME_KEYRING_CFLAGS=''
> GNOME_KEYRING_LIBS=''
> GNOME_LIBS=''
> GREP='/usr/bin/grep'
> GRT_CFLAGS=''
> GRT_LIBS=''
> INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 644'
> INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 755'
> INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 755'
> INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
> INSTOBJEXT=''
> INTLLIBS=''
> LDFLAGS='-L/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -Wl,-R/usr/pkg/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3
> -L/usr/pkg/gcc-2.95.3/lib -Wl,-R/usr/pkg/gcc-2.95.3/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/mysql
> -Wl,-R/usr/pkg/lib/mysql '
> LIBGNOME_CFLAGS=''
> LIBGNOME_LIBS=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL='libtool '
> LIBUUID_CFLAGS=''
> LIBUUID_LIBS=''
> LN_S=''
> LTLIBOBJS=''
> LUA_CFLAGS=''
> LUA_LIBS=''
> MAKEINFO='/usr/pkgsrc/databases/mysql-workbench/work/.tools/bin/makeinfo'
> MKINSTALLDIRS=''
> MSGFMT=''
> MSGFMT_OPTS=''
> MYSQL_INCLUDE=''
> MYSQL_LIBS=''
> MYSQL_UTILITIES_PROGRAMS=''
> NMEDIT=''
> OBJEXT=''
> PACKAGE='mysql-workbench'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME='mysql-workbench'
> PACKAGE_STRING='mysql-workbench 5.2.33'
> PACKAGE_TARNAME='mysql-workbench'
> PACKAGE_VERSION='5.2.33'
> PATH_SEPARATOR=':'
> PCRE_CFLAGS=''
> PCRE_LIBS=''
> PKG_CONFIG='/usr/pkgsrc/databases/mysql-workbench/work/.tools/bin/pkg-config'
> POFILES=''
> POSUB=''
> PO_IN_DATADIR_FALSE=''
> PO_IN_DATADIR_TRUE=''
> PYTHON26=''
> PYTHON27=''
> PYTHON_CFLAGS=''
> PYTHON_LIBS=''
> RANLIB=''
> SED='/usr/bin/sed'
> SET_MAKE=''
> SHELL='/bin/sh'
> SIGC_CFLAGS=''
> SIGC_LIBS=''
> SQLITE3_CFLAGS=''
> SQLITE3_LIBS=''
> STRIP=''
> USE_NLS=''
> USE_READLINE_FALSE=''
> USE_READLINE_TRUE=''
> VERSION='5.2.33'
> XGETTEXT=''
> ZIP_CFLAGS=''
> ZIP_LIBS=''
> ac_ct_CC=''
> ac_ct_CXX=''
> ac_ct_F77=''
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__fastdepCXX_FALSE=''
> am__fastdepCXX_TRUE=''
> am__include=''
> am__isrc=''
> am__leading_dot='.'
> am__quote=''
> am__tar='gtar --format=ustar -chf - "$$tardir"'
> am__untar='gtar -xf -'
> bindir='${exec_prefix}/bin'
> build='i386--netbsdelf'
> build_alias='i386--netbsdelf'
> build_cpu='i386'
> build_os='netbsdelf'
> build_vendor=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host='i386--netbsdelf'
> host_alias='i386--netbsdelf'
> host_cpu='i386'
> host_os='netbsdelf'
> host_vendor=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> install_sh='$(SHELL)
> /usr/pkgsrc/databases/mysql-workbench/work/mysql-workbench-gpl-5.2.33-src/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='/usr/pkg/man'
> mkdir_p='$(top_builddir)/./install-sh -c -d'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr/pkg'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_NAME "mysql-workbench"
> #define PACKAGE_TARNAME "mysql-workbench"
> #define PACKAGE_VERSION "5.2.33"
> #define PACKAGE_STRING "mysql-workbench 5.2.33"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE "mysql-workbench"
> #define VERSION "5.2.33"
>
> configure: exit 77
>
>> How-To-Repeat:
> cd pkgsrc/databases/mysql-workbench; bmake;
>> Fix:
> Not sure, since c is added to USE_LANGUAGES.
>
>
Make sure you have the right date/time set and that you have write
permissions on relevant directories.
--
Rares Aioanei
Home |
Main Index |
Thread Index |
Old Index