You are not logged in.
It's really odd because I can manually run the configure fine but both packer and yaourt fail with gcc cannot create exetuables. For testing I also compiled gedit from git using a helper and it worked fine.
The config.log is below
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by vlc configure 2.1.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc --disable-rpath --enable-faad --enable-nls --enable-lirc --enable-ncurses --enable-realrtsp --enable-aa --enable-vcdx --enable-upnp --enable-opus --enable-sftp LUAC=/usr/bin/luac LUA_LIBS=-llua -lm RCC=/usr/bin/rcc-qt4
## --------- ##
## Platform. ##
## --------- ##
hostname = swagbox
uname -m = x86_64
uname -r = 3.15.0-1-mainline
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon May 12 20:32:10 BST 2014
/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /opt/android-sdk/build-tools/19.0.3/
PATH: /opt/android-sdk/platform-tools
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /home/will/Scripts
## ----------- ##
## Core tests. ##
## ----------- ##
configure:4299: checking build system type
configure:4313: result: x86_64-unknown-linux-gnu
configure:4333: checking host system type
configure:4346: result: x86_64-unknown-linux-gnu
configure:4386: checking for a BSD-compatible install
configure:4454: result: /usr/bin/install -c
configure:4465: checking whether build environment is sane
configure:4520: result: yes
configure:4671: checking for a thread-safe mkdir -p
configure:4710: result: /usr/bin/mkdir -p
configure:4717: checking for gawk
configure:4733: found /usr/bin/gawk
configure:4744: result: gawk
configure:4755: checking whether make sets $(MAKE)
configure:4777: result: yes
configure:4806: checking whether make supports nested variables
configure:4823: result: yes
configure:4912: checking whether UID '1000' is supported by ustar format
configure:4915: result: yes
configure:4922: checking whether GID '1000' is supported by ustar format
configure:4925: result: yes
configure:4933: checking how to create a ustar tar archive
configure:4944: tar --version
tar (GNU tar) 1.27.1
Copyright (C) 2013 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:4947: $? = 0
configure:4987: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:4990: $? = 0
configure:4994: tar -xf - <conftest.tar
configure:4997: $? = 0
configure:4999: cat conftest.dir/file
GrepMe
configure:5002: $? = 0
configure:5015: result: gnutar
configure:5079: checking whether make supports nested variables
configure:5096: result: yes
configure:5112: checking whether to enable maintainer-specific portions of Makefiles
configure:5121: result: yes
configure:5152: checking for style of include used by make
configure:5180: result: GNU
configure:5251: checking for gcc
configure:5267: found /usr/bin/gcc
configure:5278: result: gcc
configure:5507: checking for C compiler version
configure:5516: gcc --version >&5
gcc (GCC) 4.9.0 20140507 (prerelease)
Copyright (C) 2014 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:5527: $? = 0
configure:5516: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-4.9-20140507/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.9.0 20140507 (prerelease) (GCC)
configure:5527: $? = 0
configure:5516: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5527: $? = 1
configure:5516: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:5527: $? = 1
configure:5547: checking whether the C compiler works
configure:5569: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4-I/usr/include/samba-4.0 -D_FORTIFY_SOURCE=2-I/usr/include/samba-4.0 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
cc1: error: invalid --param value '4-I/usr/include/samba-4.0'
configure:5573: $? = 1
configure:5611: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vlc"
| #define PACKAGE_TARNAME "vlc"
| #define PACKAGE_VERSION "2.1.4"
| #define PACKAGE_STRING "vlc 2.1.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vlc"
| #define VERSION "2.1.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5616: error: in `/tmp/packerbuild-1000/vlc-fluidsynth/vlc-fluidsynth/src/vlc-2.1.4':
configure:5618: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
~Ommited because its huge and mostly empty~
configure: exit 77My first instinct was that gcc is not in the path or something but it has output. Also
> cc1: error: invalid --param value '4-I/usr/include/samba-4.0'
suggests i'm missing a library or something but samba is installed which includes this.
Any ideas?
Offline
The problem is that there is not a space between the two parameters. It's a problem with how the PKGBUILD is adding that include parameter. Report it to the maintainer.
Last edited by Scimmia (2014-05-14 17:42:00)
Offline
You sir are my hero
. That would explain why running configure manually worked as well. Will report asap.
Offline