I cannot reproduce.
Does the import work when you run it?
signature.asc
Description: PGP signature
Trying `guix import pypi -r gruut` I get:
Starting download of /tmp/guix-file.hITnlA
From
https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz...
In procedure connect: Network is unreachable
But doing `guix import
https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with
the subdirectory.
* guix/import/go.scm (version+subdirectory->tag-prefix): New variable.
(vcs->origin): New argument module-path-subdirectory.
---
guix/import/go.scm | 36 +---
1 file
https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with
the subdirectory.
* guix/import/go.scm (version+subdirectory->tag-prefix): New variable.
(vcs->origin): New argument module-path-subdirectory.
---
guix/import/go.scm | 35 ---
1 file
Somebody claiming to be Stephen Paul Weber wrote:
https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with
the subdirectory.
Dang. This patch as written causes import of guix import go
github.com/jackc/pgx/v4 to fail. The /v4 suffix in this case appears to refer
https://go.dev/ref/mod says a module in a subdirectory has a tag prefixed with
the subdirectory.
* guix/import/go.scm (version+subdirectory->tag-name): New variable.
(vcs->origin): New argument module-path-subdirectory.
---
guix/import/go.scm | 26 +++---
1 file changed, 15
Alright, I think I have found the issue. https://go.dev/ref/mod says:
If a module is defined in a subdirectory within the repository, that is,
the module subdirectory portion of the module path is not empty, then each
tag name must be prefixed with the module subdirectory, followed by a slash.
Ran into another like this today:
guix import go github.com/aws/aws-sdk-go-v2/service/s3
Gives:
Backtrace:
14 (primitive-load "/gnu/store/6rjb4c80l53n98cl6h0s3q1zmkg…")
In guix/ui.scm:
2209:7 13 (run-guix . _)
2172:10 12 (run-guix-command _ . _)
In guix/scripts/import.scm:
A push to master right after I filed this has fixed it already.
signature.asc
Description: PGP signature
Hello,
Today I tried to `guix install pioneer` and it seems there is no substitute. It
very quickly fails to build from source with this error in log:
-- Checking for module 'sigc++-2.0'
-- No package 'sigc++-2.0' found
CMake Error at
$ guix import go github.com/Azure/go-autorest/autorest
guix import: warning: Failed to import package
"github.com/Azure/go-autorest/autorest".
reason: (#< code: -3 message: "reference 'refs/tags/v0.11.22' not
found" class: 4>).
guix import: error: failed to download meta-data for module
Thanks for the follow up.
Does it mean this bug can be closed?
Yes, thanks.
If I use guix archive --export --no-grafts then import on another system, then
guix build -n --no-grafts it works as expected. If instead I use guix copy
--no-grafts then the target system gets the version *with* grafts and guix build
-n --no-grafts says it would still need to build.
Ah, finally found http://issues.guix.gnu.org/43739 -- guix pull as root and all
fixed.
signature.asc
Description: PGP signature
It seems I get the same error even with just guix archive:
$ guix archive --export -r package
... snip lots of output ...
entry(nameunitnode(type
directoryentry(namepromise_spec.rbnode(typeregulacontents�nguix archive: error:
corrupt input while restoring archive from #
signature.asc
Getting a similar failure here:
$ guix import go github.com/cncf/udpa/go/
following redirection to
`https://proxy.golang.org/github.com/cncf/udpa/go/@v/list'...
following redirection to
`https://proxy.golang.org/github.com/cncf/udpa/go/@latest'...
following redirection to
$ guix copy --to=SERVER package
guix copy: sending 72 store items (203 MiB) to 'SERVER'...
guix copy: error: corrupt input while restoring archive from #
This is what I get no matter what package I try to send. Any idea what could be
going wrong?
signature.asc
Description: PGP signature
$ guix import go -r bdd.fi/x/runitor
guix import: warning: Failed to import package "bdd.fi/x/runitor".
reason: ("struct-vtable" "Wrong type argument in position 1 (expecting struct):
~S" (#f) (#f)).
signature.asc
Description: PGP signature
Since guix lint has a line-length preference, the generated packages should have
their description strings wrapped to conform to this preference.
signature.asc
Description: PGP signature
19 matches
Mail list logo