Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865889 - dev-python/pikepdf-5.6.1 - ValueError: not enough values to unpack (expected 3, got 1)
Summary: dev-python/pikepdf-5.6.1 - ValueError: not enough values to unpack (expected ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-20 17:23 UTC by Toralf Förster
Modified: 2022-09-20 15:26 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.53 KB, text/plain)
2022-08-20 17:23 UTC, Toralf Förster
Details
dev-python:pikepdf-5.5.0:20220820-165759.log (dev-python:pikepdf-5.5.0:20220820-165759.log,5.25 KB, text/plain)
2022-08-20 17:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,89.24 KB, text/plain)
2022-08-20 17:23 UTC, Toralf Förster
Details
environment (environment,134.89 KB, text/plain)
2022-08-20 17:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.04 KB, application/x-bzip)
2022-08-20 17:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.11 KB, application/x-bzip)
2022-08-20 17:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-20 17:23:16 UTC
  File "/usr/lib/python3.10/site-packages/setuptools_scm/git.py", line 286, in archival_to_version
    tag, number, node, _ = _git_parse_describe(archival_describe)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/git.py", line 245, in _git_parse_describe
    tag, number, node = describe_output.rsplit("-", 2)
ValueError: not enough values to unpack (expected 3, got 1)
 * ERROR: dev-python/pikepdf-5.5.0::gentoo failed (compile phase):
 *   (no error message)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220820-040004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.62.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli:

  HEAD of ::gentoo
commit fbb7602eb8f3fa64a4df49c6e474ca030ee40176
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 20 16:46:54 2022 +0000

    2022-08-20 16:46:54 UTC

emerge -qpvO dev-python/pikepdf
[ebuild  N    ] dev-python/pikepdf-5.5.0  USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-08-20 17:23:17 UTC
Created attachment 800287 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-20 17:23:18 UTC
Created attachment 800289 [details]
dev-python:pikepdf-5.5.0:20220820-165759.log
Comment 3 Toralf Förster gentoo-dev 2022-08-20 17:23:19 UTC
Created attachment 800291 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-08-20 17:23:21 UTC
Created attachment 800293 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-20 17:23:22 UTC
Created attachment 800295 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-20 17:23:23 UTC
Created attachment 800297 [details]
temp.tar.bz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-08-28 05:04:06 UTC
ci has reproduced this issue with version 5.6.0 - Updating summary.
Comment 8 Marco Genasci 2022-08-28 09:45:16 UTC
The dev-python/setuptools_scm_git_archive dependency is missing.
Comment 9 Agostino Sarubbo gentoo-dev 2022-09-02 05:46:09 UTC
ci has reproduced this issue with version 5.6.1 - Updating summary.
Comment 10 Martin Gysel (bearsh) 2022-09-02 06:37:31 UTC
quite funny, the package gets bumped and bumped again but the missing dep was not added although the committer is on the cc list...
Comment 11 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-09-02 06:44:45 UTC
(In reply to Marco Genasci from comment #8)
> The dev-python/setuptools_scm_git_archive dependency is missing.

My container doesn't have this package installed. If I look at [1] I can see upstream removed the requirement for that package. I have re-scanned once again now the source code and I don't think this is the reason.

(In reply to Martin Gysel (bearsh) from comment #10)
> quite funny, the package gets bumped and bumped again but the missing dep
> was not added although the committer is on the cc list...

Well, as the committer, I still couldn't find the origin of the problem. This still passes on my testing container, and I even created a new clean container from stage3 and just installed this package and ran tests, and it still passed for me.


[1] https://github.com/pikepdf/pikepdf/commit/cc977d343ce044fe021c545c8d8c6b159d477f6b
Comment 12 Andreas Sturmlechner gentoo-dev 2022-09-02 10:37:44 UTC
I can confirm error and solution as well.
Comment 13 Larry the Git Cow gentoo-dev 2022-09-02 10:41:17 UTC
The bug has been closed via the following commit(s):

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

commit dab7fbdf967bacf5ba4943320c42ad2c3be21770
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-09-02 10:40:00 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-09-02 10:41:04 +0000

    dev-python/pikepdf: fix missing build dep
    
    Closes: https://bugs.gentoo.org/865889
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/pikepdf/pikepdf-5.6.1.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 14 Larry the Git Cow gentoo-dev 2022-09-20 15:26:35 UTC
The bug has been referenced in the following commit(s):

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

commit d13c34adfbaf33fd0f0409eb795d1d01db83911f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-20 15:26:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-20 15:26:27 +0000

    dev-python/pikepdf: add setuptools_scm_git_archive BDEPEND
    
    Closes: https://bugs.gentoo.org/872032
    Bug: https://bugs.gentoo.org/865889
    Bug: https://bugs.gentoo.org/871816
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pikepdf/pikepdf-5.5.0.ebuild | 1 +
 1 file changed, 1 insertion(+)