Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 838491 Details for
Bug 883747
dev-ruby/tokyocabinet-1.32.0-r1 - tokyocabinet.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:tokyocabinet-1.32.0-r1:20221130-072059.log
dev-ruby:tokyocabinet-1.32.0-r1:20221130-072059.log (text/plain), 5.12 KB, created by
Toralf Förster
on 2022-11-30 13:34:23 UTC
(
hide
)
Description:
dev-ruby:tokyocabinet-1.32.0-r1:20221130-072059.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-30 13:34:23 UTC
Size:
5.12 KB
patch
obsolete
> * Package: dev-ruby/tokyocabinet-1.32.0-r1:0 > * 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/tokyocabinet-1.32.0-r1/work >>>> Preparing source in /var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/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/tokyocabinet-1.32.0-r1/work ... > * Running configure phase for ruby27 >setting variables ... > $CFLAGS = -I. -I/usr/include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -O2 > $LDFLAGS = -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L. -L/usr/lib64 > $libs = -ltokyocabinet -lbz2 -lz -lm -lc >checking for tcutil.h... yes >creating Makefile > * Running configure phase for ruby31 >setting variables ... > $CFLAGS = -I. -I/usr/include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -O2 > $LDFLAGS = -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L. -L/usr/lib64 > $libs = -ltokyocabinet -lbz2 -lz -lm -lc >checking for tcutil.h... yes >creating Makefile >>>> Source configured. >'/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/temp/clang16-errors.log' -> '/var/tmp/clang/dev-ruby/tokyocabinet-1.32.0-r1/clang16-errors.log' >'/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/temp/clang16-safe.log' -> '/var/tmp/clang/dev-ruby/tokyocabinet-1.32.0-r1/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/work ... > * Running compile phase for ruby27 >make -j4 V=1 -C . >make: Entering directory '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/work/ruby27/tokyocabinet-1.32.0' >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. -DHAVE_TCUTIL_H -fPIC -I. -I/usr/include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -O2 -o tokyocabinet.o -c tokyocabinet.c >tokyocabinet.c:3167:3: 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(cls_tdbqry, "proc", tdbqry_proc, 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... > ^ >1 error generated. >make: *** [Makefile:246: tokyocabinet.o] Error 1 shuffle=3797817514 >make: Leaving directory '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/work/ruby27/tokyocabinet-1.32.0' > * ERROR: dev-ruby/tokyocabinet-1.32.0-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-ruby/tokyocabinet-1.32.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/tokyocabinet-1.32.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-ruby:tokyocabinet-1.32.0-r1:20221130-072059.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/work/ruby27/tokyocabinet-1.32.0' > * S: '/var/tmp/portage/dev-ruby/tokyocabinet-1.32.0-r1/work/ruby27/tokyocabinet-1.32.0' >
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 883747
:
838489
| 838491 |
838493
|
838495
|
838497
|
838499
|
838501
|
838503