Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951719 - dev-libs/libdnet-1.18.0-r2 - [gcc-15] ./dnet.c: error: passing argument 2 of PyObject_AsReadBuffer from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-libs/libdnet-1.18.0-r2 - [gcc-15] ./dnet.c: error: passing argument 2 of ...
Status: RESOLVED DUPLICATE of bug 933360
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: c23-porting
  Show dependency tree
 
Reported: 2025-03-21 16:00 UTC by Toralf Förster
Modified: 2025-04-03 08:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.33 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
dev-libs:libdnet-1.18.0-r2:20250321-154131.log (dev-libs:libdnet-1.18.0-r2:20250321-154131.log,35.15 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.14 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
environment (environment,167.19 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.13 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,12.67 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.85 KB, application/x-xz)
2025-03-21 16:00 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 2025-03-21 16:00:21 UTC
      |   ^~~~~~~~~
In file included from /usr/include/python3.12/Python.h:100,
                 from ./dnet.c:50:
/usr/include/python3.12/abstract.h:369:17: note: declared here
  369 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
      |                 ^~~~~~~~~~~~~~~~~~~~~
./dnet.c:8451:52: error: passing argument 2 of PyObject_AsReadBuffer from incompatible pointer type [-Wincompatible-pointer-types]
 8451 |   __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0);
      |                                                   ~^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20250317-083502

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <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 20.1.0
llvm-config: 20.1.0
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0
  [2]   rust-bin-1.85.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_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


  HEAD of ::gentoo
commit 9064919161b3917c145d5e447d0ddec451383c66
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 21 14:35:29 2025 +0000

    2025-03-21 14:35:28 UTC

emerge -qpvO =dev-libs/libdnet-1.18.0-r2
[ebuild  N    ] dev-libs/libdnet-1.18.0-r2  USE="python -debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2025-03-21 16:00:23 UTC
Created attachment 921543 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-21 16:00:24 UTC
Created attachment 921544 [details]
dev-libs:libdnet-1.18.0-r2:20250321-154131.log
Comment 3 Toralf Förster gentoo-dev 2025-03-21 16:00:25 UTC
Created attachment 921545 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-21 16:00:26 UTC
Created attachment 921546 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-21 16:00:27 UTC
Created attachment 921547 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-21 16:00:28 UTC
Created attachment 921548 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-21 16:00:29 UTC
Created attachment 921549 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-21 16:00:30 UTC
Created attachment 921550 [details]
qlist-info.txt.xz
Comment 9 Zhixu Liu 2025-04-03 08:35:52 UTC

*** This bug has been marked as a duplicate of bug 933360 ***