* [gentoo-dev] db-3.2.9-r2
@ 2003-02-24 21:03 Brandon Low
2003-02-24 21:39 ` Dave Nellans
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Brandon Low @ 2003-02-24 21:03 UTC (permalink / raw
To: gentoo-dev
This new revision won't build for me, has anyone else had troubles or is it just me? Thanks!
--Brandon
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 21:03 [gentoo-dev] db-3.2.9-r2 Brandon Low
@ 2003-02-24 21:39 ` Dave Nellans
2003-02-24 22:39 ` Brandon Low
2003-02-24 21:39 ` Henti Smith
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Dave Nellans @ 2003-02-24 21:39 UTC (permalink / raw
To: Brandon Low; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
Worked ok here on several x86 boxes... what breaks?
dave
On Mon, 2003-02-24 at 14:03, Brandon Low wrote:
> This new revision won't build for me, has anyone else had troubles or is it just me? Thanks!
>
> --Brandon
>
> --
> gentoo-dev@gentoo.org mailing list
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 21:03 [gentoo-dev] db-3.2.9-r2 Brandon Low
2003-02-24 21:39 ` Dave Nellans
@ 2003-02-24 21:39 ` Henti Smith
2003-02-24 21:39 ` Jay Pfeifer
2003-02-24 22:25 ` Peter Ruskin
3 siblings, 0 replies; 9+ messages in thread
From: Henti Smith @ 2003-02-24 21:39 UTC (permalink / raw
To: Brandon Low; +Cc: gentoo-dev
On Mon, 24 Feb 2003 15:03:37 -0600
Brandon Low <lostlogic@gentoo.org> wrote:
> This new revision won't build for me, has anyone else had troubles or is it just me? Thanks!
built fine for me ..
Henti
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 21:03 [gentoo-dev] db-3.2.9-r2 Brandon Low
2003-02-24 21:39 ` Dave Nellans
2003-02-24 21:39 ` Henti Smith
@ 2003-02-24 21:39 ` Jay Pfeifer
2003-02-24 22:25 ` Peter Ruskin
3 siblings, 0 replies; 9+ messages in thread
From: Jay Pfeifer @ 2003-02-24 21:39 UTC (permalink / raw
To: gentoo-dev
I've built it just fine on 4 different machines. What errors are you getting
when it fails?
Thanks,
_j_
On Monday 24 February 2003 15:03, Brandon Low wrote:
> This new revision won't build for me, has anyone else had troubles or is it
> just me? Thanks!
>
> --Brandon
>
> --
> gentoo-dev@gentoo.org mailing list
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 21:03 [gentoo-dev] db-3.2.9-r2 Brandon Low
` (2 preceding siblings ...)
2003-02-24 21:39 ` Jay Pfeifer
@ 2003-02-24 22:25 ` Peter Ruskin
3 siblings, 0 replies; 9+ messages in thread
From: Peter Ruskin @ 2003-02-24 22:25 UTC (permalink / raw
To: gentoo-dev
On Monday 24 Feb 2003 21:03, Brandon Low wrote:
> This new revision won't build for me, has anyone else had troubles or
> is it just me? Thanks!
>
> --Brandon
It failed for me too, until I emerged glibc-2.3.1-r3
Peter
--
Gentoo-1.4.2.8 Unstable. KDE: 3.1.0 Qt: 3.1.0
AMD Athlon(tm) XP 1900+ 768MB. Kernel: 2.4.20-xfs_pre6. GCC 3.2.2
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 21:39 ` Dave Nellans
@ 2003-02-24 22:39 ` Brandon Low
2003-02-24 23:38 ` Matt Tucker
0 siblings, 1 reply; 9+ messages in thread
From: Brandon Low @ 2003-02-24 22:39 UTC (permalink / raw
To: Dave Nellans; +Cc: gentoo-dev
Log file for the failed db compile.
http://gentoo.lostlogicx.com/2834-db-3.2.9-r2.log
emerge info:
Portage 2.0.47-r3 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-lolo-r1 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://mirrors.twobit.net/gentoo http://gentoo.oregonstate.edu/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apache2 berkdb crypt cups fbcon gdbm gpm imap innodb jikes libwww mbox mmx mysql ncurses odbc pam perl python readline samba spell sse ssl svga tcpd threads zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe -Wno-deprecated"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox"
On Mon, 02/24/03 at 14:39:01 -0700, Dave Nellans wrote:
> Worked ok here on several x86 boxes... what breaks?
>
> dave
>
> On Mon, 2003-02-24 at 14:03, Brandon Low wrote:
> > This new revision won't build for me, has anyone else had troubles or is it just me? Thanks!
> >
> > --Brandon
> >
> > --
> > gentoo-dev@gentoo.org mailing list
> --
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 22:39 ` Brandon Low
@ 2003-02-24 23:38 ` Matt Tucker
2003-02-24 23:44 ` Matt Tucker
0 siblings, 1 reply; 9+ messages in thread
From: Matt Tucker @ 2003-02-24 23:38 UTC (permalink / raw
To: Brandon Low; +Cc: gentoo-dev
-- Brandon Low <lostlogic@gentoo.org> spake thusly:
> Log file for the failed db compile.
> http://gentoo.lostlogicx.com/2834-db-3.2.9-r2.log
I'm not sure whether this will help, but it might give you a place to
start looking. The error seems to involve the db.h file that gets
included. For instance, the message:
../db_dump185/db_dump185.c:210: warning: assignment makes
pointer from integer without a cast
Indicates that on line 210:
if ((dbp = dbopen(argv[0], ...
dbopen is not defined, so the compiler is assuming it returns an
integer, when in fact the correct function definition returns a DB*.
There are two versions of db.h, one for 1.85 and one for 3.2.9. The
3.2.9 version (which _doesn't_ define dbopen) is in
/tmp/portage/.../build-static/, and the 1.85 version is in
/usr/include/db1/. Your compile command for db_dump185 is:
gcc -c -D_GNU_SOURCE -I../dist/../include -D_REENTRANT
../dist/../db_dump185/db_dump185.c
whereas on my system it's using:
gcc -I/usr/include/db1 -c -D_GNU_SOURCE -I../dist/../include
-D_REENTRANT ../dist/../db_dump185/db_dump185.c
This stuff is hard-coded in dist/Makefile.in:
DB185INC= -I/usr/include/db1 -c @CFLAGS@
-I$(srcdir)/include @CPPFLAGS@
DB185LIB= -ldb1
.
.
.
db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c
$(CC) $(DB185INC) $?
However, it's _NOT_ in Makefile.in.orig, so I assume there's a gentoo
patch that you're not picking up. 'emerge sync' perhaps?
Although I would say that if there are two different revisions of the
same ebuild version, there's a design issue. But that seems to be what
Gentoo does.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 23:38 ` Matt Tucker
@ 2003-02-24 23:44 ` Matt Tucker
2003-02-25 1:15 ` Brandon Low
0 siblings, 1 reply; 9+ messages in thread
From: Matt Tucker @ 2003-02-24 23:44 UTC (permalink / raw
To: Brandon Low; +Cc: gentoo-dev
-- Matt Tucker <tuck@whistlingfish.net> spake thusly:
> Your compile command for db_dump185 is:
>
> gcc -c -D_GNU_SOURCE -I../dist/../include -D_REENTRANT
> ../dist/../db_dump185/db_dump185.c
>
> whereas on my system it's using:
>
> gcc -I/usr/include/db1 -c -D_GNU_SOURCE -I../dist/../include
> -D_REENTRANT ../dist/../db_dump185/db_dump185.c
>
> This stuff is hard-coded in dist/Makefile.in:
>
> DB185INC= -I/usr/include/db1 -c @CFLAGS@
> -I$(srcdir)/include @CPPFLAGS@
> DB185LIB= -ldb1
> .
> .
> .
> db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c
> $(CC) $(DB185INC) $?
>
> However, it's _NOT_ in Makefile.in.orig, so I assume there's a gentoo
> patch that you're not picking up. 'emerge sync' perhaps?
A followup on this. In db-3.2.9-r2.ebuild, I see:
# We should get dump185 to link against system db1 ..
# <azarah@gentoo.org> (23 Feb 2003)
cp ${S}/dist/Makefile.in ${S}/dist/Makefile.in.orig
sed -e 's:DB185INC=:DB185INC= -I/usr/include/db1:' \
-e 's:DB185LIB=:DB185LIB= -ldb1:' \
${S}/dist/Makefile.in.orig > ${S}/dist/Makefile.in
I'm going to bet that this isn't in your version -- particularly
because the change was apparently made yesterday.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] db-3.2.9-r2
2003-02-24 23:44 ` Matt Tucker
@ 2003-02-25 1:15 ` Brandon Low
0 siblings, 0 replies; 9+ messages in thread
From: Brandon Low @ 2003-02-25 1:15 UTC (permalink / raw
To: Matt Tucker; +Cc: gentoo-dev
Thanks you were quite right... the problem acutally turned out to be that the sed statement couldn't be applied under userpriv mode (which I use). I'll be modifying the ebuild to work with userpriv sometime soon.
--Brandon
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-02-25 1:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 21:03 [gentoo-dev] db-3.2.9-r2 Brandon Low
2003-02-24 21:39 ` Dave Nellans
2003-02-24 22:39 ` Brandon Low
2003-02-24 23:38 ` Matt Tucker
2003-02-24 23:44 ` Matt Tucker
2003-02-25 1:15 ` Brandon Low
2003-02-24 21:39 ` Henti Smith
2003-02-24 21:39 ` Jay Pfeifer
2003-02-24 22:25 ` Peter Ruskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox