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: PMASKED
Depends on:
Blocks: 954135
  Show dependency tree
 
Reported: 2025-03-02 17:34 UTC by Jay Faulkner
Modified: 2025-05-03 10:07 UTC (History)
3 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 gentoo-dev 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 gentoo-dev 2025-03-02 17:52:46 UTC
https://github.com/gentoo/gentoo/pull/40852 is the proposed DEPENDS change and swig-4.3.0.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-14 21:55:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e81b2ed15bec5eb54a87fb661abbcf46bed820d8

commit e81b2ed15bec5eb54a87fb661abbcf46bed820d8
Author:     Jay Faulkner <jayf@gentoo.org>
AuthorDate: 2025-03-14 21:52:46 +0000
Commit:     Jay Faulkner <jayf@gentoo.org>
CommitDate: 2025-03-14 21:52:46 +0000

    sci-chemistry/modeller: 10.5 needs swig <4.3.0
    
    Adding an upper bound to this depends, 10.5 will not build on swig
    4.3.0.
    
    No bug has been filed upstream as they do not appear to have a public
    bugtracker.
    
    Bug: https://bugs.gentoo.org/950475
    Signed-off-by: Jay Faulkner <jayf@gentoo.org>

 sci-chemistry/modeller/modeller-10.5.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2025-05-03 10:07:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1282e012124ac4e8afd3b93f1686567979a76c98

commit 1282e012124ac4e8afd3b93f1686567979a76c98
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-05-03 09:58:49 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-05-03 10:07:39 +0000

    package.mask: Last rite sci-chemistry/modeller
    
    Bug: https://bugs.gentoo.org/950475 #952653.
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)