[ SOLVED ]gcc issue in all installation

Discussions Regarding Software

Moderator: Moderators

orisystech
Baby Hen
Posts: 7
Joined: Sun Feb 25, 2018 14:28

[ SOLVED ]gcc issue in all installation

Post by orisystech » Sun Feb 25, 2018 14:48

Hi,
I'm new in this forum, i installed sabayon because I think it's one of the best gentoo based distributions. I tried to install it a couple of times but I have issue with gcc in every installation. I would like to use entropy and emerge at the same time. For example now I would like to install pacman (package manager of arch) from an overlay of gentoo but I have a compilation error.

Code: Select all

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/pacman-5.0.2-r1::gentoo
 * pacman-5.0.2.tar.gz BLAKE2B SHA512 size ;-) ...                       [ ok ]
>>> Unpacking source...
>>> Unpacking pacman-5.0.2.tar.gz to /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work
>>> Preparing source in /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2 ...
 * Applying pacman-5.0.2-CVE-2016-5434.patch ...                         [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2' ...
 * Running autopoint --force ...                                         [ ok ]
 * Running libtoolize --install --copy --force --automake ...            [ ok ]
 * Running aclocal -I m4 --install ...                                   [ ok ]
 * Running autoconf --force ...                                          [ ok ]
 * Running autoheader ...                                                [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...   [ ok ]
 * Running elibtoolize in: pacman-5.0.2/
 * Running elibtoolize in: pacman-5.0.2/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2 ...
 * econf: updating pacman-5.0.2/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pacman-5.0.2/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./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/pacman-5.0.2-r1 --htmldir=/usr/share/doc/pacman-5.0.2-r1/html --libdir=/usr/lib64 --localstatedir=/var --disable-git-version --with-openssl --with-root-dir=/var/chroot/archlinux --disable-debug --disable-doxygen --without-libcurl --with-gpgme
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/config.log
 * ERROR: sys-apps/pacman-5.0.2-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1343:  Called econf '--localstatedir=/var' '--disable-git-version' '--with-openssl' '--with-root-dir=/var/chroot/archlinux' '--disable-debug' '--disable-doxygen' '--without-libcurl' '--with-gpgme'
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "[email protected]"
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pacman-5.0.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pacman-5.0.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2'
 * S: '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2'

>>> Failed to emerge sys-apps/pacman-5.0.2-r1, Log file:

>>>  '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/temp/build.log'

 * Messages for package sys-apps/pacman-5.0.2-r1:

 * ERROR: sys-apps/pacman-5.0.2-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1343:  Called econf '--localstatedir=/var' '--disable-git-version' '--with-openssl' '--with-root-dir=/var/chroot/archlinux' '--disable-debug' '--disable-doxygen' '--without-libcurl' '--with-gpgme'
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "[email protected]"
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pacman-5.0.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pacman-5.0.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2'
 * S: '/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2'
and config.log

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pacman configure 5.0.2, 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/pacman-5.0.2-r1 --htmldir=/usr/share/doc/pacman-5.0.2-r1/html --libdir=/usr/lib64 --localstatedir=/var --disable-git-version --with-openssl --with-root-dir=/var/chroot/archlinux --disable-debug --disable-doxygen --without-libcurl --with-gpgme

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

hostname = sabayon.local
uname -m = x86_64
uname -r = 4.14.0-sabayon
uname -s = Linux
uname -v = #1 SMP Sat Feb 3 14:07:01 UTC 2018

/usr/bin/uname -p = Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
/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/portage/python2.7/ebuild-helpers/xattr
PATH: /usr/lib/portage/python2.7/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/6.4.0
PATH: /usr/lib/llvm/5/bin
PATH: /opt/vmware/bin


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

configure:2593: checking build system type
configure:2607: result: x86_64-pc-linux-gnu
configure:2627: checking host system type
configure:2640: result: x86_64-pc-linux-gnu
configure:2676: checking for a BSD-compatible install
configure:2744: result: /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
configure:2755: checking whether build environment is sane
configure:2810: result: yes
configure:2961: checking for a thread-safe mkdir -p
configure:3000: result: /bin/mkdir -p
configure:3007: checking for gawk
configure:3023: found /usr/bin/gawk
configure:3034: result: gawk
configure:3045: checking whether make sets $(MAKE)
configure:3067: result: yes
configure:3096: checking whether make supports nested variables
configure:3113: result: yes
configure:3250: checking whether make supports nested variables
configure:3267: result: yes
configure:3325: checking how to print strings
configure:3352: result: printf
configure:3385: checking for style of include used by make
configure:3413: result: GNU
configure:3444: checking for x86_64-pc-linux-gnu-gcc
configure:3460: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3471: result: x86_64-pc-linux-gnu-gcc
configure:3740: checking for C compiler version
configure:3749: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo Hardened 6.4.0-r1 p1.3) 6.4.0
Copyright (C) 2017 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:3760: $? = 0
configure:3749: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/python --enable-objc-gc --enable-languages=c,c++,go,objc,obj-c++,fortran --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 6.4.0-r1 p1.3' --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-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --with-isl --disable-isl-version-check --enable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 6.4.0 (Gentoo Hardened 6.4.0-r1 p1.3) 
configure:3760: $? = 0
configure:3749: 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:3760: $? = 1
configure:3749: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3760: $? = 1
configure:3780: checking whether the C compiler works
configure:3802: x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/Scrt1.o: unrecognized relocation (0x2a) in section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
configure:3806: $? = 1
configure:3844: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pacman"
| #define PACKAGE_TARNAME "pacman"
| #define PACKAGE_VERSION "5.0.2"
| #define PACKAGE_STRING "pacman 5.0.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "pacman"
| #define VERSION "5.0.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3849: error: in `/var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2':
configure:3851: 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_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=x86-64 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBARCHIVE_CFLAGS_set=
ac_cv_env_LIBARCHIVE_CFLAGS_value=
ac_cv_env_LIBARCHIVE_LIBS_set=
ac_cv_env_LIBARCHIVE_LIBS_value=
ac_cv_env_LIBCURL_CFLAGS_set=
ac_cv_env_LIBCURL_CFLAGS_value=
ac_cv_env_LIBCURL_LIBS_set=
ac_cv_env_LIBCURL_LIBS_value=
ac_cv_env_LIBSSL_CFLAGS_set=
ac_cv_env_LIBSSL_CFLAGS_value=
ac_cv_env_LIBSSL_LIBS_set=
ac_cv_env_LIBSSL_LIBS_value=
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_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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='/usr/lib/portage/python2.7/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
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
ASCIIDOC=''
AUTOCONF='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/missing automake-1.15'
AWK='gawk'
BASH_SHELL=''
BUILDSCRIPT=''
CARCH=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=x86-64 -pipe'
CHOST='x86_64-pc-linux-gnu'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DARWIN_FALSE=''
DARWIN_TRUE=''
DEBUGSUFFIX=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DOXYGEN=''
DSYMUTIL=''
DUFLAGS=''
DUMPBIN=''
DUPATH=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_VISIBILITY_CC_FALSE=''
ENABLE_VISIBILITY_CC_TRUE=''
EXEEXT=''
FGREP=''
GIT=''
GMSGFMT=''
GPGME_CFLAGS=''
GPGME_CONFIG=''
GPGME_LIBS=''
GREP=''
HAVE_LIBCURL_FALSE=''
HAVE_LIBCURL_TRUE=''
HAVE_LIBGPGME_FALSE=''
HAVE_LIBGPGME_TRUE=''
HAVE_LIBSSL_FALSE=''
HAVE_LIBSSL_TRUE=''
INODECMD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
LD=''
LDCONFIG=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LFS_CFLAGS=''
LIBARCHIVE_CFLAGS=''
LIBARCHIVE_LIBS=''
LIBCURL_CFLAGS=''
LIBCURL_LIBS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBSSL_CFLAGS=''
LIBSSL_LIBS=''
LIBTOOL=''
LIB_VERSION=''
LIB_VERSION_INFO=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MODECMD=''
MSGFMT=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
OWNERCMD=''
PACKAGE='pacman'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='pacman'
PACKAGE_STRING='pacman 5.0.2'
PACKAGE_TARNAME='pacman'
PACKAGE_URL=''
PACKAGE_VERSION='5.0.2'
PATH_SEPARATOR=':'
PERL=''
PKGEXT=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
POSUB=''
PYTHON=''
RANLIB=''
ROOTDIR=''
SCRIPTLET_SHELL=''
SED=''
SEDINPLACE=''
SET_MAKE=''
SHELL='/bin/sh'
SIZECMD=''
SRCEXT=''
STRIP=''
STRIP_BINARIES=''
STRIP_SHARED=''
STRIP_STATIC=''
TEMPLATE_DIR=''
USE_DOXYGEN_FALSE=''
USE_DOXYGEN_TRUE=''
USE_GIT_VERSION_FALSE=''
USE_GIT_VERSION_TRUE=''
USE_NLS=''
VERSION='5.0.2'
WANT_DOC_FALSE=''
WANT_DOC_TRUE=''
WARNING_CFLAGS=''
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='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_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/pacman-5.0.2-r1'
dvidir='${docdir}'
exec_prefix='NONE'
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/pacman-5.0.2-r1/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/sys-apps/pacman-5.0.2-r1/work/pacman-5.0.2/build-aux/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "pacman"
#define PACKAGE_TARNAME "pacman"
#define PACKAGE_VERSION "5.0.2"
#define PACKAGE_STRING "pacman 5.0.2"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "pacman"
#define VERSION "5.0.2"

configure: exit 77
this compilation error it's the same for all package I try install with emerge.
I installed the last stable release not the daily release. How could I solve this issue ?
Last edited by orisystech on Mon Feb 26, 2018 21:32, edited 1 time in total.

User avatar
sabayonino
Sagely Hen
Posts: 3254
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: gcc issue in all installation

Post by sabayonino » Sun Feb 25, 2018 15:06

Hi.Sabayon has by default a minimal GCC installation (provided by sys-devel/base-gcc package)
Install the full GCC suite (sys-devel/gcc package and its stuffs)

Code: Select all

# equo i @build-essentials
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

orisystech
Baby Hen
Posts: 7
Joined: Sun Feb 25, 2018 14:28

Re: gcc issue in all installation

Post by orisystech » Sun Feb 25, 2018 15:17

No, i have the same compilation error, I tried witch to gcc 5.4 and run again equo i @build-essentials.

User avatar
sabayonino
Sagely Hen
Posts: 3254
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: gcc issue in all installation

Post by sabayonino » Sun Feb 25, 2018 19:55

Did you edit the make.conf file ?
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

orisystech
Baby Hen
Posts: 7
Joined: Sun Feb 25, 2018 14:28

Re: gcc issue in all installation

Post by orisystech » Sun Feb 25, 2018 20:31

I don't remember but I think no.
my /etc/portage/make.conf

Code: Select all

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

# Compiler stuff
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
# Only enable Graphite via package.env
CFLAGS="-O2 -march=x86-64 -pipe" # -ftree-vectorize ${GRAPHITE}"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -s"

# Portage stuff
ACCEPT_KEYWORDS="~amd64"
FEATURES="parallel-fetch protect-owned compressdebug splitdebug"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/ccache"

LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr [email protected] ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
L10N="en af ar az bg bn br bs ca cs cy da de el en-GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt-BR ro ru rw se sk sl sr sr-Latn ss sv ta tg tr uk uz vi zh-CN zh-TW es-AR es-ES fy ga gu nb nn pt-PT sv zh"

## USE ##
SAB_BAD="-kdeprefix -arts -qt3 -beagle -gnome -evo -mono -eds -apm -oss -branding -esd"
SAB_MEDIA="musicbrainz sdl pulseaudio wmf fame cdr dvi mp3rtp xine cddb alsa dvb dvd bluray network dvdread ipod audiofile artswrappersuid dvdr jack dri cdda libav mjpeg mmx joystick xvmc cpudetection v4l v4l2"
SAB_CODECS="x264 x265 gsm lame opus dv mp3 stream live openal theora ogg a52 win32codecs matroska xvid flac ffmpeg aac speex real dts musepack"
SAB_SYSTEM="cjk unicode gnutls nptl gcj udev systemd logind -consolekit kerberos acl dbus bash-completion lzo rar policykit xcb bzip2 bidi wifi lm_sensors acpi usb pcmcia bluetooth irda ieee1394 perl python"
SAB_FILESYS="fat hfs jfs xfs ntfs reiserfs sysfs inotify"
SAB_PRINT="cups ppds foomatic-db gimpprint freetype xprint scanner"
SAB_XSYS="cairo X opengl png gif gtk qt4 qt5 qt3support xpm tiff xinerama aiglx svg gphoto2 dga lcd openexr wayland" 
SAB_DESKTOP="kdehiddenvisibility gmp libnotify rdesktop pda zeroconf kdeenablefinal visualization avahi startup-notification accessibility"
SAB_BROWSER="nsplugin firefox mozdevelop xulrunner"
SAB_COMMS="jabber msn yahoo icq irc aim rss slp mail imap http2"

USE="${SAB_BAD} ${SAB_MEDIA} ${SAB_CODECS} ${SAB_SYSTEM} ${SAB_FILESYS} ${SAB_PRINT} ${SAB_XSYS} ${SAB_DESKTOP} ${SAB_BROWSER} ${SAB_COMMS}"	

## DEVICES ##
INPUT_DEVICES="evdev void"
VIDEO_CARDS="fbdev vesa radeonsi radeon"
LIRC_DEVICES="audio audio_alsa devinput pctv"
ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y"
CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"

## OFFICE ##
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher"

## QEMU ##
QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64"
QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64"

## PORTAGE CONFIG ##
PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
CONFIG_PROTECT="/usr/share/config/kdm /etc /etc/conf.d /etc/init.d"
# /lib/modules mask is useful for our internal tinderbox
CONFIG_PROTECT_MASK="/etc/skel /lib/modules"
APACHE2_MPMS="prefork"
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo"

USE_PYTHON="2.7"
PYTHON_TARGETS="python2_7 python3_4"

# Some more forced targets
PHP_TARGETS="php5-6"
RUBY_TARGETS="ruby21"

# Apache suEXEC default UMASK
# See bug 3544
SUEXEC_UMASK=022

# Setup GRUB platforms
GRUB_PLATFORMS="efi-32 efi-64 pc"

# Support both 64bit and 32bit
ABI_X86="64 32"

# Set PORTDIR for backward compatibility with various tools:
#   gentoo-bashcomp - bug #478444
#   euse - bug #474574
#   euses and ufed - bug #478318
PORTDIR="/usr/portage"

User avatar
sabayonino
Sagely Hen
Posts: 3254
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: gcc issue in all installation

Post by sabayonino » Sun Feb 25, 2018 20:58

Your make.conf seems ok

please paste the output of :

Code: Select all

# gcc-config -l
and

Code: Select all

# equo q installed gcc -qv
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

orisystech
Baby Hen
Posts: 7
Joined: Sun Feb 25, 2018 14:28

Re: gcc issue in all installation

Post by orisystech » Sun Feb 25, 2018 21:02

ok, gcc-config -l:

Code: Select all

[email protected] ~ $ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.9.3
 [2] x86_64-pc-linux-gnu-4.9.3-hardenednopie
 [3] x86_64-pc-linux-gnu-4.9.3-hardenednopiessp
 [4] x86_64-pc-linux-gnu-4.9.3-hardenednossp
 [5] x86_64-pc-linux-gnu-4.9.3-vanilla
 [6] x86_64-pc-linux-gnu-5.4.0 *
 [7] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [8] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [9] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [10] x86_64-pc-linux-gnu-5.4.0-vanilla
 [11] x86_64-pc-linux-gnu-6.4.0
equo q installed gcc -qv:

Code: Select all

sys-devel/base-gcc-4.9.3
sys-devel/base-gcc-5.4.0-r3
sys-devel/base-gcc-6.4.0-r1
sys-devel/gcc-4.9.3
sys-devel/gcc-5.4.0-r3
sys-devel/gcc-6.4.0-r1
sys-devel/gcc-config-1.9.1

User avatar
sabayonino
Sagely Hen
Posts: 3254
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: gcc issue in all installation

Post by sabayonino » Sun Feb 25, 2018 22:23

you're trying to install pacman from some overlay (which overlay?) but pacman is available in portage-tree

Code: Select all

* sys-apps/pacman
     Available versions:  (~)5.0.2-r1(0/10)^t {curl debug doc +gpg test}
     Homepage:            https://archlinux.org/pacman/
     Description:         Archlinux's binary package manager
try this.
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

orisystech
Baby Hen
Posts: 7
Joined: Sun Feb 25, 2018 14:28

Re: gcc issue in all installation

Post by orisystech » Sun Feb 25, 2018 22:27

I have the same error.

User avatar
sabayonino
Sagely Hen
Posts: 3254
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: gcc issue in all installation

Post by sabayonino » Mon Feb 26, 2018 12:45

I can't understand.
You have all full gcc packages installed (4.9,5.4 and 6.4)
Now Sabayon supports 6.4 with the new profile , if you don't need abou4.9 and 5.4 you can remove them

run :

Code: Select all

# equo u --purge --ask
about make.conf

Entropy supports python3.5
you can edit your make.conf and add python3_5

Code: Select all

PYTHON_TARGETS="python2_7 python3_4 python3_5"
switch to gcc 6.4 an check your profile

I've successfully installed packman without any problems
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

Post Reply