Tim Mooney wrote:
> In regard to: Re: Converting *.spec to Makefiles, Jeff Johnson said
>> make has the advantage that its universal, and one can take a
>> and run it.
> That's probably true if you're talking about Linux, where every
> distribution uses some recent version of GNU Make. It's not as true
> when you consider other platforms like Solaris or HP-UX. I don't
> it's necessarily true even for the BSD-derivatives, but I haven't
> at one in a while.
GNU Make even competes with itself, I have at least a few items
me to use "MAKE=make-3.81" because the system one wouldn't cut it
BSD Make isn't fully "compatible" either, but you can usually make a
that works in both... (Same thing goes for GNU sh by the way, vs. BSD
> I also think that there wouldn't be so many alternatives to
> "make" (cmake,
> smake, ant, etc.) if everyone agreed that it was the right solution to
> most build problems. autoconf + make works just great for my
> needs, but
> apparently not everyone agrees.
Autoconf + make can work for making packages too (that is: "make rpm"),
it's just that it comes with quite some overhead compared to a
Usually it also involves messing with or competing with the upstream
build system, which half of the time leads to disappointing results...
>> That's not true with dialects of spec files.
> I support any effort you'll undertake to regularize spec files or
> an alternative, either of which hopefully will result in more
> cross-distribution interoperatiblity (I'm not convinced that will
> happen, but hope springs eternal, as they say).
I have doubts that regularizing is possible using "make" syntax, it is
just too liberal (hard to "validate") and has too many ancient dialects.
But I like the yamlspec idea as it is turning out in RPM5 (and in
where it's similar to the existing spec but yet validatable and
> I have had very few experiences with ant, but I have to say that those
> experiences have so far left me hating it. Hopefully whatever
> comes out
> of this doesn't end up with 1000+ line XML files just to build the
> simplest package.
Sounds just like xmlspec then, which had the same problem too :-)
>>> Maybe something like http://bee.rubyforge.org/ would keep more
>>> the existing YAML-ish syntax, while still allowing for a Real
>>> Language ?
> Oh good. Another competing build system. ;-)
I'm using this new build system (which was already done, bugs are fixed)
to experiment with getting the YAML "export" right from the old specs...
Then those'll serve as the prototype for yamlspec, that can later be
ported to C and rpmbuild. It shouldn't be much harder to use than spec.
Received on Tue Sep 9 09:28:58 2008