Re: rpm-5.0.0 and ftp / http support

2011-12-10 Thread Jeffrey Johnson
On Dec 10, 2011, at 2:21 PM, Per Øyvind Karlsen wrote: ... I changed the behavior a few years back (I've forgot why, there is/was a reason). BTW, I remembered the reason for the change. Network transport has always been opt-in rather than opt-out. I changed from %_rpmgio %{nil}

Re: question about Mac OS X support

2011-12-21 Thread Jeffrey Johnson
On Dec 21, 2011, at 3:02 PM, John Ford wrote: Hi! I am working on setting up some tooling for our Mac OS X build farm. We are using RHEL and Fedora in many parts of our installation and as a result there is lots of knowledge around rpm and yum. Our current deployment strategy is to

Re: MD5 digest: BAD

2012-02-13 Thread Jeffrey Johnson
On Feb 13, 2012, at 2:23 PM, PuttaReddy Challa wrote: Hi, I am trying to install an RPM on RH AS 3 (32bit) machine, the RPM was created on 64bit RH AS 4 machine and getting the following error. MD5 digest: BAD Expected(64280bc31a50e2f9364080bae1113538) !=

Re: MD5 digest: BAD

2012-02-13 Thread Jeffrey Johnson
On Feb 13, 2012, at 4:44 PM, PuttaReddy Challa wrote: Thanks Jeff for taking a look at the issue. here are the versions of RPMs involved. 1) RH AS 4 x86-64 build machine where RPM is created [rh4as-x86-64 ~]$ rpm --version RPM version 4.3.3 2) RH AS 3 32 build machine where RPM is

Re: MD5 digest: BAD

2012-02-13 Thread Jeffrey Johnson
On Feb 13, 2012, at 7:15 PM, PuttaReddy Challa wrote: Jeff, There are no lib*.so.* files included in the RPM pkg. The following is the list of files when not INCLUDED in the RPM, rpm install works without issues. These are around 460 MB before adding these files the RPM size is about

Re: rpm5 compilation on rhel6.

2012-02-16 Thread Jeffrey Johnson
On Feb 15, 2012, at 3:59 PM, Maruthi Devulapalli wrote: Hi All, Need your help with this, make[3]: Entering directory xmlFreeParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to xmlCreatePushParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so:

Re: rpm on OSX Lion

2012-03-23 Thread Jeffrey Johnson
On Mar 23, 2012, at 7:41 PM, Henri Gomez wrote: Hi to all, I'm a long time rpm user and packager and I'd like to experiment it on OSX (10.7.3) and Xcode 4.3.2. Good. snip Did someone succeed to build rpm 5.x on OSX Lion ? Advices more than welcomed. I build the latest rpm-5_4

Re: rpm on OSX Lion

2012-03-24 Thread Jeffrey Johnson
On Mar 24, 2012, at 9:12 AM, Henri Gomez wrote: Excellent. I now well Jenkins but not Waterfall, seems interesting. Jenkins is spiffy, buildbot -- particularly with older python-2.4 -- is a bit of wrestling match. I set up both on the same machine. Jenkins/Hudson needed 500 Mb and filled

Re: rpm on OSX Lion

2012-03-25 Thread Jeffrey Johnson
On Mar 25, 2012, at 2:59 AM, Henri Gomez wrote: Jenkins is spiffy, buildbot -- particularly with older python-2.4 -- is a bit of wrestling match. I set up both on the same machine. Jenkins/Hudson needed 500 Mb and filled /var/log within a week with useless messages. Yep, Jenkins could

Re: rpm on OSX Lion

