Santiago Vila wrote...

>       make -j1 check
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> sparse -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu99 -Wall -Wextra -g -I. -DDO_DEBUG 
> -I/usr/include/libnl3 *.[ch]
> /usr/include/err.h:25:11: error: unable to open 'stdarg.h'

To reproduce this it's important to remove gcc-7 from the build chroot
(apt purge libgcc-7-dev ; apt --purge autoremove).

Problem is, sparse appearently uses hardcoded paths and looks for
stdarg.h in (among other places)

| /usr/lib/gcc/x86_64-linux-gnu/7//include/stdarg.h
|                               ^

... which fails.

Solution is to rebuild sparse, building horst was successful then.
If this is true (please check!), the interesting question is why this
wasn't a problem in earlier gcc version bumps.

    Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to