unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Xinglu Chen <public@yoctocell.xyz>
To: pukkamustard <pukkamustard@posteo.net>, 49171@debbugs.gnu.org
Subject: bug#49171: OCaml packages not building (due to updated python-pyyaml)
Date: Sun, 04 Jul 2021 15:14:54 +0200	[thread overview]
Message-ID: <8735sujk4x.fsf@yoctocell.xyz> (raw)
In-Reply-To: <86r1gtygs3.fsf@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 2358 bytes --]

On Tue, Jun 22 2021, pukkamustard wrote:

> Hi Guix,
>
> With commit ac02d423d3fcb11048ee2e4a02626fca40cf1419, which 
> updated python-pyyaml to 5.4.1 (from 5.3.1) lot of OCaml packages 
> fail to build.
>
> This seems to be due to ocaml-dose3 that has python2-pyyaml as 
> dependency for tests. ocaml-dose3 is a dependency of opam - a 
> dependency of many OCaml packages.
>
> The output when trying to build ocaml-dose3:
>
> ----------------------------------------------------------
> phase `build' succeeded after 14.5 seconds
> starting phase `check'
> /tmp/guix-build-ocaml-dose3-5.0.1.drv-0/dose3-5.0.1
> ocamlbuild  -j 10 applications/apps.otarget
> # No parallelism done
> make testlib
> make[1]: Entering directory 
> '/tmp/guix-build-ocaml-dose3-5.0.1.drv-0/dose3-5.0.1'
> echo
>
> make[1]: Leaving directory 
> '/tmp/guix-build-ocaml-dose3-5.0.1.drv-0/dose3-5.0.1'
> applications/dose-tests.py applications/dose-tests.list
> Traceback (most recent call last):
>   File "applications/dose-tests.py", line 17, in <module>
>     warning('YAML C-library not available, falling back to 
>     python')
> NameError: name 'warning' is not defined
> make: *** [Makefile:206: test] Error 1
> command "make" "test" 
> "LIBDIR=/gnu/store/v939nvdn67cdgb7rjkyvplfw1qr2hkjl-ocaml-dose3-5.0.1/lib/ocaml/site-lib" 
> failed with status 2
> note: keeping build directory 
> `/tmp/guix-build-ocaml-dose3-5.0.1.drv-3'
> builder for 
> `/gnu/store/lybbyb38k0009jrbviymq88vi6xak5ii-ocaml-dose3-5.0.1.drv' 
> failed with exit code 1
> build of 
> /gnu/store/lybbyb38k0009jrbviymq88vi6xak5ii-ocaml-dose3-5.0.1.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/ly/bbyb38k0009jrbviymq88vi6xak5ii-ocaml-dose3-5.0.1.drv.bz2'.
> guix build: error: build of 
> `/gnu/store/lybbyb38k0009jrbviymq88vi6xak5ii-ocaml-dose3-5.0.1.drv' 
> failed
> ----------------------------------------------------------
>
> This seems to also be what CI is encoutering: 
> https://ci.guix.gnu.org/build/623375/details
>
> Any ideas? Any other packages failing for the same reason?
>
> Would disabling tests for ocaml-dose3 be an acceptable quick hack?
>
> Cheers,
> pukkamustard

I think this was fixed in commit
91b29aa37394b660117e1d79927621db1344b7fe (gnu: ocaml-dose3: Fix tests.),
do you think we can close the issue?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2021-07-04 13:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 16:47 bug#49171: OCaml packages not building (due to updated python-pyyaml) pukkamustard
2021-07-04 13:14 ` Xinglu Chen [this message]
2021-07-04 21:23   ` pukkamustard
2021-07-05 17:10     ` Xinglu Chen

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735sujk4x.fsf@yoctocell.xyz \
    --to=public@yoctocell.xyz \
    --cc=49171@debbugs.gnu.org \
    --cc=pukkamustard@posteo.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).