[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] build libunisstring on musl libc
From: |
Natanael Copa |
Subject: |
[bug-libunistring] build libunisstring on musl libc |
Date: |
Fri, 20 Dec 2013 09:42:45 +0100 |
Hi,
We are trying to port Alpine Linux to musl libc. so far 1500 of 1600
packages are building just fine.
libunistring-0.9.3 does not build though:
fseterr.c: In function 'fseterr':
fseterr.c:72:3: error: #error "Please port gnulib fseterr.c to your platform!
Look at the definitions of ferror and clearerr on your system, then report this
to bug-gnulib."
#error "Please port gnulib fseterr.c to your platform! Look at the
definitions of ferror and clearerr on your system, then report this to
bug-gnulib."
^
When digging into this, it seems like this problem was fixed long time
ago in gnulib. However, since libunistring has not had any new release
in more than 3 years, the gnulib shipped with the release is broken.
It does not seem trivial to just patch in a simple fix either (we
support both musl and uclibc so we will have to do the HAVE___FSETERR
configure check too...)
I wonder if it would be possible make a 0.9.4 release with a recent
gnulib? I believe that would solve it.
Thanks!
-nc
- [bug-libunistring] build libunisstring on musl libc,
Natanael Copa <=