x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -DENABLE_ODBC -O2 -pipe -march=native -Wall -c -o spo_database.o spo_database.c spo_database.c: In function ‘Insert’: spo_database.c:3547:3: error: ‘result’ undeclared (first use in this function) 3547 | result = 0; | ^~~~~~ spo_database.c:3547:3: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-test-20190706-171233 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) emerge -qpvO net-analyzer/barnyard2 [ebuild N ] net-analyzer/barnyard2-1.13 USE="odbc -debug -gre -mpls -mysql -postgres -sguil"
Created attachment 582270 [details] emerge-info.txt
Created attachment 582272 [details] emerge-history.txt
Created attachment 582274 [details] environment
Created attachment 582276 [details] etc.portage.tbz2
Created attachment 582278 [details] logs.tbz2
Created attachment 582280 [details] net-analyzer:barnyard2-1.13:20190708-233620.log
Created attachment 582282 [details] temp.tbz2
src/output-plugins/spo_database.c:3446: #if defined(ENABLE_MYSQL) || defined(ENABLE_POSTGRESQL) int result = 0; ... src/output-plugins/spo_database.c:3537: #ifdef ENABLE_ODBC ... result = 0; And a similar problem in src/output-plugins/spo_database_cache.c
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031718f3e315223e30ef654b56b655752d5b7ca4 commit 031718f3e315223e30ef654b56b655752d5b7ca4 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-07-10 04:59:59 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-07-10 05:00:39 +0000 net-analyzer/barnyard2: Fix USE="-* odbc" Package-Manager: Portage-2.3.68, Repoman-2.3.16 Fixes: https://bugs.gentoo.org/689544 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/barnyard2/barnyard2-1.13.ebuild | 1 + .../barnyard2/files/barnyard2-1.13-odbc.patch | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+)