Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935775 - net-mail/b4-0.14.0: version bump
Summary: net-mail/b4-0.14.0: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-09 04:52 UTC by Yixun Lan
Modified: 2024-08-10 22:24 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 Yixun Lan archtester gentoo-dev 2024-07-09 04:52:05 UTC
simply copy 0.13.0 to 0.14.0, will result following error

>>> Install net-mail/b4-0.14.0 into /var/tmp/portage/net-mail/b4-0.14.0/image
 * python3_12: running distutils-r1_run_phase distutils-r1_python_install
 * The following unexpected files/directories were found top-level
 * in the site-packages directory:
 *
 *   /usr/lib/python3.12/site-packages/tests
 *
 * This is most likely a bug in the build system.  More information
 * can be found in the Python Guide:
 * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages
 * ERROR: net-mail/b4-0.14.0::local failed (install phase):
 *   Failing install because of stray top-level files in site-packages


Reproducible: Always
Comment 1 Yixun Lan archtester gentoo-dev 2024-07-09 04:55:28 UTC
not looking into fixing the build system, but removing 'src/tests' works for me, (assume that will break FEATURES,USE=test ..)

+src_prepare() {
+       distutils-r1_src_prepare
+       rm -rf src/tests || die
+}
+
Comment 2 Larry the Git Cow gentoo-dev 2024-08-10 22:24:33 UTC
The bug has been closed via the following commit(s):

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

commit ad4acd187c41afef63afb402ef4b27f62cd2d203
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-08-10 22:23:10 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-08-10 22:23:10 +0000

    net-mail/b4: add 0.14.1, fix test support
    
    Closes: https://bugs.gentoo.org/935775
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 net-mail/b4/Manifest         |  1 +
 net-mail/b4/b4-0.14.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)