Patch package OTP 21.1.1 released

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch package OTP 21.1.1 released

Rickard Green-2
Patch Package:           OTP 21.1.1
Git Tag:                 OTP-21.1.1
Date:                    2018-10-12
Trouble Report Id:       OTP-14297, OTP-15318, OTP-15333, OTP-15335,
                          OTP-15337, OTP-15342, OTP-15348
Seq num:                 ERIERL-242, ERL-689, ERL-737, ERL-738,
                          ERL-747
System:                  OTP
Release:                 21
Application:             compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
                          ssl-9.0.3
Predecessor:             OTP 21.1

  Check out the git tag OTP-21.1.1, and build a full OTP system
  including documentation. Apply one or more applications from this
  build as patches to your installation using the 'otp_patch_apply'
  tool. For information on install requirements, see descriptions for
  each application version below.

  ---------------------------------------------------------------------
  --- compiler-7.2.6 --------------------------------------------------
  ---------------------------------------------------------------------

  The compiler-7.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15335    Application(s): compiler
                Related Id(s): ERL-689, OTP-15219

                In rare circumstances, the matched out tail of a binary
                could be the entire original binary. (There was partial
                correction to this problem in version 7.2.5 of the
                compiler application.)


  Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
  hipe-3.12, kernel-4.0, stdlib-2.5


  ---------------------------------------------------------------------
  --- eldap-1.2.6 -----------------------------------------------------
  ---------------------------------------------------------------------

  The eldap-1.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15342    Application(s): eldap
                Related Id(s): ERIERL-242

                A race condition at close could cause the eldap client
                to exit with a badarg message as cause.


  Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
  kernel-3.0, ssl-5.3.4, stdlib-2.0


  ---------------------------------------------------------------------
  --- erts-10.1.1 -----------------------------------------------------
  ---------------------------------------------------------------------

  Note! The erts-10.1.1 application can *not* be applied independently
        of other applications on an arbitrary OTP 21 installation.

        On a full OTP 21 installation, also the following runtime
        dependency has to be satisfied:
        -- kernel-6.1 (first satisfied in OTP 21.1)


  --- Fixed Bugs and Malfunctions ---

   OTP-14297    Application(s): erts
                Related Id(s): OTP-15141

                A bug where the socket option 'pktoptions' caused a
                read of uninitialized memory has been fixed. Would
                cause malfunction on FreeBSD.


   OTP-15318    Application(s): erts

                Fixed a memory leak on errors when reading files.


   OTP-15333    Application(s): erts
                Related Id(s): ERL-737

                File access through UNC paths works again on Windows.
                This regression was introduced in OTP 21.


  Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
  stdlib-3.5


  ---------------------------------------------------------------------
  --- ssl-9.0.3 -------------------------------------------------------
  ---------------------------------------------------------------------

  The ssl-9.0.3 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15337    Application(s): ssl
                Related Id(s): ERL-738

                Correct alert handling with new TLS sender process,
                from ssl-9.0.2. CLOSE ALERTS could under some
                circumstances be encoded using an incorrect cipher
                state. This would cause the peer to regard them as
                unknown messages.


   OTP-15348    Application(s): ssl
                Related Id(s): ERL-747

                Correct handling of socket packet option with new TLS
                sender process, from ssl-9.0.2. When changing the
                socket option {packet, 1|2|3|4} with ssl:setopts/2 the
                option must internally be propagated to the sender
                process as well as the reader process as this
                particular option also affects the data to be sent.


  Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
  inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Frank Muller
Hi Rickard

Why it’s not available for download?
“kerl update releases” shows nothing new.

/Frank 

Patch Package:           OTP 21.1.1
Git Tag:                 OTP-21.1.1
Date:                    2018-10-12
Trouble Report Id:       OTP-14297, OTP-15318, OTP-15333, OTP-15335,
                          OTP-15337, OTP-15342, OTP-15348
Seq num:                 ERIERL-242, ERL-689, ERL-737, ERL-738,
                          ERL-747
System:                  OTP
Release:                 21
Application:             compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
                          ssl-9.0.3
Predecessor:             OTP 21.1

  Check out the git tag OTP-21.1.1, and build a full OTP system
  including documentation. Apply one or more applications from this
  build as patches to your installation using the 'otp_patch_apply'
  tool. For information on install requirements, see descriptions for
  each application version below.

  ---------------------------------------------------------------------
  --- compiler-7.2.6 --------------------------------------------------
  ---------------------------------------------------------------------

  The compiler-7.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15335    Application(s): compiler
                Related Id(s): ERL-689, OTP-15219

                In rare circumstances, the matched out tail of a binary
                could be the entire original binary. (There was partial
                correction to this problem in version 7.2.5 of the
                compiler application.)


  Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
  hipe-3.12, kernel-4.0, stdlib-2.5


  ---------------------------------------------------------------------
  --- eldap-1.2.6 -----------------------------------------------------
  ---------------------------------------------------------------------

  The eldap-1.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15342    Application(s): eldap
                Related Id(s): ERIERL-242

                A race condition at close could cause the eldap client
                to exit with a badarg message as cause.


  Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
  kernel-3.0, ssl-5.3.4, stdlib-2.0


  ---------------------------------------------------------------------
  --- erts-10.1.1 -----------------------------------------------------
  ---------------------------------------------------------------------

  Note! The erts-10.1.1 application can *not* be applied independently
        of other applications on an arbitrary OTP 21 installation.

        On a full OTP 21 installation, also the following runtime
        dependency has to be satisfied:
        -- kernel-6.1 (first satisfied in OTP 21.1)


  --- Fixed Bugs and Malfunctions ---

   OTP-14297    Application(s): erts
                Related Id(s): OTP-15141

                A bug where the socket option 'pktoptions' caused a
                read of uninitialized memory has been fixed. Would
                cause malfunction on FreeBSD.


   OTP-15318    Application(s): erts

                Fixed a memory leak on errors when reading files.


   OTP-15333    Application(s): erts
                Related Id(s): ERL-737

                File access through UNC paths works again on Windows.
                This regression was introduced in OTP 21.


  Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
  stdlib-3.5


  ---------------------------------------------------------------------
  --- ssl-9.0.3 -------------------------------------------------------
  ---------------------------------------------------------------------

  The ssl-9.0.3 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15337    Application(s): ssl
                Related Id(s): ERL-738

                Correct alert handling with new TLS sender process,
                from ssl-9.0.2. CLOSE ALERTS could under some
                circumstances be encoded using an incorrect cipher
                state. This would cause the peer to regard them as
                unknown messages.


   OTP-15348    Application(s): ssl
                Related Id(s): ERL-747

                Correct handling of socket packet option with new TLS
                sender process, from ssl-9.0.2. When changing the
                socket option {packet, 1|2|3|4} with ssl:setopts/2 the
                option must internally be propagated to the sender
                process as well as the reader process as this
                particular option also affects the data to be sent.


  Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
  inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Loïc Hoguin-3
