Discussion:
gnulib changes breaks Libtasn1 4.10 build with musl
(too old to reply)
Maxin B. John
2017-01-30 09:51:41 UTC
Permalink
Raw Message
Hi,

While building Libtasn1 4.10 (which uses gnulib) with musl in Yocto
project, we observed
this build error:
...
make[4]: *** [progname.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from
TOPDIR/tmp/work/i586-poky-linux-musl/libtasn1/4.10-r0/recipe-sysroot/usr/include/endian.h:23:0,
from
TOPDIR/tmp/work/i586-poky-linux-musl/libtasn1/4.10-r0/recipe-sysroot/usr/include/sys/types.h:70,
from ./sys/types.h:28,
from ./stdio.h:58,
from ../../libtasn1-4.10/gl/read-file.h:25,
from ../../libtasn1-4.10/gl/read-file.c:20:
./stdint.h:89:5: error: #if with no expression
#if
...
(Link: http://errors.yoctoproject.org/Errors/Details/123659/ )

This appears to be an error introduced by the gnulib commit:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38bdb7080218a063b

* m4/stdint.m4 (gl_STDINT_H): Don't define GNULIB_OVERRIDES_WINT_T.

Reverting the changes in stdint.m4 seems to fix it.

Best Regards,
Maxin
Bruno Haible
2017-01-30 13:58:26 UTC
Permalink
Raw Message
Post by Maxin B. John
./stdint.h:89:5: error: #if with no expression
#if
...
(Link: http://errors.yoctoproject.org/Errors/Details/123659/ )
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38bdb7080218a063b
It's the same symptom as reported in
<http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00125.html>

Can you please check that your aclocal search path doesn't contain an older
version of wint_t.m4 ?

Bruno
Maxin B. John
2017-01-30 16:23:24 UTC
Permalink
Raw Message
Hi Bruno,
Post by Bruno Haible
Post by Maxin B. John
./stdint.h:89:5: error: #if with no expression
#if
...
(Link: http://errors.yoctoproject.org/Errors/Details/123659/ )
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38bdb7080218a063b
It's the same symptom as reported in
<http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00125.html>
Can you please check that your aclocal search path doesn't contain an older
version of wint_t.m4 ?
Ah, Thank you .. You are right.
"aclocal --print-ac-dir" showed the directory and we have an old
"wint_t.m4" provided by gettext-0.18.2.

Thanks once again for pointing to the right direction.
Post by Bruno Haible
Bruno
Warm Regards,
Maxin

Loading...