bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65523: package `guile@3.0.9' has an invalid input: ("_" #<syntax-tra


From: Maxim Cournoyer
Subject: bug#65523: package `guile@3.0.9' has an invalid input: ("_" #<syntax-transformer pkg-config>)
Date: Thu, 01 Feb 2024 23:57:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Josselin Poiret <dev@jpoiret.xyz> writes:

> Hi Paul,
>
> Paul Alesius <paul@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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]