Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on Sonoma: error: variable argument length doesn't match #6

Open
barracuda156 opened this issue Feb 27, 2024 · 0 comments

Comments

@barracuda156
Copy link

Building native extensions. This could take a while...
ERROR:  Error installing /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/linalg-1.0.2/linalg.gem:
	ERROR: Failed to build gem native extension.

    current directory: /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/gems/linalg-1.0.2/ext/lapack
/opt/local/bin/ruby3.3 extconf.rb
checking for f2c.h... yes
checking for -lblas... yes
checking for -llapack... yes
reading include/LAPACK.h...ok
reading include/BLAS.h...ok
creating Makefile

current directory: /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/gems/linalg-1.0.2/ext/lapack
make DESTDIR\= sitearchdir\=./.gem.20240227-50024-b3vxqc sitelibdir\=./.gem.20240227-50024-b3vxqc clean
rm -f 
rm -fr lapack.bundle lapack.bundle.dSYM main.o rb_lapack_c.o rb_lapack_d.o rb_lapack_s.o rb_lapack_x.o rb_lapack_z.o *.bak mkmf.log .*.time

current directory: /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/gems/linalg-1.0.2/ext/lapack
make DESTDIR\= sitearchdir\=./.gem.20240227-50024-b3vxqc sitelibdir\=./.gem.20240227-50024-b3vxqc
/usr/bin/clang -I. -I/opt/local/include/ruby-3.3.0/arm64-darwin23 -I/opt/local/include/ruby-3.3.0/ruby/backward -I/opt/local/include/ruby-3.3.0 -I. -DHAVE_F2C_H -I/opt/local/include -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -fno-common -pipe -I/opt/local/libexec/openssl3/include -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -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 -fno-common -arch arm64 -o main.o -c main.c
/usr/bin/clang -I. -I/opt/local/include/ruby-3.3.0/arm64-darwin23 -I/opt/local/include/ruby-3.3.0/ruby/backward -I/opt/local/include/ruby-3.3.0 -I. -DHAVE_F2C_H -I/opt/local/include -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -fno-common -pipe -I/opt/local/libexec/openssl3/include -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -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 -fno-common -arch arm64 -o rb_lapack_c.o -c rb_lapack_c.c
rb_lapack_c.c:41:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "15*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:141:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "19*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17, &v18, &v19);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:180:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "12*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:212:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "12*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:245:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "13*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:285:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "19*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17, &v18, &v19);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:322:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "10*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:364:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "24*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17, &v18, &v19, &v20, &v21, &v22, &v23, &v24);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:455:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "11*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:484:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "10*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:536:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "10*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:565:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "11*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:620:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "10*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:653:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "15*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:694:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "18*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17, &v18);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:734:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "14*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:778:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "22*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17, &v18, &v19, &v20, &v21, &v22);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:825:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "17*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
rb_lapack_c.c:867:5: error: variable argument length doesn't match
    rb_scan_args(argc, argv, "17*", &v0, &v1, &v2, &v3, &v4, &v5, &v6, &v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16, &v17);
    ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:498:9: note: expanded from macro 'rb_scan_args'
        rb_scan_args0(                                        \
        ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:375:79: note: expanded from macro 'rb_scan_args0'
                     (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
                                                                              ^
/opt/local/include/ruby-3.3.0/ruby/internal/scan_args.h:393:5: note: from 'diagnose_if' attribute on 'rb_scan_args_set':
    RBIMPL_ATTR_DIAGNOSE_IF(rb_scan_args_count(fmt) != varc, "variable argument length doesn't match", "error")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/ruby-3.3.0/ruby/internal/attr/diagnose_if.h:35:20: note: expanded from macro 'RBIMPL_ATTR_DIAGNOSE_IF'
    __attribute__((__diagnose_if__(_, __, ___))) \
                   ^               ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [rb_lapack_c.o] Error 1

make failed, exit code 2

Gem files will remain installed in /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/gems/linalg-1.0.2 for inspection.
Results logged to /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/extensions/arm64-darwin-23/3.3.0/linalg-1.0.2/gem_make.out
Command failed:  cd "/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/linalg-1.0.2" && /opt/local/bin/gem3.3 install --local --force --install-dir /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_ruby_rb-linalg/rb33-linalg/work/linalg-1.0.2/linalg.gem 
Exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant