pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42373: misc/rpm would not build on Solaris 8: __db185_open



The following reply was made to PR pkg/42373; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/42373: misc/rpm would not build on Solaris 8: __db185_open
Date: Wed, 25 Nov 2009 22:41:07 +0200

 > gmake[1]: Nothing to be done for `all'.
 > gmake[1]: Leaving directory `/tmp/misc/rpm/work/rpm-2.5.4/build'
 > gmake[1]: Entering directory `/tmp/misc/rpm/work/rpm-2.5.4/tools'
 > cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
 > -L/tmp/misc/rpm/work/rpm-2.5.4/lib -L/tmp/misc/rpm/work/rpm-2.5.4/build 
 > -L/tmp/misc/rpm/work/rpm-2.5.4/misc  dumpdb.o ../lib/librpm.a -lintl -liconv 
 > -lnsl -lsocket -lz -lmisc   -o dumpdb
 > Undefined                       first referenced
 >  symbol                             in file
 > __db185_open                        ../lib/librpm.a(dbindex.o)
 > ld: fatal: Symbol referencing errors. No output written to dumpdb
 > gmake[1]: *** [dumpdb] Error 1
 > gmake[1]: Leaving directory `/tmp/misc/rpm/work/rpm-2.5.4/tools'
 > gmake: *** [make-subdirs] Error 1
 > *** Error code 2
 
 The issue looks the same as pkg/37293
 
 Does the following patch work for you?
 
 Index: Makefile
  ===================================================================
  RCS file: /cvsroot/pkgsrc/misc/rpm/Makefile,v
  retrieving revision 1.68
  diff -u -r1.68 Makefile
  --- Makefile    22 Sep 2009 13:16:00 -0000      1.68
  +++ Makefile    24 Oct 2009 11:07:06 -0000
  @@ -26,6 +26,7 @@
 
   
   # The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
   CONFIGURE_ENV+=                varprefix=${RPM_DB_PREFIX:Q}
  +LIBS+=                 ${BDB_LIBS:Q}
 
   
   MAKE_FLAGS+=           MANDIR=${PREFIX}/${PKGMANDIR}/man8
   MAKE_FLAGS+=           ROOT=${DESTDIR}
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index