View Issue Details

IDProjectCategoryView StatusLast Update
0004500GNUnetbuild processpublic2016-05-17 00:21
Reporternikita Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformamd64OSgentooOS Versiongentoo-hardened
Product VersionGit master 
Target VersionGit masterFixed in VersionGit master 
Summary0004500: gnunet HEAD:37172 fails with "configure: error: C compiler cannot create executables"
Descriptiongentoo-hardened among many optional features provides a hardened toolchain, this gnunet build failed when it was triggered to rebuild during a rebuilding of world and system package sets.
Steps To Reproduce1) Install (or switch to) gentoo with amd64 gentoo-hardened stage3.
2) emerge gnunet-9999 from the overlay "youbroketheinternet-overlay" with the details found at http://c.n0.is

Be warned, this ebuild is work in progress, and definitely gnunet-gtk is not completely debugged, known to have errors, gnunet ebuild should be complete and have no problems.
Additional InformationThe output of /var/tmp/portage/net-misc/gnunet-9999/tmp/build.log and /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/configure.log:

 * Package: net-misc/gnunet-9999
 * Repository: youbroketheinternet
 * Maintainer: ng0@libertad.pw proxy-maint@gentoo.org
 * Upstream: https://gnunet.org/bugs
 * USE: X abi_x86_64 amd64 bluetooth dane elibc_glibc gnutls hardened httpd kernel_linux nls pulseaudio sqlite ssl sudo userland_GNU
 * FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * subversion update start -->
 * repository: https://gnunet.org/svn/gnunet
Updating '.':
U src/rps/gnunet-service-rps.c
U src/rps/gnunet-service-rps_peers.c
U src/rps/gnunet-service-rps_peers.h
U src/rps/gnunet-service-rps_sampler.c
U src/rps/gnunet-rps.c
U src/rps/test_rps.c
A src/rps/rps.conf
U src/rps/test_rps.conf
U src/rps/test_service_rps_peers.c
U src/social/gnunet-service-social.c
U src/social/gnunet-social.c
Updated to revision 37172.
 * working copy: /usr/portage/distfiles/svn-src/gnunet/gnunet

>>> Source unpacked in /var/tmp/portage/net-misc/gnunet-9999/work
>>> Preparing source in /var/tmp/portage/net-misc/gnunet-9999/work/gnunet ...
 * Running eautoreconf in '/var/tmp/portage/net-misc/gnunet-9999/work/gnunet' ...
 * Running autopoint --force ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Package: net-misc/gnunet-9999
 * Repository: youbroketheinternet
 * Maintainer: ng0@libertad.pw proxy-maint@gentoo.org
 * Upstream: https://gnunet.org/bugs
 * USE: X abi_x86_64 amd64 bluetooth dane elibc_glibc gnutls hardened httpd kernel_linux nls pulseaudio sqlite ssl sudo userland_GNU
 * FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * subversion update start -->
 * repository: https://gnunet.org/svn/gnunet
Updating '.':
U src/rps/gnunet-service-rps.c
U src/rps/gnunet-service-rps_peers.c
U src/rps/gnunet-service-rps_peers.h
U src/rps/gnunet-service-rps_sampler.c
U src/rps/gnunet-rps.c
U src/rps/test_rps.c
A src/rps/rps.conf
U src/rps/test_rps.conf
U src/rps/test_service_rps_peers.c
U src/social/gnunet-service-social.c
U src/social/gnunet-social.c
Updated to revision 37172.
 * working copy: /usr/portage/distfiles/svn-src/gnunet/gnunet

>>> Source unpacked in /var/tmp/portage/net-misc/gnunet-9999/work
>>> Preparing source in /var/tmp/portage/net-misc/gnunet-9999/work/gnunet ...
 * Running eautoreconf in '/var/tmp/portage/net-misc/gnunet-9999/work/gnunet' ...
 * Running autopoint --force ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gnunet configure 0.10.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gnunet-9999 --htmldir=/usr/share/doc/gnunet-9999/html --libdir=/usr/lib64 --disable-experimental --with-microhttpd --without-mysql --without-postgresql --with-sqlite --with-x --with-gnutls --with-extractor --with-sudo

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

hostname = khazad-dum
uname -m = x86_64
uname -r = 4.4.6-gentoo
uname -s = Linux
uname -v = #1 SMP Wed May 4 00:04:56 UTC 2016

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz
/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: /var/tmp/portage/._portage_reinstall_.ox3zrpie/bin/ebuild-helpers/xattr
PATH: /usr/lib/portage/python3.4/ebuild-helpers/xattr
PATH: /var/tmp/portage/._portage_reinstall_.ox3zrpie/bin/ebuild-helpers
PATH: /usr/lib/portage/python3.4/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3


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

