Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933360 - dev-libs/libdnet-1.18.0-r1 - [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-r1 - [gcc-15] ./dnet.c: error: passing argument 2 of ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-06-01 09:49 UTC by Toralf Förster
Modified: 2024-06-01 09:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.35 KB, text/plain)
2024-06-01 09:49 UTC, Toralf Förster
Details
dev-libs:libdnet-1.18.0-r1:20240601-091306.log (dev-libs:libdnet-1.18.0-r1:20240601-091306.log,35.63 KB, text/plain)
2024-06-01 09:49 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,102.17 KB, application/x-xz)
2024-06-01 09:49 UTC, Toralf Förster
Details
environment (environment,175.65 KB, text/plain)
2024-06-01 09:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-06-01 09:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.30 KB, application/x-xz)
2024-06-01 09:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.21 KB, application/x-xz)
2024-06-01 09:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,103.39 KB, application/x-xz)
2024-06-01 09: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-06-01 09:49:14 UTC
      |   ^~~~~~~~~
In file included from /usr/include/python3.11/Python.h:100,
                 from ./dnet.c:50:
/usr/include/python3.11/abstract.h:343:17: note: declared here
  343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
      |                 ^~~~~~~~~~~~~~~~~~~~~
./dnet.c:8455:52: error: passing argument 2 of PyObject_AsReadBuffer from incompatible pointer type [-Wincompatible-pointer-types]
 8455 |   __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-20240521-204002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit 942889d8f9ed0574263415dd7bcf1e1a62ab9fd4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 1 08:21:02 2024 +0000

    2024-06-01 08:21:01 UTC

emerge -qpvO dev-libs/libdnet
[ebuild  N    ] dev-libs/libdnet-1.18.0-r1  USE="python -debug -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-06-01 09:49:15 UTC
Created attachment 894858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-01 09:49:16 UTC
Created attachment 894859 [details]
dev-libs:libdnet-1.18.0-r1:20240601-091306.log
Comment 3 Toralf Förster gentoo-dev 2024-06-01 09:49:17 UTC
Created attachment 894860 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-06-01 09:49:18 UTC
Created attachment 894861 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-01 09:49:19 UTC
Created attachment 894862 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-01 09:49:20 UTC
Created attachment 894863 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-01 09:49:21 UTC
Created attachment 894864 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-01 09:49:22 UTC
Created attachment 894865 [details]
qlist-info.txt.xz