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

rubyPackages.ncursesw: 1.4.10 -> 1.4.11 #357011

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

kachick
Copy link
Member

@kachick kachick commented Nov 18, 2024

To fix build on darwin. Extracted from #356446 and #356447

ZHF: #352882
https://hydra.nixos.org/build/278936805
https://hydra.nixos.org/build/278911245

failed log
Running phase: unpackPhase
Running phase: patchPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: installPhase
buildFlags: --with-cflags=-I/nix/store/dmd31mvnbmqqjmgrd6sf519cjmmf0jl8-ncurses-6.4.20221231-dev/include --with-ldflags=-L/nix/store/skvqzr89y8bk7i2pazb1lpf2zfbnsxkc-ncurses-6.4.20221231/lib
WARNING:  You build with buildroot.
  Build root: /
  Bin dir: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/bin
  Gem home: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0
  Plugins dir: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/plugins
Building native extensions with: '--with-cflags=-I/nix/store/dmd31mvnbmqqjmgrd6sf519cjmmf0jl8-ncurses-6.4.20221231-dev/include --with-ldflags=-L/nix/store/skvqzr89y8bk7i2pazb1lpf2zfbnsxkc-ncurses-6.4.20221231/lib'
This could take a while...
ERROR:  Error installing /nix/store/yccljarsd0djrx3ybhhy6d9mzlyvjm1x-ncursesw-1.4.10.gem:
        ERROR: Failed to build gem native extension.

    current directory: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/gems/ncursesw-1.4.10
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/bin/ruby extconf.rb --with-cflags\=-I/nix/store/dmd31mvnbmqqjmgrd6sf519cjmmf0jl8-ncurses-6.4.20221231-dev/include --with-ldflags\=-L/nix/store/skvqzr89y8bk7i2pazb1lpf2zfbnsxkc-ncurses-6.4.20221231/lib
checking for pkg-config... no
checking for unistd.h... yes
checking for locale.h... yes
checking for ncursesw/curses.h... yes
checking for wmove() in -lncursesw... yes
checking for newscr()... yes
checking for TABSIZE()... yes
checking for ESCDELAY()... yes
checking for keybound()... yes
checking for curses_version()... yes
checking for tigetstr()... yes
checking for getwin()... yes
checking for putwin()... yes
checking for ungetmouse()... yes
checking for mousemask()... yes
checking for wenclose()... yes
checking for mouseinterval()... yes
checking for wmouse_trafo()... yes
checking for mcprint()... yes
checking for has_key()... yes
checking for delscreen()... yes
checking for define_key()... yes
checking for keyok()... yes
checking for resizeterm()... yes
checking for use_default_colors()... yes
checking for use_extended_names()... yes
checking for wresize()... yes
checking for attr_on()... yes
checking for attr_off()... yes
checking for attr_set()... yes
checking for chgat()... yes
checking for color_set()... yes
checking for filter()... yes
checking for intrflush()... yes
checking for mvchgat()... yes
checking for mvhline()... yes
checking for mvvline()... yes
checking for mvwchgat()... yes
checking for mvwhline()... yes
checking for mvwvline()... yes
checking for noqiflush()... yes
checking for putp()... yes
checking for qiflush()... yes
checking for scr_dump()... yes
checking for scr_init()... yes
checking for scr_restore()... yes
checking for scr_set()... yes
checking for slk_attr_off()... yes
checking for slk_attr_on()... yes
checking for slk_attr()... yes
checking for slk_attr_set()... yes
checking for slk_color()... yes
checking for tigetflag()... yes
checking for tigetnum()... yes
checking for use_env()... yes
checking for vidattr()... yes
checking for vid_attr()... yes
checking for wattr_on()... yes
checking for wattr_off()... yes
checking for wattr_set()... yes
checking for wchgat()... yes
checking for wcolor_set()... yes
checking for getattrs()... yes
checking for ncursesw (wide char) functions...
checking for wget_wch()... yes
checking for add_wch()... yes
checking for get_wch()... yes
checking which debugging functions to wrap...
checking for _tracef()... no
checking for _tracedump()... no
checking for _nc_tracebits()... no
checking for _traceattr()... no
checking for _traceattr2()... no
checking for _tracechar()... no
checking for _tracechtype()... no
checking for _tracechtype2()... no
checking for _tracemouse()... no
checking for other functions that appeared after ncurses version 5.0...
checking for assume_default_colors()... yes
checking for attr_get()... yes
checking for the panel library...
checking for panel.h... yes
checking for panel_hidden() in -lpanelw... yes
checking for the form library...
checking for form.h... yes
checking for new_form() in -lformw... yes
checking for form_driver_w() in -lformw... yes
checking for the menu library...
checking for menu.h... yes
checking for new_menu() in -lmenu... yes
checking for various ruby and standard functions..
checking for rb_thread_fd_select()... yes
checking for clock_gettime()... yes
checking for sys/time.h... yes
creating Makefile

