Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53107 - glibc-2.3.3.20040420 - branch-update patch source wrong
Summary: glibc-2.3.3.20040420 - branch-update patch source wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 53120 53121 53129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-05 22:12 UTC by Torsten Kurbad
Modified: 2004-06-06 11:55 UTC (History)
4 users (show)

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 Torsten Kurbad 2004-06-05 22:12:08 UTC
Hi!

In the current glibc-ebuild the branch update version number is separated from the rest of the version number by a period, not an underscore.
Thus, the patching only succeeds with this patch applied to the ebuild file:

--- glibc-2.3.3.20040420.ebuild.orig	2004-06-06 06:58:22.380779704 +0200
+++ glibc-2.3.3.20040420.ebuild	2004-06-06 06:59:06.383090336 +0200
@@ -264,7 +264,7 @@
 
 	if [ -n "${BRANCH_UPDATE}" ]
 	then
-		epatch ${DISTDIR}/${PN}-${PV/_*}-branch-update-${BRANCH_UPDATE}.patch.bz2
+		epatch ${DISTDIR}/${PN}-${PV/.${BRANCH_UPDATE}}-branch-update-${BRANCH_UPDATE}.patch.bz2
 	fi
 
 	if use_nptl


Else, epatch fails, complaining about not being able to find
glibc-2.3.3.20040420-branch-update-20040420.patch.bz2

The Problem occurred on two of my machines and went away after I applied the above patch.

Would be nice to have this corrected in portage soon.

Regards,
Torsten
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-06-06 02:01:54 UTC
Same problem here. Your fix solved it.

Poly
Comment 2 Simon Cooper 2004-06-06 02:04:34 UTC
the patch doesnt work for me, but portage complains that glibc-3.3.3.20040420-branch-update.patch.bz2 doesnt exist (note major version number).
Comment 3 Richard Torkar 2004-06-06 02:36:05 UTC
Same here Simon.

Change line 267 in the ebuild to: 
2.3.3 
instead of: 
3.3.3
Comment 4 solar (RETIRED) gentoo-dev 2004-06-06 04:34:03 UTC
fixed.. 
Thanks for reporting this guys.
Comment 5 Ciaran McCreesh 2004-06-06 11:30:50 UTC
*** Bug 53120 has been marked as a duplicate of this bug. ***
Comment 6 Ciaran McCreesh 2004-06-06 11:31:52 UTC
*** Bug 53121 has been marked as a duplicate of this bug. ***
Comment 7 Ciaran McCreesh 2004-06-06 11:55:15 UTC
*** Bug 53129 has been marked as a duplicate of this bug. ***