Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109460 - maildrop: missing "cd ${S}" in ebuild causes build errors with USE="berkdb -fam"
Summary: maildrop: missing "cd ${S}" in ebuild causes build errors with USE="berkdb -fam"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-16 05:10 UTC by Marek Szuba
Modified: 2005-10-16 09:31 UTC (History)
0 users

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


Attachments
maildrop-2.0.1.ebuild-cdS.patch (maildrop-2.0.1.ebuild-cdS.patch,333 bytes, patch)
2005-10-16 05:11 UTC, Marek Szuba
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2005-10-16 05:10:17 UTC
The problem affects the two most recent ebuilds for mail-filter/maildrop 
currently present in Portage: 1.8.1-r2 and 2.0.1; older versions didn't depend 
on fam. The problem is that the section responsible for applying maildrop-1.8.0-
db4.patch changes the directory to ${S}/bdbobj, making it impossible to 
correctly apply maildrop-1.8.1-disable-fam.patch in the next step.

Attached you will find a patch which fixes this problem. It was created for 2.0.
1, but since the relevant part of the ebuild doesn't differ it should also be 
usable for 1.8.1-r2.
Comment 1 Marek Szuba archtester gentoo-dev 2005-10-16 05:11:00 UTC
Created attachment 70785 [details, diff]
maildrop-2.0.1.ebuild-cdS.patch
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-10-16 09:05:36 UTC
Sorry but I cannot reproduce this one. I successfully built both
maildrop-1.8.1-r2 and maildrop-2.0.1 with USE="berkdb -fam".

Does it fail for you or it is just a cosmetic change ? (I mean, the change makes
sense anyway)

Cheers,
Ferdy
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2005-10-16 09:31:42 UTC
Alright it turns out that I need more caffeine... fixed in CVS (not bumped).

Thanks
Ferdy