configure:3059: checking build system type
configure:3073: result: x86_64-pc-linux-gnu
configure:3093: checking host system type
configure:3106: result: x86_64-pc-linux-gnu
configure:3126: checking target system type
configure:3139: result: x86_64-pc-linux-gnu
configure:3184: checking for a BSD-compatible install
configure:3252: result: /var/tmp/portage/._portage_reinstall_.ox3zrpie/bin/ebuild-helpers/xattr/install -c
configure:3263: checking whether build environment is sane
configure:3313: result: yes
configure:3454: checking for a thread-safe mkdir -p
configure:3493: result: /bin/mkdir -p
configure:3506: checking for gawk
configure:3522: found /usr/bin/gawk
configure:3533: result: gawk
configure:3544: checking whether make sets $(MAKE)
configure:3566: result: yes
configure:3657: checking whether make supports nested variables
configure:3674: result: yes
configure:3693: checking for gawk
configure:3720: result: gawk
configure:3739: checking for x86_64-pc-linux-gnu-gcc
configure:3755: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3766: result: x86_64-pc-linux-gnu-gcc
configure:4035: checking for C compiler version
configure:4044: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo Hardened 4.9.3 p1.5, pie-0.6.4) 4.9.3
Copyright (C) 2015 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:4055: $? = 0
configure:4044: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 4.9.3 p1.5, pie-0.6.4' --enable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-vtable-verify --disable-libvtv --disable-libquadmath --enable-lto --without-cloog --disable-libsanitizer
Thread model: posix
gcc version 4.9.3 (Gentoo Hardened 4.9.3 p1.5, pie-0.6.4)
configure:4055: $? = 0
configure:4044: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4055: $? = 1
configure:4044: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4055: $? = 1
configure:4075: checking whether the C compiler works
configure:4097: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed --with-gcc-hardening --with-linker-hardening conftest.c >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '--with-gcc-hardening'
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '--with-linker-hardening'
configure:4101: $? = 1
configure:4139: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gnunet"
| #define PACKAGE_TARNAME "gnunet"
| #define PACKAGE_VERSION "0.10.1"
| #define PACKAGE_STRING "gnunet 0.10.1"
| #define PACKAGE_BUGREPORT "bug-gnunet@gnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnunet"
| #define VERSION "0.10.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4144: error: in `/var/tmp/portage/net-misc/gnunet-9999/work/gnunet':
configure:4146: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-pc-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='-O2 -pipe -march=native'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
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 -pipe -march=native'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed --with-gcc-hardening --with-linker-hardening'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/var/tmp/portage/._portage_reinstall_.ox3zrpie/bin/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
AUTOCONF='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/missing --run automake-1.11'
AUTOSTART=''
AWK='gawk'
BUILD_EXPERIMENTAL_HELPERS_FALSE=''
BUILD_EXPERIMENTAL_HELPERS_TRUE=''
BUILD_GST_HELPERS_FALSE=''
BUILD_GST_HELPERS_TRUE=''
BUILD_PULSE_HELPERS_FALSE=''
BUILD_PULSE_HELPERS_TRUE=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -pipe -march=native'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -pipe -march=native'
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE=''
DARWIN_FALSE=''
DARWIN_TRUE=''
DEFAULT_INTERFACE=''
DEFS=''
DEPDIR=''
DLLDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_MALICIOUS_FALSE=''
ENABLE_MALICIOUS_TRUE=''
ENABLE_MONKEY_FALSE=''
ENABLE_MONKEY_TRUE=''
ENABLE_NSE_HISTOGRAM_FALSE=''
ENABLE_NSE_HISTOGRAM_TRUE=''
ENABLE_SUPERMUC_FALSE=''
ENABLE_SUPERMUC_TRUE=''
ENABLE_TEST_RUN_FALSE=''
ENABLE_TEST_RUN_TRUE=''
EXEEXT=''
EXT_LIBS=''
EXT_LIB_PATH=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GMSGFMT=''
GMSGFMT_015=''
GNUNETDNS_GROUP=''
GNU_FALSE=''
GNU_TRUE=''
GN_INTLINCL=''
GN_LIBINTL=''
GN_LIB_LDFLAGS=''
GN_PLUGIN_LDFLAGS=''
GREP=''
GST_CFLAGS=''
GST_LIBS=''
HAVE_BENCHMARKS_FALSE=''
HAVE_BENCHMARKS_TRUE=''
HAVE_EXPENSIVE_TESTS_FALSE=''
HAVE_EXPENSIVE_TESTS_TRUE=''
HAVE_EXPERIMENTAL_FALSE=''
HAVE_EXPERIMENTAL_TRUE=''
HAVE_GETOPT_BINARY_FALSE=''
HAVE_GETOPT_BINARY_TRUE=''
HAVE_GLIBCNSS_FALSE=''
HAVE_GLIBCNSS_TRUE=''
HAVE_GNUTLS_DANE_FALSE=''
HAVE_GNUTLS_DANE_TRUE=''
HAVE_GNUTLS_FALSE=''
HAVE_GNUTLS_TRUE=''
HAVE_JANSSON_FALSE=''
HAVE_JANSSON_TRUE=''
HAVE_JSON_FALSE=''
HAVE_JSON_TRUE=''
HAVE_LIBBLUETOOTH_FALSE=''
HAVE_LIBBLUETOOTH_TRUE=''
HAVE_LIBCURL_FALSE=''
HAVE_LIBCURL_TRUE=''
HAVE_LIBEXTRACTOR_FALSE=''
HAVE_LIBEXTRACTOR_TRUE=''
HAVE_LIBGLPK_FALSE=''
HAVE_LIBGLPK_TRUE=''
HAVE_LIBGNURL_FALSE=''
HAVE_LIBGNURL_TRUE=''
HAVE_LIBUNISTRING=''
HAVE_MHD_FALSE=''
HAVE_MHD_TRUE=''
HAVE_MYSQLE_FALSE=''
HAVE_MYSQLE_TRUE=''
HAVE_MYSQL_FALSE=''
HAVE_MYSQL_TRUE=''
HAVE_OGG_FALSE=''
HAVE_OGG_TRUE=''
HAVE_POSTGRESQL_FALSE=''
HAVE_POSTGRESQL_TRUE=''
HAVE_PYTHON_FALSE=''
HAVE_PYTHON_TRUE=''
HAVE_SQLITE_FALSE=''
HAVE_SQLITE_TRUE=''
HAVE_SSH_BINARY_FALSE=''
HAVE_SSH_BINARY_TRUE=''
HAVE_SSH_KEY_FALSE=''
HAVE_SSH_KEY_TRUE=''
HAVE_SUDO_FALSE=''
HAVE_SUDO_TRUE=''
HAVE_TESTING_FALSE=''
HAVE_TESTING_TRUE=''
HAVE_WACHS_FALSE=''
HAVE_WACHS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_NSS_FALSE=''
INSTALL_NSS_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
JAVAPORT=''
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed --with-gcc-hardening --with-linker-hardening'
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_CONFIG=''
LIBGCRYPT_LIBS=''
LIBGNURL=''
LIBGNURL_CPPFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPREFIX=''
LIBS=''
LIBTOOL=''
LIBUNISTRING=''
LIBUNISTRING_PREFIX=''
LINUX_FALSE=''
LINUX_TRUE=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LTLIBUNISTRING=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/missing --run makeinfo'
MANIFEST_TOOL=''
MINGW_FALSE=''
MINGW_TRUE=''
MKDIR_P='/bin/mkdir -p'
MONKEYPREFIX=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
MYSQL_CPPFLAGS=''
MYSQL_LDFLAGS=''
NM=''
NMEDIT=''
NSS_DIR=''
OBJC=''
OBJCDEPMODE=''
OBJCFLAGS=''
OBJDUMP=''
OBJEXT=''
OPENBSD_FALSE=''
OPENBSD_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='gnunet'
PACKAGE_BUGREPORT='bug-gnunet@gnu.org'
PACKAGE_NAME='gnunet'
PACKAGE_STRING='gnunet 0.10.1'
PACKAGE_TARNAME='gnunet'
PACKAGE_URL=''
PACKAGE_VERSION='0.10.1'
PATH_SEPARATOR=':'
PG_CONFIG=''
PKG_CONFIG=''
POSTGRESQL_CPPFLAGS=''
POSTGRESQL_LDFLAGS=''
POSTGRESQL_VERSION=''
POSUB=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SOLARIS_FALSE=''
SOLARIS_TRUE=''
SQLITE_CPPFLAGS=''
SQLITE_LDFLAGS=''
STRIP=''
SUDO_BINARY=''
TALER_ONLY_FALSE=''
TALER_ONLY_TRUE=''
UNIXONLY=''
USE_COVERAGE_FALSE=''
USE_COVERAGE_TRUE=''
USE_NLS=''
VAR_GETOPT_BINARY=''
VAR_SSH_BINARY=''
VERSION='0.10.1'
WANT_FRAMEWORK_FALSE=''
WANT_FRAMEWORK_TRUE=''
XFREEBSD_FALSE=''
XFREEBSD_TRUE=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
Z_CFLAGS=''
Z_LIBS=''
_libcurl_config=''
_libgnurl_config=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
ac_ct_OBJC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_target=''
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/gnunet-9999'
dvidir='${docdir}'
exec_prefix='NONE'
gitcommand=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='/usr/share/doc/gnunet-9999/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/net-misc/gnunet-9999/work/gnunet/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
svnversioncommand=''
sysconfdir='/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'

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