current directory: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/gems/ncursesw-1.4.10
make DESTDIR\= sitearchdir\=./.gem.20241117-83789-i8tf83 sitelibdir\=./.gem.20241117-83789-i8tf83 clean

current directory: /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/gems/ncursesw-1.4.10
make DESTDIR\= sitearchdir\=./.gem.20241117-83789-i8tf83 sitelibdir\=./.gem.20241117-83789-i8tf83
compiling form_wrap.c
form_wrap.c:1422:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "back", field_back,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:61:3: note: expanded from macro 'RB_CLASS_METH'
  rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1422:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "back", field_back,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1424:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "fore", field_fore,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:61:3: note: expanded from macro 'RB_CLASS_METH'
  rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1424:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "fore", field_fore,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1431:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "pad", field_pad,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:61:3: note: expanded from macro 'RB_CLASS_METH'
  rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1431:3: error: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  RB_CLASS_METH(cFIELD, "pad", field_pad,1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                      ^~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                                                       ^
form_wrap.c:1373:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, current_field,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1374:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, data_ahead,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1375:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, data_behind,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1376:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, dup_field,2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1377:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, field_count,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1378:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, field_init,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1379:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFORM, NULL, field_term,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
form_wrap.c:1438:3: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  RB_CLASS_METH(cFIELD, NULL, new_page,0);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./form_wrap.h:63:5: note: expanded from macro 'RB_CLASS_METH'
    rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/gnhw9pk0kzw42bpgxca2w2mc0jdm2n32-ruby-3.3.5/include/ruby-3.3.0/ruby/internal/anyargs.h:288:150: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                               ~~~~~                 ^
8 warnings and 6 errors generated.
make: *** [Makefile:258: form_wrap.o] Error 1

make failed, exit code 2

Gem files will remain installed in /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/gems/ncursesw-1.4.10 for inspection.
Results logged to /nix/store/8riync76y9jrm2ka33af07z141liwgba-ruby3.3-ncursesw-1.4.10/lib/ruby/gems/3.3.0/extensions/x86_64-darwin-24/3.3.0/ncursesw-1.4.10/gem_make.out

Changes:

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@kachick kachick added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 18, 2024
@kachick
Copy link
Member Author

kachick commented Nov 18, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 357011


x86_64-linux

✅ 4 packages built:
  • rubyPackages.ncursesw
  • rubyPackages_3_1.ncursesw
  • rubyPackages_3_2.ncursesw
  • rubyPackages_3_4.ncursesw

x86_64-darwin

✅ 4 packages built:
  • rubyPackages.ncursesw
  • rubyPackages_3_1.ncursesw
  • rubyPackages_3_2.ncursesw
  • rubyPackages_3_4.ncursesw

aarch64-darwin

✅ 4 packages built:
  • rubyPackages.ncursesw
  • rubyPackages_3_1.ncursesw
  • rubyPackages_3_2.ncursesw
  • rubyPackages_3_4.ncursesw

@wegank
Copy link
Member

wegank commented Nov 23, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 357011


aarch64-linux

✅ 4 packages built:
  • rubyPackages.ncursesw (rubyPackages_3_3.ncursesw)
  • rubyPackages_3_1.ncursesw
  • rubyPackages_3_2.ncursesw
  • rubyPackages_3_4.ncursesw

@wegank
Copy link
Member

wegank commented Nov 23, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 357011


aarch64-darwin

✅ 4 packages built:
  • rubyPackages.ncursesw (rubyPackages_3_3.ncursesw)
  • rubyPackages_3_1.ncursesw
  • rubyPackages_3_2.ncursesw
  • rubyPackages_3_4.ncursesw

@wegank wegank merged commit ccd7474 into NixOS:master Nov 23, 2024
51 of 52 checks passed
Copy link
Contributor

Successfully created backport PR for release-24.11:

@kachick
Copy link
Member Author

kachick commented Nov 23, 2024

Thank you!

@kachick kachick deleted the fix-rubyPackages.ncursesw-on-darwin branch November 23, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 backport release-24.11 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants