bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #35580] bootstrap is not portable to OpenBSD


From: Mike Miller
Subject: Re: [bug #35580] bootstrap is not portable to OpenBSD
Date: Fri, 9 Aug 2013 09:33:26 -0400

On Fri, Aug 9, 2013 at 10:36:42 +0700, Gary V. Vaughan wrote:
> For this and many other gnulib bootstrap issues that tripped up my projects,
> I rewrote the script from the ground up.  You can find my version on the lua
> branch of GNU Zile, all of my github projects and HEAD revisions of GNU 
> libtool
> and GNU m4, plus a bunch of other projects have adopted it over the last few
> years.  My version is considerably larger, but somewhat faster, with much 
> better
> error reporting, and hugely more flexible and extensible with bootstrap.conf,
> as well as fixing many of the problems with the gnulib bootstrap script that 
> come
> up on these lists from time to time.
>
> [...]
>
> I'd be delighted to hear your feedback if you have any success in switching
> to my rewrite.

Hi Gary,

I tried libtool/bootstrap in a test project on OpenBSD, I had a couple
of problems.

* if a buildreq does not have a required version, bootstrap still
requires that the tool understands the --version option. It should
skip calling func_get_version if _G_reqver is "-".

The rest were simply conversion problems, not saying your script
should be completely compatible, just things I ran into:

* bootstrap.conf is not completely compatible, e.g. I had to change
gnulib_tool_option_extras -> gnulib_tool_options. The user must
include "--no-changelog" in bootstrap.conf if they want to keep that
default option.

* buildreq list needs to be rewritten with URLs, if it's only 2
columns instead of 3, errors ensue from trying to treat the wrong
field as the wrong type.

* --skip-git instead of --no-git

Thanks,

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]