Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487386 - =media-tv/mythtv-0.27_p20130924 - ?
Summary: =media-tv/mythtv-0.27_p20130924 - ?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 07:05 UTC by Stefan G. Weichinger
Modified: 2014-02-01 23:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G. Weichinger 2013-10-09 07:05:46 UTC
can't emerge media-tv/mythtv-0.27_p20130924 on 2 of my ~amd64 systems


Reproducible: Always

Steps to Reproduce:
1. emerge -1 mythtv



Expected Results:  
correct merge of mythtv-0.27

Last lines of /mnt/ramportage/portage/media-tv/mythtv-0.27_p20130924/temp/build.log:


YASM	libswscale/x86/scale.o
LD	libavcodec/libmythavcodec.so.54
LD	libswscale/libmythswscale.so.2
LD	libpostproc/libmythpostproc.so.52
LD	libavformat/libmythavformat.so.54
LD	libavfilter/libmythavfilter.so.3
LD	libavdevice/libmythavdevice.so.54
LD	ffmpeg_g
LD	ffprobe_g
LD	ffserver_g
CP	ffserver
STRIP	ffserver
skipping strip ffserver
CP	ffmpeg
CP	ffprobe
STRIP	ffmpeg
skipping strip ffmpeg
STRIP	ffprobe
skipping strip ffprobe
make[2]: Leaving directory `/mnt/ramportage/portage/media-tv/mythtv-0.27_p20130924/work/mythtv-0.27/mythtv/external/FFmpeg'
make[1]: Leaving directory `/mnt/ramportage/portage/media-tv/mythtv-0.27_p20130924/work/mythtv-0.27/mythtv/external'
make: *** [external] Fehler 2
 * ERROR: media-tv/mythtv-0.27_p20130924::gentoo failed (compile phase):
 *   emake failed
 

emerge --info for my desktop:

# emerge --info
!!! Repository 'ephemeral' is missing masters attribute in '/var/lib/layman/ephemeral/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.1, glibc-2.17, 3.11.4-gentoo x86_64)
=================================================================
System uname: Linux-3.11.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    10220784 total,   3284160 free
KiB Swap:    2047996 total,   2047996 free
Timestamp of tree: Wed, 09 Oct 2013 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/ccache:          3.1.9-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.7.3, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo ephemeral mrpdaemon flow hiro-oops-intern
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=1.5 --ignore-built-slot-operator-deps=y"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -l10"
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="/mnt/ramportage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ephemeral /var/lib/layman/mrpdaemon /var/lib/layman/flow /usr/local/portage"
SYNC="rsync://172.32.99.6/gentoo-portage"
USE="X a52 aac acl alsa amd64 berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cleartype cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb vaapi vorbis wxwidgets x264 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="systemd caps dm lvm mdraid" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-09 12:14:05 UTC
Please attach the complete build log; your current extract doesn't contain the actual error and other information that we need to help you.
Comment 2 Stefan G. Weichinger 2013-10-09 12:56:02 UTC
(In reply to Tom Wijsman (TomWij) from comment #1)
> Please attach the complete build log; your current extract doesn't contain
> the actual error and other information that we need to help you.

Sorry for the noise ... I now looked through the build.log and noticed that some of my CFLAGS were not escaped/interpreted correctly.

I now went back to some basic CFLAGS and mythtv compiled correctly.

solved for me ... sorry once more ...
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-09 13:21:44 UTC
You might want to look into -march=native -mtune=native to see if you can cut down on the high amount of flags; unless, the flags you use are produced by those and you have simply copied. I mean, just be wary of random flags to avoid bugs...
Comment 4 Stefan G. Weichinger 2013-10-09 13:46:03 UTC
(In reply to Tom Wijsman (TomWij) from comment #3)
> You might want to look into -march=native -mtune=native to see if you can
> cut down on the high amount of flags; unless, the flags you use are produced
> by those and you have simply copied. I mean, just be wary of random flags to
> avoid bugs...

I had some huge $CFLAGS copied from the output of 

"gcc -### -e -v -march=native /usr/include/stdlib.h"

Now I am back at the more generic:

CFLAGS="-O2 -pipe -march=corei7-avx -fomit-frame-pointer"

Should also do the trick (for @system etc) ? Thanks ...
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-02-01 23:59:14 UTC
Given that you have such a processor, yes.