Hi Efraim,
Hope all is well! I'll take a look. Give me a few days to find some time.
all best,
jgart
On Sun, Apr 02, 2023 at 12:56:05AM +, jgart wrote:
> jgart@guixer ~/erl_sandbox$ guix shell erlang --container
> jgart@guixer ~/erl_sandbox [env]$ erlc
> /gnu/store/i98q2wgmsvvfck51f830c4aqxrygjlb2-profile/bin/erl: line 22:
> dirname: command not found
Ivan Sokolov writes:
> In order for the Erlang runtime to find the installed application it
> must appear in the load path. If there is ERL_ROOTDIR in the
> environment, erl(1) will search for application directories in
> $ERL_ROOTDIR/lib and will add them to the load path. (
Hello, Guixers!
Erlang/OTP has notion of applications [1], they are usually installed in
$PREFIX/lib/erlang/lib in the form of directories named APP-VERSION,
e.g. asn1-5.0.19.
In order for the Erlang runtime to find the installed application it
must appear in the load path. If there is
jgart@guixer ~/erl_sandbox$ guix shell erlang --container
jgart@guixer ~/erl_sandbox [env]$ erlc
/gnu/store/i98q2wgmsvvfck51f830c4aqxrygjlb2-profile/bin/erl: line 22: dirname:
command not found
/gnu/store/i98q2wgmsvvfck51f830c4aqxrygjlb2-profile/bin/erl: line 52: basename:
command not found
Hi,
I started working on a rebar3-build-system for Erlang packages. This a
somewhat crazy idea for me, since I have *not* clue about Erlang and how
it's building and packaging works. (I "just" want to have ejabberd in
guix :-) Based on this, I've already made good progress:
-
Good news. Erlang has been accepted as a GNU Guix package:
https://www.gnu.org/software/guix/packages/
The package definition is here:
http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/erlang.scm
you can see, thanks to Leo's work, we still patch out the time stamp
from
On Fri, Jun 24, 2016 at 01:54:14PM +0200, Ludovic Courtès wrote:
> Leo Famulari skribis:
>
> > From 752033bde8ef4137c15c0b26e9375ee90453b5e4 Mon Sep 17 00:00:00 2001
> > From: Steve Sprang
> > Date: Sat, 6 Feb 2016 12:40:53 -0800
> > Subject: [PATCH] gnu: Add
Leo Famulari skribis:
> From 752033bde8ef4137c15c0b26e9375ee90453b5e4 Mon Sep 17 00:00:00 2001
> From: Steve Sprang
> Date: Sat, 6 Feb 2016 12:40:53 -0800
> Subject: [PATCH] gnu: Add erlang.
>
> * gnu/packages/erlang.scm: New file.
> * gnu/local.mk (GNU_SYSTEM_MODULES): Ad
I used this package to build Elixir and 3000+ tests passed. I think
it should go in :).
Thanks Leo for patching the remaining files that write time stamps.
Erlang itself now is deterministic and compiles reproducible targets
making those deterministic.
Very important package.
Pj.
On Thu, Jun
Erlang 19.0 has recently been released:
http://www.erlang.org/news/105
Version 19.0 includes this desirable change, copied from the README [0]:
"The compiler will no longer put the compilation date and time into BEAM
files. That means that two BEAM files compiled on the same computer
fro
Backported to 2.0 in c5dac3595f42afbd76ab9110d7473bf4d16b0520 by
Ludovic; closing bug.
On Thu 07 Jan 2016 10:56, Andy Wingo writes:
> On Wed 06 Jan 2016 17:07, l...@gnu.org (Ludovic Courtès) writes:
>
>> On Mon 04 Jan 2016 06:20, Steve Sprang writes:
>>
>>> From http://www.erlang.org/download/o
on
>disk is different from the loaded code, compared the
>MD5 value obtained from Mod:module_info(md5) with the
>MD5 value obtained from beam_lib:md5(BeamFileForMod)`
>
> This means that Erlang and Elixir may go into GNU Guix :)
Indeed, great news :) I will try building it with Guix today.
want to have a go - essentially sending the E-mail I wrote to Joe?
> > > I can do it if you want me to.
> >
> > I'm more than happy to test things, but I think it's best if you send
> > the message since you are actually using Erlang. But like I said before,
>
>
> I'm more than happy to test things, but I think it's best if you send
> the message since you are actually using Erlang. But like I said before,
> if it's too much of a burden, I'll do it. Please let me know!
A quick update: the Erlang authors are going to fix th
Sorry, the subject should have said Erlang.
; and will support us if we raise our issue on the mailing list. Leo, do
> you want to have a go - essentially sending the E-mail I wrote to Joe?
> I can do it if you want me to.
I'm more than happy to test things, but I think it's best if you send
the message since you are actually
- essentially sending the E-mail I wrote to Joe?
I can do it if you want me to.
I'll sign up to the ML too.
http://erlang.org/mailman/listinfo/erlang-questions
Pj.
Dear Mr Armstrong,
First of, thanks for the hard work on Erlang. I read your book when it
came out and it is cool to see how use is exploding. My latest project
is actually written in Elixir.
You may have heard of GNU Guix, the modern (functional) package
manager of the GNU project. We are
On Mon, Apr 04, 2016 at 01:49:44PM -0400, Leo Famulari wrote:
> I think that the erlang-questions list [0] could be a good place to
> start.
Possibly, though I think it is more user-oriented.
> Pjotr, would you like to start the conversation? I can do it if you are
> too busy or some
me_tools/src/erts_alloc_config.erl: "generated at
> > > ~w-~2..0w-~2..0w ~2..0w:~2..0w.~2..0w by "
> > > lib/sasl/src/systools_make.erl: io:format(Fd, "%% script generated
> > > at ~w ~w\n~p.\n",
> > > lib/wx/src/gen/gl.erl:%% Th
io:format(Fd, "%% script generated
> > at ~w ~w\n~p.\n",
> > lib/wx/src/gen/gl.erl:%% The program object's information log is updated
> > and the program is generated at the time
>
> If there is no easy work around I suggest simply patching them. Fortunately
>
quot;generated at ~w-~2..0w-~2..0w
> ~2..0w:~2..0w.~2..0w by "
> lib/sasl/src/systools_make.erl: io:format(Fd, "%% script generated
> at ~w ~w\n~p.\n",
> lib/wx/src/gen/gl.erl:%% The program object's information log is updated and
> the program is ge
more generic patch applied to the actual Debian package [0],
and I've applied it to ours in the attached revision. It will allow us
to build Erlang packages without the timestamp. Unfortunately, it seems
to have no effect when building Erlang itself.
> > There are also some .script file
Leo Famulari skribis:
> On Fri, Apr 01, 2016 at 10:19:11AM +0200, Pjotr Prins wrote:
>>
>> On Thu, Mar 31, 2016 at 03:35:44PM -0400, Leo Famulari wrote:
>> > This adds Erlang.
>> >
>> > Originally written by Steve Sprang, I added the man pages a
On Fri, Apr 01, 2016 at 10:19:11AM +0200, Pjotr Prins wrote:
>
> On Thu, Mar 31, 2016 at 03:35:44PM -0400, Leo Famulari wrote:
> > This adds Erlang.
> >
> > Originally written by Steve Sprang, I added the man pages and fixed all
> > the "FHS bugs" I no
On Thu, Mar 31, 2016 at 03:35:44PM -0400, Leo Famulari wrote:
> This adds Erlang.
>
> Originally written by Steve Sprang, I added the man pages and fixed all
> the "FHS bugs" I noticed.
>
> Pjotr used it to build a working Elixir:
> http://lists.gnu.org/archive/h
License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages erlang)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu)
+ #:use-module (gnu pa
This adds Erlang.
Originally written by Steve Sprang, I added the man pages and fixed all
the "FHS bugs" I noticed.
Pjotr used it to build a working Elixir:
http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00999.html
Any feedback?
Steve Sprang (1):
gnu: Add erlang.
gnu
On Wed, Mar 23, 2016 at 10:41:25PM -0400, Leo Famulari wrote:
> On Tue, Mar 22, 2016 at 09:59:37PM +0100, Pjotr Prins wrote:
> > I have used this package to build Elixir, a language on top of the
> > Erlang VM. That is a complicated 'test' and so far it runs
> > beau
On Tue, Mar 22, 2016 at 09:59:37PM +0100, Pjotr Prins wrote:
> I have used this package to build Elixir, a language on top of the
> Erlang VM. That is a complicated 'test' and so far it runs
> beautifully. I'll add a package for Elixir soon.
I've attached an update
On Tue, Mar 22, 2016 at 09:59:37PM +0100, Pjotr Prins wrote:
> I have used this package to build Elixir, a language on top of the
> Erlang VM. That is a complicated 'test' and so far it runs
> beautifully. I'll add a package for Elixir soon.
That's exactly the kind
I have used this package to build Elixir, a language on top of the
Erlang VM. That is a complicated 'test' and so far it runs
beautifully. I'll add a package for Elixir soon.
Thanks!
Pj.
On Mon, Mar 21, 2016 at 11:40:46AM -0400, Leo Famulari wrote:
> On Wed, Mar 16, 2016 a
On Wed, Mar 16, 2016 at 10:00:21PM -0700, Steve Sprang wrote:
> I don't have anything else packaged. I've only dabbled with Erlang myself.
> You can start a REPL with:
>
> % erl
Okay, I was able to build this on x86_64 and cross-build to i686. Would
anyone like the test
I don't have anything else packaged. I've only dabbled with Erlang myself.
You can start a REPL with:
% erl
-Steve
On Mar 16, 2016 9:21 PM, "Leo Famulari" wrote:
> On Wed, Mar 16, 2016 at 05:18:57PM -0700, Steve Sprang wrote:
> > Oops, I didn't follow up on
;>> > + (setenv "ERL_TOP" (getcwd)
>>>
>>> I _think_ that 'lambda _' would be appropriate here. I need a real
>>> Schemer to weigh in ;)
>>>
>>
>> I'm definately not a "real schemer," but since th
On Wed, Mar 16, 2016 at 05:18:57PM -0700, Steve Sprang wrote:
> Oops, I didn't follow up on this. I made the suggested changes to the
> patch. I also bumped the version to 18.3, which has subsequently
> become available.
This is awesome!
Do you have any erlang programs packaged t
Efraim Flashner skribis:
> On Fri, 12 Feb 2016 19:44:46 -0500
> Leo Famulari wrote:
>
>> On Sat, Feb 06, 2016 at 12:45:39PM -0800, Steve Sprang wrote:
>> > It looks like downloading the tarball from erlang.org works now.
>> > Here's an improved patch.
>> > + (lambda* _
>> > + (let ((
On Fri, 12 Feb 2016 19:44:46 -0500
Leo Famulari wrote:
> On Sat, Feb 06, 2016 at 12:45:39PM -0800, Steve Sprang wrote:
> > It looks like downloading the tarball from erlang.org works now.
> > Here's an improved patch.
> > + (lambda* _
> > +(let ((escripts
> > + (appen
On Sat, Feb 06, 2016 at 12:45:39PM -0800, Steve Sprang wrote:
> It looks like downloading the tarball from erlang.org works now.
> Here's an improved patch.
I wonder, do you happen to have any Erlang programs packaged that I can
test this with? Or, would they require the creation of a
57c3d1736506ed. I'd
> cherry-pick back to 2.0 but I don't have a checkout on this machine;
> please feel free :)
>
> Cheers,
>
> Andy
From 0a1a045ef67e5e70d003c230c72b78a13e38b69b Mon Sep 17 00:00:00 2001
From: Steve Sprang
Date: Sat, 6 Feb 2016 12:40:53 -0800
Subject: [PATC
On Mon 04 Jan 2016 06:20, Steve Sprang writes:
> From http://www.erlang.org/download/otp_src_18.2.1.tar.gz...
> ERROR: Bad qstring header component: kMSMAn68110840
Andy Wingo skribis:
> The Etag value is invalid:
>
> https://tools.ietf.org/html/rfc7232#section-2.3
>
> We could relax Guile's
Someone had reported the similar problem to Artanis:
https://github.com/NalaGinrut/artanis/issues/44
It's because some client (firefox, in this case) emits wrong header. But
nowadays many clients seems break RFC. Maybe make the parsing rule
little looser is better.
And maybe add a warning? But se
On Mon 04 Jan 2016 06:20, Steve Sprang writes:
> From http://www.erlang.org/download/otp_src_18.2.1.tar.gz...
> ERROR: Bad qstring header component: kMSMAn68110840
This means the server is emitting bad HTTP. If I connect with:
GET /download/otp_src_18.2.1.tar.gz HTTP/1.1
Host: www.erlang
Jan 03, 2016 at 07:56:07PM -0800, Steve Sprang wrote:
> >> Add the Erlang programming language.
> >>
> >> Is there a better way to substitute "/usr/bin/env" with (which "env")?
> >> There are a number of files throughout the source tree that requ
Leo Famulari wrote:
> On Sun, Jan 03, 2016 at 07:56:07PM -0800, Steve Sprang wrote:
>> Add the Erlang programming language.
>>
>> Is there a better way to substitute "/usr/bin/env" with (which "env")?
>> There are a number of files throughout the
On Sun, Jan 03, 2016 at 07:56:07PM -0800, Steve Sprang wrote:
> Add the Erlang programming language.
>
> Is there a better way to substitute "/usr/bin/env" with (which "env")?
> There are a number of files throughout the source tree that require
> the substitut
Add the Erlang programming language.
Is there a better way to substitute "/usr/bin/env" with (which "env")?
There are a number of files throughout the source tree that require
the substitution, but there's not a handy way to identify many of them
without explicitly l
48 matches
Mail list logo