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

Bug 920767

Summary: dev-python/pygccxml-2.4.0 fails to compile (GCC-14-SYSTEM): ModuleNotFoundError: No module named release_utils
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal CC: radio, tomjbe
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893356    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-12-27 08:52:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pygccxml-2.4.0 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 2023-12-27 08:52:19 UTC
Created attachment 880398 [details]
build.log

build log and emerge --info
Comment 2 Thomas Beierlein gentoo-dev 2024-03-25 08:17:38 UTC
Missed module seems to come from https://github.com/facebookresearch/fairseq/tree/main which is not in tree.
Comment 3 Thomas Beierlein gentoo-dev 2024-03-25 14:46:35 UTC
Missed module release_utils is no longer used in pygccxml-2.4.0 but import clause is still around.

Furthermore run_apidoc() in docs/conf.py uses the wrong path.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-25 14:51:05 UTC
The bug has been closed via the following commit(s):

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

commit 57313b5a0994511f60ea73610ebcc535716a07ea
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2024-03-25 14:48:50 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-03-25 14:50:23 +0000

    dev-python/pygccxml: Fix build of documentation
    
    - drop no longer used import statement
    - fix module file path
    
    Closes: https://bugs.gentoo.org/920767
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch | 21 +++++++++++++++++++++
 dev-python/pygccxml/pygccxml-2.4.0.ebuild          |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)