Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919220 - net-analyzer/barnyard2-1.13 - spo_database_cache.c: error: passing argument 2 of SQLRowCount from incompatible pointer type [-Wincompatible-pointer-ty
Summary: net-analyzer/barnyard2-1.13 - spo_database_cache.c: error: passing argument 2...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:14 UTC by Toralf Förster
Modified: 2023-12-05 04:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.48 KB, text/plain)
2023-12-04 20:14 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,83.76 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
environment (environment,77.79 KB, text/plain)
2023-12-04 20:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.46 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.09 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
net-analyzer:barnyard2-1.13:20231204-085122.log (net-analyzer:barnyard2-1.13:20231204-085122.log,41.22 KB, text/plain)
2023-12-04 20:15 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,93.10 KB, application/x-xz)
2023-12-04 20:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.65 KB, application/x-xz)
2023-12-04 20:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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