2012-03-25 Thread Jeffrey Johnson
() and 'm still learning tricks and twists even today …) Both devtool and RPM_CHECK_LIB are from Ralf S Engelschall at OpenPKG: _REALLY_ nicely done engineering imho. hth 73 de Jeff Le 25 mars 2012 à 14:33, Jeffrey Johnson n3...@me.com a écrit : On Mar 25, 2012, at 2:59 AM, Henri Gomez

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
On Mar 26, 2012, at 10:49 AM, Henri Gomez wrote: Hi to all, I success in building rpm 5.4.7 on OSX (from tarball) First step was to build and install bee crypt 4.2.1, popt 1.1.6, db-5.3.15, sqlite 3.7.11, pcre 8.30, zlib 1.2.6 libraries under /usr/local (nothing in) Good. Careful about

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
On Mar 26, 2012, at 11:53 AM, Henri Gomez wrote: rpm-test-results Quick drive-by browse: --14: __gpg %{_bindir}/gpg2 That is used by make test to generate a pub key for testing. That is these failures: sh genpgp.sh genpgp.h genpgp.sh: line 15: gpg2: command not

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
On Mar 26, 2012, at 12:31 PM, Henri Gomez wrote: Use noarch. What would be kinda spiffy is to automate lipo under RPM control and strip out the unused architectures in universal executables (and if one trusts the automated dependencies are accurate) the libraries. I've also been waiting

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
*); #define regcomp pcre_regcomp #define regexec pcre_regexec #define regerror pcre_regerror #define regfree pcre_regfree Most linux distros (but not Red Hat) are doing similar for many years. hth 73 de Jeff 2012/3/26 Jeffrey Johnson n3...@me.com: On Mar 26, 2012, at 11:53 AM, Henri Gomez wrote

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
On Mar 26, 2012, at 4:54 PM, Henri Gomez wrote: What's devtool.conf ? This is the file where various build option stanzas are kept. Building from CVS, the workflow goes like cvs co rpm ./devtool checkout ./devtool falmouth # -- the build options I use on Lion

Re: rpm on OSX Lion

2012-03-26 Thread Jeffrey Johnson
On Mar 26, 2012, at 4:57 PM, Henri Gomez wrote: MacPorts team did a tremendous works and duplicating effort may not be mandatory. I should explain the fundamental disconnect between RPM - MacPorts (and more generally *BSD) here. There are build dependencies and there are install

Re: rpm on OSX Lion

2012-03-28 Thread Jeffrey Johnson
On Mar 28, 2012, at 12:50 AM, Henri Gomez wrote: I removed everything in /usr/local and changed PATH to hide contents in /opt/local Good. So question about pcre used with --with-pcre=Internal is still opened. I cannot diagnose your error until you add --miredebug. There are 2

Re: Requires/Provides

2012-04-04 Thread Jeffrey Johnson
On Apr 4, 2012, at 3:29 PM, Anders F Björklund wrote: A slight problem is that nobody is maintaining the python at rpm5.org. Yet. 73 de Jeff __ RPM Package Managerhttp://rpm5.org User

Re: 5.4.8 release

2012-04-04 Thread Jeffrey Johnson
On Apr 4, 2012, at 4:07 PM, Henri Gomez wrote: Henri MBP is traveling often, not a good candidate as slave for a build farm :) No worries: I happen to have a fair number of Lion boxes doing nothing more than BOINC cobblestone accumulation atm. I will create and maintain a builds lave for

Re: 5.4.8 release

2012-04-08 Thread Jeffrey Johnson
On Apr 4, 2012, at 4:34 PM, Henri Gomez wrote: No worries: I happen to have a fair number of Lion boxes doing nothing more than BOINC cobblestone accumulation atm. :-) I will create and maintain a builds lave for you as soon as you tell me what build options you desire with RPM.

Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Jeffrey Johnson
On Apr 27, 2012, at 1:49 AM, Nicholas Chubrich nchubr...@gmail.com wrote: I have an old RPM 5.1 installation (most of it seems to be in /usr/local) that I need to remove. I believe it was installed using a DMG installer. Can anyone suggest a way to cleanly and completely uninstall it?

Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Jeffrey Johnson
On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson n3...@me.com wrote: Again redirect that output to a file, examine, and remove package by package using rpm -q PKG --^^ -e or --erase of course: its 3am here. for each PKG listed. 73 de Jeff

Re: uninstalling old RPM 5.1 from Mac

2012-04-27 Thread Jeffrey Johnson
, 2012 at 11:41 PM, Jeffrey Johnson n3...@me.com wrote: On Apr 27, 2012, at 2:39 AM, Jeffrey Johnson n3...@me.com wrote: Again redirect that output to a file, examine, and remove package by package using rpm -q PKG --^^ -e or --erase of course: its 3am here. for each

Re: determine package arch without/before building package?

2012-07-11 Thread Jeffrey Johnson
On Jul 11, 2012, at 12:13 PM, Tim Mooney wrote: Given a spec file foo.spec, is there a way use rpmbuild or rpm to determine what the package architecture will be without (or before) actually building the package? I know I could use sed or grep on the spec file looking for BuildArch, but

Re: determine package arch without/before building package?

2012-07-11 Thread Jeffrey Johnson
On Jul 11, 2012, at 4:54 PM, Tim Mooney wrote: In regard to: Re: determine package arch without/before building package?,...: Given a spec file foo.spec, is there a way use rpmbuild or rpm to determine what the package architecture will be without (or before) actually building the package?

