Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
some packages fail to emerge on new system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Prof. Frink
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2017
Posts: 93

PostPosted: Tue Jan 24, 2017 12:06 pm    Post subject: some packages fail to emerge on new system Reply with quote

Hey,

I'm trying to install a new system but emacs and cinnamon-desktop fail to emerge with the error "emake failed"

Code:

emerge -av emacs

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
[ebuild  N     ] app-editors/emacs-24.5-r3:24::gentoo  USE="acl alsa dbus gif gpm gtk gtk3 inotify jpeg png ssl svg tiff xpm zlib -X -Xaw3d (-aqua) -athena -games -gconf -gfile -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-editors/emacs-24.5-r3::gentoo
 * emacs-24.5.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                               [ ok ]
 * emacs-24.5-patches-2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking emacs-24.5.tar.xz to /var/tmp/portage/app-editors/emacs-24.5-r3/work
>>> Unpacking emacs-24.5-patches-2.tar.xz to /var/tmp/portage/app-editors/emacs-24.5-r3/work
>>> Source unpacked in /var/tmp/portage/app-editors/emacs-24.5-r3/work
>>> Preparing source in /var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5 ...
 * Applying patches from ../patch ...
 *   04_all_games-sgid.patch ...                                                                                                                        [ ok ]
 *   06_all_gtk-toolbar.patch ...                                                                                                                       [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5' ...
 * Running aclocal -I m4 ...                                                                                                                            [ ok ]
 * Running autoconf -I m4 --force ...                                                                                                                   [ ok ]
 * Running autoheader -I m4 ...                                                                                                                         [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                  [ ok ]
 * Running elibtoolize in: emacs-24.5/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5 ...
 * USE flag "alsa" overrides "-sound"; enabling sound support.
 * econf: updating emacs-24.5/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating emacs-24.5/build-aux/config.guess with /usr/share/gnuconfig/config.guess
./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/emacs-24.5-r3 --htmldir=/usr/share/doc/emacs-24.5-r3/html --libdir=/usr/lib64 --program-suffix=-emacs-24 --infodir=/usr/share/info/emacs-24 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=inotify --enable-acl --with-dbus --with-gpm --without-hesiod --without-kerberos --without-kerberos5 --without-xml2 --without-selinux --with-gnutls --without-wide-int --with-zlib --with-sound=alsa --without-x --without-ns GENTOO_PACKAGE=app-editors/emacs-24.5-r3
checking for xcrun... no
checking for a BSD-compatible install... /usr/lib/portage/python3.4/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 build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
...
x86_64-pc-linux-gnu-gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I./../lib     -I/usr/include/alsa     -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include         -MMD -MF deps/.d -MP     -march=native -O2 -pipe  -Wl,-znocombreloc  -Wl,-O1 -Wl,--as-needed \
  -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o  window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o   dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o inotify.o profiler.o decompress.o          terminfo.o lastfile.o      ../lib/libgnu.a         -lasound    -lacl    -lrt  -ldbus-1      -lgpm   -lncurses        -lgnutls  -lpthread   -lm -lz
/bin/mkdir -p ../etc
:
test "no" = "yes" || \
  test "X/sbin/paxctl" = X || /sbin/paxctl -r temacs
test "no" = "yes" || test -z "setfattr" || \
  setfattr -n user.pax.flags -v er temacs
cd ../lisp; make -w -j3 --jobserver-auth=5,6 update-subdirs
make[2]: Entering directory '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5/lisp'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
for file in `find . -type d -print`; do case $file in .*/cedet* | .*/leim* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \
for file in $wins; do \
   ./../build-aux/update-subdirs $file; \
done;
make[2]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5/lisp'
if test "no" = "yes"; then \
  rm -f bootstrap-emacs; \
  ln temacs bootstrap-emacs; \
else \
  ./temacs --batch --load loadup bootstrap || exit 1; \
  test "X/sbin/paxctl" = X || /sbin/paxctl -zex emacs; \
  mv -f emacs bootstrap-emacs; \
fi
/bin/sh: line 7: 22828 Illegal instruction     ./temacs --batch --load loadup bootstrap
make[1]: *** [Makefile:816: bootstrap-emacs] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5/src'
make: *** [Makefile:387: src] Error 2
 * ERROR: app-editors/emacs-24.5-r3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-editors/emacs-24.5-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/emacs-24.5-r3::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-editors:emacs-24.5-r3:20170124-120202.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-editors/emacs-24.5-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/emacs-24.5-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5'
 * S: '/var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5'

>>> Failed to emerge app-editors/emacs-24.5-r3, Log file:

>>>  '/var/log/portage/app-editors:emacs-24.5-r3:20170124-120202.log'


And the same with cinnamon-desktop.

Code:

emerge -av cinamon-desktop

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "cinamon-desktop".

emerge: searching for similar names...
emerge: Maybe you meant any of these: gnome-extra/cinnamon-desktop, gnome-base/gnome-desktop, gnome-extra/cinnamon-session?
falke ~ # emerge -av cinnamon-desktop

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
[ebuild  N     ] gnome-extra/cinnamon-desktop-3.0.2:0/4::gentoo  USE="introspection -systemd" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gnome-extra/cinnamon-desktop-3.0.2::gentoo
 * cinnamon-desktop-3.0.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking cinnamon-desktop-3.0.2.tar.gz to /var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work
>>> Source unpacked in /var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work
>>> Preparing source in /var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2 ...
 * Running eautoreconf in '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2' ...
 * Running glib-gettextize --copy --force ...                                                                                                           [ ok ]
 * Running intltoolize --automake --copy --force ...                                                                                                    [ ok ]
 * Running libtoolize --install --copy --force --automake ...                                                                                           [ ok ]
 * Running aclocal -I m4 ...                                                                                                                            [ ok ]
 * Running autoconf --force ...                                                                                                                         [ ok ]
 * Running autoheader ...                                                                                                                               [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                  [ ok ]
 * Running elibtoolize in: cinnamon-desktop-3.0.2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Fixing shebang in files/usr/bin/cinnamon-desktop-migrate-mediakeys.
 * Disabling deprecation warnings ...                                                                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2 ...
 * econf: updating cinnamon-desktop-3.0.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating cinnamon-desktop-3.0.2/config.guess with /usr/share/gnuconfig/config.guess
./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/cinnamon-desktop-3.0.2 --htmldir=/usr/share/doc/cinnamon-desktop-3.0.2/html --libdir=/usr/lib64 --disable-schemas-compile --enable-compile-warnings=minimum --disable-static --enable-introspection
checking for a BSD-compatible install... /usr/lib/portage/python3.4/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
...
make[2]: *** Waiting for unfinished jobs....
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libgsystem.a .libs/libgsystem_la-gsystem-local-alloc.o .libs/libgsystem_la-gsystem-file-utils.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libgsystem.a
libtool: link: ( cd ".libs" && rm -f "libgsystem.la" && ln -s "../libgsystem.la" "libgsystem.la" )
make[2]: Leaving directory '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2/libcinnamon-desktop'
make[1]: *** [Makefile:487: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2'
make: *** [Makefile:419: all] Error 2
 * ERROR: gnome-extra/cinnamon-desktop-3.0.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnome-extra/cinnamon-desktop-3.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/cinnamon-desktop-3.0.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/gnome-extra:cinnamon-desktop-3.0.2:20170124-121023.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2'
 * S: '/var/tmp/portage/gnome-extra/cinnamon-desktop-3.0.2/work/cinnamon-desktop-3.0.2'

>>> Failed to emerge gnome-extra/cinnamon-desktop-3.0.2, Log file:

>>>  '/var/log/portage/gnome-extra:cinnamon-desktop-3.0.2:20170124-121023.log'



Has anybody an idea what maybe the problem here?

Thank you,

Frink
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21754
Location: here

PostPosted: Tue Jan 24, 2017 1:12 pm    Post subject: Reply with quote

You can post full build.log with wgetpaste?
For emcas error 22828 Illegal instruction ./temacs --batch --load loadup bootstrap can be caused from wrong cflags, post also your emerge --info
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Prof. Frink
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2017
Posts: 93

PostPosted: Tue Jan 24, 2017 4:14 pm    Post subject: Reply with quote

Code:

 emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.23-r3, 4.4.39-gentoo x86_64)
=================================================================
System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_2020M_@_2.40GHz-with-gentoo-2.3
KiB Mem:     7992508 total,   7719164 free
KiB Swap:    4749304 total,   4749304 free
Timestamp of repository gentoo: Tue, 24 Jan 2017 11:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xinerama 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Full build log emacs
Full build log cinnamon-desktop
Back to top
View user's profile Send private message
Prof. Frink
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2017
Posts: 93

PostPosted: Tue Jan 24, 2017 4:48 pm    Post subject: Reply with quote

I now found out it was due to wrong optimization flags in CPU_FLAGS_X86 variable. Setting it to the output of cpuinfo2cpuflags-x86 solved the problem. Thanks for your hint.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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