Closed jonashrem closed 9 years ago
emerge --info
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.2
KiB Mem: 16309404 total, 6590024 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Tue, 03 Feb 2015 17:15:02 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash: 4.2_p53
dev-java/java-config: 2.2.0
dev-lang/perl: 5.18.2-r2
dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache: 3.1.9-r4
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.13.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.10.3-r1, 1.11.6-r1, 1.13.4
sys-devel/binutils: 2.24-r3
sys-devel/gcc: 4.7.3-r1, 4.8.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.4
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: x-portage seden x11 multimedia Armageddon mrueg mpd poly-c CodeInBarrels-Overlay steam-overlay bitcoin vincent sunrise lightscribe sublime-text kde gnome15 rion pipelight haskell qt calculate emc kodi-overlay gentoo
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -O2 -pipe -march=native -fomit-frame-pointer "
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/seden /var/lib/layman/x11 /var/lib/layman/multimedia /var/lib/layman/Armageddon /var/lib/layman/mrueg /var/lib/layman/mpd /var/lib/layman/poly-c /var/lib/layman/cib /var/lib/layman/steam /var/lib/layman/bitcoin /var/lib/layman/vincent /var/lib/layman/sunrise /var/lib/layman/lightscribe /var/lib/layman/sublime-text /var/lib/layman/kde /var/lib/layman/gnome15 /var/lib/layman/rion /var/lib/layman/pipelight /var/lib/layman/haskell /var/lib/layman/qt /var/lib/layman/calculate /var/lib/layman/emc /var/lib/layman/kodi-overlay /usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib accesibility acl acpi ads aes alsa amd64 apcupsd apm avx bash-completion berkdb bluetooth bluray branding bzip2 c++0x cairo cdda cdr cgi cjk cli consolekit corefonts cracklib creds crypt cups curl curlwrappers cxx dbus declarative dri dts dvd dvdr embedded emboss encode examples exif extra extraengine fam ffmpeg firefox flac fma4 fontconfig fortran freerdp frei0r ftp g19 g19d g3dvl games gcj gdbm gif glamor gles2 gmail gmp gnuplot gnutls gpm graphite graphviz gsm gstreamer gtk handbook iconv icq icu imagemagick imap imlib iostats ipv6 jabber jadetex java javascript jingle jpeg jpeg2k kde kipi kpathsea kvm ladspa latex lcd lcms ldap lg4l-module libass libav libnotify lm_sensors lock lto lzma mad mclib melt mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib ncurses network nforce2 nls nptl nsplugin nvidia nvm ogg openal opencl opengl openmp osdmenu oss pam pango pcre pcre16 pcsc-lite pdf phonon pipelight plasma pmu png policykit popcnt ppds pulseaudio pvr python q64 qt3support qt4 readline s3tc sals samba scanner sdl semantic-desktop session sip sipim smartcard source spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification steamgames_source_engine steamruntime svg system-wine systray tcpd themes theora threads thunar tiff tk trayicon truetype tty-helpers udev udisks unicode upcall upower usb v4l vaapi vde vdpau video vorbis vpx wav webp widgets winbind wmf wxwidgets x264 x265 xcb xcomposite xetex xinerama xml xmpp xop xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64 32" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev void" KERNEL="linux" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64 arm" QEMU_USER_TARGETS="arm i386 x86_64 arm ppc64" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia displaylink nouveau" 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"
USE_PYTHON="2.7 3.3 3.4"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is unusual.
Could I ask you to run revdep-rebuild
from app-portage/gentoolkit
and see if it finds packages that need to be rebuilt? If it finds nothing and says linking on your system is consistent we will continue debugging from there.
revdep-rebuild finds nothing to rebuild I'm afraid.
I can test if it builds manuell with the configure paramters the ebuild in the evening
This is indeed unusual. I did q quick search and found basically the same issue here: http://forum.kodi.tv/showthread.php?tid=209313
Do you crosscompile by accident?
Based on the error message I had a look at: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Present-But-Cannot-Be-Compiled.html
Your emerge --info
shows sys-devel/autoconf: 2.13, 2.69
. Possibly the two versions create some conflict in that case?
I don't crosscompile no but I have ABI_X86="64 32" enabled.
I don't think it should affect kodi and ABI_X86="64" sudo emerge kodi doesn't help either.
I removed autoconf 2.13 and made another revdep-rebuild afterwars but same problem.
The funny think is. When I download kodi from http://mirrors.kodi.tv/releases/source/ it builds fine with ./bootstrab
./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/kodi-14.1 --disable-ccache --disable-optimizations --enable-gl --disable-airplay --enable-avahi --enable-libbluray --disable-libcec --enable-dvdcss --disable-debug --enable-fishbmc --enable-gles --disable-goom --enable-joystick --enable-mid --enable-mysql --enable-nfs --enable-gl --enable-profiling --enable-projectm --enable-pulse --enable-mythtv --enable-rsxs --enable-rtmp --enable-samba --enable-sdl --enable-ssh --disable-gtest --enable-libusb --enable-upnp --enable-vaapi --enable-vdpau --disable-webserver --enable-x11 --enable-xrandr
make
so either has to do something with one of the patches or with my portage settings or does the ebuild do somethink different?
Ok. After some trying different things I got it working by changing
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" to CFLAGS="-O2 -march=native "
as I think -fomit-frame-pointer is included in -O2 anywway (unless you do some sort of cflag filtering there) there might be a problem with -pipe
see https://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html
That's good to know.
Personally I do use a 32bit Intel Atom system and have CFLAGS="-march=atom -O2 -pipe -fomit-frame-pointer"
in my make.conf
which works fine.
If it works for you I'm going to close that report for now.
ok
Kodi fails to build for me. Happens with both 14.1 and 9999
When I manualy download Kodi I can run ./configure --disable-webserver --disable-profiling without errors