[Bug 276271] lang/crystal: update to 1.13.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Sep 2024 09:08:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276271

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, distinfo
etc) is
insufficient. A compile-time error against boehm-gc (garbage collector
dependency) needs
better eyes than I:

===========================================================================
=======================<phase: build          >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for crystal-1.13.2
Using /usr/local/bin/llvm-config16 [version=16.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=c++17  
-fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
CRYSTAL_CONFIG_BUILD_COMMIT="84f389ac5424"
CRYSTAL_CONFIG_PATH=lib:/usr/local/lib/crystal SOURCE_DATE_EPOCH="1724112000" 
CRYSTAL_CONFIG_LIBRARY_PATH='$ORIGIN/../lib/crystal' ./bin/crystal build
--progress --stats --threads 1 --release --no-debug -D strict_multi_assign -D
preview_overload_order --link-flags="  -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 = stack_bottom
               ^----------
Error: undefined fun 'stackbottom=' 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 they
have
any suggestions.

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