Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Assistence requested in getting gentoo ready for db 4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Sun May 25, 2003 10:59 am    Post subject: Assistence requested in getting gentoo ready for db 4 Reply with quote

Hi all, I would like to request your assistence in getting gentoo ready for db 4. There are 3 ebuilds in place that should allow an update to db4. Those ebuilds are db-3.2.9-r5 db-4.0.14 and db-4.1.24. As db-4.1.24 is a development version we will focus on the other two ebuilds.

The ebuilds compile correctly and can live side-by-side. Unfortunately not all packages have configure scripts that can handle the versioned symbols to make the upgrade path smooth. Therefore all ebuilds that depend on sys-libs/db need to be checked. To keep account of this effort I have created a list on my homepage: http://cvs.gentoo.org/~pauldv/

Please post all requested changes to this table in this topic.

Note that testing db4 is not for the faint of heart. Things WILL break. Do not participate with a production machine as you WILL regret it. If you want to be useful without taking too much risk. Try out db-3.2.9-r5. Most packages should build with this db as the changes are minimal
Back to top
View user's profile Send private message
g2boojum
Retired Dev
Retired Dev


Joined: 15 Apr 2002
Posts: 21
Location: Houston, TX, USA

PostPosted: Tue May 27, 2003 8:31 pm    Post subject: Reply with quote

Using 3.2.9-r5 and 4.1.24 the following packages successfully compiled:

pam-0.75-r11
gdbm-1.8.0-r5
libperl-5.8.0/
apache-2.0.45
postfix-2.0.9-r1
courier-imap-1.7.3
gnome-libs-1.4.2
gconf-1.0.8-r4
python-2.2.2-r1
perl-5.8.0-r11
openldap-2.1.20

I don't know if they all actually work just yet, but one thing at a time!
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Tue May 27, 2003 10:48 pm    Post subject: Reply with quote

I don't mind breaking stuff. Replying to bookmark this thread, will try later.
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Tue May 27, 2003 11:11 pm    Post subject: Reply with quote

here goes nothing...
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Tue May 27, 2003 11:16 pm    Post subject: Reply with quote

might want to patch up this little gcc warning in db-3.2.9-r5 btw, as it repeats over and over - which looks quite scary :)

Code:

In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/backward/iostream.h:31,
                 from ../include/db_cxx.h:52,
                 from ../cxx/cxx_app.cpp:18:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
g++ -c -I. -I../dist/../include -D_REENTRANT  -fexceptions -march=athlon-xp -O2 -fomit-frame-pointer -pipe ../dist/../cxx/cxx_except.cpp
Back to top
View user's profile Send private message
duff
Guru
Guru


Joined: 19 Jun 2002
Posts: 466
Location: Clemson, SC

PostPosted: Wed May 28, 2003 12:30 am    Post subject: Reply with quote

I think found a problem, but it looks like it may be Anjuta's fault. Here go's, hopefully I cover everything:

I've built db-4.0.14:
Code:
$ qpkg -d -v db
sys-libs/db-1.85-r1
sys-libs/db-3.2.9-r2
sys-libs/db-4.0.14


Then emerge anjuta; this is on my ~x86 machine so it's dev-util/anjuta-1.0.2. According to the ebuild, it depends on >=sys-libs/db-3.2.3, but:

Code:
$ strace anjuta 2>&1 | grep libdb
open("/usr/lib/libdb.so.2", O_RDONLY)   = 3
$ ls -l /usr/lib/libdb.so.2
lrwxrwxrwx    1 root     root           11 May 10 17:59 /usr/lib/libdb.so.2 -> libdb1.so.2

So it shows it's acutally linking with db-1.85. I've checked the Makefile for anjuta, as well and in its *_LIBS variables it has "-ldb1" and no other version of db. I've also checked its configure script and couldn't find checking for any version of db anywhere.
I'm sure that goes for the earlier 3 versions of Anjuta as well, so maybe the dependencies in the ebuild need to be fixed, and in your chart you can cross it off as compiling (and seems to be working) with 3.2.9 and 4.0.14 on the same system.

BTW, you can remove gaim-cvs entries; that package doesn't do anything any more.
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Wed May 28, 2003 12:24 pm    Post subject: Reply with quote

Bogofilter 0.12.3 builds with db 3.2.9-r5
Back to top
View user's profile Send private message
g2boojum
Retired Dev
Retired Dev


Joined: 15 Apr 2002
Posts: 21
Location: Houston, TX, USA

PostPosted: Thu May 29, 2003 8:19 pm    Post subject: bogofilter, take 2 Reply with quote

Bogofilter 0.11.2 and 0.13.3 both build w/ db3 and db4 simultaneously
installed (in which case they link to db4).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum