Request 270 was acted upon. _________________________________________________________________________
URL: https://rt.openpkg.org/id/270
Ticket: [OpenPKG #270]
Subject: [apt] indexes broken
Requestors: [EMAIL PROTECTED]
Queue: openpkg
Owner: Nobody
Status: open
Transaction: Correspondence added by [EMAIL PROTECTED]
Time: Sun Sep 21 19:41:21 2003
________________________________________________________________________
Yes, it builds for me under Solaris 9 on Sparc.
I don't see anythink obvious that caused your linked to fail with
undefined symbol on the rpm DB stuff. Maybe it's a library ordering
problem again.
Are you using the GNU binutils, or the native Sun linker?
--Matt
On Sun, 2003-09-21 at 12:33, Matthias Kurz via RT wrote:
> Request 270 was acted upon.
> _________________________________________________________________________
>
> URL: https://rt.openpkg.org/id/270
> Ticket: [OpenPKG #270]
> Subject: [apt] indexes broken
> Requestors: [EMAIL PROTECTED]
> Queue: openpkg
> Owner: Nobody
> Status: open
> Transaction: Correspondence added by [EMAIL PROTECTED]
> Time: Sun Sep 21 19:33:51 2003
> ________________________________________________________________________
>
> On Sun, Sep 21, 2003 at 05:45:53PM +0200, [EMAIL PROTECTED] via RT wrote:
> > Request 270 was acted upon.
> > _________________________________________________________________________
> >
> > URL: https://rt.openpkg.org/id/270
> > Ticket: [OpenPKG #270]
> > Subject: [apt] indexes broken
> > Requestors: [EMAIL PROTECTED]
> > Queue: openpkg
> > Owner: Nobody
> > Status: new
> > Transaction: Ticket created by [EMAIL PROTECTED]
> > Time: Sun Sep 21 17:45:52 2003
> > _________________________________________________________________________
> >
> > It seems that there are some fairly substantial differences between the
> > filenaming conventions of the indexing tools ("genbasedir") and the
> > client-side tools ("apt-get").
>
> Does this mean it builds for you under Solaris ? I just tried it
> under Solaris 8 and it did not build. Unfortunately i do not have time
> to dig deeper.
>
>
> Well, here are at least the errors from config.log:
>
>
> looks like a missing "#include <rpm/glob.h>" (i would still comment
> Glob() and GlobFree() out):
>
> configure:9728: checking rpm/rpmlib.h usability
> configure:9741: /opkg/home/bin/gcc -c -I/opkg/include -DOPENPKG -I/opkg/includ
> e/rpm -I/opkg/include -I/usr/include/rpm conftest.c >&5
> In file included from /opkg/include/rpm/rpmlib.h:11,
> from configure:9787:
> /opkg/include/rpm/rpmio.h:401: error: parse error before "glob_t"
> /opkg/include/rpm/rpmio.h:408: error: parse error before '*' token
>
>
>
> looks like a missing "-lnsl":
>
> configure:9764: checking rpm/rpmlib.h presence
> configure:9775: /opkg/home/bin/gcc -E -I/opkg/include -DOPENPKG -I/opkg/include/
> rpm -I/opkg/include -I/usr/include/rpm conftest.c
> configure:9781: $? = 0
> configure:9800: result: yes
> configure:9820: WARNING: rpm/rpmlib.h: present but cannot be compiled
> configure:9822: WARNING: rpm/rpmlib.h: check for missing prerequisite headers?
> configure:9824: WARNING: rpm/rpmlib.h: proceeding with the preprocessor's result
> configure:9836: checking for rpm/rpmlib.h
> configure:9843: result: yes
> configure:9849: checking for rpmdbOpen in -lrpmdb
> configure:9880: /opkg/home/bin/gcc -o conftest -I/opkg/include -DOPENPKG -I/op
> kg/include/rpm -I/opkg/include -I/usr/include/rpm -L/opkg/lib -L/opkg/lib confte
> st.c -lrpmdb -lrpmbuild -lrpm -lrpmio -lrpmdb -lrpmpopt -lrpmbeecrypt -lrpmbz2 -
> lrpmz -lsocket >&5
> Undefined first referenced
> symbol in file
> clnt_create /opkg/lib/librpmdb.a(client.o) (symbol belo
> ngs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_u_int /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> gethostbyname /opkg/lib/librpmio.a(rpmio.o) (symbol belon
> gs to implicit dependency /usr/lib/libnsl.so.1)
> clnt_sperror /opkg/lib/librpmdb.a(gen_client.o) (symbol
> belongs to implicit dependency /usr/lib/libnsl.so.1)
> h_errno /opkg/lib/librpmio.a(rpmio.o) (symbol belon
> gs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_int /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_free /opkg/lib/librpmdb.a(gen_client.o) (symbol
> belongs to implicit dependency /usr/lib/libnsl.so.1)
> inet_addr /opkg/lib/librpmio.a(rpmio.o) (symbol belon
> gs to implicit dependency /usr/lib/libnsl.so.1)
> clnt_spcreateerror /opkg/lib/librpmdb.a(client.o) (symbol belo
> ngs to implicit dependency /usr/lib/libnsl.so.1)
> inet_ntoa /opkg/lib/librpmio.a(rpmio.o) (symbol belon
> gs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_array /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_bytes /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_double /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_opaque /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> xdr_string /opkg/lib/librpmdb.a(db_server_xdr.o) (symb
> ol belongs to implicit dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to conftest
>
>
>
> Hmmm, ...
>
> configure:9910: checking for rpmdbGetIteratorOffset in -lrpm
> configure:9941: /opkg/home/bin/gcc -o conftest -I/opkg/include -DOPENPKG -I/op
> kg/include/rpm -I/opkg/include -I/usr/include/rpm -L/opkg/lib -L/opkg/lib confte
> st.c -lrpm -ldb-3.1 -lrpmbuild -lrpm -lrpmio -lrpmdb -lrpmpopt -lrpmbeecrypt -lr
> pmbz2 -lrpmz -lsocket >&5
> ld: fatal: library -ldb-3.1: not found
>
> configure:10040: checking for rpmdbFirstRecNum in -lrpm
> configure:10071: /opkg/home/bin/gcc -o conftest -I/opkg/include -DOPENPKG -I/o
> pkg/include/rpm -I/opkg/include -I/usr/include/rpm -L/opkg/lib -L/opkg/lib conft
> est.c -lrpm -lrpmbuild -lrpm -lrpmio -lrpmdb -lrpmpopt -lrpmbeecrypt -lrpmbz2 -l
> rpmz >&5
> Undefined first referenced
> symbol in file
> rpmdbFirstRecNum /projects/tmp/opkg/ccdmw4Uj.o
>
> configure:10112: checking for RPM version
> configure:10114: result: none
> configure:10117: error: No RPM version for development was found in your system.
>
>
>
> $ rpm -q openpkg
> openpkg-20030918-20030918
>
>
> (mk)
signature.asc
Description: PGP signature
