Source: bpfcc
Version: 0.4.0-1
Severity: serious
https://buildd.debian.org/status/package.php?p=bpfcc&suite=sid
...
In file included from /<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:19:0:
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc: In function 'void
____C_A_T_C_H____T_E_S_T____55()':
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:63:14: error: 'parser' was not
declared in this scope
REQUIRE(!parser.parse(&arg));
^
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:63:14: note: suggested alternative:
'pause'
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:63:14: error: 'parser' was not
declared in this scope
REQUIRE(!parser.parse(&arg));
^
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:63:14: note: suggested alternative:
'pause'
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:148:13: error: 'parser' was not
declared in this scope
REQUIRE(parser.done());
^
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:148:13: note: suggested
alternative: 'pause'
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:148:13: error: 'parser' was not
declared in this scope
REQUIRE(parser.done());
^
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:148:13: note: suggested
alternative: 'pause'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
[ 98%] Built target LLCStat
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc: At global scope:
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:35:13: warning: 'void
verify_register(USDT::ArgumentParser&, int, const string&,
std::experimental::optional<int>,
std::experimental::optional<std::__cxx11::basic_string<char> >,
std::experimental::optional<std::__cxx11::basic_string<char> >,
std::experimental::optional<int>)' defined but not used [-Wunused-function]
static void verify_register(USDT::ArgumentParser &parser, int arg_size,
^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/cc/test_usdt_args.cc:25:13: warning: 'void
verify_register(USDT::ArgumentParser&, int, int)' defined but not used
[-Wunused-function]
static void verify_register(USDT::ArgumentParser &parser, int arg_size,
^~~~~~~~~~~~~~~
tests/cc/CMakeFiles/test_libbcc.dir/build.make:185: recipe for target
'tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o' failed
make[3]: *** [tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o] Error 1
The problem is:
#ifdef __powerpc64__
USDT::ArgumentParser_powerpc64 parser("4@-12(42)");
#elif defined(__x86_64__)
USDT::ArgumentParser_x64 parser("4@i%ra+1r");
#endif
USDT::Argument arg;
REQUIRE(!parser.parse(&arg));