You are not logged in.

#1 2016-05-21 18:16:58

Alaanor
Member
Registered: 2016-01-07
Posts: 51

C compiler cannot create executables : icu53 package

Hi,

I was installing unreal-engine, and yaourt ask me for install the dependency icu35. But the installation of this wasn't successful.

Here is the 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.68.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man

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

hostname = alaanor
uname -m = x86_64
uname -r = 4.5.2-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu Apr 21 18:21:27 CEST 2016

/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/lib/hardening-wrapper/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/lib/jvm/default/bin
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /home/max/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2561: checking for ICU version numbers
configure:2594: result: release 53.1, library 53.1, unicode version 6.3
configure:2633: checking build system type
configure:2647: result: x86_64-unknown-linux-gnu
configure:2667: checking host system type
configure:2680: result: x86_64-unknown-linux-gnu
configure:2723: checking whether to build debug libraries
configure:2735: result: no
configure:2740: checking whether to build release libraries
configure:2752: result: yes
configure:2815: checking for clang
configure:2831: found /usr/lib/hardening-wrapper/bin/clang
configure:2842: result: clang
configure:2873: checking for C compiler version
configure:2882: clang --version >&5
clang version 3.5.2 (tags/RELEASE_352/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: error: unknown argument: '-fstack-check'
configure:2893: $? = 1
configure:2882: clang -v >&5
clang: error: unknown argument: '-fstack-check'
clang version 3.5.2 (tags/RELEASE_352/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2982: error: in `/tmp/yaourt-tmp-max/aur-icu53/src/icu/source':
configure:2984: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_host=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC=clang

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
ARFLAGS=''
CC='clang'
CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
COMPILE_LINK_ENVVAR=''
CPP=''
CPPFLAGS='-D_FORTIFY_SOURCE=2'
CXX=''
CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
DATA_PACKAGING_MODE=''
DEFS=''
DOXYGEN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_DEBUG='0'
ENABLE_RELEASE='1'
ENABLE_RPATH=''
ENABLE_SHARED=''
ENABLE_STATIC=''
EXEEXT=''
EXTRAS_TRUE=''
GENCCODE_ASSEMBLY=''
GREP=''
HAVE_MMAP=''
ICUDATA_CHAR=''
ICUIO_TRUE=''
ICULIBSUFFIX=''
ICULIBSUFFIXCNAME=''
ICU_ECHO_C=''
ICU_ECHO_N='-n'
ICU_ECHO_T=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LAYOUT_TRUE=''
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro'
LIBCFLAGS=''
LIBCXXFLAGS=''
LIBOBJS=''
LIBS=''
LIB_M=''
LIB_THREAD=''
LIB_VERSION='53.1'
LIB_VERSION_MAJOR='53'
LTLIBOBJS=''
OBJEXT=''
PACKAGE='icu'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SAMPLES_TRUE=''
SHELL='/bin/sh'
TESTS_TRUE=''
TOOLS_TRUE=''
UCLN_NO_AUTO_CLEANUP=''
UCONFIG_CFLAGS=''
UCONFIG_CPPFLAGS=''
UCONFIG_CXXFLAGS=''
UNICODE_VERSION='6.3'
U_DEFAULT_SHOW_DRAFT=''
U_DISABLE_RENAMING=''
U_ENABLE_DYLOAD=''
U_ENABLE_TRACING=''
U_HAVE_ATOMIC=''
U_HAVE_DIRENT_H=''
U_HAVE_INTTYPES_H=''
U_HAVE_LIB_SUFFIX=''
U_HAVE_NL_LANGINFO_CODESET=''
U_HAVE_PLACEMENT_NEW=''
U_HAVE_POPEN=''
U_HAVE_STD_STRING=''
U_HAVE_TIMEZONE=''
U_HAVE_TZNAME=''
U_HAVE_TZSET=''
U_HAVE_WCHAR_H=''
U_HAVE_WCSCPY=''
U_IS_BIG_ENDIAN=''
U_MAKE=''
U_NL_LANGINFO_CODESET=''
U_OVERRIDE_CXX_ALLOCATION=''
U_TIMEZONE=''
U_TZNAME=''
U_TZSET=''
VERSION='53.1'
ac_ct_CC='clang'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cross_buildroot=''
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgicudatadir=''
platform=''
platform_make_fragment=''
platform_make_fragment_name=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
thepkgicudatadir=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 779

These line are suspicious:

Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Candidate multilib: .;@m64
... rest of stderr output deleted ...
configure:2893: $? = 1
configure:2882: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: unknown argument: '-fstack-check'
clang: error: no input files
configure:2893: $? = 1
configure:2882: clang -qversion >&5
clang: error: unknown argument: '-fstack-check'
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:2893: $? = 1
configure:2913: checking whether the C compiler works
configure:2935: clang -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  >&5
clang: error: unknown argument: '-fstack-check'
configure:2939: $? = 1
configure:2977: result: no

Look like if I've the wrong gcc version sad

Of course I've searched over the net, I didn't found any solution.

Offline

#2 2016-05-22 15:55:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: C compiler cannot create executables : icu53 package

configure:2873: checking for C compiler version
configure:2882: clang --version >&5
clang version 3.5.2 (tags/RELEASE_352/final)

Looks more like you have the wrong clang version installed, as current version is 3.8 .

llvm/clang 3.5.2 is now a makedepend for programs that don't work with later clang versions (in repos there's 1 such program left)

configure:2633: checking build system type
configure:2647: result: x86_64-unknown-linux-gnu
configure:2667: checking host system type
configure:2680: result: x86_64-unknown-linux-gnu

Check your pacnew files,latest pacman update changed some settings of makepkg.conf


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-05-28 16:16:14

Alaanor
Member
Registered: 2016-01-07
Posts: 51

Re: C compiler cannot create executables : icu53 package

Hi, I'm very sorry for the delay, I was a bit busy this week.

So, I forgot to say the unreal-engine package has a dependency clang35 and not clang. It's probably the cause.

Is it mean there is no solution ?

Offline

#4 2016-05-28 16:59:46

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: C compiler cannot create executables : icu53 package

Not necessarily, unreal-engine lists clang35 as a makedepend so it should only need it during building .

It looks like you encountered a weakness in yaourt ,please check https://wiki.archlinux.org/index.php/AU … ison_table .

first , remove llvm35 (use -Rs so dependencies of llvm35 that are no longer needed will also be removed)

update your whole system

build & install icu35

build & install unreal-engine


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB