Project

General

Profile

Actions

Bug #20734

closed

Test failure at FreeBSD 14.1

Added by hsbt (Hiroshi SHIBATA) 2 months ago. Updated 2 months ago.

Status:
Closed
Target version:
-
[ruby-core:119160]

Description

FreeBSD 14.1 build is also failure with ruby master. This is different error from #20733

[hsbt@freebsd ~/ruby]$ make
        BASERUBY = /usr/local/bin/ruby --disable=gems
        CC = clang
        LD = ld
        LDSHARED = clang -shared
        CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef
        XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/amd64-freebsd14.1 -I./include -I. -I./prism -I./enc/unicode/15.0.0
        CPPFLAGS =
        DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,showflags -fstack-protector-strong -pie
        SOLIBS = -lexecinfo -lprocstat -lz -lrt -lrt -ldl -lcrypt -lm -lthr
        LANG = C.UTF-8
        LC_ALL =
        LC_CTYPE =
        MFLAGS =
        RUSTC = rustc
        YJIT_RUSTC_ARGS = --crate-name=yjit  --crate-type=staticlib  --edition=2021  -g  -C lto=thin  -C opt-level=3  -C overflow-checks=on  '--out-dir=/home/hsbt/ruby/yjit/target/release/'  ./yjit/src/lib.rs
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
Target: x86_64-unknown-freebsd14.1
Thread model: posix
InstalledDir: /usr/bin
compiling version.c
In file included from version.c:14:
./version.h:29:5: error: invalid suffix 'RUBY_RELEASE_MONTH' on integer constant
   29 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH)
      |     ^
./version.h:25:27: note: expanded from macro 'ONLY_ONE_DIGIT'
   25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000
      |                           ^
./include/ruby/internal/config.h:37:26: note: expanded from macro 'TOKEN_PASTE'
   37 | #define TOKEN_PASTE(x,y) x##y
      |                          ^
<scratch space>:156:3: note: expanded from here
  156 | 10RUBY_RELEASE_MONTH
      |   ^
In file included from version.c:14:
./version.h:34:5: error: invalid suffix 'RUBY_RELEASE_DAY' on integer constant
   34 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY)
      |     ^
./version.h:25:27: note: expanded from macro 'ONLY_ONE_DIGIT'
   25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000
      |                           ^
./include/ruby/internal/config.h:37:26: note: expanded from macro 'TOKEN_PASTE'
   37 | #define TOKEN_PASTE(x,y) x##y
      |                          ^
<scratch space>:157:3: note: expanded from here
  157 | 10RUBY_RELEASE_DAY
      |   ^
2 errors generated.
*** Error code 1

Stop.
make: stopped in /home/hsbt/ruby

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #20590: Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo`ClosedActions
Actions

Also available in: Atom PDF

Like0
Like1Like0Like0Like0