Re: Requires/Provides issue with re-packaging a complex product (endeca)

2013-01-05 Thread Jeffrey Johnson
, 2013 at 12:26 PM, Jeffrey Johnson n3...@me.com wrote: On Jan 5, 2013, at 1:07 PM, Mykel Alvis mal...@restorationhardware.com wrote: Responses inline below: On Sat, Jan 5, 2013 at 11:10 AM, Jeffrey Johnson n3...@me.com wrote: Second, you're right, I'm using rpm 4.8 from RHEL. It's

Re: Requires/Provides issue with re-packaging a complex product (endeca)

2013-01-06 Thread Jeffrey Johnson
On Jan 6, 2013, at 12:52 PM, Mykel Alvis wrote: Just to clarify, this package is NOT for public consumption. The software is distributed via installer, to be run by humans. Since we're doing automation using puppet, an RPM of the code reduces the complexity of the installation

Re: Requires/Provides issue with re-packaging a complex product (endeca)

2013-01-06 Thread Jeffrey Johnson
On Jan 6, 2013, at 3:34 PM, Mykel Alvis wrote: I think it's OK to do this, but I'm going to do so directly to your personal email so that I don't display piles of potentially litigious data in a public forum. Please reply with readelf output publically: the output is not that large

Re: Which distros are using rpm5

2013-01-15 Thread Jeffrey Johnson
On Jan 15, 2013, at 12:58 PM, Sriram Narayanan wrote: I've wanted to use rpm5 for belenix, but the other devs want to consider pacman feeling that it's lighter. Hmmm ... rpm5 isn't exactly heavy, just maximally featured: the fundamental basics are still quite lean-and-mean. If you can

Re: cpiobin macro

2013-03-05 Thread Jeffrey Johnson
On Mar 5, 2013, at 12:01 AM, ark ph wrote: Is this what defines the format of the archive that rpm will use? Can I set the path with option to cpio, e.g. from http://www.gnu.org/software/cpio/manual/cpio.html if I use cpio --format=tar the maximum size of archive can be 8589934591 bytes?

Re: rpm spec: clearing Prefix: to create a non-relocatable subpackage (of a relocatable package)?

2013-10-09 Thread Jeffrey Johnson
On Oct 7, 2013, at 8:02 AM, Andreas Luik wrote: Hello, I'm trying to create a non-relocatable subpackage from a spec file, where the main package is relocatable, i.e. has a Prefix: tag. It is possible to use Prefix: for subpackages, e.g. to use a different value as for the main

Re: RPM C API

2013-10-22 Thread Jeffrey Johnson
On Oct 22, 2013, at 6:48 AM, Shardul Thaker (sthaker) wrote: Hello RPM Community, I am looking for list of C api’s, definition and implementation reference, for RPM version 5.1.9. I tried to search for wiki/ref guide etc. but couldn’t find. Can you please help? rpm uses

Re: rpmdb not updated with installed packages

2013-12-12 Thread Jeffrey Johnson
On Dec 12, 2013, at 12:34 PM, bishwajit goswami wrote: Hi, I have a partition up and running with a set of RPMs. Now I want to prepare a backup partition with the same set of rpms. The installation goes through properly and the corresponding files are available on the alternate

Re: Information on patch available on rpm5

2014-01-03 Thread Jeffrey Johnson
On Jan 3, 2014, at 8:38 AM, bishwajit goswami wrote: Hi, I was checking on a few rpm patches available. I found patch as below: -#define PLD_CHROOT -#ifdef PLD_CHROOT - if (rpmdb-db_chrootDone) - xx = dbenv-set_data_dir(dbenv, dbhome); -#endif

Re: functionality opposite to --excludepath

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 2:21 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, Does rpm5 provides selective installation of files that begins with a certain path? e.g. I want to install files beginning with /usr/lib. I am not able to find option for this functionality. RPM doesn’t

Re: hard-linked files handling by rpm

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 3:03 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, In my build root directory, I have created a file (say temp.txt) and then I created a hard-link to it (say temp1.txt). After this, I created rpm out of build root directory. On installing this rpm I see that

Re: functionality opposite to --excludepath

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 9:42 PM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Easiest way to extract some files is likely to use cpio(1) options. E.g. rpm2cpio somepackage.rpm | cpio -dim will extract all files. Is this extraction can be specified as part of rpm installation? If it

