[yocto] [yocto-2.7, nativesdk-diffutils]: patched-away problem intermittently persists.

Kaz Kylheku kaz at kylheku.com
Tue Oct 29 11:02:10 PDT 2019


Hi all,

I have seen the nativesdk-diffutils compilation fail with the exact 
problem
that is supposed to be solved by:

file://0001-explicitly-disable-replacing-getopt.patch

The build failure which occurs is 100% identical in all its symptoms
to what happens if we remove this patch:

In file included from ./getopt.h:85:0,
                  from ../../diffutils-3.6/lib/xstrtol.h:22,
                  from ../../diffutils-3.6/lib/xstrtol-error.c:20:
./config.h:2072:25: warning: 'struct rpl_option' declared inside 
parameter list
will not be visible outside of this definition or declaration
  #define __GETOPT_PREFIX rpl_
                          ^
../../diffutils-3.6/lib/getopt-pfx-core.h:38:44: note: in expansion of 
macro '__
GETOPT_PREFIX'
  #  define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
                                             ^~~~~~~~~~~~~~~

I don't know if it's a problem with the patch, or if somehow it's not
getting applied; next time it happens I will have more info.



More information about the yocto mailing list