Patch releases are typically only available as git tags. You can use the
git backend in kerl to build it, for example:

kerl build git https://github.com/erlang/otp OTP-21.1.1 OTP-21.1.1

On 10/12/18 10:59 PM, Frank Muller wrote:

> Hi Rickard
>
> Why it’s not available for download?
> “kerl update releases” shows nothing new.
>
> /Frank
>
>     Patch Package:           OTP 21.1.1
>     Git Tag:                 OTP-21.1.1
>     Date:                    2018-10-12
>     Trouble Report Id:       OTP-14297, OTP-15318, OTP-15333, OTP-15335,
>                                OTP-15337, OTP-15342, OTP-15348
>     Seq num:                 ERIERL-242, ERL-689, ERL-737, ERL-738,
>                                ERL-747
>     System:                  OTP
>     Release:                 21
>     Application:             compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
>                                ssl-9.0.3
>     Predecessor:             OTP 21.1
>
>        Check out the git tag OTP-21.1.1, and build a full OTP system
>        including documentation. Apply one or more applications from this
>        build as patches to your installation using the 'otp_patch_apply'
>        tool. For information on install requirements, see descriptions for
>        each application version below.
>
>        ---------------------------------------------------------------------
>        --- compiler-7.2.6 --------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The compiler-7.2.6 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15335    Application(s): compiler
>                      Related Id(s): ERL-689, OTP-15219
>
>                      In rare circumstances, the matched out tail of a binary
>                      could be the entire original binary. (There was partial
>                      correction to this problem in version 7.2.5 of the
>                      compiler application.)
>
>
>        Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
>        hipe-3.12, kernel-4.0, stdlib-2.5
>
>
>        ---------------------------------------------------------------------
>        --- eldap-1.2.6 -----------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The eldap-1.2.6 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15342    Application(s): eldap
>                      Related Id(s): ERIERL-242
>
>                      A race condition at close could cause the eldap client
>                      to exit with a badarg message as cause.
>
>
>        Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
>        kernel-3.0, ssl-5.3.4, stdlib-2.0
>
>
>        ---------------------------------------------------------------------
>        --- erts-10.1.1 -----------------------------------------------------
>        ---------------------------------------------------------------------
>
>        Note! The erts-10.1.1 application can *not* be applied independently
>              of other applications on an arbitrary OTP 21 installation.
>
>              On a full OTP 21 installation, also the following runtime
>              dependency has to be satisfied:
>              -- kernel-6.1 (first satisfied in OTP 21.1)
>
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-14297    Application(s): erts
>                      Related Id(s): OTP-15141
>
>                      A bug where the socket option 'pktoptions' caused a
>                      read of uninitialized memory has been fixed. Would
>                      cause malfunction on FreeBSD.
>
>
>         OTP-15318    Application(s): erts
>
>                      Fixed a memory leak on errors when reading files.
>
>
>         OTP-15333    Application(s): erts
>                      Related Id(s): ERL-737
>
>                      File access through UNC paths works again on Windows.
>                      This regression was introduced in OTP 21.
>
>
>        Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
>        stdlib-3.5
>
>
>        ---------------------------------------------------------------------
>        --- ssl-9.0.3 -------------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The ssl-9.0.3 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15337    Application(s): ssl
>                      Related Id(s): ERL-738
>
>                      Correct alert handling with new TLS sender process,
>                      from ssl-9.0.2. CLOSE ALERTS could under some
>                      circumstances be encoded using an incorrect cipher
>                      state. This would cause the peer to regard them as
>                      unknown messages.
>
>
>         OTP-15348    Application(s): ssl
>                      Related Id(s): ERL-747
>
>                      Correct handling of socket packet option with new TLS
>                      sender process, from ssl-9.0.2. When changing the
>                      socket option {packet, 1|2|3|4} with ssl:setopts/2 the
>                      option must internally be propagated to the sender
>                      process as well as the reader process as this
>                      particular option also affects the data to be sent.
>
>
>        Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
>        inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
>
>
>        ---------------------------------------------------------------------
>        ---------------------------------------------------------------------
>        ---------------------------------------------------------------------
>     _______________________________________________
>     erlang-questions mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>

--
Loïc Hoguin
https://ninenines.eu
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Pierre Fenoll-2
In reply to this post by Frank Muller
By default kerl uses the erlang.org releases page. The patch tags are not listed there for some reason. 
To fetch this tag you need to use the fit backend so that kerl fetched things from github. 

export KERL_BUILD_BACKEND=git

Then proceed as usual. I may not have remembered the variable’s name properly, it is described in kerl’s readme though. 

I opened a PR there so that the default backend be git but I think the argument is about breaking backwards compatibility. Maybe leave a comment there? Please?

On Fri 12 Oct 2018 at 22:59, Frank Muller <[hidden email]> wrote:
Hi Rickard

Why it’s not available for download?
“kerl update releases” shows nothing new.

/Frank 

Patch Package:           OTP 21.1.1
Git Tag:                 OTP-21.1.1
Date:                    2018-10-12
Trouble Report Id:       OTP-14297, OTP-15318, OTP-15333, OTP-15335,
                          OTP-15337, OTP-15342, OTP-15348
Seq num:                 ERIERL-242, ERL-689, ERL-737, ERL-738,
                          ERL-747
