Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930656 - net-misc/gallery-dl-1.26.9 fails tests: TypeError: memoryview: a bytes-like object is required, not int
Summary: net-misc/gallery-dl-1.26.9 fails tests: TypeError: memoryview: a bytes-like o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-25 08:41 UTC by Agostino Sarubbo
Modified: 2024-05-18 01:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,479.77 KB, text/plain)
2024-04-25 08:41 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 2024-04-25 08:41:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/gallery-dl-1.26.9 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-25 08:41:55 UTC
Created attachment 891683 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-25 08:41:55 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR: test_parse_query (test.test_text.TestText.test_parse_query)
FAILED (errors=1, skipped=6)
TypeError: memoryview: a bytes-like object is required, not 'int'
Comment 3 Jonathan Lovelace 2024-05-17 01:03:38 UTC
The TypeError looks to be https://github.com/mikf/gallery-dl/issues/5517 ; the Arch PKGBUILD was fixed by cherry-picking upstream commit 5227bb6b1d62ecef5b281592b0d001e7f9c101e3. Once I dropped that patch into /etc/portage/patches, the build completed and all tests passed for me.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-18 01:17:14 UTC
The bug has been closed via the following commit(s):

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

commit b5d869ef9dd1dd8612056a9828acd7d3d3b19e31
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-05-17 23:21:52 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-05-18 01:17:10 +0000

    net-misc/gallery-dl: patch for test_parse_query
    
    Bug: https://github.com/mikf/gallery-dl/issues/5517
    Closes: https://bugs.gentoo.org/930656
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 net-misc/gallery-dl/Manifest                 |  1 +
 net-misc/gallery-dl/gallery-dl-1.26.9.ebuild | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)