Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35802 - `emerge avifile` failed to apply flvenc-patch
Summary: `emerge avifile` failed to apply flvenc-patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-14 07:26 UTC by Veszi Gabor
Modified: 2003-12-14 12:29 UTC (History)
1 user (show)

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


Attachments
Output of the patching (by emerge) (flvenc-patch-29992.out,2.63 KB, text/plain)
2003-12-14 07:29 UTC, Veszi Gabor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veszi Gabor 2003-12-14 07:26:22 UTC
While emerging avifile, I got an error, that several files are missing for the flvenc-patch.

Reproducible: Always
Steps to Reproduce:
1. emerge avifile

Actual Results:  
# emerge avifile
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/avifile-0.7.38.20030710 to /
>>> md5 src_uri ;-) avifile-0.7-0.7.38.tar.gz
>>> Unpacking source...
>>> Unpacking avifile-0.7-0.7.38.tar.gz to
/var/tmp/portage/avifile-0.7.38.20030710/work
 * Applying flvenc-patch...

 * Failed Patch: flvenc-patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/avifile-0.7.38.20030710/temp/flvenc-patch-29607.out


!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: flvenc-patch!


Expected Results:  
Say, that everything is OK :)

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline arts tetex svga tcltk X sdl gpm tcpd pam libwww ssl python
esd imlib oggvorbis gnome gtk qt motif opengl acpi alsa bonobo cdr dga dvd
ethereal gtk2 imap java maildir mmx mozilla mysql perl samba sse usb"
Comment 1 Veszi Gabor 2003-12-14 07:29:10 UTC
Created attachment 22193 [details]
Output of the patching (by emerge)
Comment 2 FieldySnuts 2003-12-14 08:48:35 UTC
I am also seeing this problem. I just performed a sync.

# emerge mjpegtools
Calculating dependencies ...done!
>>> emerge (1 of 2) media-video/avifile-0.7.38.20030710 to /
>>> md5 src_uri ;-) avifile-0.7-0.7.38.tar.gz
>>> Unpacking source...
>>> Unpacking avifile-0.7-0.7.38.tar.gz to /var/tmp/portage/avifile-0.7.38.20030710/work
qt
 * Applying flvenc-patch...

 * Failed Patch: flvenc-patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/avifile-0.7.38.20030710/temp/flvenc-patch-3377.out


!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: flvenc-patch!


# emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(TM) XP 1800+
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs buildpkg ccache notitles"
GENTOO_MIRRORS="http://wh0rd.de/gentoo http://gentoo.noved.org/ http://mirrors.tds.net/gentoo http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses nls png quicktime spell xml2 xv zlib alsa gdbm berkdb slang readline aalib svga java sdl tcpd pam ssl python imlib qt motif opengl mozilla ldap X gtk gtk2 gpm gnome 3dnow cdr dv encode kde mmx oggvorbis pdflib perl sse tiff truetype xmms -arts -esd -ipv6"

Comment 3 FieldySnuts 2003-12-14 08:49:33 UTC
The error asked me to include the output of /var/tmp/portage/avifile-0.7.38.20030710/temp/flvenc-patch-3377.out , however, this file is empty.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-12-14 09:40:17 UTC
md5 is good ?

which version of patch
Comment 5 Veszi Gabor 2003-12-14 10:21:04 UTC
Yeah, md5 is good

>>> md5 src_uri ;-) avifile-0.7-0.7.38.tar.gz

I don't know, which "patch version" you mean:

# head -n 2 /usr/portage/media-video/avifile/files/flvenc-patch
--- flvenc.c.org        2003-09-06 17:56:37.000000000 +0000
+++ ffmpeg/libavformat/flvenc.c 2003-09-06 17:51:55.000000000 +0000

# patch -v                 
patch 2.5.9
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-12-14 10:42:22 UTC
aliz broke it

just add 
cd ${S} after
unpack ${A}
Comment 7 Veszi Gabor 2003-12-14 10:49:44 UTC
works now.
thanks!
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-12-14 12:29:49 UTC
fixed in cvs