Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561984 - media-tv/mythtv-0.27.5_p20150904-r2 build failure
Summary: media-tv/mythtv-0.27.5_p20150904-r2 build failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 14:13 UTC by Saul Peebsen
Modified: 2015-10-07 11:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.bz2,32.19 KB, application/x-bzip)
2015-10-01 14:16 UTC, Saul Peebsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Peebsen 2015-10-01 14:13:32 UTC
media-tv/mythtv-0.27.5_p20150904-r2 build fails on my i3 backend, built fine on my i5 laptop frontend.

Reproducible: Always

Steps to Reproduce:
1.emerge -u mythtv
2.
3.
Actual Results:  
Build fails.

Expected Results:  
Successful compilation.
Comment 1 Saul Peebsen 2015-10-01 14:15:34 UTC
Portage 2.2.22 (python 3.4.3-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.3, glibc-2.21-r1, 4.2.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.1-gentoo-x86_64-Intel-R-_Core-TM-_i3-4130T_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    16295980 total,   2937056 free
KiB Swap:    1048572 total,    937164 free
Timestamp of repository gentoo: Thu, 01 Oct 2015 00:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -floop-interchange -floop-strip-mine -floop-block -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--exclude vanilla-sources"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noinfo 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="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
USE="X a52 aac acpi alsa amd64 berkdb bindist bzip2 cairo cgi cli consolekit crypt cxx dri dvb encode ffmpeg fftw fortran g3dvl gdbm gif gudev hwdb iconv ipv6 jpeg libass lm_sensors mmx mmxext mng modules mysql ncurses nfs nptl ogg opengl openmp pcre perl png policykit python readline seccomp session sse sse2 sse3 ssl ssse3 tiff udev unicode v4l vaapi vdpau xinerama xorg 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-tv/mythtv-0.27.5_p20150904-r2::gentoo would be built with the following:
USE="alsa dvb fftw hls libass perl python theora vaapi vdpau vorbis wrapper xml xvid (-altivec) -autostart -bluray -cec -crystalhd -debug -dvd -egl -ieee1394 -jack -lcd -lirc -pulseaudio -raop -xmltv" INPUT_DEVICES="-joystick" PYTHON_TARGETS="python2_7"

>>> Attempting to run pkg_info() for 'media-tv/mythtv-0.27.5_p20150904-r2'
Please attach all output as a file in bug reports.
MythTV Version : 9498257571e8158926b60a0eefc74568c4436823
MythTV Branch : fixes/0.27
Network Protocol : 77
Library API : 0.27.20150622-1
QT Version : 4.8.7
Options compiled in:
 linux release use_hidesyms using_alsa using_oss using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_hdhomerun using_ceton using_hdpvr using_ivtv using_libcrypto using_libxml2 using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_mythlogserver using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
Comment 2 Saul Peebsen 2015-10-01 14:16:32 UTC
Created attachment 413450 [details]
build.log
Comment 3 Saul Peebsen 2015-10-02 17:28:27 UTC
I'm using below settings to build.

CFLAGS="-march=native -O2 -pipe -fno-devirtualize"
CXXFLAGS="${CFLAGS}"
MAKEOPTS=-j1
FEATURES="-distcc -ccache"
Comment 4 Florian Evers 2015-10-04 16:38:58 UTC
Hi,

I have multiple boxes here that show the same misbehavior as stated in this bug report. I made some tests, and now I know that this is caused by the gcc update from 4.8.4 to 4.9.3. When I switch back to 4.8.4, mythtv builds without errors.
Comment 5 Florian Evers 2015-10-06 18:39:57 UTC
This seems to be a duplicate of bug #516692. As stated there, I was able to compile mythtv with gcc-4.9.3 by switching my CFLAGS from -O2 to -O1.
Comment 6 Saul Peebsen 2015-10-07 11:18:17 UTC
I tried one more time and this time the build was successful. Not sure what has changed in this system. I'm marking it as solved.