System:                  OTP
Release:                 21
Application:             compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
                          ssl-9.0.3
Predecessor:             OTP 21.1

  Check out the git tag OTP-21.1.1, and build a full OTP system
  including documentation. Apply one or more applications from this
  build as patches to your installation using the 'otp_patch_apply'
  tool. For information on install requirements, see descriptions for
  each application version below.

  ---------------------------------------------------------------------
  --- compiler-7.2.6 --------------------------------------------------
  ---------------------------------------------------------------------

  The compiler-7.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15335    Application(s): compiler
                Related Id(s): ERL-689, OTP-15219

                In rare circumstances, the matched out tail of a binary
                could be the entire original binary. (There was partial
                correction to this problem in version 7.2.5 of the
                compiler application.)


  Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
  hipe-3.12, kernel-4.0, stdlib-2.5


  ---------------------------------------------------------------------
  --- eldap-1.2.6 -----------------------------------------------------
  ---------------------------------------------------------------------

  The eldap-1.2.6 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15342    Application(s): eldap
                Related Id(s): ERIERL-242

                A race condition at close could cause the eldap client
                to exit with a badarg message as cause.


  Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
  kernel-3.0, ssl-5.3.4, stdlib-2.0


  ---------------------------------------------------------------------
  --- erts-10.1.1 -----------------------------------------------------
  ---------------------------------------------------------------------

  Note! The erts-10.1.1 application can *not* be applied independently
        of other applications on an arbitrary OTP 21 installation.

        On a full OTP 21 installation, also the following runtime
        dependency has to be satisfied:
        -- kernel-6.1 (first satisfied in OTP 21.1)


  --- Fixed Bugs and Malfunctions ---

   OTP-14297    Application(s): erts
                Related Id(s): OTP-15141

                A bug where the socket option 'pktoptions' caused a
                read of uninitialized memory has been fixed. Would
                cause malfunction on FreeBSD.


   OTP-15318    Application(s): erts

                Fixed a memory leak on errors when reading files.


   OTP-15333    Application(s): erts
                Related Id(s): ERL-737

                File access through UNC paths works again on Windows.
                This regression was introduced in OTP 21.


  Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
  stdlib-3.5


  ---------------------------------------------------------------------
  --- ssl-9.0.3 -------------------------------------------------------
  ---------------------------------------------------------------------

  The ssl-9.0.3 application can be applied independently of other
  applications on a full OTP 21 installation.

  --- Fixed Bugs and Malfunctions ---

   OTP-15337    Application(s): ssl
                Related Id(s): ERL-738

                Correct alert handling with new TLS sender process,
                from ssl-9.0.2. CLOSE ALERTS could under some
                circumstances be encoded using an incorrect cipher
                state. This would cause the peer to regard them as
                unknown messages.


   OTP-15348    Application(s): ssl
                Related Id(s): ERL-747

                Correct handling of socket packet option with new TLS
                sender process, from ssl-9.0.2. When changing the
                socket option {packet, 1|2|3|4} with ssl:setopts/2 the
                option must internally be propagated to the sender
                process as well as the reader process as this
                particular option also affects the data to be sent.


  Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
  inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
  ---------------------------------------------------------------------
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
--

Cheers,
-- 
Pierre Fenoll


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Lloyd R. Prentice-2
In reply to this post by Rickard Green-2

'Lo all,

 

I've been programming Erlang for some four years now. But I still don't understand how to keep up with and manage releases and patch packages.

 

I worked a bit with kerl at one point thanks to help from a kind person on the list, but I still don't understand how best to integrate kerl into my day-to-day development workflow and so I'm still writing code based on Erlang/OTP 19.

 

Is there  anywhere in vast cyberspace  a comprehensive tutorial that covers these fundamental issues and how best to keep applications up-to-date with latest and greatest versions of Erlang?

 

Many thanks,

 

LRP

 

 

-----Original Message-----
From: "Rickard Green" <[hidden email]>
Sent: Friday, October 12, 2018 12:12pm
To: "[hidden email]" <[hidden email]>
Subject: [erlang-questions] Patch package OTP 21.1.1 released

Patch Package: OTP 21.1.1
Git Tag: OTP-21.1.1
Date: 2018-10-12
Trouble Report Id: OTP-14297, OTP-15318, OTP-15333, OTP-15335,
OTP-15337, OTP-15342, OTP-15348
Seq num: ERIERL-242, ERL-689, ERL-737, ERL-738,
ERL-747
System: OTP
Release: 21
Application: compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
ssl-9.0.3
Predecessor: OTP 21.1

Check out the git tag OTP-21.1.1, and build a full OTP system
including documentation. Apply one or more applications from this
build as patches to your installation using the 'otp_patch_apply'
tool. For information on install requirements, see descriptions for
each application version below.

---------------------------------------------------------------------
--- compiler-7.2.6 --------------------------------------------------
---------------------------------------------------------------------

The compiler-7.2.6 application can be applied independently of other
applications on a full OTP 21 installation.

--- Fixed Bugs and Malfunctions ---

OTP-15335 Application(s): compiler
Related Id(s): ERL-689, OTP-15219

In rare circumstances, the matched out tail of a binary
could be the entire original binary. (There was partial
correction to this problem in version 7.2.5 of the
compiler application.)


Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5


---------------------------------------------------------------------
--- eldap-1.2.6 -----------------------------------------------------
---------------------------------------------------------------------

The eldap-1.2.6 application can be applied independently of other
applications on a full OTP 21 installation.

--- Fixed Bugs and Malfunctions ---

OTP-15342 Application(s): eldap
Related Id(s): ERIERL-242

A race condition at close could cause the eldap client
to exit with a badarg message as cause.


Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
kernel-3.0, ssl-5.3.4, stdlib-2.0


---------------------------------------------------------------------
--- erts-10.1.1 -----------------------------------------------------
---------------------------------------------------------------------

Note! The erts-10.1.1 application can *not* be applied independently
of other applications on an arbitrary OTP 21 installation.

