Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100769 - media-libs/a52dec-0.7.4-r5 : emerge Failed Patch: a52dec-0.7.4-freebsd.patch
Summary: media-libs/a52dec-0.7.4-r5 : emerge Failed Patch: a52dec-0.7.4-freebsd.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 101631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-29 17:26 UTC by Régis Décamps
Modified: 2005-08-11 22:07 UTC (History)
4 users (show)

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


Attachments
a52dec-0.7.4-freebsd.patch-23710.out (a52dec-0.7.4-freebsd.patch-23907.out,3.10 KB, text/plain)
2005-07-29 17:29 UTC, Régis Décamps
Details
a52dec-0.7.4-freebsd.patch (a52dec-0.7.4-freebsd.patch,350 bytes, patch)
2005-08-04 05:35 UTC, EdiG
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Régis Décamps 2005-07-29 17:26:57 UTC
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
Comment 1 Régis Décamps 2005-07-29 17:29:30 UTC
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
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-30 01:53:43 UTC
Can you please tell which version of patch are you using ? 
Comment 3 Régis Décamps 2005-07-30 02:15:56 UTC
My version of patch is 2.5.9-r1. My gentoo system has been build from scratch
two days ago.
Comment 4 EdiG 2005-08-04 05:34:17 UTC
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.

Comment 5 EdiG 2005-08-04 05:35:39 UTC
Created attachment 65061 [details, diff]
a52dec-0.7.4-freebsd.patch

patched
Comment 6 Régis Décamps 2005-08-05 16:09:43 UTC
(In reply to comment #5)
I applied your patch, and I can confirm that this buig is now closed. Thank you.

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 05:49:26 UTC
*** Bug 101631 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 05:51:03 UTC
R
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 05:51:03 UTC
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. 
Comment 10 Alexander Skwar 2005-08-09 21:25:19 UTC
Happens on x86 as well.
Comment 11 Chris Bainbridge (RETIRED) gentoo-dev 2005-08-11 09:46:28 UTC
Patch in portage still fails. I ran into this because today a53dec has been
marked stable on x86 despite not even unpacking correctly...
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2005-08-11 10:06:10 UTC
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... 
Comment 13 Chris Bainbridge (RETIRED) gentoo-dev 2005-08-11 10:25:23 UTC
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.
Comment 14 Olivier Crete (RETIRED) gentoo-dev 2005-08-11 22:07:31 UTC
mirrors should have caught up a long time ago.. re-open if the problem re-appears