Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2024 09:08:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276271] lang/crystal: update to 1.13.2
Message-ID:  <bug-276271-7788-9aCrxEcv2J@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276271-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276271-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276271

Dave Cottlehuber <dch@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dch@freebsd.org

--- Comment #3 from Dave Cottlehuber <dch@freebsd.org> ---
I had a short look at this, the trivial portbump (update DISTVERSION, disti=
nfo
etc) is
insufficient. A compile-time error against boehm-gc (garbage collector
dependency) needs
better eyes than I:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes USER=3Droot =
UID=3D0 GID=3D0
=3D=3D=3D>  Building for crystal-1.13.2
Using /usr/local/bin/llvm-config16 [version=3D16.0.6]c++ -c -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing    -o src/llvm/ext/llvm_ext.o
src/llvm/ext/llvm_ext.cc -I/usr/local/llvm16/include -std=3Dc++17=20=20
-fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
CRYSTAL_CONFIG_BUILD_COMMIT=3D"84f389ac5424"
CRYSTAL_CONFIG_PATH=3Dlib:/usr/local/lib/crystal SOURCE_DATE_EPOCH=3D"17241=
12000"=20
CRYSTAL_CONFIG_LIBRARY_PATH=3D'$ORIGIN/../lib/crystal' ./bin/crystal build
--progress --stats --threads 1 --release --no-debug -D strict_multi_assign =
-D
preview_overload_order --link-flags=3D"  -fstack-protector-strong "  -o
.build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib -D
use_pcre2
Using compiled compiler at .build/crystal
[1/13] Parse
Parse:                             00:00:00.000029265 (   1.08MB)
[1/13] Parse
[2/13] Semantic (top level)
Semantic (top level):              00:00:00.422623703 ( 186.00MB)
[2/13] Semantic (top level)
[3/13] Semantic (new)
Semantic (new):                    00:00:00.002523794 ( 186.00MB)
[3/13] Semantic (new)
[4/13] Semantic (type declarations)
Semantic (type declarations):      00:00:00.051350170 ( 202.00MB)
[4/13] Semantic (type declarations)
[5/13] Semantic (abstract def check)
Semantic (abstract def check):     00:00:00.083600182 ( 210.00MB)
[5/13] Semantic (abstract def check)
[6/13] Semantic (restrictions augmenter)
Semantic (restrictions augmenter): 00:00:00.018897988 ( 210.00MB)
Showing last frame. Use --error-trace for full trace.

There was a problem expanding macro 'macro_35918929520'

Code in src/gc/boehm.cr:387:3

 387 | {% if flag?(:preview_mt) %}
       ^
Called macro defined in src/gc/boehm.cr:387:3

 387 | {% if flag?(:preview_mt) %}

Which expanded to:

 > 2 | # support for legacy gc releases
 > 3 | def self.set_stackbottom(stack_bottom : Void*)
 > 4 |   LibGC.stackbottom =3D stack_bottom
               ^----------
Error: undefined fun 'stackbottom=3D' for LibGC
[6/13] Semantic (restrictions augmenter)
[7/13] Semantic (ivars initializers)
gmake: *** [Makefile:227: .build/crystal] Error 1
*** Error code 1

Stop.

Mohamed you might want to open a bug upstream at crystal-lang and see if th=
ey
have
any suggestions.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276271-7788-9aCrxEcv2J>