NAM_MAX undeclared error when building rpmio

2010-10-24 Thread Sriram Narayanan
Hello: Build platform: openindiana (opensolaris build 147) compiler : gcc 3.4.3 rpm5: rpm-5.2.1 1108 #ifdef _LARGEFILE64_SOURCE 1109 struct dirent64 *d; 1110 union { 1112 struct dirent64 d64;

structure has no member named `st_mtimespec' error when building rpmmtree

2010-10-24 Thread Sriram Narayanan
Hello: Compiler: gcc 3.4.3 rpm5: rpm-5.2.1 Platform: openindiana (opensolaris build 147). When building rpm5, I get this error. rpmmtree.c: In function `compare_nodes': rpmmtree.c:1910: error: structure has no member named `st_mtimespec' rpmmtree.c:1910: error: structure has no member named

Re: structure has no member named `st_mtimespec' error when building rpmmtree

2010-10-24 Thread Sriram Narayanan
On Sun, Oct 24, 2010 at 10:15 PM, Jeff Johnson n3...@mac.com wrote: On Oct 24, 2010, at 12:25 PM, Sriram Narayanan wrote: Hello: Compiler: gcc 3.4.3 rpm5: rpm-5.2.1 Platform: openindiana (opensolaris build 147). When building rpm5, I get this error. rpmmtree.c: In function

A question on the various compression alorithms

2010-10-24 Thread Sriram Narayanan
What does the optional support for bzip2, LZMA, gzip, etc mean ? When does it make sense to add support for these compression schemes ? Does rpm5 take a decision to compress a file using a specific library (e.g. bzip2 for binaries, gzip for text, etc) ? Sriram --

How should I add support for custom tags ?

2010-11-05 Thread Sriram Narayanan
Hello: For backward compatibility and collaboration reasons, the Belenix team needs to pull in spec files that were created for pkgbuild. For various reasons, the pkgbuild spec files have some extra tags that make sense to pkgbuild. These are tags such as: SUNW_BaseDir: corresponds to

Is there a tarball for 5.3.6 ?

2011-01-16 Thread Sriram Narayanan
I'm unable to complete devtool checkout. I've been trying for the past three hours. -- Sriram == Belenix: www.belenix.org __ RPM Package Managerhttp://rpm5.org Developer

About ACL_FIRST_ENTRY, etc in rpm-5.3.11

2011-06-09 Thread Sriram Narayanan
Hi: While trying to get rpm-5.3.11 to compile on OpenIndiana build 147 (gcc 3.4.3), I faced the following error. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../neon/src -I../neon/src -I../neon -I../neon -I../pcre

A syntax (?) question

2011-06-09 Thread Sriram Narayanan
Another C n00b question: I faced this: libtool: link: gcc -shared -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,librpmmisc-5.3.so -o .libs/librpmmisc-5.3.so .libs/librpmmisc.o -R/workspace/rpm/rpm_5_3_11/beecrypt/.libs -R/usr/sfw/lib -R/workspace/rpm/rpm_5_3_11/neon/src/.libs

Re: A syntax (?) question

2011-06-09 Thread Sriram Narayanan
also present our modifications if any to rpm-de...@rpm4.org first. -- Ram On Thu, Jun 9, 2011 at 10:16 PM, Jeff Johnson n3...@mac.com wrote: On Jun 9, 2011, at 12:28 PM, Sriram Narayanan wrote: Another C n00b question: I faced this: libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text

How do I get the rpm build to see the external db and dbsql files ?

2011-06-09 Thread Sriram Narayanan
I have bdb 5.1.19 installed at /workspace/altopt/ (with sub folders being include, bin, lib, etc). /workspace/altopt/include contains db.h and dbsql.h Here's a snippet of what I use to autogen and configure the rpm build process: /bin/sh ./autogen.sh ./configure

Re: How do I get the rpm build to see the external db and dbsql files ?

2011-06-09 Thread Sriram Narayanan
On Fri, Jun 10, 2011 at 12:37 AM, Jeff Johnson n3...@mac.com wrote: On Jun 9, 2011, at 2:59 PM, Sriram Narayanan wrote: I have bdb 5.1.19 installed at /workspace/altopt/ (with sub folders being include, bin, lib, etc). Note that there is a ABI breakage between db-5.1.19 - db-5.1.25. You

Help needed with db51 again

2011-06-29 Thread Sriram Narayanan
Hi: I'm not able to fix this particular problem. Any help would be appreciated: In rpmdb/rpmdb.h, I had to replace: #if defined(_RPMDB_INTERNAL) #if defined(WITH_DB) #include db51/db.h #else #include db_emu.h #endif #endif with #include /usr/include/db51/db.h Since CFLAGS=-I/usr/include and

Re: Help needed with db51 again

2011-06-29 Thread Sriram Narayanan
I forgot to mention, I'm using ./devtool checkout, followed by ./devtool system and then make -j 2 -- Sriram On Wed, Jun 29, 2011 at 7:03 PM, Sriram Narayanan sri...@belenix.org wrote: Hi: I'm not able to fix this particular problem. Any help would be appreciated: In rpmdb/rpmdb.h, I had

undefined reference to `globfree64' and 'glob64'

2011-06-29 Thread Sriram Narayanan
Hi again: After placing a workaround to a reference to db51/db.h, I see the build stuck at another point: libtool: link: gcc -fPIC -DPIC -Wall -W -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unused-parameter -Wformat-security -g3

Some check errors with rpm 5.3.11

2011-07-05 Thread Sriram Narayanan
Hi all: I got rpm 5.3.11 to build. Here are the output of a make check. I've not provided either tomcrpyt or nss yet, so I can understand those errors. Can someone please help interpret the rest of the test errors ? I'm assuming that check-acid, check-am and check-recursive below are all

Re: About Have it your own way!

2011-07-16 Thread Sriram Narayanan
Thanks for your responses, Jeff. My own responses inline. On Sat, Jul 16, 2011 at 7:08 PM, Jeff Johnson n3...@mac.com wrote: On Jul 16, 2011, at 8:47 AM, Sriram Narayanan wrote: Hi Jeff, I've sometimes seen your responses posts where you talk about Have it your won way

What should the contents of /etc/rpm/platform be ?

2011-07-22 Thread Sriram Narayanan
Hi: I'm facing a problem with the smart package manager downloading the createrepo based metadata, but not showing me any packages. Anders F Bjorklund on the smart package manager mailing list gave a few pointers, most of which I'd already applied. He also pointed out to me that I should have

Re: What should the contents of /etc/rpm/platform be ?

2011-07-23 Thread Sriram Narayanan
Thanks for your responses, everyone. I had to place i86pc-pc-Solaris in /etc/rpm/platform (I'm using a 32 bit build for the time being). I also had to place /etc/rpm/macros and customize the following: %_arch i86pc %_build_arch i86pc %_vendor pc %_os

Why rpm5 and smart for Belenix

2011-09-03 Thread Sriram Narayanan
-manager -- Forwarded message -- From: Sriram Narayanan sri...@belenix.org Date: Sat, Sep 3, 2011 at 8:54 PM Subject: Fwd: About dpkg and apt-get To: Belenix Developers belenix-...@opensolaris.org All: Summary: I asked Garrett D'Amore of Nexenta/Illumos on Nexenta's choice of using dpkg

Re: Git-based building

2011-09-11 Thread Sriram Narayanan
Some questions: How is this different from the git structure that fedora use? Are you referring to a form of continuous integration? -- Sriram On 9/11/11, P. Christeas x...@hellug.gr wrote: Given your project's interest in next-generation packaging, I'd like to present you with my technique.

Re: RPM ROADMAP planning at launchpad.net/rpm

2012-01-10 Thread Sriram Narayanan
Thanks for the heads up, Jeff! -- Sriram On 1/11/12, Jeffrey Johnson n3...@mac.com wrote: The @rpm5.org project uses Launchpad for ROADMAP planning (and bug reporting and release purposes) here: http://launchpad.net/rpm While its anyone's guess whether Mandriva will close its doors