< Niklaus.20210202-ruby-30-cleanup | Index | Niklaus.20210105-ruby-30 >>
Trying to run the /usr/local/src/gen_ruby_300
script, which ran fine on oddb-ci2.
Here I get the following error
<..> x86_64-linux-fake.rb updated ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp rbconfig.rb updated generating enc.mk creating verconf.h building rb_mjit_header.h ./miniruby -I./lib -I. -I.ext/common ./tool/mjit_tabs.rb "" \ gcc -std=gnu99 -E -DMJIT_HEADER -P -dD -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0 ./vm.c -o rb_mjit_header.h.new verconf.h updated compiling loadpath.c rb_mjit_header.h updated building .ext/include/x86_64-linux/rb_mjit_min_header-3.0.0.h ./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc -std=gnu99 -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable " rb_mjit_header.h .ext/include/x86_64-linux/rb_mjit_min_header-3.0.0.h linking static-library libruby-static.a sorry - this program has been built without plugin support make: *** [libruby-static.a] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... transform_mjit_header: making external definition static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_opt_cfunc_p, rb_find_defined_class_by_owner, rb_vm_rewrite_cref, rb_vm_block_ep_update, rb_vm_cref_new_toplevel,rb_vm_frame_block_handler, rb_vm_cframe_keyword_p, rb_vm_ep_local_ep transform_mjit_header: making declaration static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_rewrite_cref, rb_vm_frame_block_handler, rb_vm_block_ep_update, rb_vm_ep_local_ep transform_mjit_header: SKIPPED to transform: __sigdelset, __sigaddset, __sigismember, getlogin_r, pread64, pread, read, __strsep_3c, __strsep_2c, __strsep_1c, __strtok_r_1c, __strpbrk_c3, __strpbrk_c2, __strspn_c3, __strspn_c2, __strspn_c1, __strcspn_c3, __strcspn_c2, __strcspn_c1, bsearch, fread_unlocked, fgets_unlocked, fread, fgets, vdprintf, dprintf, vfprintf, vprintf, printf, fprintf, getline, putchar_unlocked, putc_unlocked, fputc_unlocked,putchar, getchar_unlocked, getc_unlocked, fgetc_unlocked, getchar ln -sf ../../../.ext/include/x86_64-linux/rb_mjit_min_header-3.0.0.h include/ruby-3.0.0/x86_64-linux/rb_mjit_min_header-3.0.0.h
On oddb-ci I have the following version of binutils (nm)
niklaus@oddb-ci2 ~> nm --version GNU nm (Gentoo 2.29.1 p3) 2.29.1 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.
Whereas on thinpower I have
nm --version GNU nm (GNU Binutils) 2.20.1.20100303 Copyright 2009 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.
We should upgrade to a new version of binutils on thinpower.@] Zeno installed it via emerge and eselect. Now make succeeded.
Installing some needed gem by calling sudo gem-300 install yus ycurrency rclconf
.
Updating the path for the following services
And testing each via svstat and looking at it log/main/current.
For migel the following changes were needed:
# as root cd /var/www/migel chown -R ywesee .bundle vendor/ # as ywesee cd /var/www/migel git pull https://github.com/ngiger/migel.git bundle-300 config set --local deployment true bundle-300 install
Afterward runnign migeld with exec sudo -u apache bundle-300 exec ruby-300 bin/migeld
in /service/migeld/run
ran fine.
Now updating /var/www/oddb.org via
# as yeweee cd /var/www/oddb.org git pull bundle-300 config set --local deployment true bundle-300 install
Adapting /servic/ch.oddb.org/run.
/service/ch.oddb-readonly/run
does not start, because of a problem between gem diffy and ydiffy. Must look at this after adapting the other run files. Fixed by adapting the command to exec sudo -u apache bundle-300 exec ruby-300 ext/readonly/bin/readonlyd