On a full OTP 21 installation, also the following runtime
dependency has to be satisfied:
-- kernel-6.1 (first satisfied in OTP 21.1)


--- Fixed Bugs and Malfunctions ---

OTP-14297 Application(s): erts
Related Id(s): OTP-15141

A bug where the socket option 'pktoptions' caused a
read of uninitialized memory has been fixed. Would
cause malfunction on FreeBSD.


OTP-15318 Application(s): erts

Fixed a memory leak on errors when reading files.


OTP-15333 Application(s): erts
Related Id(s): ERL-737

File access through UNC paths works again on Windows.
This regression was introduced in OTP 21.


Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
stdlib-3.5


---------------------------------------------------------------------
--- ssl-9.0.3 -------------------------------------------------------
---------------------------------------------------------------------

The ssl-9.0.3 application can be applied independently of other
applications on a full OTP 21 installation.

--- Fixed Bugs and Malfunctions ---

OTP-15337 Application(s): ssl
Related Id(s): ERL-738

Correct alert handling with new TLS sender process,
from ssl-9.0.2. CLOSE ALERTS could under some
circumstances be encoded using an incorrect cipher
state. This would cause the peer to regard them as
unknown messages.


OTP-15348 Application(s): ssl
Related Id(s): ERL-747

Correct handling of socket packet option with new TLS
sender process, from ssl-9.0.2. When changing the
socket option {packet, 1|2|3|4} with ssl:setopts/2 the
option must internally be propagated to the sender
process as well as the reader process as this
particular option also affects the data to be sent.


Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Frank Muller
In reply to this post by Loïc Hoguin-3
Thanks Loïc

/Frank

Patch releases are typically only available as git tags. You can use the
git backend in kerl to build it, for example:

kerl build git https://github.com/erlang/otp OTP-21.1.1 OTP-21.1.1

On 10/12/18 10:59 PM, Frank Muller wrote:
> Hi Rickard
>
> Why it’s not available for download?
> “kerl update releases” shows nothing new.
>
> /Frank
>
>     Patch Package:           OTP 21.1.1
>     Git Tag:                 OTP-21.1.1
>     Date:                    2018-10-12
>     Trouble Report Id:       OTP-14297, OTP-15318, OTP-15333, OTP-15335,
>                                OTP-15337, OTP-15342, OTP-15348
>     Seq num:                 ERIERL-242, ERL-689, ERL-737, ERL-738,
>                                ERL-747
>     System:                  OTP
>     Release:                 21
>     Application:             compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
>                                ssl-9.0.3
>     Predecessor:             OTP 21.1
>
>        Check out the git tag OTP-21.1.1, and build a full OTP system
>        including documentation. Apply one or more applications from this
>        build as patches to your installation using the 'otp_patch_apply'
>        tool. For information on install requirements, see descriptions for
>        each application version below.
>
>        ---------------------------------------------------------------------
>        --- compiler-7.2.6 --------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The compiler-7.2.6 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15335    Application(s): compiler
>                      Related Id(s): ERL-689, OTP-15219
>
>                      In rare circumstances, the matched out tail of a binary
>                      could be the entire original binary. (There was partial
>                      correction to this problem in version 7.2.5 of the
>                      compiler application.)
>
>
>        Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
>        hipe-3.12, kernel-4.0, stdlib-2.5
>
>
>        ---------------------------------------------------------------------
>        --- eldap-1.2.6 -----------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The eldap-1.2.6 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15342    Application(s): eldap
>                      Related Id(s): ERIERL-242
>
>                      A race condition at close could cause the eldap client
>                      to exit with a badarg message as cause.
>
>
>        Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
>        kernel-3.0, ssl-5.3.4, stdlib-2.0
>
>
>        ---------------------------------------------------------------------
>        --- erts-10.1.1 -----------------------------------------------------
>        ---------------------------------------------------------------------
>
>        Note! The erts-10.1.1 application can *not* be applied independently
>              of other applications on an arbitrary OTP 21 installation.
>
>              On a full OTP 21 installation, also the following runtime
>              dependency has to be satisfied:
>              -- kernel-6.1 (first satisfied in OTP 21.1)
>
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-14297    Application(s): erts
>                      Related Id(s): OTP-15141
>
>                      A bug where the socket option 'pktoptions' caused a
>                      read of uninitialized memory has been fixed. Would
>                      cause malfunction on FreeBSD.
>
>
>         OTP-15318    Application(s): erts
>
>                      Fixed a memory leak on errors when reading files.
>
>
>         OTP-15333    Application(s): erts
>                      Related Id(s): ERL-737
>
>                      File access through UNC paths works again on Windows.
>                      This regression was introduced in OTP 21.
>
>
>        Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
>        stdlib-3.5
>
>
>        ---------------------------------------------------------------------
>        --- ssl-9.0.3 -------------------------------------------------------
>        ---------------------------------------------------------------------
>
>        The ssl-9.0.3 application can be applied independently of other
>        applications on a full OTP 21 installation.
>
>        --- Fixed Bugs and Malfunctions ---
>
>         OTP-15337    Application(s): ssl
>                      Related Id(s): ERL-738
>
>                      Correct alert handling with new TLS sender process,
>                      from ssl-9.0.2. CLOSE ALERTS could under some
>                      circumstances be encoded using an incorrect cipher
>                      state. This would cause the peer to regard them as
>                      unknown messages.
>
>
>         OTP-15348    Application(s): ssl
>                      Related Id(s): ERL-747
>
>                      Correct handling of socket packet option with new TLS
>                      sender process, from ssl-9.0.2. When changing the
>                      socket option {packet, 1|2|3|4} with ssl:setopts/2 the
>                      option must internally be propagated to the sender
>                      process as well as the reader process as this
>                      particular option also affects the data to be sent.
>
>
>        Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
>        inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
>
>
>        ---------------------------------------------------------------------
>        ---------------------------------------------------------------------
>        ---------------------------------------------------------------------
>     _______________________________________________
>     erlang-questions mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>

--
Loïc Hoguin
https://ninenines.eu

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Rickard Green-2
In reply to this post by Pierre Fenoll-2

