[adding gnulib]

On 11/01/2016 08:47 AM, mich...@felt.demon.nl wrote:
> ok - how do I submit a patch.

'git send-email' is preferred, but any way of creating the patch and
mailing it to the list can probably work as a starting point.

> 
> An issue I have is the syntax for sed in ./bootstrap.

If bootstrap has non-portable sed scripts, that is an issue to report to
upstream gnulib (netcf just copies bootstrap from gnulib); but it may
also be something that is already fixed in upstream gnulib and we just
need to update netcf to the latest gnulib.

> 
> I can edit that, but bootstrap is regenerated during the bootstrap - and then 
> fails.
> 
> So, this is (the tail) of what I end up with:
> 
> running bootstrap...
> + ./bootstrap --bootstrap-sync
> autom4te: need GNU m4 1.4 or later: /opt/bin/m4
> ./bootstrap: WARNING: your autom4te wrapper eats stdin;

You'll need to fix those issues if you want to bootstrap on AIX.

But what I _strongly_ recommend is that you consider bootstrapping on a
GNU/Linux system, then creating a tarball (with 'make dist'), then
testing the tarball on AIX.  It will save you the hassle of having to
upgrade your AIX machine into something capable of doing the bootstrap
(as the built tarball no longer has dependencies on up-to-date GNU m4,
automake, and so on).  On the other hand, iterative development is
harder if you have to copy a new tarball every time you want to test a
patch, so maybe investing the time into updating your build environment
to be more GNU-like will pay off.

> ./bootstrap: if bootstrap fails, consider upgrading your autotools
> ./bootstrap: Bootstrapping from checked-out netcf sources...
> ./bootstrap: getting gnulib files...
> ./bootstrap: updating bootstrap and restarting...
> sed:           # Skip lines that do not start with version. is not a 
> recognized function.
> ./bootstrap: Error: 'autoconf' not found

Can you figure out which sed script in the bootstrap script is
triggering this extra output, and/or provide the edits that work for
you, as you hinted above?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to