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

Bug 950475

Summary: sci-chemistry/modeller-10.5: swig 4.3.0 compat
Product: Gentoo Linux Reporter: Jay Faulkner <jay>
Component: Current packagesAssignee: Alexey Shvetsov <alexxy>
Status: CONFIRMED ---    
Severity: normal CC: jay, sci-chemistry
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jay Faulkner 2025-03-02 17:34:43 UTC
Modeller 10.5 will not compile cleanly with newer swig 4.3.0. I will be posting a PR shortly that will set an upper bound to the swig dependency and propose a bump for swig.

The specific error is:

modeller_wrap.c:23545:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]


I will note an attempt was made to test this against modeller 10.6, not yet packaged, and builds failed in an identical way.
Comment 1 Jay Faulkner 2025-03-02 17:52:46 UTC
https://github.com/gentoo/gentoo/pull/40852 is the proposed DEPENDS change and swig-4.3.0.