Re: hard-linked files handling by rpm

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 9:49 PM, Rajul Bhavsar rajulbhav...@gmail.com wrote: On Tue, Jan 21, 2014 at 10:23 PM, Jeffrey Johnson n3...@me.com wrote: If hard-links are treated as just another files (for inclusion in .rpm) then why difference in size of payload - when same file

Re: RPMTAG_FILENAMES tag still needed

2014-01-30 Thread Jeffrey Johnson
On Jan 30, 2014, at 10:54 AM, Mark Hatle wrote: On 1/30/14, 7:41 AM, Apparao Urla (aurla) wrote: Hi, I am implementing one API to get the list of files using RPMTAG_FILENAMES. I found that RPMTAG_FILENAMES is removed in 5.1.9. Please correct me if I am wrong, there is no other

Re: Can't install RPM because I get an error with system.h

2014-08-22 Thread Jeffrey Johnson
On Aug 20, 2014, at 8:32 AM, andrejfa...@ml1.net wrote: GREETINGS AGAIN. It has now been one month and I have not yet received a response to my inquiry on why the directions to install rpm don't work. What software are you trying to install? Almost certainly (if on Mac Os X), you

Re: Can't install RPM because I get an error with system.h

2014-08-24 Thread Jeffrey Johnson
something is missing. 73 de Jeff - Original message - From: Jeffrey Johnson n3...@me.com To: rpm-users@rpm5.org Subject: Re: Can't install RPM because I get an error with system.h Date: Fri, 22 Aug 2014 10:18:00 -0500 On Aug 20, 2014, at 8:32 AM, andrejfa...@ml1.net wrote

Re: RPM support for x509 format

