Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 836857 Details for
Bug 883111
dev-ruby/curses-1.4.4 - curses.c: error: incompatible function pointer types passing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ruby:curses-1.4.4:20221126-011109.log
dev-ruby:curses-1.4.4:20221126-011109.log (text/plain), 14.16 KB, created by
Toralf Förster
on 2022-11-26 10:17:58 UTC
(
hide
)
Description:
dev-ruby:curses-1.4.4:20221126-011109.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-26 10:17:58 UTC
Size:
14.16 KB
patch
obsolete
> * Package: dev-ruby/curses-1.4.4:1 > * Repository: gentoo > * Maintainer: ruby@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 ruby_targets_ruby31 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... > * Running unpack phase for all > * Unpacking .gem file... > * Uncompressing metadata > * Unpacking data.tar.gz >>>> Source unpacked in /var/tmp/portage/dev-ruby/curses-1.4.4/work >>>> Preparing source in /var/tmp/portage/dev-ruby/curses-1.4.4/work ... > * Running prepare phase for all > * Running prepare phase for all > * Running source copy phase for ruby27 > * Running source copy phase for ruby31 >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! > * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/dev-ruby/curses-1.4.4/work ... > * Running configure phase for ruby27 >checking for tgetent() in -ltinfow... yes >checking for ncursesw/curses.h... yes >checking for initscr() in -lncursesw... yes >header: ncursesw/curses.h >library: ncursesw >checking for beep()... yes >checking for bkgd()... yes >checking for bkgdset()... yes >checking for curs_set()... yes >checking for deleteln()... yes >checking for doupdate()... yes >checking for flash()... yes >checking for getbkgd()... yes >checking for getnstr()... yes >checking for init()... no >checking for init in ncursesw/curses.h... no >checking for isendwin()... yes >checking for keyname()... yes >checking for keypad()... yes >checking for resizeterm()... yes >checking for scrl()... yes >checking for set()... no >checking for set in ncursesw/curses.h... no >checking for setscrreg()... yes >checking for ungetch()... yes >checking for addnwstr()... yes >checking for wattroff()... yes >checking for wattron()... yes >checking for wattrset()... yes >checking for wbkgd()... yes >checking for wbkgdset()... yes >checking for wdeleteln()... yes >checking for wgetnstr()... yes >checking for wresize()... yes >checking for wscrl()... yes >checking for wsetscrreg()... yes >checking for werase()... yes >checking for redrawwin()... yes >checking for waddnwstr()... yes >checking for mvderwin()... yes >checking for derwin()... yes >checking for touchwin()... yes >checking for untouchwin()... yes >checking for wtouchln()... yes >checking for is_linetouched()... yes >checking for is_wintouched()... yes >checking for def_prog_mode()... yes >checking for reset_prog_mode()... yes >checking for timeout()... yes >checking for wtimeout()... yes >checking for nodelay()... yes >checking for init_color()... yes >checking for wcolor_set()... yes >checking for use_default_colors()... yes >checking for assume_default_colors()... yes >checking for newpad()... yes >checking for unget_wch()... yes >checking for get_wch()... yes >checking for wget_wch()... yes >checking for PDC_get_key_modifiers()... no >checking for PDC_get_key_modifiers in ncursesw/curses.h... no >checking for convertible type of chtype... unsigned int >checking for _XOPEN_SOURCE_EXTENDED... yes >checking for ESCDELAY in ncursesw/curses.h... yes >checking for TABSIZE in ncursesw/curses.h... yes >checking for COLORS in ncursesw/curses.h... yes >checking for COLOR_PAIRS in ncursesw/curses.h... yes >checking for function curses_version in ncursesw/curses.h... yes >checking for variable curses_version in ncursesw/curses.h... no >checking for ncursesw/menu.h... yes >checking for new_menu() in -lmenuw... yes >checking for ncursesw/form.h... yes >checking for new_form() in -lformw... yes >checking for form_driver_w()... yes >checking for sizeof(WINDOW) is available... yes >checking for sizeof(MEVENT) is available... yes >checking for sizeof(ITEM) is available... yes >checking for sizeof(MENU) is available... yes >checking for sizeof(FIELD) is available... yes >checking for sizeof(FORM) is available... yes >creating extconf.h >creating Makefile > * Running configure phase for ruby31 >checking for tgetent() in -ltinfow... yes >checking for ncursesw/curses.h... yes >checking for initscr() in -lncursesw... yes >header: ncursesw/curses.h >library: ncursesw >checking for beep()... yes >checking for bkgd()... yes >checking for bkgdset()... yes >checking for curs_set()... yes >checking for deleteln()... yes >checking for doupdate()... yes >checking for flash()... yes >checking for getbkgd()... yes >checking for getnstr()... yes >checking for init()... no >checking for init in ncursesw/curses.h... no >checking for isendwin()... yes >checking for keyname()... yes >checking for keypad()... yes >checking for resizeterm()... yes >checking for scrl()... yes >checking for set()... no >checking for set in ncursesw/curses.h... no >checking for setscrreg()... yes >checking for ungetch()... yes >checking for addnwstr()... yes >checking for wattroff()... yes >checking for wattron()... yes >checking for wattrset()... yes >checking for wbkgd()... yes >checking for wbkgdset()... yes >checking for wdeleteln()... yes >checking for wgetnstr()... yes >checking for wresize()... yes >checking for wscrl()... yes >checking for wsetscrreg()... yes >checking for werase()... yes >checking for redrawwin()... yes >checking for waddnwstr()... yes >checking for mvderwin()... yes >checking for derwin()... yes >checking for touchwin()... yes >checking for untouchwin()... yes >checking for wtouchln()... yes >checking for is_linetouched()... yes >checking for is_wintouched()... yes >checking for def_prog_mode()... yes >checking for reset_prog_mode()... yes >checking for timeout()... yes >checking for wtimeout()... yes >checking for nodelay()... yes >checking for init_color()... yes >checking for wcolor_set()... yes >checking for use_default_colors()... yes >checking for assume_default_colors()... yes >checking for newpad()... yes >checking for unget_wch()... yes >checking for get_wch()... yes >checking for wget_wch()... yes >checking for PDC_get_key_modifiers()... no >checking for PDC_get_key_modifiers in ncursesw/curses.h... no >checking for convertible type of chtype... unsigned int >checking for _XOPEN_SOURCE_EXTENDED... yes >checking for ESCDELAY in ncursesw/curses.h... yes >checking for TABSIZE in ncursesw/curses.h... yes >checking for COLORS in ncursesw/curses.h... yes >checking for COLOR_PAIRS in ncursesw/curses.h... yes >checking for function curses_version in ncursesw/curses.h... yes >checking for variable curses_version in ncursesw/curses.h... no >checking for ncursesw/menu.h... yes >checking for new_menu() in -lmenuw... yes >checking for ncursesw/form.h... yes >checking for new_form() in -lformw... yes >checking for form_driver_w()... yes >checking for sizeof(WINDOW) is available... yes >checking for sizeof(MEVENT) is available... yes >checking for sizeof(ITEM) is available... yes >checking for sizeof(MENU) is available... yes >checking for sizeof(FIELD) is available... yes >checking for sizeof(FORM) is available... yes >creating extconf.h >creating Makefile >>>> Source configured. >'/var/tmp/portage/dev-ruby/curses-1.4.4/temp/clang16-errors.log' -> '/var/tmp/clang/dev-ruby/curses-1.4.4/clang16-errors.log' >'/var/tmp/portage/dev-ruby/curses-1.4.4/temp/clang16-safe.log' -> '/var/tmp/clang/dev-ruby/curses-1.4.4/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/dev-ruby/curses-1.4.4/work ... > * Running compile phase for ruby27 >make -j4 V=1 -C ext/curses >make: Entering directory '/var/tmp/portage/dev-ruby/curses-1.4.4/work/ruby27/curses-1.4.4/ext/curses' >clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o curses.o -c curses.c >curses.c:5103:5: error: incompatible function pointer types passing > 'VALUE (VALUE, VALUE)' > (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type > 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') > [-Werror,-Wincompatible-function-pointer-types] > rb_define_method(cItem, "opts", item_opts_m, 0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro > 'rb_define_method' > ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... > ^~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter > 'func' here >RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... >^ >/usr/include/ruby-2.7.0/ruby/intern.h:1073:42: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL' >RB_METHOD_DEFINITION_DECL_CXX_BEGIN(def) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ >RB_METHOD_DEFINITION_DECL_1' > RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL_C' > ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... > ^ >curses.c:5124:5: error: incompatible function pointer types passing > 'VALUE (VALUE, VALUE)' > (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type > 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') > [-Werror,-Wincompatible-function-pointer-types] > rb_define_method(cMenu, "fore", menu_get_fore, 0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro > 'rb_define_method' > ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... > ^~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter > 'func' here >RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... >^ >/usr/include/ruby-2.7.0/ruby/intern.h:1073:42: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL' >RB_METHOD_DEFINITION_DECL_CXX_BEGIN(def) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ >RB_METHOD_DEFINITION_DECL_1' > RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL_C' > ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... > ^ >curses.c:5126:5: error: incompatible function pointer types passing > 'VALUE (VALUE, VALUE)' > (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type > 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') > [-Werror,-Wincompatible-function-pointer-types] > rb_define_method(cMenu, "back", menu_get_back, 0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro > 'rb_define_method' > ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... > ^~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter > 'func' here >RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... >^ >/usr/include/ruby-2.7.0/ruby/intern.h:1073:42: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL' >RB_METHOD_DEFINITION_DECL_CXX_BEGIN(def) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ >RB_METHOD_DEFINITION_DECL_1' > RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL_C' > ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... > ^ >curses.c:5130:5: error: incompatible function pointer types passing > 'VALUE (VALUE, VALUE)' > (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type > 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') > [-Werror,-Wincompatible-function-pointer-types] > rb_define_method(cMenu, "opts", menu_opts_m, 0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2801:117: note: expanded from macro > 'rb_define_method' > ...rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func)... > ^~~~~~ >/usr/include/ruby-2.7.0/ruby/ruby.h:2777:1: note: passing argument to parameter > 'func' here >RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const c... >^ >/usr/include/ruby-2.7.0/ruby/intern.h:1073:42: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL' >RB_METHOD_DEFINITION_DECL_CXX_BEGIN(def) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ >RB_METHOD_DEFINITION_DECL_1' > RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ > ^ >/usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro > 'RB_METHOD_DEFINITION_DECL_C' > ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... > ^ >4 errors generated. >make: *** [Makefile:246: curses.o] Error 1 shuffle=2697571193 >make: Leaving directory '/var/tmp/portage/dev-ruby/curses-1.4.4/work/ruby27/curses-1.4.4/ext/curses' > * ERROR: dev-ruby/curses-1.4.4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-ruby/curses-1.4.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/curses-1.4.4::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-ruby:curses-1.4.4:20221126-011109.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/curses-1.4.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/curses-1.4.4/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ruby/curses-1.4.4/work/ruby27/curses-1.4.4' > * S: '/var/tmp/portage/dev-ruby/curses-1.4.4/work/ruby27/curses-1.4.4' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 883111
:
836855
| 836857 |
836859
|
836861
|
836863
|
836865
|
836867
|
836869