Subject: Re: bug#31095: [aegisub] error: Aegisub requires that boost be built with ICU support.

From: Mark H Weaver <[email-masked]>
Date: Sun, 08 Apr 2018 12:05:25 -0400

Hi Pierre,

Pierre Neidhardt <[email-masked]> writes:

> I can't build aegisub:
>
> 	> guix package --install aegisub
>   [...]
> 	checking whether boost ICU support works... no
> 	configure: error: in `/tmp/guix-build-aegisub-3.2.2.drv-0/aegisub-3.2.2':
> 	configure: error: Aegisub requires that boost be built with ICU support.
> 	See `config.log' for more details
> 	phase `configure' failed after 7.4 seconds
> 	builder for `/gnu/store/97g8fxipy942yzs0zp5hbvsj90hw1xc6-aegisub-3.2.2.drv' failed with exit code 1
> 	guix package: error: build failed: build of `/gnu/store/97g8fxipy942yzs0zp5hbvsj90hw1xc6-aegisub-3.2.2.drv' failed
>
> It seems that the boost input is missing ICU support.

Indeed.  Although our 'boost' package includes 'icu4c' as an input, the
build log contains the following lines in the 'configure' phase and the
start of the 'build' phase:

  Unicode/ICU support for Boost.Regex?... not found.
  [...]
      - has_icu builds           : no
  [...]
      - icu                      : no
      - icu (lib64)              : no

These are from local build logs on my GuixSD based on 'core-updates',
but based on your report, I assume that the same problem exists on
'master'.

Our main Boost package has too many dependencies to fix in 'master', but
we could still fix it in 'core-updates'.  On master, we could create a
'boost/fixed' package that inherits from the main one but with this
problem fixed, for use by aegisub.

However, the first step is to figure out why 'boost' is failing to find
icu4c.  Would you like to investigate?

      Mark