GNU bug report logs -
#28034
elixir build fails
Previous Next
Reported by: nee <nee <at> cock.li>
Date: Thu, 10 Aug 2017 00:01:01 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
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 28034 in the body.
You can then email your comments to 28034 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#28034
; Package
guix
.
(Thu, 10 Aug 2017 00:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
nee <nee <at> cock.li>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 10 Aug 2017 00:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello, elixir breaks during 'check' phase in
/test/logger/translator_test.exs
I'm getting the same logs locally.
https://hydra.gnu.org/build/2205382/nixlog/1/tail-reload
I don't know anything about elixir and just wanted to try it out.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28034
; Package
guix
.
(Tue, 22 Aug 2017 08:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28034 <at> debbugs.gnu.org (full text, mbox):
Hi,
nee <nee <at> cock.li> skribis:
> Hello, elixir breaks during 'check' phase in
> /test/logger/translator_test.exs
>
> I'm getting the same logs locally.
> https://hydra.gnu.org/build/2205382/nixlog/1/tail-reload
>
> I don't know anything about elixir and just wanted to try it out.
Pjotr: could you take a look at this issue? :-)
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28034
; Package
guix
.
(Tue, 22 Aug 2017 15:42:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 28034 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Aug 22, 2017 at 10:09:33AM +0200, Ludovic Courtès wrote:
> Hi,
>
> nee <nee <at> cock.li> skribis:
>
> > Hello, elixir breaks during 'check' phase in
> > /test/logger/translator_test.exs
> >
> > I'm getting the same logs locally.
> > https://hydra.gnu.org/build/2205382/nixlog/1/tail-reload
> >
> > I don't know anything about elixir and just wanted to try it out.
>
> Pjotr: could you take a look at this issue? :-)
>
> Thanks,
> Ludo’.
>
Don't know how useful the confirmation is, but the same test fails on
aarch64 when building elixir against commit bd3a184613e20155a8b3e417f00f4d59ff0935e6
--
Efraim Flashner <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28034
; Package
guix
.
(Sat, 02 Dec 2017 18:05:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello, what is the current state for the elixir package?
I saw this issue on elixir's github page:
https://github.com/elixir-lang/elixir/issues/6586
Has there been any progress since then? From what I understand the build
fails because of impure test cases. Can we just disable these tests for
now to make it build again?
I wanted to see if I can install and package the phoenix web-server
framework and the pleroma federated social network, since both are
becoming pretty popular recently due to their low resource requirements.
I also think it's not good to have a broken package on master for so long.
The hydra web interface shows that version 1.4.2 used to build in the
past
https://hydra.gnu.org/job/gnu/master/elixir-1.4.2.x86_64-linux/all?page=2
and I only see one commit for this version in the past, so what did
change there?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28034
; Package
guix
.
(Sun, 03 Dec 2017 05:47:01 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
On Sat, Dec 02, 2017 at 07:04:09PM +0100, nee wrote:
> Hello, what is the current state for the elixir package?
>
> I saw this issue on elixir's github page:
> https://github.com/elixir-lang/elixir/issues/6586
> Has there been any progress since then? From what I understand the build
> fails because of impure test cases. Can we just disable these tests for
> now to make it build again?
I am all for that. Not that many tests fail (in the order of 1%), but it is a
pain to disable them by hand. That is why I have not done an update in a while
- I am running a more recent version on my GUIX_PACKAGE_PATH with tests
disabled.
The simple way is to remove a number of test files. The majority of
tests will work and since Erlang's tests also work - there are a large
number of them (thousands). I would be fully confident the new package is fine.
> I wanted to see if I can install and package the phoenix web-server
> framework and the pleroma federated social network, since both are
> becoming pretty popular recently due to their low resource requirements.
That would be really cool. I would like support for Elixir packages. I
run a REST service and GraphQL is coming. I don't like to depend on Elixir's
packaging system, though it has been reasonably OK so far. It will break at
some point - as they all do. Elixir's packaging is similar to D's dub, so we can
take some cues from that. Elixir packages everything in the local source tree -
similar to Ruby's bundler.
> I also think it's not good to have a broken package on master for so long.
> The hydra web interface shows that version 1.4.2 used to build in the
> past
> https://hydra.gnu.org/job/gnu/master/elixir-1.4.2.x86_64-linux/all?page=2
> and I only see one commit for this version in the past, so what did
> change there?
Must be a dependency that changed. Hmmm. August 2nd.
commit ee217402f7bf4b9fd49250650cf94d882a5e1a23
Author: Peter Mikkelsen <petermikkelsen10 <at> gmail.com>
Date: Mon Jul 31 01:19:15 2017 +0200
gnu: erlang: Update to 20.0.
* gnu/packages/erlang.scm (erlang): Update to 20.0.
Signed-off-by: Ludovic Courtès <ludo <at> gnu.org>
Must be it ;). It is great people are updating Erlang! These are great
programming languages.
I am happy to work on Elixir with you.
Pj.
--
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28034
; Package
guix
.
(Sun, 03 Dec 2017 14:50:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 28034 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello, thank you for the fast and detailed reply.
I made two patches that upgrade erlang and elixir and disable the
failing tests in elixir, and got it to build again.
I sometimes get this undeterministic compile error (see the attached
log). It's always the same error, but it doesn't appear every time, so I
can get a passing build running:
`until ./pre-inst-env guix build elixir; do sleep 1; done`
I don't think that it is related to the version upgrade because I also
got this with the old versions when I first tried to build it today.
While this still not good, it is at least an improvement over the
current state where the package will fail to install in 100% of cases.
[0001-gnu-erlang-Update-to-20.1.patch (text/x-patch, attachment)]
[0002-gnu-elixir-Update-to-1.5.2-and-disable-failing-tests.patch (text/x-patch, attachment)]
[elixir-epipe-error.log (text/x-log, attachment)]
Added tag(s) patch.
Request was from
nee <nee <at> cock.li>
to
control <at> debbugs.gnu.org
.
(Sun, 03 Dec 2017 14:51:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Mon, 04 Dec 2017 09:26:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
nee <nee <at> cock.li>
:
bug acknowledged by developer.
(Mon, 04 Dec 2017 09:26:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 28034-done <at> debbugs.gnu.org (full text, mbox):
Hi nee,
nee <nee <at> cock.li> skribis:
> Hello, thank you for the fast and detailed reply.
> I made two patches that upgrade erlang and elixir and disable the
> failing tests in elixir, and got it to build again.
Great, I applied both patches and added a copyright line for you in
elixir.scm.
> I sometimes get this undeterministic compile error (see the attached
> log). It's always the same error, but it doesn't appear every time, so I
> can get a passing build running:
>
> `until ./pre-inst-env guix build elixir; do sleep 1; done`
>
> I don't think that it is related to the version upgrade because I also
> got this with the old versions when I first tried to build it today.
Could you report it upstream? We definitely need their help to fix this
kind of issues.
> While this still not good, it is at least an improvement over the
> current state where the package will fail to install in 100% of cases.
Indeed, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 01 Jan 2018 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.