Very nice Jeff.
Could you do a tar ball of this 'native' Lion build so I could test it ?
I still have problem building a 5.4.8 (even with the great help you
It's not so easy to go back into 'native land' after years and years
in Java world :)
2012/3/29 Jeffrey Johnson <firstname.lastname@example.org>:
> On Mar 26, 2012, at 2:41 PM, Anders F Björklund wrote:
>> 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
>>> zypper to get stuff downloaded and installed.
>> Seems your next task is porting either yum or zypper, then.
>> Presumably your "repository" needs some kind of indexing ?
>>>> Or are you referring to Anders (who knows way more about RPM
>>>> on Mac OS X than anyone else, with many other skills ;-)
>>> If there is a RPM DMG available right now for Snow and Lion, with a
>>> stable RPM, I'll be happy to use it.
>> There is a .pkg for Snow Leopard, but it was using RPM 5.2.
>> Better to offer a new one, if you have rebuilt everything ?
> I achieved a "native" build of rpm-5.4.8 yesterday.
> It has a saner feature set than what I usually use for "development"
> and is also partially statically linked.
> To achieve a clean build, I had to take "/usr/local/bin" out
> of my PATH. This gets trick with a devtool build which needs
> the latest AutoFu and also has some helpers (gpg2/wget) used by
> make clean test
> I isolated the build by putting these symlinks into ~/bin:
> drwxr-xr-x+ 16 jbj staff 544 Mar 28 20:37 .
> drwxr-xr-x+ 111 jbj staff 3774 Mar 28 22:27 ..
> lrwxr-xr-x 1 jbj staff 22 Mar 28 20:08 aclocal -> /opt/local/bin/aclocal
> lrwxr-xr-x 1 jbj staff 23 Mar 28 20:04 autoconf -> /opt/local/bin/autoconf
> lrwxr-xr-x 1 jbj staff 25 Mar 28 20:08 autoheader -> /opt/local/bin/autoheader
> lrwxr-xr-x 1 jbj staff 23 Mar 28 20:19 autom4te -> /opt/local/bin/autom4te
> lrwxr-xr-x 1 jbj staff 23 Mar 28 20:04 automake -> /opt/local/bin/automake
> lrwxr-xr-x 1 jbj staff 24 Mar 28 20:08 autopoint -> /opt/local/bin/autopoint
> lrwxr-xr-x 1 jbj staff 25 Mar 28 20:23 autoreconf -> /opt/local/bin/autoreconf
> lrwxr-xr-x 1 jbj staff 20 Mar 28 20:20 cmake -> /opt/local/bin/cmake
> lrwxr-xr-x 1 jbj staff 22 Mar 28 20:22 gettext -> /opt/local/bin/gettext
> lrwxr-xr-x 1 jbj staff 25 Mar 28 20:05 gettextize -> /opt/local/bin/gettextize
> lrwxr-xr-x 1 jbj staff 26 Mar 28 20:04 glibtoolize -> /opt/local/bin/glibtoolize
> lrwxr-xr-x 1 jbj staff 19 Mar 28 20:33 gpg2 -> /opt/local/bin/gpg2
> lrwxr-xr-x 1 jbj staff 19 Mar 28 20:37 wget -> /opt/local/bin/wget
> Beacuse of the snarl of db_sql, it turned out to be easiest to simply
> build and install db-5.3.15 into /usr; the db3/configure could be
> easily resurrected as well, just, now I head back to
> after battling for years to do what everyone else wanted?!?
> Then this sequence builds rpm-5.4.8 from CVS "natively"
> ./devtool checkout
> ./devtool static
> make -C tests clean test
> I tried extending a few features, seems entirely possible. And
> partial static linking aginst "system" libraries is going to
> be reliable (and hide any gory build pre-requisites into -lrpmmisc).
> For extra credit (and near term implementations)
> seems functional with LLVM these days. Kewl!
> There's also no need for
> done mostly to see whether still feasible (and static RPM is still feasible
> even if noone wishes that).
>>> Then we could works on building a community for RPMs production :)
>> Probably the best idea, as you won't know until you've tried.
>>>> Anders is part of the @rpm5.org project: maintains the MacPorts
>>>> and FreeBSD ports, "smart" guy too ;-)
>>> It seems to be the 'OSX/RPM guru' so willing to heard more from him :)
>> I'm here, but might as well start over than reuse the old…
> Next item would be to get some minimal set of packages built, like
> bash and all its prereq's, to use with CI buildbot's on Lion with
> make Install-LION
> make Verify-LION
> What I need is a small manifest of packages to attempt a chroot install
> on Lion to ensure RPM is functional (but "make -C tests clean test" has
> already told me most everything I need to know).
> 73 de Jeff
> RPM Package Manager http://rpm5.org
> User Communication List email@example.com
Received on Thu Mar 29 21:38:52 2012