/* confdefs.h */
#define PACKAGE_NAME "gnunet"
#define PACKAGE_TARNAME "gnunet"
#define PACKAGE_VERSION "0.10.1"
#define PACKAGE_STRING "gnunet 0.10.1"
#define PACKAGE_BUGREPORT "bug-gnunet@gnu.org"
#define PACKAGE_URL ""
#define PACKAGE "gnunet"
#define VERSION "0.10.1"

configure: exit 77
TagsNo tags attached.

Activities

nikita

2016-05-15 16:56

reporter   ~0010676

I am not sure wether to resolve this with gentoo-hardened or gnunet, that's why I created the bug report here.

Christian Grothoff

2016-05-16 17:57

manager   ~0010679

It's a bit strange. Somehow during the GCC test, you pass:

x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '--with-gcc-hardening'
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '--with-linker-hardening'

to gcc, which gcc doesn't support. However,these options are options for GNUnet's "configure" script. But there I don't see you pass those. Did you somehow set CFLAGS or "CC=gcc --with-gcc-hardening" instead of passing the options to configure?

nikita

2016-05-16 20:22

reporter   ~0010680

Last edited: 2016-05-16 20:22

I saw this in the output, but I figured this can't be the factor due to which it fails.

Corresponding ebuild section:
src_configure() {
    econf \
        $(use_enable experimental ) \
        $(use_with httpd microhttpd ) \
        $(use_with mysql ) \
        $(use_with postgresql ) \
        $(use_with sqlite ) \
        $(use_with X x ) \
        $(use_with gnutls ) \
        --with-extractor \
        $(use_with sudo )
}
# use hardened && append-ldflags "--with-gcc-hardening --with-linker-hardening"
# --docdir="${EPREFIX}/usr/share/doc/${PF}" \
# debug those:
# $(use_with ssl) \
# --with-ltdl

