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 Henri Gomez
Good. Careful about sqlite, its rather tricky. Preferred is building/using the sqlite layer in Berkeley DB (which is exactly sqlite with a Berkeley DB storage). How can I select such preferred building ? Yes OpenMP is problematic on Mac OS X because of LLVM != GCC. You might want to look at

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
But see the options use when db-5.3.15 is built. This is what I use to build Berkely DB on Mac OS X (after creating a build_macosx directory to build in) === #!/bin/sh prefix=/opt/local configure_cmd=../dist/configure configure_args=        --prefix=${prefix}        

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
BTW, I attached tests results : 2012/3/26 Henri Gomez henri.go...@gmail.com: But see the options use when db-5.3.15 is built. This is what I use to build Berkely DB on Mac OS X (after creating a build_macosx directory to build in) === #!/bin/sh prefix=/opt/local

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
On Mar 26, 2012, at 12:39 PM, Henri Gomez wrote: I'll add gpg, neon and wget, and redo tests. About pcre, I build rpm with 8.30 (as seen in otool log). Should I disable it ? PCRE is MANDATORY (because RPM has compiled in patterns written in the PCRE dialect). 8.30 was what I used when I

Re: rpm on OSX Lion

2012-03-26 Thread Anders F Björklund
Jeffrey Johnson: [...] The .src.rpm format is somewhat troublesome to port, but bundled rpm2cpio.sh and extracted the tarball in a post-extract {} step. [...] But if it gets to be too big a hassle, I'll pop out the tar ball and included detached signature whenever you wish. Basically

Re: rpm on OSX Lion

2012-03-26 Thread Anders F Björklund
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) Great! The only thing I added after that was

Re: rpm on OSX Lion

2012-03-26 Thread Anders F Björklund
Henri Gomez wrote: Not sure what you ask here: you want a rpm-mac mailing list? Nope, I just want to see if there is other guys interested with RPM on OSX. Frankly, I'm borred to rebuild Brew/MacPorts stuff and I'm not alone. I just want to be able to set a package repository and use yum or

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
Anders, your expertise on OSX and RPM will be very helpfull. Could we team up for providing Snow/Lion packages (RPM yum/zypper/wharever) ? Le 26 mars 2012 à 20:35, Anders F Björklund a...@rpm5.org a écrit : Henri Gomez wrote: Also, Xcode build tools may stop supporting PowerPC in a near

Re: rpm on OSX Lion

2012-03-26 Thread Henri Gomez
If MacPorts could provide a RPM based distribution, may be need for recreating a new distribution may be less urgent. Better if they push dependencies in ... RPMs. MacPorts team did a tremendous works and duplicating effort may not be mandatory. About RPM on MacPorts, could it be updated

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