Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164436 - media-video/ffmpeg-0.4.9_p20070129 failed patch
Summary: media-video/ffmpeg-0.4.9_p20070129 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 164531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-29 17:52 UTC by Christian Authmann
Modified: 2007-01-30 11:46 UTC (History)
3 users (show)

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


Attachments
patch (ffmpeg-libdir-2007.patch,403 bytes, patch)
2007-01-29 18:45 UTC, Boohbah
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Authmann 2007-01-29 17:52:10 UTC
media-video/ffmpeg-0.4.9_p20070129 fails to compile on both my computers, amd64 and x86.

Error message:

>>> Unpacking source...
>>> Unpacking ffmpeg-0.4.9-p20070129.tar.bz2 to /var/tmp/portage/ffmpeg-0.4.9_p20070129/work
 * Applying ffmpeg-libdir-2007.patch ...

 * Failed Patch: ffmpeg-libdir-2007.patch !
 *  ( /usr/portage/media-video/ffmpeg/files/ffmpeg-libdir-2007.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/ffmpeg-0.4.9_p20070129/temp/ffmpeg-libdir-2007.patch-9305.out

extract of the mentioned logfile:

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/ffmpeg/files/ffmpeg-libdir-2007.patch

====================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070129/work/ffmpeg/configure.orig     2007-01-29 15:24:05.000000000 +0100
|+++ /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070129/work/ffmpeg/configure  2007-01-29 15:37:23.000000000 +0100


Reason: the patch tries to find the file in /var/tmp/portage/media-video/ffmpeg.. instead of /var/tmp/portage/ffmpeg.. (notice the media-video subdirectory). Adding a proper symlink will lead to a working compile.

as far as I can tell only the ffmpeg-libdir-2007.patch is broken.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/ffmpeg-0.4.9_p20070129

Actual Results:  
error message as described above

Expected Results:  
compiling the package

emerge --info from the x86 machine:

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 29 Jan 2007 16:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="en en_US en_GB de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="disabled"
USE="x86 X aac alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol ati avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dlloader dri dvd dvdr elibc_glibc emboss encode fam ffmpeg flac fortran gdbm gif gpm gtk hal iconv input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k jpg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ linguas_de linguas_en linguas_en_GB linguas_en_US mad matroska mikmod mmx mp3 mp4 mpeg ncurses nls nptl nptlonly offensive ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python qt qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_radeon vorbis wifi win32codecs x264 xanim xcomposite xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeff Hansen 2007-01-29 18:14:31 UTC
This exact problems happens on my box as well.
Comment 2 Sergej Pisarenko 2007-01-29 18:44:57 UTC
I have this issue as well!
Comment 3 Boohbah 2007-01-29 18:45:25 UTC
Created attachment 108507 [details, diff]
patch

Removing media-video/ from the patch works.
Comment 4 Mike Nerone 2007-01-29 20:14:11 UTC
The ebuild isn't supposed to be stable. See bug #164445.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-30 11:41:43 UTC
*** Bug 164531 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-30 11:46:05 UTC
 29 Jan 2007; Luca Barbato <lu_zero@gentoo.org>
  files/ffmpeg-libdir-2007.patch:
  Make the patch working everywhere, thanks to Markus Trippelsdorf
  <markus@trippelsdorf.de> for pointing the issue