Bug 251760

Summary: erlang program doesn't pass guard sequence checks
Product: Ports & Packages Reporter: Lari Sihto <lari.sihto>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
simple test program to test erlang guard sequences none

Description Lari Sihto 2020-12-11 16:28:26 UTC
Created attachment 220460 [details]
simple test program to test erlang guard sequences

I can't get erlang guard sequences to work right. Maybe I'm just missing something or I've run across a bug. Could someone please test this if it affects someone else besides me? Using FreeBSD 12.2-stable and installed erlang through 'pkg install'.

$ erlc quardseq.erl 

$ erl -noshell -s guardseq.erl start -s init stop
{"init terminating in do_boot",{undef,[{'guardseq.erl',start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{guardseq.erl,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

this program should pass the guard sequence test but doesn't.
Comment 1 Lari Sihto 2020-12-11 16:52:00 UTC
$ pkg info erlang
Name           : erlang
Version        :,4
Installed on   : Fri Dec 11 01:34:52 2020 EET
Origin         : lang/erlang
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : java lang parallel
Licenses       : APACHE20
Maintainer     : erlang@FreeBSD.org
WWW            : https://www.erlang.org/
Comment        : Functional programming language from Ericsson
Options        :
        CORBA          : on
        DIRTY          : on
        DTRACE         : on
        FOP            : off
        HIPE           : on
        JAVA           : off
        KQUEUE         : on
        MANPAGES       : on
        NATIVE         : off
        ODBC           : off
        OPENSSL        : on
        PDF            : off
        SCTP           : on
        THREADS        : on
        WX             : off
Annotations    :
        FreeBSD_version: 1202502
        icon           : http://www.pcbsd.org/appcafe/icons/lang_erlang.png
Flat size      : 93.0MiB
Description    :
Erlang is a programming language used to build massively scalable soft
real-time systems with requirements on high availability. Some of its
uses are in telecoms, banking, e-commerce, computer telephony and
instant messaging. Erlang's runtime system has built-in support for
concurrency, distribution and fault tolerance.

WWW: https://www.erlang.org/