Source: libunistring
Version: 0.9.10-4
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

libunistring 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.gnulib
+++ b/lib/Makefile.gnulib
@@ -461,7 +461,7 @@
 	  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 ;; \

Reply via email to