Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950475 - sci-chemistry/modeller-10.5: swig 4.3.0 compat
Summary: sci-chemistry/modeller-10.5: swig 4.3.0 compat
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-02 17:34 UTC by Jay Faulkner
Modified: 2025-03-02 17:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.