fre 12 okt. 2018 kl. 23:42 skrev Pierre Fenoll <[hidden email]>:
By default kerl uses the erlang.org releases page. The patch tags are not listed there for some reason. 

You can find all OTP versions released since OTP 17.0 at: http://erlang.org/download/otp_versions_tree.html

Regards,
Rickard

--
Rickard Green, Erlang/OTP, Ericsson AB

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Frank Muller
Whenever I tried to compile Erlang from Git source (GitHub) it fails at some point (fails for me with 21.x,20.x).

But it just works fine when I used tarballs from erlang.org.

Any reason for that? Is there any command to run  before compiling from GitHub? 

/Frank


fre 12 okt. 2018 kl. 23:42 skrev Pierre Fenoll <[hidden email]>:
By default kerl uses the erlang.org releases page. The patch tags are not listed there for some reason. 

You can find all OTP versions released since OTP 17.0 at: http://erlang.org/download/otp_versions_tree.html

Regards,
Rickard

--
Rickard Green, Erlang/OTP, Ericsson AB

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Rickard Green-2
Before compiling a github repo you need to execute ”./otp_build autoconf” in the top directory. Otherwise the same.

Regards,
Rickard

lör 13 okt. 2018 kl. 07:28 skrev Frank Muller <[hidden email]>:
Whenever I tried to compile Erlang from Git source (GitHub) it fails at some point (fails for me with 21.x,20.x).

But it just works fine when I used tarballs from erlang.org.

Any reason for that? Is there any command to run  before compiling from GitHub? 

/Frank


fre 12 okt. 2018 kl. 23:42 skrev Pierre Fenoll <[hidden email]>:
By default kerl uses the erlang.org releases page. The patch tags are not listed there for some reason. 

You can find all OTP versions released since OTP 17.0 at: http://erlang.org/download/otp_versions_tree.html

Regards,
Rickard

--
Rickard Green, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: kerl usage (was Patch package OTP 21.1.1 released)

Fred Youhanaie-2
In reply to this post by Lloyd R. Prentice-2
Hi Lloyd

I'm not aware of a tutorial, however, perhaps the following will help.

Using kerl is pretty straightforward. Most of the time I use the following sequence to get a new release on my laptop, using Linux+bash.

I am assuming that you have already downloaded kerl and it is in your shell path.


# kerl keeps a list of the available releases locally, but you need to keep it up to date
# this will also print the updated list of the available releases

kerl update releases

# pick a release from the list, e.g. 21.1 is the latest release as of today
# choose a name for the build, e.g. r21.1 is my own convention.
# The below command will download and build the 21.1 release.
# on my laptop it takes just over 30 minutes.

kerl build 21.1 r21.1

# decide on a fresh location for the install, e.g. /opt/erlang-21.1

kerl install r21.1 /opt/erlang-21.1

# once the installation has concluded, you'll see a message similar to the one below
# you can use the activate/deactivate commands to switch between versions at will

You can activate this installation running the following command:
. /opt/erlang-21.1/activate
Later on, you can leave the installation typing:
kerl_deactivate

I have some extra customizations for my needs, but the above should be sufficient to get you started.

HTH :-)

Cheers,
Fred

On 12/10/18 22:25, [hidden email] wrote:

> 'Lo all,
>
> I've been programming Erlang for some four years now. But I still don't understand how to keep up with and manage releases and patch packages.
>
> I worked a bit with kerl at one point thanks to help from a kind person on the list, but I still don't understand how best to integrate kerl into my day-to-day development workflow and so I'm still
> writing code based on Erlang/OTP 19.
>
> Is there  anywhere in vast cyberspace  a comprehensive tutorial that covers these fundamental issues and how best to keep applications up-to-date with latest and greatest versions of Erlang?
>
> Many thanks,
>
> LRP
>
> -----Original Message-----
> From: "Rickard Green" <[hidden email]>
> Sent: Friday, October 12, 2018 12:12pm
> To: "[hidden email]" <[hidden email]>
> Subject: [erlang-questions] Patch package OTP 21.1.1 released
>
> Patch Package: OTP 21.1.1
> Git Tag: OTP-21.1.1
> Date: 2018-10-12
> Trouble Report Id: OTP-14297, OTP-15318, OTP-15333, OTP-15335,
> OTP-15337, OTP-15342, OTP-15348
> Seq num: ERIERL-242, ERL-689, ERL-737, ERL-738,
> ERL-747
> System: OTP
> Release: 21
> Application: compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
> ssl-9.0.3
> Predecessor: OTP 21.1
>
> Check out the git tag OTP-21.1.1, and build a full OTP system
> including documentation. Apply one or more applications from this
> build as patches to your installation using the 'otp_patch_apply'
> tool. For information on install requirements, see descriptions for
> each application version below.
>
> ---------------------------------------------------------------------
> --- compiler-7.2.6 --------------------------------------------------
> ---------------------------------------------------------------------
>
> The compiler-7.2.6 application can be applied independently of other
> applications on a full OTP 21 installation.
>
> --- Fixed Bugs and Malfunctions ---
>
> OTP-15335 Application(s): compiler
> Related Id(s): ERL-689, OTP-15219
>
> In rare circumstances, the matched out tail of a binary
> could be the entire original binary. (There was partial
> correction to this problem in version 7.2.5 of the
> compiler application.)
>
>
> Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
> hipe-3.12, kernel-4.0, stdlib-2.5
>
>
> ---------------------------------------------------------------------
> --- eldap-1.2.6 -----------------------------------------------------
> ---------------------------------------------------------------------
>
> The eldap-1.2.6 application can be applied independently of other
> applications on a full OTP 21 installation.
>
> --- Fixed Bugs and Malfunctions ---
>
> OTP-15342 Application(s): eldap
> Related Id(s): ERIERL-242
>
> A race condition at close could cause the eldap client
> to exit with a badarg message as cause.
>
>
> Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
> kernel-3.0, ssl-5.3.4, stdlib-2.0
>
>
> ---------------------------------------------------------------------
> --- erts-10.1.1 -----------------------------------------------------
> ---------------------------------------------------------------------
>
> Note! The erts-10.1.1 application can *not* be applied independently
> of other applications on an arbitrary OTP 21 installation.
>
> On a full OTP 21 installation, also the following runtime
> dependency has to be satisfied:
> -- kernel-6.1 (first satisfied in OTP 21.1)
>
>
> --- Fixed Bugs and Malfunctions ---
>
> OTP-14297 Application(s): erts
> Related Id(s): OTP-15141
>
> A bug where the socket option 'pktoptions' caused a
> read of uninitialized memory has been fixed. Would
> cause malfunction on FreeBSD.
>
>
> OTP-15318 Application(s): erts
>
> Fixed a memory leak on errors when reading files.
>
>
> OTP-15333 Application(s): erts
> Related Id(s): ERL-737
>
> File access through UNC paths works again on Windows.
> This regression was introduced in OTP 21.
>
>
> Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
> stdlib-3.5
>
>
> ---------------------------------------------------------------------
> --- ssl-9.0.3 -------------------------------------------------------
> ---------------------------------------------------------------------
>
> The ssl-9.0.3 application can be applied independently of other
> applications on a full OTP 21 installation.
>
> --- Fixed Bugs and Malfunctions ---
>
> OTP-15337 Application(s): ssl
> Related Id(s): ERL-738
>
> Correct alert handling with new TLS sender process,
> from ssl-9.0.2. CLOSE ALERTS could under some
> circumstances be encoded using an incorrect cipher
> state. This would cause the peer to regard them as
> unknown messages.
>
>
> OTP-15348 Application(s): ssl
> Related Id(s): ERL-747
>
> Correct handling of socket packet option with new TLS
> sender process, from ssl-9.0.2. When changing the
> socket option {packet, 1|2|3|4} with ssl:setopts/2 the
> option must internally be propagated to the sender
> process as well as the reader process as this
> particular option also affects the data to be sent.
>
>
> Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
> inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
>
>
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 21.1.1 released

