Ebuilds of a53dec fails (this is not Bug 95312) Reproducible: Always Steps to Reproduce: 1. emerge a52dec 2. 3. Actual Results: >>> md5 files ;-) a52dec-0.7.4-r3.ebuild >>> md5 files ;-) a52dec-0.7.4.ebuild >>> md5 files ;-) a52dec-0.7.4-r5.ebuild >>> md5 files ;-) a52dec-0.7.4-r4.ebuild >>> md5 files ;-) files/digest-a52dec-0.7.4-r3 >>> md5 files ;-) files/digest-a52dec-0.7.4-r4 >>> md5 files ;-) files/digest-a52dec-0.7.4-r5 >>> md5 files ;-) files/a52dec-0.7.4-freebsd.patch >>> md5 files ;-) files/a52dec-0.7.4-build.patch >>> md5 files ;-) files/digest-a52dec-0.7.4 >>> md5 src_uri ;-) a52dec-0.7.4.tar.gz >>> Unpacking source... >>> Unpacking a52dec-0.7.4.tar.gz to /tmp/portage/a52dec-0.7.4-r5/work * Applying a52dec-0.7.4-build.patch ... [ ok ] * Applying a52dec-0.7.4-freebsd.patch ... * Failed Patch: a52dec-0.7.4-freebsd.patch ! * ( /usr/portage/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch ) * * Include in your bugreport the contents of: * * /tmp/portage/a52dec-0.7.4-r5/temp/a52dec-0.7.4-freebsd.patch-23266.out !!! ERROR: media-libs/a52dec-0.7.4-r5 failed. !!! Function epatch, Line 359, Exitcode 0 !!! Failed Patch: a52dec-0.7.4-freebsd.patch! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compilation of a52dec. # emerge info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mir.zyrianes.net/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aac acl acpi aim alsa apache2 arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dbus dvd dvdr emul-linux-x86 encode esd exif faac fam ffmpeg flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 jabber java jpeg kde lm_sensors lzw lzw-tiff mad maildir mime mozilla mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis opengl oscar pam pdflib perl php png posix postfix python qt quicktime readline sdl spell ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xosd xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 64692 [details] a52dec-0.7.4-freebsd.patch-23710.out PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/media-libs/a52dec/files/a52dec-0.7.4-freebsd.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/a52dec-0.7.4-r5/work/a52dec-0.7.4/libao/audio_out_oss.c 2002-04-28 12:23:02 +0200 |+++ audio_out_oss.c 2005-07-23 15:42:50 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
Can you please tell which version of patch are you using ?
My version of patch is 2.5.9-r1. My gentoo system has been build from scratch two days ago.
edit localhost # diff a52dec-0.7.4-freebsd.patch a52dec-0.7.4-freebsd.patch.orig 1c1 < --- a52dec-0.7.4/libao/audio_out_oss.c 2002-04-28 12:23:02 +0200 --- > --- /var/tmp/portage/a52dec-0.7.4-r5/work/a52dec-0.7.4/libao/audio_out_oss.c 2002-04-28 12:23:02 +0200 localhost # cd /usr/portage/media-libs/a52dec/files/ localhost files # emacs a52dec-0.7.4-freebsd.patch delete /var/tmp/portage/a52dec-0.7.4-r5/work/ localhost files # cd .. localhost a52dec # ebuild a52dec-0.7.4-r5.ebuild digest (In reply to comment #3) > My version of patch is 2.5.9-r1. My gentoo system has been build from scratch > two days ago.
Created attachment 65061 [details, diff] a52dec-0.7.4-freebsd.patch patched
(In reply to comment #5) I applied your patch, and I can confirm that this buig is now closed. Thank you.
*** Bug 101631 has been marked as a duplicate of this bug. ***
R
Régis, don't mark bugs as fixed when they are not fixed in the portage tree. Fixing the issue for yourself is not enough.
Happens on x86 as well.
Patch in portage still fails. I ran into this because today a53dec has been marked stable on x86 despite not even unpacking correctly...
the patch applies without problems here on x86.. and the ebuild was already stable on amd64/ppc/ppc64... worst case we can just pull the freebsd patch from -r5 and make a -r6 .. I dont really like patches being added to stable packages...
The patch on the mirrors and the one in cvs currently differ: revision 1.2 date: 2005/08/11 14:36:58; author: sbriesen; state: Exp; lines: +2 -2 changing absolute path to relative in freebsd.patch, if you're using a non-standard portage-temp location, patching would fail. (Portage version: 2.0.51.22-r2) I expect this will sort itself out as the mirrors catch up and this bug can be closed.
mirrors should have caught up a long time ago.. re-open if the problem re-appears