Where I now already commented and removed the hardened part from the active section.
src_configure() handles the configure phase of the package.

I think I had the impression I needed to pass this after looking at the firefox package. I will try rebuilding on hardened with the last changes in my testing overlay.

gentoo-hardened compability is a secondary goal right now, I'm debugging gnunet-gtk currently on vanilla gentoo to get (gnurl,gnunet,gnunet-gtk) out, but I can give you any additional information and logs you may want on this specific issue.

nikita

2016-05-16 20:41

reporter   ~0010681

I made adjustments (I had one word left over in the ebuild), and it did build now.
As I might run into problems afterwards this is not resolved yet.

Christian Grothoff

2016-05-17 00:20

manager   ~0010682

Well, if it builds now, the specific issue is addressed. If there is something else, please file a new report.

Issue History

Date Modified Username Field Change
2016-05-15 16:41 nikita New Issue
2016-05-15 16:56 nikita Note Added: 0010676
2016-05-16 17:57 Christian Grothoff Note Added: 0010679
2016-05-16 17:58 Christian Grothoff Status new => feedback
2016-05-16 20:22 nikita Note Added: 0010680
2016-05-16 20:22 nikita Status feedback => new
2016-05-16 20:22 nikita Note Edited: 0010680
2016-05-16 20:41 nikita Note Added: 0010681
2016-05-17 00:20 Christian Grothoff Note Added: 0010682
2016-05-17 00:21 Christian Grothoff Assigned To => Christian Grothoff
2016-05-17 00:21 Christian Grothoff Status new => closed
2016-05-17 00:21 Christian Grothoff Resolution open => no change required
2016-05-17 00:21 Christian Grothoff Fixed in Version => Git master
2016-05-17 00:21 Christian Grothoff Target Version => Git master