Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I cannot emerge anything not even @world same error everytim
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
picarica
Apprentice
Apprentice


Joined: 11 Aug 2018
Posts: 285

PostPosted: Sat Aug 11, 2018 8:31 pm    Post subject: I cannot emerge anything not even @world same error everytim Reply with quote

hello this is my first post here, so i just installed my first gentoo emrged xfce4-meta i have desktop everything and out of nowhere i am unable to emerge anything i the same error for every package, i think it started happening when i added one custom ebuild (overlay)

so ill post my logs when i tried merging light-locker
build.log
config.log

it told me to attach this too so here it is
i got it from
Code:
emerge --info '=x11-misc/light-locker-1.8.0::gentoo'

Code:

Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.26-r7, 4.14.61-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.61-gentoo-x86_64-AMD_FX-8320E_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:     8055156 total,   5213216 free
KiB Swap:   13819476 total,  13819476 free
Timestamp of repository gentoo: Sat, 11 Aug 2018 18:00:01 +0000
Head commit of repository gentoo: 4711906580f34d5726060a07460238b8e4f4b686
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

prototype99
    location: /var/lib/layman/prototype99
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -gpm"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


ill also post the whole emergin log just to be safe
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] x11-misc/light-locker-1.8.0  USE="consolekit dpms screensaver upower -gtk3 -systemd"

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-misc/light-locker-1.8.0::gentoo
 * light-locker-1.8.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking light-locker-1.8.0.tar.bz2 to /var/tmp/portage/x11-misc/light-locker-1.8.0/work
>>> Source unpacked in /var/tmp/portage/x11-misc/light-locker-1.8.0/work
>>> Preparing source in /var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0 ...
 * Running elibtoolize in: light-locker-1.8.0/
 *   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/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0_build"
 * econf: updating light-locker-1.8.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating light-locker-1.8.0/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0/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 --libdir=/usr/lib64 --docdir=/usr/share/doc/light-locker-1.8.0 --with-console-kit --with-dpms-ext --with-gtk2 --with-x --with-mit-ext --without-systemd --with-upower
checking for a BSD-compatible install... /usr/lib/portage/python3.6/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 UID '250' is supported by ustar format... yes
checking whether GID '250' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.24.3
checking for XML::Parser... ok
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/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0_build':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0_build/config.log
 * ERROR: x11-misc/light-locker-1.8.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2665:  Called autotools-utils_src_configure
 *             environment, line  501:  Called econf '--docdir=/usr/share/doc/light-locker-1.8.0' '--with-console-kit' '--with-dpms-ext' '--with-gtk2' '--with-x' '--with-mit-ext' '--without-systemd' '--with-upower'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=x11-misc/light-locker-1.8.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/light-locker-1.8.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/light-locker-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/light-locker-1.8.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0_build'
 * S: '/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0'

>>> Failed to emerge x11-misc/light-locker-1.8.0, Log file:

>>>  '/var/tmp/portage/x11-misc/light-locker-1.8.0/temp/build.log'

 * Messages for package x11-misc/light-locker-1.8.0:

 * ERROR: x11-misc/light-locker-1.8.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2665:  Called autotools-utils_src_configure
 *             environment, line  501:  Called econf '--docdir=/usr/share/doc/light-locker-1.8.0' '--with-console-kit' '--with-dpms-ext' '--with-gtk2' '--with-x' '--with-mit-ext' '--without-systemd' '--with-upower'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=x11-misc/light-locker-1.8.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/light-locker-1.8.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/light-locker-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/light-locker-1.8.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0_build'
 * S: '/var/tmp/portage/x11-misc/light-locker-1.8.0/work/light-locker-1.8.0'


if you have any ideas why this is happening let me know

side note: i am new to gentoo this is my first day having it on PC machine (before i had it on virtualbox) so dont expect high knowlege of gentoo
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat Aug 11, 2018 8:40 pm    Post subject: Reply with quote

Quote:
x86_64-pc-linux-gnu-gcc: error: unrecognized debug output level 'pm'


anyway, that's just classic error, it's when gcc cannot manage to build a testfile because of bad parameters.
your config.log gave you the real explain.

so if you get it right, it points you to this
Quote:
CFLAGS="-O2 -pipe -gpm"
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Aug 11, 2018 9:02 pm    Post subject: Re: I cannot emerge anything not even @world same error ever Reply with quote

picarica wrote:
emerge --info '=x11-misc/light-locker-1.8.0::gentoo':
CFLAGS="-O2 -pipe -gpm"

picarica ... and while you're doing as krinn suggested and fixing that you might want to add '-march=native' to CFLAGS.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum