Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908657 - dev-python/python-rtmidi-1.5.1[doc] fails to compile: FileNotFoundError: [Errno 2] No such file or directory: version.py
Summary: dev-python/python-rtmidi-1.5.1[doc] fails to compile: FileNotFoundError: [Err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-17 11:43 UTC by Agostino Sarubbo
Modified: 2023-06-17 22:18 UTC (History)
0 users

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


Attachments
build.log (build.log,57.86 KB, text/plain)
2023-06-17 11:43 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-06-17 11:43:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-rtmidi-1.5.1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-17 11:43:59 UTC
Created attachment 864022 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-17 11:44:00 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/python-rtmidi-1.5.1/work/python-rtmidi-1.5.1/rtmidi/version.py'
Run-time dependency jack found: NO (tried pkgconfig and cmake)
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2023-06-17 11:54:02 UTC
I very much cannot reproduce this on my end, and version.py should be generated at build time - see rtmidi/meson.build.
Comment 4 Marek Szuba (RETIRED) archtester gentoo-dev 2023-06-17 21:56:37 UTC
Problem reproduced and figured out - documentation generation happens in ${S} but generated version.py live in ${BUILD_DIR}. Will cobble something together to work around this.
Comment 5 Larry the Git Cow gentoo-dev 2023-06-17 22:18:33 UTC
The bug has been closed via the following commit(s):

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

commit 5d622214c2a1d6424ab1f4f5d3f7dbe22f881aa8
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-17 22:17:33 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-17 22:18:22 +0000

    dev-python/python-rtmidi: add 1.5.2, drop 1.5.1
    
    Closes: https://bugs.gentoo.org/908657
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-python/python-rtmidi/Manifest                        |  2 +-
 ...end.patch => python-rtmidi-1.5.2-build_backend.patch} | 13 ++++++++-----
 ...on-rtmidi-1.5.1.ebuild => python-rtmidi-1.5.2.ebuild} | 16 +++++++++++-----
 3 files changed, 20 insertions(+), 11 deletions(-)