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

Bug 925856

Summary: dev-python/pybind11-2.11.1 fails to compile: tensor.h:156:31: error: invalid conversion from const pybind11::ssize_t {aka const long int} to const int [-fpermissive]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: CONFIRMED ---    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-29 14:14:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pybind11-2.11.1 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-29 14:14:36 UTC
Created attachment 886350 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-29 14:14:37 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: tests/CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o 
/var/tmp/portage/dev-python/pybind11-2.11.1/work/pybind11-2.11.1/include/pybind11/eigen/tensor.h:156:31: error: invalid conversion from ‘const pybind11::ssize_t*’ {aka ‘const long int*’} to ‘const int*’ [-fpermissive]