Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919220

Summary: net-analyzer/barnyard2-1.13 - spo_database_cache.c: error: passing argument 2 of SQLRowCount from incompatible pointer type [-Wincompatible-pointer-ty
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-analyzer:barnyard2-1.13:20231204-085122.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 20:14:52 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL  -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_sguil.o spo_sguil.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL  -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_echidna.o spo_echidna.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL  -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_syslog_full.o spo_syslog_full.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL  -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_database.o spo_database.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil  -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL  -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_database_cache.o spo_database_cache.c
spo_database_cache.c: In function ClassificationPullDataStore:
spo_database_cache.c:1544:63: error: passing argument 2 of SQLRowCount from incompatible pointer type [-Wincompatible-pointer-types]
 1544 |                           if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS)
      |                                                             ^~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 2fb43f9e9967933fb89789d4309859135863706b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 07:47:00 2023 +0000

    2023-12-04 07:46:59 UTC

emerge -qpvO net-analyzer/barnyard2
[ebuild  N    ] net-analyzer/barnyard2-1.13  USE="mysql odbc postgres -debug -gre -mpls -sguil"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:14:53 UTC
Created attachment 877091 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:14:55 UTC
Created attachment 877092 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:14:56 UTC
Created attachment 877093 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:14:57 UTC
Created attachment 877094 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:14:58 UTC
Created attachment 877095 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:14:59 UTC
Created attachment 877096 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:15:00 UTC
Created attachment 877097 [details]
net-analyzer:barnyard2-1.13:20231204-085122.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:15:02 UTC
Created attachment 877098 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:15:03 UTC
Created attachment 877099 [details]
temp.tar.xz