Rickard Green-2
In reply to this post by Rickard Green-2


On Sat, Oct 13, 2018 at 2:54 AM Rickard Green <[hidden email]> wrote:

fre 12 okt. 2018 kl. 23:42 skrev Pierre Fenoll <[hidden email]>:
By default kerl uses the erlang.org releases page. The patch tags are not listed there for some reason. 

You can find all OTP versions released since OTP 17.0 at: http://erlang.org/download/otp_versions_tree.html


If you want to automate the detection of new OTP versions, it is better to retrieve the 'otp_versions.table' file from the master branch (for example via <https://raw.githubusercontent.com/erlang/otp/master/otp_versions.table>) which always contains all released OTP versions. The format of the 'otp_versions.table' file is described in the documentation <http://erlang.org/doc/system_principles/versions.html#otp-versions-table>.

Regards,
Rickard

--
Rickard Green, Erlang/OTP, Ericsson AB

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: kerl usage (was Patch package OTP 21.1.1 released)

Lloyd R. Prentice-2
In reply to this post by Fred Youhanaie-2
Big help!

Do you bring a new release into kerl as soon as it’s announced? Or wait for it’s been in the field long enough to turn up bugs?

Many thanks,

Lloyd

Sent from my iPad

> On Oct 13, 2018, at 6:24 AM, Fred Youhanaie <[hidden email]> wrote:
>
> Hi Lloyd
>
> I'm not aware of a tutorial, however, perhaps the following will help.
>
> Using kerl is pretty straightforward. Most of the time I use the following sequence to get a new release on my laptop, using Linux+bash.
>
> I am assuming that you have already downloaded kerl and it is in your shell path.
>
>
> # kerl keeps a list of the available releases locally, but you need to keep it up to date
> # this will also print the updated list of the available releases
>
> kerl update releases
>
> # pick a release from the list, e.g. 21.1 is the latest release as of today
> # choose a name for the build, e.g. r21.1 is my own convention.
> # The below command will download and build the 21.1 release.
> # on my laptop it takes just over 30 minutes.
>
> kerl build 21.1 r21.1
>
> # decide on a fresh location for the install, e.g. /opt/erlang-21.1
>
> kerl install r21.1 /opt/erlang-21.1
>
> # once the installation has concluded, you'll see a message similar to the one below
> # you can use the activate/deactivate commands to switch between versions at will
>
> You can activate this installation running the following command:
> . /opt/erlang-21.1/activate
> Later on, you can leave the installation typing:
> kerl_deactivate
>
> I have some extra customizations for my needs, but the above should be sufficient to get you started.
>
> HTH :-)
>
> Cheers,
> Fred
>
>> On 12/10/18 22:25, [hidden email] wrote:
>> 'Lo all,
>> I've been programming Erlang for some four years now. But I still don't understand how to keep up with and manage releases and patch packages.
>> I worked a bit with kerl at one point thanks to help from a kind person on the list, but I still don't understand how best to integrate kerl into my day-to-day development workflow and so I'm still writing code based on Erlang/OTP 19.
>> Is there  anywhere in vast cyberspace  a comprehensive tutorial that covers these fundamental issues and how best to keep applications up-to-date with latest and greatest versions of Erlang?
>> Many thanks,
>> LRP
>> -----Original Message-----
>> From: "Rickard Green" <[hidden email]>
>> Sent: Friday, October 12, 2018 12:12pm
>> To: "[hidden email]" <[hidden email]>
>> Subject: [erlang-questions] Patch package OTP 21.1.1 released
>> Patch Package: OTP 21.1.1
>> Git Tag: OTP-21.1.1
>> Date: 2018-10-12
>> Trouble Report Id: OTP-14297, OTP-15318, OTP-15333, OTP-15335,
>> OTP-15337, OTP-15342, OTP-15348
>> Seq num: ERIERL-242, ERL-689, ERL-737, ERL-738,
>> ERL-747
>> System: OTP
>> Release: 21
>> Application: compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
>> ssl-9.0.3
>> Predecessor: OTP 21.1
>> Check out the git tag OTP-21.1.1, and build a full OTP system
>> including documentation. Apply one or more applications from this
>> build as patches to your installation using the 'otp_patch_apply'
>> tool. For information on install requirements, see descriptions for
>> each application version below.
>> ---------------------------------------------------------------------
>> --- compiler-7.2.6 --------------------------------------------------
>> ---------------------------------------------------------------------
>> The compiler-7.2.6 application can be applied independently of other
>> applications on a full OTP 21 installation.
>> --- Fixed Bugs and Malfunctions ---
>> OTP-15335 Application(s): compiler
>> Related Id(s): ERL-689, OTP-15219
>> In rare circumstances, the matched out tail of a binary
>> could be the entire original binary. (There was partial
>> correction to this problem in version 7.2.5 of the
>> compiler application.)
>> Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
>> hipe-3.12, kernel-4.0, stdlib-2.5
>> ---------------------------------------------------------------------
>> --- eldap-1.2.6 -----------------------------------------------------
>> ---------------------------------------------------------------------
>> The eldap-1.2.6 application can be applied independently of other
>> applications on a full OTP 21 installation.
>> --- Fixed Bugs and Malfunctions ---
>> OTP-15342 Application(s): eldap
>> Related Id(s): ERIERL-242
>> A race condition at close could cause the eldap client
>> to exit with a badarg message as cause.
>> Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
>> kernel-3.0, ssl-5.3.4, stdlib-2.0
>> ---------------------------------------------------------------------
>> --- erts-10.1.1 -----------------------------------------------------
>> ---------------------------------------------------------------------
>> Note! The erts-10.1.1 application can *not* be applied independently
>> of other applications on an arbitrary OTP 21 installation.
>> On a full OTP 21 installation, also the following runtime
>> dependency has to be satisfied:
>> -- kernel-6.1 (first satisfied in OTP 21.1)
>> --- Fixed Bugs and Malfunctions ---
>> OTP-14297 Application(s): erts
>> Related Id(s): OTP-15141
>> A bug where the socket option 'pktoptions' caused a
>> read of uninitialized memory has been fixed. Would
>> cause malfunction on FreeBSD.
>> OTP-15318 Application(s): erts
>> Fixed a memory leak on errors when reading files.
>> OTP-15333 Application(s): erts
>> Related Id(s): ERL-737
>> File access through UNC paths works again on Windows.
>> This regression was introduced in OTP 21.
>> Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
>> stdlib-3.5
>> ---------------------------------------------------------------------
>> --- ssl-9.0.3 -------------------------------------------------------
>> ---------------------------------------------------------------------
>> The ssl-9.0.3 application can be applied independently of other
>> applications on a full OTP 21 installation.
>> --- Fixed Bugs and Malfunctions ---
>> OTP-15337 Application(s): ssl
>> Related Id(s): ERL-738
>> Correct alert handling with new TLS sender process,
>> from ssl-9.0.2. CLOSE ALERTS could under some
>> circumstances be encoded using an incorrect cipher
>> state. This would cause the peer to regard them as
>> unknown messages.
>> OTP-15348 Application(s): ssl
>> Related Id(s): ERL-747
>> Correct handling of socket packet option with new TLS
>> sender process, from ssl-9.0.2. When changing the
>> socket option {packet, 1|2|3|4} with ssl:setopts/2 the
>> option must internally be propagated to the sender
>> process as well as the reader process as this
>> particular option also affects the data to be sent.
>> Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
>> inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
>> ---------------------------------------------------------------------
>> ---------------------------------------------------------------------
>> ---------------------------------------------------------------------
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: kerl usage (was Patch package OTP 21.1.1 released)

