GNU bug report logs -
#65523
package `guile@3.0.9' has an invalid input: ("_" #<syntax-transformer pkg-config>)
Previous Next
Reported by: Paul Alesius <paul <at> unnservice.com>
Date: Fri, 25 Aug 2023 07:21:02 UTC
Severity: normal
Tags: notabug
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65523 in the body.
You can then email your comments to 65523 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#65523
; Package
guix
.
(Fri, 25 Aug 2023 07:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Alesius <paul <at> unnservice.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 25 Aug 2023 07:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
In the source code directory of Guix, when trying to build a package from
gnu/packages/python-xyz.scm, it fails with the following error:
guix build: error:
/storage/src/guix/guix-gnu/guix/build-system/gnu.scm:146:8: package
`guile <at> 3.0.9' has an invalid input: ("_" #<syntax-transformer pkg-config>)
For example:
guix build -L $(pwd) -e "(begin (use-modules (gnu packages python-xyz))
poetry)"
guix build -L $(pwd) -e "(begin (use-modules (gnu packages python-xyz))
python-lsp-server)"
It fails for all packages in python-xyz.scm. But you can build other
packages:
guix build -L $(pwd) -e "(begin (use-modules (gnu packages any-other))
program)"
/ Paul
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65523
; Package
guix
.
(Sat, 02 Sep 2023 07:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 65523 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Paul,
Paul Alesius <paul <at> unnservice.com> writes:
> In the source code directory of Guix, when trying to build a package from
> gnu/packages/python-xyz.scm, it fails with the following error:
>
> guix build: error:
> /storage/src/guix/guix-gnu/guix/build-system/gnu.scm:146:8: package
> `guile <at> 3.0.9' has an invalid input: ("_" #<syntax-transformer pkg-config>)
Usually, if you see `#<syntax-transformer ...>` anywhere in an error,
that means that something that used to be just a variable was turned
into a macro, but the other modules using it weren't recompiled
(reminder that macro expansion happens at compilation time). This
happens because Guile doesn't have any dependency tracking! You can
work around this by recompiling all files containing a reference to
pkg-config, I usually do `grep -Rl pkg-config --include '*.go' . | xargs
rm`, followed by `make`.
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
Added tag(s) notabug.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 02 Feb 2024 04:58:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
65523 <at> debbugs.gnu.org and Paul Alesius <paul <at> unnservice.com>
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 02 Feb 2024 04:58:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65523
; Package
guix
.
(Fri, 02 Feb 2024 04:58:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 65523-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Josselin Poiret <dev <at> jpoiret.xyz> writes:
> Hi Paul,
>
> Paul Alesius <paul <at> unnservice.com> writes:
>
>> In the source code directory of Guix, when trying to build a package from
>> gnu/packages/python-xyz.scm, it fails with the following error:
>>
>> guix build: error:
>> /storage/src/guix/guix-gnu/guix/build-system/gnu.scm:146:8: package
>> `guile <at> 3.0.9' has an invalid input: ("_" #<syntax-transformer pkg-config>)
>
> Usually, if you see `#<syntax-transformer ...>` anywhere in an error,
> that means that something that used to be just a variable was turned
> into a macro, but the other modules using it weren't recompiled
> (reminder that macro expansion happens at compilation time). This
> happens because Guile doesn't have any dependency tracking! You can
> work around this by recompiling all files containing a reference to
> pkg-config, I usually do `grep -Rl pkg-config --include '*.go' . | xargs
> rm`, followed by `make`.
Thanks for the answer, Josselin!
Closing.
--
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 01 Mar 2024 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.