Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765910 - sys-fs/cryfs-0.10.3-r1 fails to compile: Error running versioneer. Return code is: No such file or directory, error
Summary: sys-fs/cryfs-0.10.3-r1 fails to compile: Error running versioneer. Return ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2021-01-18 11:54 UTC by Agostino Sarubbo
Modified: 2023-06-27 07:07 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,8.59 KB, text/plain)
2021-01-18 11:54 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,42.51 KB, text/plain)
2021-01-18 11:54 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 2021-01-18 11:54:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/cryfs-0.10.2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-18 11:54:29 UTC
Created attachment 683578 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-18 11:54:30 UTC
Created attachment 683581 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-01-18 11:54:31 UTC
Possible context of error(s):

  Error running versioneer.  Return code is: No such file or directory, error
Comment 4 Nick 2021-03-15 05:47:36 UTC
This looks potentially like a missing dependency on dev-python/versioneer[${PYTHON_USEDEP}] but I have been unable to reproduce this error in my setup even if I remove dev-python/versioneer - when I look at the build dir versioneer.py seems to be vendored in there so "-- Building version" still works for me and the script it runs just uses the vendored versioneer.

Does this still reproduce? If so is it possible to make the tinderbox ci just run ebuild prepare and then attempt to run the following script?

/var/tmp/portage/sys-fs/cryfs-0.10.2/work/src/gitversion/getversion.py

For me even without versioneer installed I see 0.10.2 as the output.

https://github.com/cryfs/cryfs/blob/develop/src/gitversion/getversion.py
https://github.com/cryfs/cryfs/blob/develop/src/gitversion/versioneer.py
Comment 5 Agostino Sarubbo gentoo-dev 2021-10-14 08:40:37 UTC
ci has reproduced this issue with version 0.10.3-r1 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2022-04-19 06:46:20 UTC
you can reproduce with -native-symlinks flag
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-27 07:07:06 UTC
The bug has been closed via the following commit(s):

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

commit 1f8274eda8c1723e48a5dcad429724ea01ec4862
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-27 07:06:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-27 07:06:23 +0000

    sys-fs/cryfs: fix python-any-r1 usage
    
    Closes: https://bugs.gentoo.org/908997
    Closes: https://bugs.gentoo.org/880563
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/cryfs/cryfs-0.10.3-r1.ebuild | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)