Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953964 - dev-lang/swig-4.3.0 break python bindings for media-libs/hamlib with USE=python
Summary: dev-lang/swig-4.3.0 break python bindings for media-libs/hamlib with USE=python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 954135
  Show dependency tree
 
Reported: 2025-04-17 18:07 UTC by Thomas Beierlein
Modified: 2025-04-21 07:15 UTC (History)
1 user (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 Thomas Beierlein gentoo-dev 2025-04-17 18:07:45 UTC
Building actual media-libs/hamlib with USE=python fails with a lot of rejected constant definitions:

'../include/hamlib/riglist.h:67: Warning 304: Unsupported constant value (ignored)'


See also discussion at https://github.com/swig/swig/issues/3058 and https://github.com/swig/swig/issues/3058

The new swig-4.3.1 version (released 2 days ago) fixes the problem.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-17 18:18:30 UTC
(In reply to Thomas Beierlein from comment #0)
> Building actual media-libs/hamlib with USE=python fails with a lot of
> rejected constant definitions:
> 
> '../include/hamlib/riglist.h:67: Warning 304: Unsupported constant value
> (ignored)'
> 

Thanks for the report.

> 
> See also discussion at https://github.com/swig/swig/issues/3058 and
> https://github.com/swig/swig/issues/3058

Same link?
Comment 2 Thomas Beierlein gentoo-dev 2025-04-17 20:12:43 UTC
Sorry, bad copy. Should be:

  See also discussion at https://github.com/swig/swig/issues/3058 and
  https://github.com/swig/swig/issues/3118
Comment 3 Larry the Git Cow gentoo-dev 2025-04-21 07:10:52 UTC
The bug has been closed via the following commit(s):

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

commit 3ccf1feb5436a842565bb602c814618ecf200812
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-21 07:08:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-21 07:08:32 +0000

    dev-lang/swig: add 4.3.1
    
    Closes: https://bugs.gentoo.org/953964
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/swig/Manifest          |  1 +
 dev-lang/swig/swig-4.3.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)