Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562876 - media-libs/x264-9999: Failed Patch: x264-cflags.patch
Summary: media-libs/x264-9999: Failed Patch: x264-cflags.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 06:26 UTC by Perfect Gentleman
Modified: 2015-10-23 23:04 UTC (History)
1 user (show)

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 Perfect Gentleman 2015-10-12 06:26:39 UTC
* Applying x264-cflags.patch ...

 * Failed Patch: x264-cflags.patch !
 *  ( /usr/portage/media-libs/x264/files/x264-cflags.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/portage/media-libs/x264-9999/temp/x264-cflags.patch.out

 * ERROR: media-libs/x264-9999::gentoo failed (prepare phase):
 *   Failed Patch: x264-cflags.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   90:  Called src_prepare
 *   environment, line 3034:  Called epatch '/usr/portage/media-libs/x264/files/x264-cflags.patch'
 *   environment, line  893:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";


Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2015-10-12 07:57:28 UTC
fixed while bumping a snapshot, thx
Comment 2 Frederico 2015-10-23 22:38:29 UTC
(In reply to Alexis Ballier from comment #1)
> fixed while bumping a snapshot, thx

Dear Alexis,
Will this patch take too long to get in the portage? Could you give me some help?
Thanks,
Fred



[32;01m * [39;49;00mPackage:    media-libs/x264-0.0.20151011
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: media-video@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_32 abi_x86_64 amd64 cpu_flags_x86_sse elibc_glibc interlaced kernel_linux threads userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking x264-snapshot-20151011-2245.tar.bz2 to /var/tmp/portage/media-libs/x264-0.0.20151011/work
>>> Source unpacked in /var/tmp/portage/media-libs/x264-0.0.20151011/work
>>> Preparing source in /var/tmp/portage/media-libs/x264-0.0.20151011/work/x264-snapshot-20151011-2245 ...
 [32;01m*[0m Applying x264-0.0.20151011-cflags.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/x264-0.0.20151011/work/x264-snapshot-20151011-2245 ...
 [32;01m*[0m abi_x86_32.x86: running multilib-minimal_abi_src_configure
platform:      X86
byte order:    little-endian
system:        LINUX
cli:           no
libx264:       internal
shared:        yes
static:        no
asm:           yes
interlaced:    yes
avs:           no
lavf:          no
ffms:          no
mp4:           no
gpl:           yes
thread:        posix
opencl:        no
filters:       crop select_every 
debug:         no
gprof:         no
strip:         no
PIC:           yes
bit depth:     8
chroma format: all

You can run 'make' or 'make fprofiled' now.
 [32;01m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_configure
platform:      X86_64
byte order:    little-endian
system:        LINUX
cli:           no
libx264:       internal
shared:        yes
static:        no
asm:           yes
interlaced:    yes
avs:           no
lavf:          no
ffms:          no
mp4:           no
gpl:           yes
thread:        posix
opencl:        no
filters:       crop select_every 
debug:         no
gprof:         no
strip:         no
PIC:           yes
bit depth:     8
chroma format: all

You can run 'make' or 'make fprofiled' now.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/x264-0.0.20151011/work/x264-snapshot-20151011-2245 ...
 [32;01m*[0m abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -j16 
dependency file generation...
x86_64-pc-linux-gnu-gcc -m32 -Wno-maybe-uninitialized -Wshadow -march=native -
yasm -I. -I../x264-snapshot-20151011-2245 -DARCH_X86_64=0 -I../x264-snapshot-20151011-2245/common/x86/ -f elf32 -Worphan-labels -DSTACK_ALIGNMENT=32 -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/x86/mc-a.o ../x264-snapshot-20151011-2245/common/x86/mc-a.asm
yasm -I. -I../x264-snapshot-20151011-2245 -DARCH_X86_64=0 -I../x264-snapshot-20151011-2245/common/x86/ -f elf32 -Worphan-labels -DSTACK_ALIGNMENT=32 -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/x86/mc-a2.o ../x264-snapshot-20151011-2245/common/x86/mc-a2.asm
In file included from ../x264-snapshot-20151011-2245/common/common.h:117:0,
                 from ../x264-snapshot-20151011-2245/encoder/me.c:28:
../x264-snapshot-20151011-2245/encoder/me.c: In function ‘x264_me_search_ref’:
../x264-snapshot-20151011-2245/common/osdep.h:261:13: error: ‘asm’ operand has impossible constraints



... ... ...

... ... ...


 #define asm __asm__
             ^
../x264-snapshot-20151011-2245/common/x86/util.h:130:5: note: in expansion of macro ‘asm’
     asm(
     ^
../x264-snapshot-20151011-2245/common/osdep.h:261:13: error: ‘asm’ operand has impossible constraints
 #define asm __asm__
             ^
../x264-snapshot-20151011-2245/common/x86/util.h:193:5: note: in expansion of macro ‘asm’
     asm(
     ^
yasm -I. -I../x264-snapshot-20151011-2245 -DARCH_X86_64=0 -I../x264-snapshot-20151011-2245/common/x86/ -f elf32 -Worphan-labels -DSTACK_ALIGNMENT=32 -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/x86/pixel-a.o ../x264-snapshot-20151011-2245/common/x86/pixel-a.asm
yasm -I. -I../x264-snapshot-20151011-2245 -DARCH_X86_64=0 -I../x264-snapshot-20151011-2245/common/x86/ -f elf32 -Worphan-labels -DSTACK_ALIGNMENT=32 -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/x86/predict-a.o ../x264-snapshot-20151011-2245/common/x86/predict-a.asm
yasm -I. -I../x264-snapshot-20151011-2245 -DARCH_X86_64=0 -I../x264-snapshot-20151011-2245/common/x86/ -f elf32 -Worphan-labels -DSTACK_ALIGNMENT=32 -DPIC -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/x86/quant-a.o ../x264-snapshot-20151011-2245/common/x86/quant-a.asm
<builtin>: recipe for target 'encoder/me.o' failed
make: *** [encoder/me.o] Error 1
make: *** Waiting for unfinished jobs....
 [31;01m*[0m ERROR: media-libs/x264-0.0.20151011::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/x264-0.0.20151011::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/x264-0.0.20151011::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/x264-0.0.20151011/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/x264-0.0.20151011/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/x264-0.0.20151011/work/x264-snapshot-20151011-2245-abi_x86_32.x86'
 [31;01m*[0m S: '/var/tmp/portage/media-libs/x264-0.0.20151011/work/x264-snapshot-20151011-2245'


emerge --info
  Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.2, glibc-2.22-r1, 4.0.0-gentoo x86_64)
=================================================================
System uname: Linux-4.0.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-5960X_CPU_@_3.00GHz-with-gentoo-2.2
KiB Mem:    16345988 total,   7165968 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Fri, 23 Oct 2015 06:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 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::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::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.22-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native"
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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,--as-needed"
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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl seccomp session spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb uvm vorbis wxwidgets x264 xattr xcb xml xv xvid 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="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON