From: Efraim Flashner <efraim@flashner.co.il>
To: Simon South <simon@simonsouth.net>
Cc: 44590@debbugs.gnu.org
Subject: [bug#44590] [WIP PATCH CORE-UPDATES] build/python: Check for cythonized files.
Date: Sun, 13 Dec 2020 21:42:18 +0200 [thread overview]
Message-ID: <X9ZumlA+9JpBXSJe@E5400> (raw)
In-Reply-To: <87eejtmyus.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me>
[-- Attachment #1: Type: text/plain, Size: 2875 bytes --]
On Sun, Dec 13, 2020 at 11:53:31AM -0500, Simon South wrote:
> Efraim,
>
> I'm seeing an issue I think is related to this change. Trying to build
> glib in core-updates today fails for me with "Unbound variable: warning"
> in python-build-system.scm:
>
> starting phase `ensure-no-cythonized-files'
> Backtrace:
> 9 (primitive-load "/gnu/store/ycv4j8dqk44g6d72m2ykvlwb9wc?")
> In ice-9/eval.scm:
> 191:35 8 (_ _)
> In guix/build/gnu-build-system.scm:
> 886:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
> In ice-9/boot-9.scm:
> 1736:10 6 (with-exception-handler _ _ #:unwind? _ # _)
> In srfi/srfi-1.scm:
> 634:9 5 (for-each #<procedure 7ffff4f662e0 at guix/build/gnu-b?> ?)
> In guix/build/gnu-build-system.scm:
> 895:33 4 (_ _)
> In guix/build/python-build-system.scm:
> 272:2 3 (ensure-no-cythonized-files . _)
> In srfi/srfi-1.scm:
> 634:9 2 (for-each #<procedure 7ffff5ad3978 at guix/build/pytho?> ?)
> In guix/build/python-build-system.scm:
> 277:10 1 (_ _)
> In ice-9/boot-9.scm:
> 1669:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Unbound variable: warning
> builder for `/gnu/store/cgmgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-build-0.55.1.drv' failed with exit code 1
> build of /gnu/store/cgmgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-build-0.55.1.drv failed
> View build log at '/var/log/guix/drvs/cg/mgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-build-0.55.1.drv.bz2'.
> cannot build derivation `/gnu/store/a00wr5wj4cd0b98ixxynyxgbw2nyv8kg-glib-2.62.6.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/a00wr5wj4cd0b98ixxynyxgbw2nyv8kg-glib-2.62.6.drv' failed
>
> And in fact building python-build-system.scm shows
>
> [100%] GUILEC guix/build/python-build-system.go
> WARNING: (guix build python-build-system): imported module (guix build utils) overrides core binding `delete'
> guix/build/python-build-system.scm:277:10: warning: possibly unbound variable `warning'
> guix/build/python-build-system.scm:277:19: warning: possibly unbound variable `G_'
>
> Adding use-module directives for (guix diagnostics) and (guix i18n) to
> the module doesn't seem to fix the problem, presumably (if I understand
> correctly) because these modules are not then also imported on the build
> side of things.
>
> Are you aware of this issue?
>
I tested it mostly against master. I'll see if I can figure out how I
broke it.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-12-13 19:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 10:16 [bug#44590] [WIP PATCH CORE-UPDATES] build/python: Check for cythonized files Efraim Flashner
2020-12-09 7:28 ` bug#44590: " Efraim Flashner
2020-12-13 16:53 ` [bug#44590] [WIP PATCH CORE-UPDATES] " Simon South
2020-12-13 19:42 ` Efraim Flashner [this message]
2020-12-13 20:23 ` Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X9ZumlA+9JpBXSJe@E5400 \
--to=efraim@flashner.co.il \
--cc=44590@debbugs.gnu.org \
--cc=simon@simonsouth.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.