Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942550 - net-analyzer/net-snmp-5.9.4 - [gcc-15] snmptrapd_sql.c: error: assignment to _Bool from incompatible pointer type char [-Wincompatible-pointer-types]
Summary: net-analyzer/net-snmp-5.9.4 - [gcc-15] snmptrapd_sql.c: error: assignment to ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-10-30 17:48 UTC by Toralf Förster
Modified: 2024-10-30 17:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.93 KB, text/plain)
2024-10-30 17:48 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,89.48 KB, application/x-xz)
2024-10-30 17:48 UTC, Toralf Förster
Details
environment (environment,207.55 KB, text/plain)
2024-10-30 17:48 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-10-30 17:48 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.76 KB, application/x-xz)
2024-10-30 17:48 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,571.85 KB, application/x-xz)
2024-10-30 17:48 UTC, Toralf Förster
Details
net-analyzer:net-snmp-5.9.4:20241030-021457.log.xz (net-analyzer:net-snmp-5.9.4:20241030-021457.log.xz,18.77 KB, application/x-xz)
2024-10-30 17:48 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,94.69 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,46.43 KB, application/x-xz)
2024-10-30 17:49 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 2024-10-30 17:48:51 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -I../../include -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-color -Ulinux -Dlinux=linux -c inet.c  -fPIC -DPIC -o .libs/inet.o
make[1]: Leaving directory '/var/tmp/portage/net-analyzer/net-snmp-5.9.4/work/net-snmp-5.9.4/apps/snmpnetstat'
make: Entering directory '/var/tmp/portage/net-analyzer/net-snmp-5.9.4/work/net-snmp-5.9.4/apps'
/bin/sh ../libtool  --mode=compile x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup  -I../snmplib -I/usr/include/mysql  -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fn
libtool: compile:  x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mysql -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-colo
snmptrapd_sql.c: In function netsnmp_mysql_init:
snmptrapd_sql.c:541:50: error: assignment to _Bool * from incompatible pointer type char * [-Wincompatible-pointer-types]
  541 |         _tbind[TBIND_v3_SECURITY_ENGINE].is_null = &_no_v3;
      |                                                  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241022-040507

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 55dcef6470d9791ff4e70e0189857cd2ee92044e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 29 23:33:27 2024 +0000

    2024-10-29 23:33:26 UTC

emerge -qpvO =net-analyzer/net-snmp-5.9.4
[ebuild  N    ] net-analyzer/net-snmp-5.9.4  USE="bzip2 ipv6 mysql pcre ssl zlib -X -doc -elf -kmem -lm-sensors -mfd-rewrites -minimal -netlink -pcap -pci -perl -python -rpm (-selinux) -smux -tcpd -ucd-compat -valgrind" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-10-30 17:48:52 UTC
Created attachment 907344 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-30 17:48:53 UTC
Created attachment 907345 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-30 17:48:55 UTC
Created attachment 907346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-30 17:48:55 UTC
Created attachment 907347 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-30 17:48:56 UTC
Created attachment 907348 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-30 17:48:58 UTC
Created attachment 907349 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-30 17:48:59 UTC
Created attachment 907350 [details]
net-analyzer:net-snmp-5.9.4:20241030-021457.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-30 17:49:00 UTC
Created attachment 907351 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-30 17:49:01 UTC
Created attachment 907352 [details]
temp.tar.xz