unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* unistring / gnulib build problem
@ 2016-07-10 10:37 Andy Wingo
  2016-07-10 12:45 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2016-07-10 10:37 UTC (permalink / raw)
  To: guile-devel

Hi,

I recently updated gnulib to the latest version on both stable-2.0 and
master, which is nice because we haven't done that for a while.  There
was a bug in the new mktime module that they added, and which Ludovic
and Paul Eggert tracked down and fixed.  Since then on my machine, all
systems are go and ready for release.

However.  Hydra is showing errors:

  https://hydra.nixos.org/build/37443729/log/raw

I believe the source of the problem is that Hydra's unistring is 0.9.3,
whereas Ludovic and I have been building with 0.9.6.  Gnulib has most
(or possibly all, I'm not sure) of unistring available as gnulib
modules, which is kinda cool if you want to not *require* a system
unistring.  However it gets tricky, because sometimes other gnulib
modules depend on the unistring modules in gnulib itself
(e.g. striconveh); in that case the gnulib modules have a higher
unistring requirement (0.9.4) than we do, which produces this error.
Specifically unistr.h is getting generated on Hydra and not on my
machine, leading to the problem.

We have a few options:

 1. Revert the gnulib update.

 2. Bump the libunistring required version.

 3. Hack gnulib.

(1) is possible but not great.  I fear that (2) is difficult because
0.9.3 is the de-facto widely-deployed unistring:

  http://packages.ubuntu.com/search?keywords=libunistring

I will look into (3) but suggestions are appreciated.

Andy



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unistring / gnulib build problem
  2016-07-10 10:37 unistring / gnulib build problem Andy Wingo
@ 2016-07-10 12:45 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2016-07-10 12:45 UTC (permalink / raw)
  To: guile-devel

On Sun 10 Jul 2016 12:37, Andy Wingo <wingo@pobox.com> writes:

>  3. Hack gnulib.

I added --avoid=unistr/base and similar arguments, and things seem to be
fine; hydra is happy again and we can build on 0.9.3.

We should release early next week I think.

Andy



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-10 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10 10:37 unistring / gnulib build problem Andy Wingo
2016-07-10 12:45 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).