RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Support of non-Linux/*BSD platforms?

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Wed 10 Sep 2008 - 17:29:41 CEST
Message-ID: <20080910152941.GA64132@engelschall.com>
On Wed, Sep 10, 2008, Frank Fegert wrote:

> Thanks to everyones work on rpm5 the built went much better compared to
> my last attempt with 4.4.7. Only rpmmtree seems a bit too Linux/*BSD-ish
> with its strtouq, asprintf and st_mtimespec usage.

Yes, rpmmtree originally comes from BSD's mtree program and hence
contains lots of BSD stuff. But keep in mind that for the regular RPM
operation you don't need rpmmtree anyway...

> Luckily CVS already
> had some fixes. This brought up the question if the rpm5 development is
> now only targeted towards Linux/*BSD-ish platforms, or if its just that
> no non-Linux/*BSD build problems have been reported? IOW, are there plans
> on dropping other platforms? (No offense intended!)

Well, RPM historically is rooted in the Linux camp, of course. And RPM 4
was only partially portable to non-Linux platforms. At least for OpenPKG
in the past I had to patch RPM 4 to a larger extend to get it running
on all major platforms (including AIX). All(!) of OpenPKG's portability
changes are now incorporated into the RPM 5 code base and hence RPM 5
should build out-of-the-box on mostly all major Unix platforms. The
rpmmtree is an exception because this piece of code came into RPM 5 just
recently and _after_ the last "full portability checks" were performed
by me for RPM 5. But this one should be really a major exception. As of
RPM 5.0.0 and 5.1.0 the code base really was building and working fine
on all major Unix platforms. And I do not plan to give up on this goal
-- at least that's one of my major personal objectives here in the RPM5
project ;-) So you can expect that RPM5 in the long-term really will
works across all major Unix platforms...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Wed Sep 10 17:30:09 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.