Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89473 - can't emerge mupen64, it fail to patch the makefile
Summary: can't emerge mupen64, it fail to patch the makefile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 17:49 UTC by Phantom
Modified: 2005-04-17 23:06 UTC (History)
0 users

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 Phantom 2005-04-17 17:49:58 UTC
mupen64 is completly impossible to emerge.
First:
!!! Digest verification Failed:
!!!    /usr/local/portage/distfiles/mupen64_sound.tar.bz2
!!! Reason: Failed on MD5 verification

easy fixed with:
# ebuild /usr/portage/games-emulation/mupen64/mupen64-0.4-r2.ebuild digest

but then I get more problems:
-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>> Unpacking mupen64_sound.tar.bz2 to /tmp/portage/mupen64-0.4-r2/work

bzip2: /usr/local/portage/distfiles/mupen64_sound.tar.bz2: trailing garbage after EOF ignored
>>> Unpacking hack_azi_rsp_hle.tar.bz2 to /tmp/portage/mupen64-0.4-r2/work
 * Applying mupen64-makefiles.patch ...

 * Failed Patch: mupen64-makefiles.patch !
 *  ( /usr/portage/games-emulation/mupen64/files/mupen64-makefiles.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /tmp/portage/mupen64-0.4-r2/temp/mupen64-makefiles.patch-8544.out
-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

I tried to comment it out in the ebuild, more patch error, comment again, more..
I ended up that it tried to compile...
-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>> Source unpacked.
make: Entering directory `/tmp/portage/mupen64-0.4-r2/work/emu64'
gcc athlon -Wall -pipe -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe   -c -o main/rom.o main/rom.c
gcc athlon -Wall -pipe -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe   -c -o r4300/r4300.o r4300/r4300.c
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [r4300/r4300.o] Error 1
-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reproducible: Always
Steps to Reproduce:
1. emerge mupen64
2. wait about 5 seconds

Actual Results:  
it fail to patch

Expected Results:  
successfull compilation and install

It worked once, but since then I chanced alot my USE flags, which ended up to
remove the directframe buffer stuff, so now I can't launch it anymore, hence the
reinstall...

Inclued here: emerge info and the output of the the patching...



# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.5n i686)
=================================================================
System uname: 2.6.11.5n i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 16:18:10)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ http://mirrors.tds.net/gentoo
http://gentoo.binarycompass.org http://mirrors.acm.cs.rpi.edu/gentoo/
http://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo
http://mirror.gentoo.ru/pub/mirror/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net
http://mirror.usu.edu/mirrors/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.llarian.net/ http://mirror.uni-c.dk/gentoo/
http://gentoo.cs.lewisu.edu/gentoo/ http://mirror.isp.net.au/pub/gentoo/
http://gentoo.blueyonder.co.uk
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://mir.zyrianes.net/gentoo/ http://gentoo.osuosl.org/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://cudlug.cudenver.edu/gentoo/
http://ftp.du.se/pub/os/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acpi alsa avi bash-completion bitmap-fonts
cdinstall cdr crypt css cups curl dga directfb dvd dvdr dvdread emboss encode
exif fam fbcon fbdev foomaticdb fortran gd gdbm gif gimpprint gnome gphoto2 gpm
gstreamer gtk gtk2 imagemagick imlib jack java jikes joystick jpeg libcaca
libg++ libwww live lzo maildir matroska mbox mikmod mmx mmx2 motif mozilla
moznocompose moznoirc mp3 mpeg mplayer mysql ncurses nls ogg oggvorbis opengl
oss pam pdflib perl php png ppds python qt quicktime readline rtc samba scanner
sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts underscores usb vcd videos vorbis xanim xchatdccserver xchattext
xinetd xml2 xmms xosd xv xvmc zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS







# cat /tmp/portage/mupen64-0.4-r1/temp/mupen64-makefiles.patch-9834.out
***** mupen64-makefiles.patch *****

===================================

PATCH COMMAND:  patch -p0 -g0 <
/usr/portage/games-emulation/mupen64/files/mupen64-makefiles.patch

===================================
patching file emu64/Makefile
patching file mupen64_input/Makefile
patching file hack_azi_rsp_hle/Makefile
patching file mupen64_sound/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mupen64_sound/Makefile.rej
===================================

PATCH COMMAND:  patch -p1 -g0 <
/usr/portage/games-emulation/mupen64/files/mupen64-makefiles.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:
--------------------------
|--- emu64/Makefile.orig        2004-07-15 21:50:36.577147160 +0000
|+++ emu64/Makefile     2004-07-15 21:53:11.189642488 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| #endif /* CONFIG_H */
|--- mupen64_input/Makefile.orig        2004-07-15 21:53:51.944446816 +0000
|+++ mupen64_input/Makefile     2004-07-15 21:54:34.593963104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 36
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- hack_azi_rsp_hle/Makefile.orig     2004-07-15 21:56:27.429809448 +0000
|+++ hack_azi_rsp_hle/Makefile  2004-07-15 21:57:15.940434712 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- mupen64_sound/Makefile.orig        2004-07-04 04:43:39.000000000 -0500
|+++ mupen64_sound/Makefile     2004-12-31 23:53:55.329185760 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================

PATCH COMMAND:  patch -p2 -g0 <
/usr/portage/games-emulation/mupen64/files/mupen64-makefiles.patch

===================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- emu64/Makefile.orig        2004-07-15 21:50:36.577147160 +0000
|+++ emu64/Makefile     2004-07-15 21:53:11.189642488 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 24 of patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| #endif /* CONFIG_H */
|--- mupen64_input/Makefile.orig        2004-07-15 21:53:51.944446816 +0000
|+++ mupen64_input/Makefile     2004-07-15 21:54:34.593963104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 36 of patch
can't find file to patch at input line 36
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- hack_azi_rsp_hle/Makefile.orig     2004-07-15 21:56:27.429809448 +0000
|+++ hack_azi_rsp_hle/Makefile  2004-07-15 21:57:15.940434712 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 50 of patch
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- mupen64_sound/Makefile.orig        2004-07-04 04:43:39.000000000 -0500
|+++ mupen64_sound/Makefile     2004-12-31 23:53:55.329185760 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================

PATCH COMMAND:  patch -p3 -g0 <
/usr/portage/games-emulation/mupen64/files/mupen64-makefiles.patch

===================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- emu64/Makefile.orig        2004-07-15 21:50:36.577147160 +0000
|+++ emu64/Makefile     2004-07-15 21:53:11.189642488 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 24 of patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| #endif /* CONFIG_H */
|--- mupen64_input/Makefile.orig        2004-07-15 21:53:51.944446816 +0000
|+++ mupen64_input/Makefile     2004-07-15 21:54:34.593963104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 36 of patch
can't find file to patch at input line 36
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- hack_azi_rsp_hle/Makefile.orig     2004-07-15 21:56:27.429809448 +0000
|+++ hack_azi_rsp_hle/Makefile  2004-07-15 21:57:15.940434712 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 50 of patch
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- mupen64_sound/Makefile.orig        2004-07-04 04:43:39.000000000 -0500
|+++ mupen64_sound/Makefile     2004-12-31 23:53:55.329185760 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================

PATCH COMMAND:  patch -p4 -g0 <
/usr/portage/games-emulation/mupen64/files/mupen64-makefiles.patch

===================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- emu64/Makefile.orig        2004-07-15 21:50:36.577147160 +0000
|+++ emu64/Makefile     2004-07-15 21:53:11.189642488 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 24 of patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| #endif /* CONFIG_H */
|--- mupen64_input/Makefile.orig        2004-07-15 21:53:51.944446816 +0000
|+++ mupen64_input/Makefile     2004-07-15 21:54:34.593963104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 36 of patch
can't find file to patch at input line 36
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- hack_azi_rsp_hle/Makefile.orig     2004-07-15 21:56:27.429809448 +0000
|+++ hack_azi_rsp_hle/Makefile  2004-07-15 21:57:15.940434712 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 50 of patch
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- mupen64_sound/Makefile.orig        2004-07-04 04:43:39.000000000 -0500
|+++ mupen64_sound/Makefile     2004-12-31 23:53:55.329185760 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-04-17 21:12:28 UTC
what is the md5sum of the mupen64_sound.tar.bz2 you have?  I just tried building mupen64 from files downloaded from upstream and it unpacked and built fine.  I suspect your files.
Comment 2 Disenchanted (RETIRED) gentoo-dev 2005-04-17 23:06:52 UTC
delete your sourcetarball, and download the proper files, all will be fine

dont forget to fix your digest