Fred Youhanaie-2
No, I just install the next version as and when I get the time. Sometimes I skip a release, if there have been multiple releases since my last installation.

Cheers,
Fred

On 13/10/18 16:17, Lloyd R. Prentice wrote:

> Big help!
>
> Do you bring a new release into kerl as soon as it’s announced? Or wait for it’s been in the field long enough to turn up bugs?
>
> Many thanks,
>
> Lloyd
>
> Sent from my iPad
>
>> On Oct 13, 2018, at 6:24 AM, Fred Youhanaie <[hidden email]> wrote:
>>
>> Hi Lloyd
>>
>> I'm not aware of a tutorial, however, perhaps the following will help.
>>
>> Using kerl is pretty straightforward. Most of the time I use the following sequence to get a new release on my laptop, using Linux+bash.
>>
>> I am assuming that you have already downloaded kerl and it is in your shell path.
>>
>>
>> # kerl keeps a list of the available releases locally, but you need to keep it up to date
>> # this will also print the updated list of the available releases
>>
>> kerl update releases
>>
>> # pick a release from the list, e.g. 21.1 is the latest release as of today
>> # choose a name for the build, e.g. r21.1 is my own convention.
>> # The below command will download and build the 21.1 release.
>> # on my laptop it takes just over 30 minutes.
>>
>> kerl build 21.1 r21.1
>>
>> # decide on a fresh location for the install, e.g. /opt/erlang-21.1
>>
>> kerl install r21.1 /opt/erlang-21.1
>>
>> # once the installation has concluded, you'll see a message similar to the one below
>> # you can use the activate/deactivate commands to switch between versions at will
>>
>> You can activate this installation running the following command:
>> . /opt/erlang-21.1/activate
>> Later on, you can leave the installation typing:
>> kerl_deactivate
>>
>> I have some extra customizations for my needs, but the above should be sufficient to get you started.
>>
>> HTH :-)
>>
>> Cheers,
>> Fred
>>
>>> On 12/10/18 22:25, [hidden email] wrote:
>>> 'Lo all,
>>> I've been programming Erlang for some four years now. But I still don't understand how to keep up with and manage releases and patch packages.
>>> I worked a bit with kerl at one point thanks to help from a kind person on the list, but I still don't understand how best to integrate kerl into my day-to-day development workflow and so I'm still writing code based on Erlang/OTP 19.
>>> Is there  anywhere in vast cyberspace  a comprehensive tutorial that covers these fundamental issues and how best to keep applications up-to-date with latest and greatest versions of Erlang?
>>> Many thanks,
>>> LRP
>>> -----Original Message-----
>>> From: "Rickard Green" <[hidden email]>
>>> Sent: Friday, October 12, 2018 12:12pm
>>> To: "[hidden email]" <[hidden email]>
>>> Subject: [erlang-questions] Patch package OTP 21.1.1 released
>>> Patch Package: OTP 21.1.1
>>> Git Tag: OTP-21.1.1
>>> Date: 2018-10-12
>>> Trouble Report Id: OTP-14297, OTP-15318, OTP-15333, OTP-15335,
>>> OTP-15337, OTP-15342, OTP-15348
>>> Seq num: ERIERL-242, ERL-689, ERL-737, ERL-738,
>>> ERL-747
>>> System: OTP
>>> Release: 21
>>> Application: compiler-7.2.6, eldap-1.2.6, erts-10.1.1,
>>> ssl-9.0.3
>>> Predecessor: OTP 21.1
>>> Check out the git tag OTP-21.1.1, and build a full OTP system
>>> including documentation. Apply one or more applications from this
>>> build as patches to your installation using the 'otp_patch_apply'
>>> tool. For information on install requirements, see descriptions for
>>> each application version below.
>>> ---------------------------------------------------------------------
>>> --- compiler-7.2.6 --------------------------------------------------
>>> ---------------------------------------------------------------------
>>> The compiler-7.2.6 application can be applied independently of other
>>> applications on a full OTP 21 installation.
>>> --- Fixed Bugs and Malfunctions ---
>>> OTP-15335 Application(s): compiler
>>> Related Id(s): ERL-689, OTP-15219
>>> In rare circumstances, the matched out tail of a binary
>>> could be the entire original binary. (There was partial
>>> correction to this problem in version 7.2.5 of the
>>> compiler application.)
>>> Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
>>> hipe-3.12, kernel-4.0, stdlib-2.5
>>> ---------------------------------------------------------------------
>>> --- eldap-1.2.6 -----------------------------------------------------
>>> ---------------------------------------------------------------------
>>> The eldap-1.2.6 application can be applied independently of other
>>> applications on a full OTP 21 installation.
>>> --- Fixed Bugs and Malfunctions ---
>>> OTP-15342 Application(s): eldap
>>> Related Id(s): ERIERL-242
>>> A race condition at close could cause the eldap client
>>> to exit with a badarg message as cause.
>>> Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
>>> kernel-3.0, ssl-5.3.4, stdlib-2.0
>>> ---------------------------------------------------------------------
>>> --- erts-10.1.1 -----------------------------------------------------
>>> ---------------------------------------------------------------------
>>> Note! The erts-10.1.1 application can *not* be applied independently
>>> of other applications on an arbitrary OTP 21 installation.
>>> On a full OTP 21 installation, also the following runtime
>>> dependency has to be satisfied:
>>> -- kernel-6.1 (first satisfied in OTP 21.1)
>>> --- Fixed Bugs and Malfunctions ---
>>> OTP-14297 Application(s): erts
>>> Related Id(s): OTP-15141
>>> A bug where the socket option 'pktoptions' caused a
>>> read of uninitialized memory has been fixed. Would
>>> cause malfunction on FreeBSD.
>>> OTP-15318 Application(s): erts
>>> Fixed a memory leak on errors when reading files.
>>> OTP-15333 Application(s): erts
>>> Related Id(s): ERL-737
>>> File access through UNC paths works again on Windows.
>>> This regression was introduced in OTP 21.
>>> Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
>>> stdlib-3.5
>>> ---------------------------------------------------------------------
>>> --- ssl-9.0.3 -------------------------------------------------------
>>> ---------------------------------------------------------------------
>>> The ssl-9.0.3 application can be applied independently of other
>>> applications on a full OTP 21 installation.
>>> --- Fixed Bugs and Malfunctions ---
>>> OTP-15337 Application(s): ssl
>>> Related Id(s): ERL-738
>>> Correct alert handling with new TLS sender process,
>>> from ssl-9.0.2. CLOSE ALERTS could under some
>>> circumstances be encoded using an incorrect cipher
>>> state. This would cause the peer to regard them as
>>> unknown messages.
>>> OTP-15348 Application(s): ssl
>>> Related Id(s): ERL-747
>>> Correct handling of socket packet option with new TLS
>>> sender process, from ssl-9.0.2. When changing the
>>> socket option {packet, 1|2|3|4} with ssl:setopts/2 the
>>> option must internally be propagated to the sender
>>> process as well as the reader process as this
>>> particular option also affects the data to be sent.
>>> Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
>>> inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
>>> ---------------------------------------------------------------------
>>> ---------------------------------------------------------------------
>>> ---------------------------------------------------------------------
>>> _______________________________________________
>>> erlang-questions mailing list
>>> [hidden email]
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>> _______________________________________________
>>> erlang-questions mailing list
>>> [hidden email]
>>> http://erlang.org/mailman/listinfo/erlang-questions
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: kerl usage (was Patch package OTP 21.1.1 released)

Boroska András
Hi!

One can also use kerl with a local git repo, thus avoiding the large
download before each build by using git fetch.

When setting the default install directory in ~/.kerlrc as
KERL_DEFAULT_INSTALL_DIR=~/myotpinst

the following will install what you wanted:

cd ~/github/otp # the git repo
git fetch
kerl build git ~/github/otp OTP-21.1.1 r21.1.1
kerl install  r21.1.1

Andras
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: kerl usage (was Patch package OTP 21.1.1 released)

Lloyd R. Prentice-2
Thanks all for useful tips.

Best wishes,

LRP

Sent from my iPad

> On Oct 13, 2018, at 3:46 PM, Boroska András <[hidden email]> wrote:
>
> Hi!
>
> One can also use kerl with a local git repo, thus avoiding the large
> download before each build by using git fetch.
>
> When setting the default install directory in ~/.kerlrc as
> KERL_DEFAULT_INSTALL_DIR=~/myotpinst
>
> the following will install what you wanted:
>
> cd ~/github/otp # the git repo
> git fetch
> kerl build git ~/github/otp OTP-21.1.1 r21.1.1
> kerl install  r21.1.1
>
> Andras
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions