Re: Manifest not working

2007-07-04 Thread Mark Hatle
My manifest has 500 entries of full paths about 45 characters each.. the problem was as I said.. it got the ENOENT and skipped the manifest loading. I removed that check and now it works. I just haven't been able to track down where the ENOENT is set. Attached is the workaround patch I'm

Re: Manifest not working

2007-07-04 Thread Jeff Johnson
On Jul 3, 2007, at 5:39 PM, Mark Hatle wrote: Ok, I found the problem, but I don't know how to fix it.. The code in lib/rpmgi.c if (!(gi-flags RPMGI_NOHEADER)) { h = rpmgiReadHeader(gi, fn); if (h != NULL) rpmrc = RPMRC_OK; } else

Re: Manifest not working

2007-07-04 Thread Jeff Johnson
On Jul 4, 2007, at 3:56 AM, Michael Schroeder wrote: On Tue, Jul 03, 2007 at 04:04:22PM -0500, Mark Hatle wrote: The manifest files don't seem to be working for me. But I can't debug rpm due to it being stripped. A manifest file needs to be at least 96 bytes long (the size of the rpm

Re: Manifest not working

2007-07-04 Thread Michael Schroeder
On Wed, Jul 04, 2007 at 06:27:02AM -0400, Jeff Johnson wrote: On Jul 4, 2007, at 3:56 AM, Michael Schroeder wrote: A manifest file needs to be at least 96 bytes long (the size of the rpm lead). Maybe yours is too short? Not true: [EMAIL PROTECTED] rpm44]$ cat q time-1.7-27.i386.rpm

Re: Berkley DB errors w/ HEAD

2007-07-04 Thread Mark Hatle
Jeff Johnson wrote: On Jul 4, 2007, at 3:54 AM, Mark Hatle wrote: I am getting the following error after using rpm to install source packages: Is the srpm signed? Add --nosignature to not access a rpmdb installing a src.rpm. Alternatively, try importing the pubkey. The above

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Jeff Johnson
Actually I think this patch is unneeded. I do believe Mark has a typo in his manifest that he needs to correct before we starting mucking about with rpmgi behavior. 73 de Jeff On Jul 4, 2007, at 12:16 PM, Ralf S. Engelschall wrote: RPM Package Manager, CVS Repository

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Mark Hatle
Mark Hatle wrote: Jeff Johnson wrote: Actually I think this patch is unneeded. I do believe Mark has a typo in his manifest that he needs to correct before we starting mucking about with rpmgi behavior. Wait.. the system (due to the ENOENT) never got to the point of loading the manifest.. so

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Mark Hatle
Jeff Johnson wrote: Actually I think this patch is unneeded. I do believe Mark has a typo in his manifest that he needs to correct before we starting mucking about with rpmgi behavior. If having a typo in the manifest (on a query) causes a failure, this is new behavior. The commands I am

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Jeff Johnson
On Jul 4, 2007, at 12:28 PM, Mark Hatle wrote: Mark Hatle wrote: Jeff Johnson wrote: Actually I think this patch is unneeded. I do believe Mark has a typo in his manifest that he needs to correct before we starting mucking about with rpmgi behavior. Wait.. the system (due to the

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Mark Hatle
Reproducer. Build rpm5 HEAD as of about 15 minutes ago... (remove the workaround for the ENOENT) rpm5/HEAD/rpm/configure --disable-nls --with-libelf --without-selinux --without-perl --without-python --with-zlib --with-bzip2 --with-beecrypt --without-neon --with-file=internal --with-popt

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Jeff Johnson
On Jul 4, 2007, at 12:52 PM, Mark Hatle wrote: Reproducer. Build rpm5 HEAD as of about 15 minutes ago... (remove the workaround for the ENOENT) rpm5/HEAD/rpm/configure --disable-nls --with-libelf --without-selinux --without-perl --without-python --with-zlib --with-bzip2 --with- beecrypt

Re: [CVS] RPM: rpm/lib/ rpmgi.c

2007-07-04 Thread Mark Hatle
The only thing I can think of is it's either configuration or OS dependent. I'm running FC7 currently. --Mark Jeff Johnson wrote: On Jul 4, 2007, at 12:52 PM, Mark Hatle wrote: Reproducer. Build rpm5 HEAD as of about 15 minutes ago... (remove the workaround for the ENOENT)