Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28328 - DB-4.0.14-r2 testing needed to move to stable on non-x86
Summary: DB-4.0.14-r2 testing needed to move to stable on non-x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: db4
  Show dependency tree
 
Reported: 2003-09-09 23:22 UTC by Robin Johnson
Modified: 2004-02-15 04:31 UTC (History)
3 users (show)

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


Attachments
changes to db-4.0.14-r2.ebuild for mips (db4-patch.diff,553 bytes, patch)
2003-09-11 18:57 UTC, Joshua Kinard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-09 23:22:26 UTC
Please test the upgrade to db-4.0.14-r2 on all non-x86 arches.

Bug-wranglers:
I don't know the ids for mips, hppa, arm, amd64, could you please add them to 
the CC list.

From my email:
Hopefully now all of the DB4.0 bugs have been worked out, as we haven't
had any new reports of problems in over a month now.

In line with this, and hopefully to make some progress, I have marked
db-4.0.14-r2 as stable on x86, and marked it as testing on all other
architectures.

Would all non-x86 people please test it out? Upgrade to it, then try to
re-merge at least the packages that depend on sys-libs/db and not a
specific version of the db library. An emerge -e world is probably a
much better test.

If it works out for you, please mark it as stable for your architecture
sometime in the next 2 weeks if possible, so that we can continue with
DB-4.1.

DB-4.1 will be moved into testing on x86 sometime in the next two weeks
once I have done some more testing on it.
Comment 1 Joshua Kinard gentoo-dev 2003-09-11 18:54:51 UTC
I'm making gcc-3.3.1 (not -r1) stages for sparc64 and mips, and I went on ahead and added db-4.0.14-r2 into the testing profiles for both.  Figured I might as well test as many experimental things as possible.  So far, sparc64 is doing great, mips however requires a small tweak to the ebuild.  db-4.0.14 apparently doesn't understand mips-linux systems, so this is where gnuconfig comes into play.  However, ${S} points to ${WORKDIR}/${P}/build_unix, which a plain gnuconfig_update call will fail on, because config.sub and config.guess are in ${WORKDIR}/${P}/dist instead.  The attached patch to the db-4.0.14-r2 ebuild should remedy this.
Comment 2 Joshua Kinard gentoo-dev 2003-09-11 18:57:40 UTC
Created attachment 17530 [details, diff]
changes to db-4.0.14-r2.ebuild for mips
Comment 3 Jason Wever (RETIRED) gentoo-dev 2003-09-13 08:43:24 UTC
In the past, we had packages not to use db 4 by locking them into db 3.  Was this done via package.mask or in the ebuilds themselves?  Also what programs currently in portage will utilize db4?  What can we use to measure a sucess factor?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-13 14:35:37 UTC
Kumba: thanks i've added your patch now.

Weeve: the changes to lock ebuilds down to a given version are contained in the ebuilds themselves. It cannot be done via package.mask as we need to be able to release them as some programs in the tree have definate dependancies on db-4.0 and db-4.1.

dev-lang/perl-5.8.0-r12
dev-php/php-4.3.3
net-fs/netatalk-1.6.3
net-mail/bogofilter-0.14.5
net-www/apache-2.0.47

is a short list of packages.

This command should produce a list of packages for your systems that presently use any db library.
DIRS="{,/usr,/usr/kde/*,/usr/X11R6}/{bin,lib,sbin} /opt"
eval find $DIRS -perm +111 -type f | xargs ldd 2>/dev/null |egrep ':|libdb'  |grep -B1 'libdb' |grep ':' | cut -d: -f1  | xargs -n1 qpkg -f -v | sort | uniq
Comment 5 Jason Wever (RETIRED) gentoo-dev 2003-09-28 14:10:18 UTC
apache and bogofilter seem to be happy enough using db4.  not sure what to
look for in perl that would be linked to db.

not sure what all i need to do with php to make it try to detect db4.  seems
to be a lot of stuff in there to not use db4.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-28 19:37:35 UTC
I have the code in PHP itself to use DB disabled at the moment, as it wants
DB4.1 and not just DB4.0. However it's detection code still runs and does
a reasonable job of telling you if things are messed up with your DB enviroment.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-01 16:15:40 UTC
Comment on attachment 17530 [details, diff]
changes to db-4.0.14-r2.ebuild for mips

Patch applied to bug.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-01 16:17:03 UTC
update to my previous note about PHP. PHP does now use libdb again, since
it's working in 4.3.3 (wasn't in 4.3.2).
Comment 9 Jason Wever (RETIRED) gentoo-dev 2003-10-01 18:21:26 UTC
php successfully built against db 4.0.14 on sparc.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-01 18:34:13 UTC
Kumba/Weeve: If you are happy with db-4.0.14-r2 now, could you please mark
the ebuild as stable?

It's been in the tree more than a month with no problem reports about it
directly.
Comment 11 Jason Wever (RETIRED) gentoo-dev 2003-10-01 19:57:26 UTC
Works for me, marked it stable.
Comment 12 Joshua Kinard gentoo-dev 2003-10-01 20:39:29 UTC
I'll have to give apache/php a run on my mips box, since that looks like
a valid test of db.

Weeve, don't forget to change the default-sparc64 and default-sparc profiles
to accept db4.  Right now, they're locked down to db3, only the gcc33-sparc64
profile does db4.
Comment 13 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-16 04:00:43 UTC
this is still outstanding for:
ppc, mips, hppa, arm

do those arches (besides ppc) have mail aliases?
Comment 14 Bartosch Pixa (RETIRED) gentoo-dev 2004-01-17 12:05:21 UTC
ppc stable now is on 4.1
Comment 15 SpanKY gentoo-dev 2004-01-19 00:31:58 UTC
i emerged db-4.0.14-r2 and tried some apps with it and seemed to work (on hppa)

gmsoft: what are we missing in order to update the profile to let in db-4 ?
Comment 16 Guy Martin (RETIRED) gentoo-dev 2004-01-19 06:41:24 UTC
In fact we where thinking about directly marking stable db-4.1 very soon.
We aldready tried it from stage1 to stage3 and we did a emerge -e world on a box with many pkg and we had no problems so far.

We are just waiting for kdebase to compile atm. This is the last we'll do.

Does db-4.1 hav any know problem ? It it a problem to skip db-4.0 ?
Comment 17 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-19 16:04:47 UTC
gmsoft: both of db-4.0 and db-4.1 need to be marked stable ultimately. Some packages have hard dependancies on specific versions, so that's why we need both of them.
Comment 18 SpanKY gentoo-dev 2004-01-19 17:14:11 UTC
nope, i have no problems with db-4.1 ... i just choose 4.0.14-r2 because that is what this bug was requesting :)

so i guess we're good with both on hppa then eh ?
Comment 19 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-19 17:23:55 UTC
vapier: yup, just mark as stable and move along :-).

ppc people: double checking your stuff you have only marked db-4.1 as stable, and missed db-4.0. please test and mark it as stable as well or leave me a note and I will.

once both ppc and hppa are done on this, then we can finally close this bug.
Comment 20 Guy Martin (RETIRED) gentoo-dev 2004-01-19 17:37:55 UTC
I just marked both db-4.0 and 4.1 stable on hppa.
Comment 21 Paul de Vrieze (RETIRED) gentoo-dev 2004-01-22 13:23:07 UTC
Is there any reason that there is no stable db-4.0 on ppc? Else please mark a version stable and close the bug. (Arm is not really being supported currently)
Comment 22 Bartosch Pixa (RETIRED) gentoo-dev 2004-02-15 04:31:39 UTC
oops, looks like i forgot to close this one