Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132651 - media-libs/libmpeg3-1.5.2-r3 fails failed textrel-fix patch
Summary: media-libs/libmpeg3-1.5.2-r3 fails failed textrel-fix patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 132857 141314 141902 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-08 02:16 UTC by Pasquale Minervini
Modified: 2006-11-29 04:24 UTC (History)
10 users (show)

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


Attachments
emerge log file (libmpeg3-1.5.2-textrel-fix.patch.bz2-6750.out,15.67 KB, text/plain)
2006-07-23 09:45 UTC, mike schroer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pasquale Minervini 2006-05-08 02:16:00 UTC
this is what i get when trying to build:

...
 *   07_all_gentoo-multilib.patch ...                                    [ ok ]
 * Done with patching
 * Applying libmpeg3-1.5.2-a52.patch ...                                 [ ok ]
 * Applying libmpeg3-1.5.2-gnustack.patch ...                            [ ok ]
 * Applying libmpeg3-1.5.2-textrel-fix.patch.bz2 ...

 * Failed Patch: libmpeg3-1.5.2-textrel-fix.patch.bz2 !
 *  ( /var/tmp/portage/libmpeg3-1.5.2-r3/temp/10711.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/libmpeg3-1.5.2-r3/temp/libmpeg3-1.5.2-textrel-fix.patch.b
z2-10711.out


!!! ERROR: media-libs/libmpeg3-1.5.2-r3 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_unpack
  ebuild.sh, line 700:   Called src_unpack
  libmpeg3-1.5.2-r3.ebuild, line 42:   Called epatch '/var/tmp/portage/libmpeg3
-1.5.2-r3/distdir/libmpeg3-1.5.2-textrel-fix.patch.bz2'
  eutils.eclass, line 339:   Called die

!!! Failed Patch: libmpeg3-1.5.2-textrel-fix.patch.bz2!
!!! If you need support, post the topmost build error, and the call stack if re
levant

libmpeg3-1.5.2-textrel-fix.patch.bz2-10711.out is located here:
http://www.neuralnoise.com/libmpeg3-1.5.2-textrel-fix.patch.bz2-10711.out
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-08 02:20:27 UTC
Please don't unnecessarily restrict bugs.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-10 02:08:30 UTC
*** Bug 132857 has been marked as a duplicate of this bug. ***
Comment 3 Konrad Karczewski 2006-07-18 14:13:53 UTC
I've encountered the same error and the package has been just stabilised (it wasn't available yesterday...) - maybe it was a little too soon?
Comment 4 Trenton D. Adams 2006-07-19 14:09:01 UTC
I'm encountering the same problem.  I guess I'll mask it for now.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 19:02:33 UTC
*** Bug 141314 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 19:07:56 UTC
Huh, what's going on here? 2+ months is not enough to fix a patch?
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-22 02:54:55 UTC
The fact is.. here it does apply fine.
Comment 8 Justin Lippi 2006-07-22 10:01:28 UTC
this still does not work for me.. could it be that all the othre patches are .patch and this one is .patch.bz2 ?
Comment 9 Steve Krall 2006-07-22 12:34:02 UTC
The ebuild has some logic to ignore some patches based on the version of gcc.

        [ "`gcc-version`" == "3.4" -o "`gcc-major-version`" -ge 4 ] || \
                EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 08_all_gcc34.patch"
        [ "`gcc-major-version`" -ge 4 ] || \
                EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 09_all_gcc4.patch"


For me, both the 08_all_gcc34.patch and the 09_all_gcc4.patch are ignored.  If I manually apply the 08_all_gcc34.patch, then the libmpeg3-1.5.2-textrel-fix.patch will apply cleanly.  But trying to apply the libmpeg3-1.5.2-textrel-fix.patch w/o applying the 08_all_gcc34.patch will not work for me.  I'm guessing it's something related to this, I don't understand all the ebuild syntax enough to toally debug it.
Comment 10 mike schroer 2006-07-23 09:45:04 UTC
Created attachment 92556 [details]
emerge log file
Comment 11 michael@smith-li.com 2006-07-24 13:32:34 UTC
After some discussion with FlameEyes it seems the only acceptable fix is to upgrade gcc to 3.4 or higher. Unfortunately this calls attention to a minor portage shortcoming -- that you can't have a dependency on a specific version of gcc.

Don't just emerge gcc and expect it to work, upgrading from gcc-3.3 to 3.4 takes some loving care: http://www.gentoo.org/doc/en/gcc-upgrading.xml

Hope it helps.
Comment 12 Steve Krall 2006-07-26 20:47:19 UTC
After upgrading to gcc 3.4 the patch applied fine.  The build completed normally.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 10:06:06 UTC
*** Bug 141902 has been marked as a duplicate of this bug. ***
Comment 14 Matthias Schwarzott gentoo-dev 2006-11-29 04:24:50 UTC
All ebuilds of libmpeg3 now block gcc-3.3.