public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Natanael Copa <mlists@tanael.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] linking against gdbm fails when emerging python
Date: Tue, 27 Dec 2005 10:33:27 +0100	[thread overview]
Message-ID: <1135676007.29642.146.camel@nc> (raw)
In-Reply-To: <200512270333.59015.vapier@gentoo.org>

On tir, 2005-12-27 at 03:33 -0500, Mike Frysinger wrote:
> On Monday 26 September 2005 03:32, Natanael Copa wrote:
> > Mike Frysinger wrote:
> > >On Thursday 22 September 2005 05:33 am, Natanael Copa wrote:
> > >>i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe
> > >>-fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I.
> > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/./Include
> > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Include
> > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5 -c
> > >>/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Modules/dbmmodule.c
> > >>-o build/temp.linux-i686-2.3/dbmmodule.o
> > >>i386-gentoo-linux-uclibc-gcc -pthread -shared
> > >>build/temp.linux-i686-2.3/dbmmodule.o -L/usr/local/lib -lgdbm -o
> > >>build/lib.linux-i686-2.3/dbm.so
> > >>./python: can't resolve symbol 'dbm_firstkey'
> > >>make: *** [sharedmods] Error 1
> > >
> > >so you're still hitting this linker bug ?  just wondering whether i should
> > >start poking at it or assume that it's been resolved one way or another
> > > ...
> >
> > Yes. It still fails whenever berkdb are in useflags. It looks like it
> > works with or without gdbm in useflags (as long berkdb is disabled)
> 
> just for python-2.3.x ?  using uclibc-0.9.28 / python-2.4.x over here and it 
> emerges fine with USE=berkdb ...

[ebuild   R   ] dev-lang/python-2.4.2  -X +berkdb* -bootstrap -build
-doc -gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB


i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing
-DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer
build/temp.linux-i686-2.4/_bsddb.o -L/usr/lib -L/usr/local/lib
-R/usr/lib -ldb-4.2 -o build/lib.linux-i686-2.4/_bsddb.so
i386-gentoo-linux-uclibc-gcc: unrecognized option `-R/usr/lib'
building 'dbm' extension
i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe
-fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I.
-I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/./Include
-I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Include
-I/var/tmp/portage/python-2.4.2/work/Python-2.4.2
-c /var/tmp/portage/python-2.4.2/work/Python-2.4.2/Modules/dbmmodule.c
-o build/temp.linux-i686-2.4/dbmmodule.o
i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing
-DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer
build/temp.linux-i686-2.4/dbmmodule.o -L/usr/local/lib -lgdbm -o
build/lib.linux-i686-2.4/dbm.so
./python: can't resolve symbol 'dbm_firstkey'
make: *** [sharedmods] Error 1

using uclibc-0.9.27-r1.

I have turned of berkdb in useflags, so you don't need to spend time on
this for me.

btw... any idea on when 0.9.28 will go stable?

Thanks!


-- 
Natanael Copa

-- 
gentoo-embedded@gentoo.org mailing list



  reply	other threads:[~2005-12-27  9:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22  9:33 [gentoo-embedded] linking against gdbm fails when emerging python Natanael Copa
2005-09-22 13:31 ` Mike Frysinger
2005-09-22 13:43   ` Natanael Copa
2005-09-22 13:59     ` Mike Frysinger
2005-09-22 14:56       ` Natanael Copa
2005-09-22 20:58       ` Natanael Copa
2005-09-26  5:04 ` Mike Frysinger
2005-09-26  7:32   ` Natanael Copa
2005-12-27  8:33     ` Mike Frysinger
2005-12-27  9:33       ` Natanael Copa [this message]
2005-12-27  9:39         ` Mike Frysinger
2005-12-27  9:52           ` Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1135676007.29642.146.camel@nc \
    --to=mlists@tanael.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox