Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpeg remerge fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
harryrage
n00b
n00b


Joined: 28 Oct 2014
Posts: 9

PostPosted: Sat Feb 14, 2015 11:47 am    Post subject: ffmpeg remerge fails Reply with quote

emerge for ffmpeg fails:
portage tells it cannot create files or dirs in the temp dir but this is not true and files get also created properly.... anyhow the configure process will fail.

build.log :
 * Package: media-video/ffmpeg-1.2.6-r1
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org
 * USE: X abi_x86_64 alsa amd64 bzip2 cpu_flags_x86_mmx elibc_glibc encode fftools_aviocat fftools_cws2fws fftools_ffescape fftools_ffeval fftools_fourcc2pixfmt fftools_graph2dot fftools_ismindex fftools_pktdumper fftools_qt-faststart fftools_trasher hardcoded-tables iconv kernel_linux mp3 network pic selinux userland_GNU x264 xvid zlib
 * FEATURES: preserve-libs sandbox selinux sesandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ffmpeg-1.2.6.tar.bz2 to /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work
>>> Source unpacked in /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work
>>> Preparing source in /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6 ...
* Applying dirac_arith_hardened.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=-march=core2 -O2 -pipe --extra-cflags=-march=core2 -O2 -pipe --extra-cxxflags=-march=core2 -O2 -pipe --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --disable-outdev=sdl --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --disable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --disable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-libass --disable-libfreetype --disable-libsoxr --disable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgsm --disable-libmodplug --disable-libopus --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libvorbis --disable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmxext --disable-ssse3 --disable-vis --disable-neon --enable-pic --cpu=core2
Unable to create and execute files in /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/temp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
* ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2973: Called multilib-minimal_src_configure
* environment, line 2074: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2281: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2005: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2003: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 537: Called multilib-minimal_abi_src_configure
* environment, line 2068: Called multilib_src_configure
* environment, line 2585: Called die
* The specific snippet of code:
* "${@}" || die
*
* If you need support, post the output of `emerge --info '=media-video/ffmpeg-1.2.6-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-1.2.6-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6'

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

env.:
Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64/selinux, gcc-4.8.3-hardenednopie, glibc-2.19-r1, 3.17.7-hardened-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.17.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i5-3330S_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem: 7862152 total, 3698744 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Sat, 14 Feb 2015 07:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.2_p53
dev-lang/perl: 5.20.1-r4
dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.13.9
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1
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: gentoo crossdev
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
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.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -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 selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage"
USE="X acl acpid alsa amd64 audit avi berkdb bzip2 cli cracklib crypt cups cxx dbus dri gd gdbm gimp gnome gpg gradm gtk gudev hal hardened iconv ipv6 jpeg justify ldap libav lighttpd mmx modules mp3 mp4 mpeg multilib ncurses nls nptl open_perms opengl openmp pam pax pax_kernel pcre peer_perms php png policykit python qt3support readline selinux session sse sse2 ssl systemd tcpd tif ubac udisks unconfined unicode urandom usb webkit x264 xattr xtpax 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" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i915 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"
USE_PYTHON="2.7"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

useflags:

media-video/ffmpeg-1.2.6-r1 USE="X alsa bzip2 encode hardcoded-tables iconv mp3 network pic x264 xvid zlib -aac -aacplus (-altivec) -amr -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libsoxr -libv4l -modplug (-neon) -openal -openssl -opus -oss -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -truetype -twolame -v4l -vaapi -vdpau (-vis) -vorbis -vpx" ABI_X86="(64) (-32) (-x32)" CPU_FLAGS_X86="avx mmx mmxext ssse3 -3dnow -3dnowext" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher"

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Sat Feb 14, 2015 11:54 am    Post subject: Re: ffmpeg remerge fails Reply with quote

harryrage wrote:
Code:
[...] and make sure that it is not mounted noexec.

harryrage ... that seems to be the source of your problem.

best ... khay
Back to top
View user's profile Send private message
harryrage
n00b
n00b


Joined: 28 Oct 2014
Posts: 9

PostPosted: Sat Feb 14, 2015 12:12 pm    Post subject: Reply with quote

one of the first things i checked... the drive is not mounted noexec.... whether any tmpfs... is there any serious recommendation?
portage is creating the temp dir... so it will have all privileges.... tmpfs environment is also not mounted noexec
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Sat Feb 14, 2015 12:25 pm    Post subject: Reply with quote

harryrage wrote:
one of the first things i checked... the drive is not mounted noexec.... whether any tmpfs... is there any serious recommendation? portage is creating the temp dir... so it will have all privileges.... tmpfs environment is also not mounted noexec

harryrage ... ok, then if /var (or whatever filesystem /var/tmp/portage is on) isn't mounted as noexec then this has to be some issue with hardened/selinux ... can't help in that regard, you're probably best to report it.

best ... khay
Back to top
View user's profile Send private message
harryrage
n00b
n00b


Joined: 28 Oct 2014
Posts: 9

PostPosted: Sat Feb 14, 2015 12:38 pm    Post subject: Reply with quote

anyways thanks for your time...
again it is some hardened kernel issue... had something similar before
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Feb 14, 2015 4:58 pm    Post subject: Reply with quote

You're going to have more problems with ffmpeg soon enough if you leave USE=libav set.
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 353
Location: California USA

PostPosted: Mon Feb 23, 2015 10:12 pm    Post subject: Reply with quote

It's bug 519566.
_________________
Zac
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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