GNU bug report logs - #52837
Failed to compile rav1e which is dependence for tons of packages

Previous Next

Package: guix;

Reported by: Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>

Date: Mon, 27 Dec 2021 23:54:03 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#52837: closed (Failed to compile rav1e which is dependence
 for tons of packages)
Date: Wed, 29 Dec 2021 13:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 29 Dec 2021 14:57:29 +0100
with message-id <87lf038qeu.fsf <at> nicolasgoaziou.fr>
and subject line Re: bug#52837: We need deeper research
has caused the debbugs.gnu.org bug report #52837,
regarding Failed to compile rav1e which is dependence for tons of packages
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
52837: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52837
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>
To: bug-guix <at> gnu.org
Subject: Failed to compile rav1e which is dependence for tons of packages
Date: Tue, 28 Dec 2021 02:09:42 +0300
Hi there,

rav1e failed to compile with error:

starting phase `build'
Error: CliError { error: Some(failed to select a version for `clang-sys`.
    ... required by package `bindgen v0.58.1`
    ... which is depended on by `dav1d-sys v0.3.4`
    ... which is depended on by `rav1e v0.4.1 (/tmp/guix-build-rav1e-0.4.1.drv-0/rav1e-0.4.1)`
versions that meet the requirements `^1` are: 1.0.0

the package `clang-sys` links to the native library `clang`, but it conflicts with a previous package which links to `clang` as well:
package `clang-sys v0.29.3`
    ... which is depended on by `bindgen v0.54.1`
    ... which is depended on by `aom-sys v0.2.1`
    ... which is depended on by `rav1e v0.4.1 (/tmp/guix-build-rav1e-0.4.1.drv-0/rav1e-0.4.1)`

The issue caused by commit ad1e8a0906c. Possible fix:

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index e4cd01fadf..269bd991ab 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -208,7 +208,7 @@ (define-public rust-aom-sys-0.2
     (build-system cargo-build-system)
     (arguments
       `(#:cargo-inputs
-        (("rust-bindgen" ,rust-bindgen-0.54)
+        (("rust-bindgen" ,rust-bindgen-0.58)
          ("rust-metadeps" ,rust-metadeps-1))))
     (native-inputs
      (list pkg-config))


-- 


[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Evgenii Lepikhin via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>, 52837-done <at> debbugs.gnu.org,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#52837: We need deeper research
Date: Wed, 29 Dec 2021 14:57:29 +0100
Hello,

Evgenii Lepikhin via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Now it is fixed.

Closing it, then. Thanks for the feedback.

Regards,
-- 
Nicolas Goaziou


This bug report was last modified 3 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.