Subject: Re: Bug#990250: guile-2.2 FTBFS on musl: dh_missing complains about charset.alias

From: Rob Browning <[email-masked]>
Date: Sun, 06 Mar 2022 11:56:55 -0600

[If possible, please preserve at least the -forwarded address in any replies.]

It looks like a file might be missing from installs when building
for linux-musl:

Helmut Grohne <[email-masked]> writes:

> Source: guile-2.2
> Version: 2.2.7+1-6
>
> guile-2.2 fails to build from source on musl-linux-any, because the
> build generates a charset.alias that is never installed and thus
> dh_missing complains:
>
> | dh_missing: warning: usr/lib/<triplet>/charset.alias exists in debian/tmp but is not installed to anywhere
> | dh_missing: error: missing files, aborting
>
> It turns out, that this file actually contains only comments for musl,
> so it can be skipped like it is skipped for glibc. Please consider
> applying the attached patch.
>
> Helmut
> --- a/lib/Makefile.am
> +++ b/lib/Makefile.am
> @@ -1043,7 +1043,7 @@ install-exec-localcharset: all-local
>  	  case '$(host_os)' in \
>  	    darwin[56]*) \
>  	      need_charset_alias=true ;; \
> -	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
> +	    darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \
>  	      need_charset_alias=false ;; \
>  	    *) \
>  	      need_charset_alias=true ;; \

Thanks

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4