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

Bug 921637

Summary: dev-python/pygraphviz-1.12 fails to compile (GCC-14-SYSTEM): graphviz_wrap.c:3251:17: error: implicit declaration of function SWIG_Python_str_AsChar
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/swig/swig/issues/2778
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-09 08:19:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pygraphviz-1.11 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-09 08:19:24 UTC
Created attachment 881709 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-22 08:56:17 UTC
gcc14_tinderbox has reproduced this issue with version 1.12 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-06 05:18:12 UTC
The bug has been closed via the following commit(s):

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

commit 3e56c3670c1c691007f710416d0b9d6c86658842
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-06 05:16:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-06 05:16:38 +0000

    dev-python/pygraphviz: fix build w/ swig-4.2.0
    
    Closes: https://bugs.gentoo.org/921637
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/pygraphviz-1.12-swig-4.2.0.patch         | 290 +++++++++++++++++++++
 dev-python/pygraphviz/pygraphviz-1.12-r1.ebuild    |  54 ++++
 2 files changed, 344 insertions(+)