2015-02-03 Thread Jeffrey Johnson
On Feb 2, 2015, at 6:51 AM, srinivasan j v srinivasanj...@gmail.com wrote: Hello all, Does RPM supports x509 format ? Short answer: No. All depends on what is meant by “support”. RPM crypto is/was based on BeeCrypt which has no dependency on format. (These days

Re: Embed signatures in rpm (RPM tags)

2015-03-10 Thread Jeffrey Johnson
On Mar 10, 2015, at 2:15 AM, srinivasan j v wrote: hello all I'm supposed to you use X509 format for signing . I'm trying to sign the CPIO archive of a rpm . I need to package this signature inside the RPM. I can't add this part of CPIO archive as the generated signature varies from

Re: Need information on RPM signing

2015-04-14 Thread Jeffrey Johnson
On Apr 14, 2015, at 4:07 AM, srinivasan j v srinivasanj...@gmail.com wrote: Hello All I need to sign RPM using X509 Certificate and save the signatures (signature file ) along with the RPM package . 1. Is there any way can i do that ? 2. How can i save the these

Re: Need information on RPM signing

2015-04-14 Thread Jeffrey Johnson
srinivasan regards srini On Tue, Apr 14, 2015 at 8:47 PM, Jeffrey Johnson n3...@me.com mailto:n3...@me.com wrote: On Apr 14, 2015, at 4:07 AM, srinivasan j v srinivasanj...@gmail.com mailto:srinivasanj...@gmail.com wrote: Hello All I need to sign RPM using X509 Certificate and save

Re: rpm did not remove previous version

2015-09-10 Thread Jeffrey Johnson
Did you type "rpm -Uvh ..." or "rpm -ivh ..."? In almost all circumstances (kernels being the major exception), "rpm -Uvh ... " should be used. hth 73 de Jeff Sent from my iPhone > On Sep 10, 2015, at 5:35 PM, Matt Hall wrote: > > > We had a bit of a mis-naming snafu that

Re: rpm fatal error on osx el capitan

2015-09-30 Thread Jeffrey Johnson
> On Sep 24, 2015, at 9:40 AM, Jacques Knipper > wrote: > > > When we tried to install any rpm with "sudo rpm -ivh ...", the command crash > with an error "error: db3cput:db3.c:1461: dbcursor->put(-30973): BDB0087 > DB_RUNRECOVERY: Fatal error, run database

Re: rpm fatal error on osx el capitan

2015-09-30 Thread Jeffrey Johnson
>> >> When we tried to install any rpm with "sudo rpm -ivh ...", the command crash >> with an error "error: db3cput:db3.c:1461: dbcursor->put(-30973): BDB0087 >> DB_RUNRECOVERY: Fatal error, run database recovery”. > This is the on;y trpotyrd retort msg. This is the only reported error msg.

Re: rpm fatal error on osx el capitan

2015-09-30 Thread Jeffrey Johnson
> On Sep 30, 2015, at 4:32 PM, Anders F Björklund wrote: > > Jacques Knipper wrote: > >> Indeed I'm talking about v5.4.15. >> I didn't try with the --rpmdbdebug yet but I will, thanks. >> The problem happen with every rpm. >> I am able to rebuild our rpms with the rpmbuild, but

Re: MD5 BAD Expected : extended by two extra zeros

2015-09-23 Thread Jeffrey Johnson
> On Sep 23, 2015, at 1:55 PM, Divya Vyas wrote: > > > Hi, > > root@host:~# gpg --list-keys > gpg: /home/root/.gnupg/trustdb.gpg: trustdb created > > root@host:~# rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> > %{summary}\n' > package gpg-pubkey is not

Re: RPM sqlite3 support

2016-01-12 Thread Jeffrey Johnson
> On Jan 12, 2016, at 6:39 PM, Tim Mooney <tim.moo...@ndsu.edu> wrote: > > In regard to: Re: RPM sqlite3 support, Jeffrey Johnson said (at 4:40pm on...: > >>> With Oracle's license change on BDB 6.x (or 12.x, or whatever they're >>> calling it) to AGPL, d

Re: RPM sqlite3 support

2016-01-12 Thread Jeffrey Johnson
> On Jan 12, 2016, at 11:25 AM, Jate Sujjavanich wrote: > > I am using rpm 5.4.9 as my package manager on an embedded system, and I am > running into some bottlenecks with the Berkeley database. I am using an SD > Card as my root file system. > > The rpm transactions from

Re: RPM sqlite3 support

2016-01-12 Thread Jeffrey Johnson
> On Jan 12, 2016, at 3:06 PM, Tim Mooney <tim.moo...@ndsu.edu> wrote: > > In regard to: Re: RPM sqlite3 support, Jeffrey Johnson said (at 12:46pm on...: > >> The sqlite3 code (and support) in rpm5 was abandoned in favor of >> Berkeley DB ACID transactiona

Re: Rpm5 will switch to python3 ?

2016-09-21 Thread Jeffrey Johnson
> On Sep 21, 2016, at 5:23 AM, Fan Xin wrote: > > Hi > > I am a Yotco Project user and rpm5 is used in Yocto Project. > As I known, now rpm5 is dependent on python 2.x. > > I want to know that whether the rpm5 community has a plan to switch to Python > 3.x . >

Re: Rpm5 will switch to python3 ?

2016-11-14 Thread Jeffrey Johnson
> On Nov 14, 2016, at 10:32 AM, Alexander Kanavin > wrote: > >> rpm-python was converted to python3 (and generally blue-printed against >> the rpm.org python module) at least 1 year ago afaik. >> >> Meanwhile, no one has tried to compile/use rpm-python with

Re: Making rpm5 work with dnf

2016-11-25 Thread Jeffrey Johnson
> On Nov 24, 2016, at 8:50 AM, Alexander Kanavin > <alexander.kana...@linux.intel.com> wrote: > > On 11/22/2016 06:10 PM, Jeffrey Johnson wrote: > >> Again: I cannot do much more than suggest porting approaches unless I can >> attempt reproducers. >> Ple

Re: Making rpm5 work with dnf

2016-11-22 Thread Jeffrey Johnson
> On Nov 22, 2016, at 10:39 AM, Alexander Kanavin > wrote: > > On 11/22/2016 05:16 PM, Alexander Kanavin wrote: >> AttributeError: 'module' object has no attribute 'RPMTRANS_FLAG_NOCONTEXTS' > > There's a similar issue with RPMTRANS_FLAG_NOFILEDIGEST. If I

Re: Making rpm5 work with dnf

2016-11-22 Thread Jeffrey Johnson
> On Nov 22, 2016, at 11:20 AM, Alexander Kanavin > <alexander.kana...@linux.intel.com> wrote: > > On 11/22/2016 06:10 PM, Jeffrey Johnson wrote: > >> Again: I cannot do much more than suggest porting approaches unless I can >> attempt reproducers.

Re: Rpm5 will switch to python3 ?

2016-11-15 Thread Jeffrey Johnson
> On Nov 15, 2016, at 7:23 AM, Alexander Kanavin > wrote: > >> >> Which of those packages is of interest to you? >> >> Offhand, I don’t see any important applications there that MUST have >> rpm-python3. > > The usage case is that Yocto Project is