Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86985 - db-3.2.9-r10 fails to emerge (epatch db-3.2.9-java15.patch fails)
Summary: db-3.2.9-r10 fails to emerge (epatch db-3.2.9-java15.patch fails)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
: 87027 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-28 08:20 UTC by Andy Lutomirski
Modified: 2005-08-25 07:43 UTC (History)
0 users

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


Attachments
Proposed fix (db-3.2.9-r10.diff,392 bytes, patch)
2005-03-28 08:23 UTC, Andy Lutomirski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Lutomirski 2005-03-28 08:20:31 UTC
epatch can't find the file to patch because src_unpack incorrectly cd's somewhere first (patch attached).

Reproducible: Always
Steps to Reproduce:
1. emerge =sys-libs/db-3.2.9-r10
Actual Results:  
fails

Expected Results:  
succeed
Comment 1 Andy Lutomirski 2005-03-28 08:23:03 UTC
Created attachment 54675 [details, diff]
Proposed fix

The problem is that src_unpack does this:
	cd ${WORKDIR}/${P}/dist
	...

	epatch ${FILESDIR}/${P}-jarlocation.patch
	epatch ${FILESDIR}/db-3.2.9-java15.patch

-jarlocation.patch works because it only touches files in dist, so it succeeds
on -p2 or something.  -java15.patch fails.  This patch puts the missing cd back
in so the current directory is sensible.
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-03-28 09:05:24 UTC
This ebuild was also commited to stable on all arches, which is against procedures as it is not a security related issue.  Please revert the keywords to ~arch and triple check before commiting to make sure everything works in the future.

Thanks :)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-28 13:57:49 UTC
*** Bug 87027 has been marked as a duplicate of this bug. ***
Comment 4 Jason Wever (RETIRED) gentoo-dev 2005-03-28 19:12:49 UTC
Paul, please fix your patch.  This is *exactly* the reason why ebuilds are not auto-stablized on any arch in non-security situations.

Please in the future do not mark arches stable in ebuilds that you can't test and/or are not part of that respective arch's team. 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-03-29 04:51:47 UTC
Ok, I fucked up the cd thing. I should probably have tested things better first. This version however is far from brand-new. It has been untouched for months. And in testing for that amount of time too.
Comment 6 Jason Wever (RETIRED) gentoo-dev 2005-03-29 18:26:54 UTC
But as been discussed many times on the gentoo-dev ML, you do not have carte blanche to mark an ebuild stable across the board, regardless of how long it as been in testing.  Please follow procedure as its there for a reason.
Comment 7 Gustavo Zacarias (RETIRED) gentoo-dev 2005-08-03 08:14:44 UTC
sparc stable now.
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2005-08-25 07:43:01 UTC
I guess this is fixed now