On Fri, Jan 27, 2017 at 1:41 PM, Maxin B. John <[email protected]> wrote: > Hi, > > While building Libtasn1 4.10 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. Please let me know > if that is an acceptable fix.
Hi Maxin, Have you reported this to gnulib guys? Reverting the gnulib update could be a short time fix but in the long run we will update gnulib again and if the culprit isn't fixed upstream the problem will return. regards, Nikos
