数週間前から、Discourseフォーラムソフトウェアを再構築できなくなりました。
毎回、このBundlerエラーが発生します。
rbtrace (0.5.1) のインストール中にエラーが発生し、Bundler は続行できません。
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 541 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deployment true'", "su discourse -c 'bundle config --local without \"development test\"'", "su discourse -c 'bundle install --retry 3 --jobs 4'"]}
bootstrap failed with exit code 5
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
dfd1d73cc65b60ab8b8963ad9bdb005500322808bf8766cf90c07c91d3dea615ype or paste code here
この参照を使用して成功しました。
opened 02:46PM - 23 Feb 15 UTC
closed 06:59PM - 11 Mar 15 UTC
C-API Compatibility
Mac OSX
Rubinius 2.5.2
```
Gem::Ext::BuildError: ERROR: Failed to build gem nat… ive extension.
/Users/brandonfish/.rvm/rubies/rbx-2.5.2/bin/rbx -r ./siteconf20150223-13034-n6eqo6.rb extconf.rb
-- tar zxvf msgpack-0.5.7.tar.gz
-- ./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=/Users/brandonfish/Documents/discourse/vendor/bundle/rbx/2.1/gems/rbtrace-0.4.7/ext/dst/ --libdir=/Users/brandonfish/Documents/discourse/vendor/bundle/rbx/2.1/gems/rbtrace-0.4.7/ext/dst/lib
-- make install
checking for main() in -lmsgpackc_ext... yes
checking for msgpack.h... yes
checking for rb_during_gc() in ruby.h... no
checking for rb_gc_add_event_hook() in ruby.h,node.h... no
checking for rb_postponed_job_register_one() in ruby.h... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling rbtrace.c
rbtrace.c:263:7: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types]
&rbtracer.mqo_addr, rbtracer.mqo_len
^~~~~~~~~~~~~~~~~~
/usr/include/sys/socket.h:577:31: note: passing argument to parameter here
int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS_C(sendto);
^
rbtrace.c:310:12: error: unknown type name 'rb_event_flag_t'
event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE klass)
^
rbtrace.c:329:5: warning: implicit declaration of function 'rb_frame_method_id_and_class' is invalid in C99 [-Wimplicit-function-declaration]
rb_frame_method_id_and_class(&_mid, &_klass);
^
rbtrace.c:340:15: warning: implicit declaration of function 'RBASIC' is invalid in C99 [-Wimplicit-function-declaration]
klass = RBASIC_CLASS(klass);
^
rbtrace.c:43:28: note: expanded from macro 'RBASIC_CLASS'
#define RBASIC_CLASS(obj) (RBASIC(obj)->klass)
^
rbtrace.c:340:15: error: member reference type 'int' is not a pointer
klass = RBASIC_CLASS(klass);
^~~~~~~~~~~~~~~~~~~
rbtrace.c:43:41: note: expanded from macro 'RBASIC_CLASS'
#define RBASIC_CLASS(obj) (RBASIC(obj)->klass)
~~~~~~~~~~~ ^
rbtrace.c:343:17: warning: implicit declaration of function 'FL_TEST' is invalid in C99 [-Wimplicit-function-declaration]
singleton = FL_TEST(klass, FL_SINGLETON);
^
rbtrace.c:343:32: error: use of undeclared identifier 'FL_SINGLETON'
singleton = FL_TEST(klass, FL_SINGLETON);
^
rbtrace.c:443:18: error: use of undeclared identifier 'RUBY_EVENT_RETURN'
event == RUBY_EVENT_RETURN ? "slow" : "cslow",
^
rbtrace.c:528:5: warning: implicit declaration of function 'rb_add_event_hook' is invalid in C99 [-Wimplicit-function-declaration]
rb_add_event_hook(
^
rbtrace.c:544:5: warning: implicit declaration of function 'rb_remove_event_hook' is invalid in C99 [-Wimplicit-function-declaration]
rb_remove_event_hook(event_hook);
^
rbtrace.c:700:16: warning: implicit declaration of function 'rb_eval_string_protect' is invalid in C99 [-Wimplicit-function-declaration]
self = rb_eval_string_protect(query, 0);
^
7 warnings and 4 errors generated.
make: *** [rbtrace.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/brandonfish/Documents/discourse/vendor/bundle/rbx/2.1/gems/rbtrace-0.4.7 for inspection.
Results logged to /Users/brandonfish/Documents/discourse/vendor/bundle/rbx/2.1/extensions/x86_64-darwin-14/2.1/rbtrace-0.4.7/gem_make.out
An error occurred while installing rbtrace (0.4.7), and Bundler cannot continue.
Make sure that `gem install rbtrace -v '0.4.7'` succeeds before bundling.
```
Building native extensions with: '--with-cflags=-Wno-implicit-function-declaration'
This could take a while...
Successfully installed rbtrace-0.5.1
Parsing documentation for rbtrace-0.5.1
Done installing documentation for rbtrace after 0 seconds
1 gem installed
しかし、失敗し続けています。
An error occurred while installing rbtrace (0.5.1), and Bundler cannot continue.
何か提案はありますか?
それとも、すべてを新しいディレクトリ構造で最初からDiscourseを再構築し、すべての管理スクリプトなどを変更する必要があるのでしょうか。
本日も同様の報告があったかと思います(別の報告も参照されていますが、新しいドロップレット以外に解決策が見つかったかは不明です) - Rebuild failed - FAILED TO BOOTSTRAP - #4 by Firepup650
dylanb
(Dylan Burkhardt)
2023 年 12 月 28 日午後 1:38
3
私も同じエラーが発生しており、インストールが機能しなくなっているようです。修正するにはどうすればよいでしょうか。
Falco
(Falco)
2023 年 12 月 28 日午後 2:50
4
@dylanb @Victor_Berridge OS、カーネル、OSのバージョンは何ですか?
Richie
(Richie Rich)
2023 年 12 月 31 日午後 6:35
5
ここ数週間、これらの失敗がかなり多く見られます。参考までに、さらに2つ挙げます。
Hello Community! I’m sorry we have to meet under these circumstances. Discourse is offline after a failed upgrade.
Same story as.
Discourse offline after failed upgrade "bootstrap failed with exit code 5"
Attempted to upgrade to v3.2.0.beta3
I’m still on Ubuntu 16.04.
I DO have the previous docker images fortunately (I hope), but I’m not sure what to do to restore services. Also using DigitalOcean.
Error
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse …
Hi everyone,
My Discourse is currently offline
It failed after trying to upgrade this morning from/to v3.2.0.beta3 +468:
On the command line, the error message is:
And the full console log:
root@greyarro:~# cd /var/discourse/
root@greyarro:/var/discourse# git pull
Already up to date.
root@greyarro:/var/discourse# ./launcher rebuild app
x86_64 arch detected.
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.…
さらに3つです。
Been a while since this forum was updated, getting this message after a git pull and rebuild:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 502 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deploy…
Hi Everyone,
I’m stuck with a Discourse update issue. The rebuild command fails, and I can’t complete the update. It’s related to the bundle install step…
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 6677 exit 5>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deplo…
I’ve got a rebuild that’s failing, I think due to this. It’s running Ubuntu 16.04 with Docker version 17.05.0-ce, build 89658be, which I know is suspect, but I wanted to give this person one more rebuild if at all possible.
I, [2023-12-06T16:10:12.656984 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.0/…
さらに、このトピックを含めると、簡単な検索で見つけたもので6つになります。
これらの最近失敗しているインスタンスに共通点があるか、誰か気づいた人はいますか?
0xDBFB7
(Daniel Correia)
2024 年 1 月 6 日午後 8:08
6
残念ながら、私もこの問題に遭遇しました。
I, [2024-01-06T19:38:58.925098 #1] INFO -- : cd /var/www/discourse & su discourse -c 'bundle install --retry 3 --jobs 4'
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext
/usr/local/bin/ruby extconf.rb
-- tar zxvfo msgpack-1.1.0.tar.gz
-- env CFLAGS=nil LDFLAGS=nil CC=nil
-- ./configure --disable-dependency-tracking --disable-shared --with-pic
--prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/
--libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
extconf.rb:6:in `sys': ./configure --disable-dependency-tracking
--disable-shared --with-pic
--prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/
--libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib
failed, please report to https://github.com/tmm1/rbtrace/issues (RuntimeError)
from extconf.rb:42:in `block (2 levels) in <main>'
from extconf.rb:34:in `chdir'
from extconf.rb:34:in `block in <main>'
from extconf.rb:30:in `chdir'
from extconf.rb:30:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
/var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1 for inspection.
Results logged to
/var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/gem_make.out
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:28:in
`build'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in
`build_extension'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block in
build_extensions'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in
`build_extensions'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in
`build_extensions'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/rubygems_gem_installer.rb:72:in
`build_extensions'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/source/rubygems.rb:198:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/installer/parallel_installer.rb:156:in
`do_install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/installer/parallel_installer.rb:147:in
`block in worker_pool'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/worker.rb:62:in
`apply_func'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/worker.rb:57:in
`block in process_queue'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/worker.rb:54:in
`loop'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/worker.rb:54:in
`process_queue'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'
An error occurred while installing rbtrace (0.5.1), and Bundler cannot continue.
In Gemfile:
rbtrace
I, [2024-01-06T19:39:23.286237 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
sudo lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
docker -v
Docker version 19.03.14, build 5eb3275d40
docker_discourse を新規にクローンし(コミット fcce1376043adeb09e21ec1ec079a41e4d29fe6e)、app.yaml と shared/ をコピーして rebuild を実行しましたが、同じ問題が発生しました。
0xDBFB7
(Daniel Correia)
2024 年 1 月 7 日午前 4:27
8
アドバイスありがとうございます。良いアイデアですね。
Richie
(Richie Rich)
2024 年 1 月 7 日午前 11:50
9
誰かいますか…?
これらのDiscourseインスタンスがすべて同時に失敗し始めた原因として、最近何か重要な変更があったのでしょうか?
Falco
(Falco)
2024 年 1 月 7 日午後 9:32
10
今のところ、唯一のリンクは非常に古いOS/カーネルです。
Falco
(Falco)
2024 年 1 月 7 日午後 10:27
12
一時的な依存関係、おそらくrbtraceに関連するものが原因であると思われます。
Ubuntu 20.04.6 LTSでこの障害が発生しています
uname: Linux ip-172-31-31-14 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
アップグレードに失敗したもう一人のユーザーです(残念ながらサイトがダウンしています)。ごく最近、おそらく2ヶ月以内の比較的最近のバージョンの Discourse を使用していました。
長年、.launcher rebuild app でアップグレードの失敗は通常解決していましたが、今回はそうではないようです…
実行中のバージョン: Ubuntu 16.04.3 LTS および Docker version 18.02.0-ce, build fc4de44
OS のコンポーネント/モジュールをアップグレードすると、この問題が解決する可能性がありますか?
エラーログ:
virtual-dom@2.1.1 ✔
完了しました 48.10秒.
完了しました 85.47秒.
yarn cache v1.22.19
キャッシュをクリアしました。
完了しました 6.37秒.
I, [2024-01-11T13:44:59.521334 #1] INFO -- : > cd /var/www/discourse & su discourse -c 'bundle config --local deployment true'
I, [2024-01-11T13:44:59.761056 #1] INFO -- :
I, [2024-01-11T13:44:59.761185 #1] INFO -- : > cd /var/www/discourse & su discourse -c 'bundle config --local without "development test"'
I, [2024-01-11T13:44:59.917657 #1] INFO -- : 現在のローカル値 'without' を置き換えています。現在は "test:development" です。
I, [2024-01-11T13:44:59.917780 #1] INFO -- : > cd /var/www/discourse & su discourse -c 'bundle install --retry 3 --jobs 4'
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext
/usr/local/bin/ruby extconf.rb
-- tar zxvfo msgpack-1.1.0.tar.gz
-- env CFLAGS=nil LDFLAGS=nil CC=nil
-- ./configure --disable-dependency-tracking --disable-shared --with-pic
--prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/
--libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib
*** extconf.rb failed ***
必要なライブラリやヘッダーが不足しているため、Makefile を作成できませんでした。詳細は mkmf.log ファイルを確認してください。設定オプションが必要な場合があります。
提供された設定オプション:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
extconf.rb:6:in `sys': ./configure --disable-dependency-tracking
--disable-shared --with-pic
--prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/
--libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib
failed, please report to https://github.com/tmm1/rbtrace/issues (RuntimeError)
from extconf.rb:42:in `block (2 levels) in <main>'
from extconf.rb:34:in `chdir'
from extconf.rb:34:in `block in <main>'
from extconf.rb:30:in `chdir'
from extconf.rb:30:in `<main>'
この拡張機能のコンパイルが失敗した理由を確認するには、mkmf.log ファイルを確認してください。
場所: /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log
extconf failed, exit code 1
Gem ファイルは /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1 に検査用に残ります。
結果は /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/gem_make.out に記録されました。
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:28:in
`build'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in
`build_extension'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block in
build_extensions'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in
`build_extensions'
/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in
`build_extensions'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/rubygems_gem_installer.rb:76:in
`build_extensions'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/source/rubygems.rb:205:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/installer/parallel_installer.rb:132:in
`do_install'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/installer/parallel_installer.rb:123:in
`block in worker_pool'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/worker.rb:62:in
`apply_func'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/worker.rb:57:in
`block in process_queue'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/worker.rb:54:in
`loop'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/worker.rb:54:in
`process_queue'
/usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.5.3/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'
rbtrace (0.5.1) のインストール中にエラーが発生し、Bundler は続行できません。
Gemfile:
rbtrace
I, [2024-01-11T13:45:11.634256 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
Fetching cbor 0.5.9.8
Fetching excon 0.109.0
Fetching abbrev 0.1.2
Fetching fastimage 2.3.0
Installing abbrev 0.1.2
Installing fastimage 2.3.0
Installing excon 0.109.0
Fetching google-protobuf 3.25.2 (x86_64-linux)
Fetching regexp_parser 2.9.0
Installing cbor 0.5.9.8 with native extensions
Installing regexp_parser 2.9.0
Fetching nokogiri 1.16.0 (x86_64-linux)
Fetching rack-protection 3.2.0
Installing rack-protection 3.2.0
Installing google-protobuf 3.25.2 (x86_64-linux)
Fetching net-http 0.4.1
Installing net-http 0.4.1
Fetching highline 3.0.0
Fetching activesupport 7.0.8
Installing highline 3.0.0
Installing activesupport 7.0.8
Fetching puma 6.4.2
Installing puma 6.4.2 with native extensions
Fetching rbtrace 0.5.1
Installing rbtrace 0.5.1 with native extensions
Installing nokogiri 1.16.0 (x86_64-linux)
Fetching tzinfo-data 1.2023.4
Installing tzinfo-data 1.2023.4
Fetching net-imap 0.4.9.1
Installing net-imap 0.4.9.1
Fetching net-smtp 0.4.0.1
Installing net-smtp 0.4.0.1
Fetching sass-embedded 1.69.7 (x86_64-linux-gnu)
Fetching faraday-net_http 3.1.0
Installing faraday-net_http 3.1.0
Fetching activemodel 7.0.8
Installing activemodel 7.0.8
Fetching faraday 2.9.0
Installing faraday 2.9.0
Fetching activejob 7.0.8
Installing activejob 7.0.8
Fetching activerecord 7.0.8
Installing activerecord 7.0.8
Fetching sassc-embedded 1.69.1
Installing sassc-embedded 1.69.1
Fetching actionview 7.0.8
Installing actionview 7.0.8
Fetching actionpack 7.0.8
Installing actionpack 7.0.8
Fetching railties 7.0.8
Fetching actionmailer 7.0.8
Installing actionmailer 7.0.8
Installing railties 7.0.8
I, [2024-01-11T13:45:11.634921 #1] INFO -- : Terminating async processes
I, [2024-01-11T13:45:11.635026 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 40
2024-01-11 13:45:11.635 UTC [40] LOG: received fast shutdown request
I, [2024-01-11T13:45:11.635144 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 109
2024-01-11 13:45:11.636 UTC [40] LOG: aborting any active transactions
109:signal-handler (1704980711) Received SIGTERM scheduling shutdown...
2024-01-11 13:45:11.641 UTC [40] LOG: background worker "logical replication launcher" (PID 49) exited with exit code 1
2024-01-11 13:45:11.642 UTC [44] LOG: shutting down
2024-01-11 13:45:11.666 UTC [40] LOG: database system is shut down
109:M 11 Jan 2024 13:45:11.740 # User requested shutdown...
109:M 11 Jan 2024 13:45:11.740 * Saving the final RDB snapshot before exiting.
109:M 11 Jan 2024 13:45:11.811 * DB saved on disk
109:M 11 Jan 2024 13:45:11.811 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 518 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deployment true'", "su discourse -c 'bundle config --local without \"development test\"'", "su discourse -c 'bundle install --retry 3 --jobs 4'"]}
bootstrap failed with exit code 5
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
21aaca59c3b38b78c089cd38f7be10da5c7ea8e91e305db490ba99c8622460c2
このログの内容が役立つかわかりませんが、ログの内容を知りたいです。
cd /var/discourse
./launcher enter app
cat /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log
そして、その内容をここにコピー&ペーストできますか?
アップデートにエラーが発生しました
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
修正にご協力ください。
root@discuss-app:/var/www/discourse# cat /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.4.14/mkmf.log
msgpack をビルド中
LD_LIBRARY_PATH=.:/usr/local/lib "tar zxvfo msgpack-1.1.0.tar.gz"
msgpack-1.1.0/
msgpack-1.1.0/test/
msgpack-1.1.0/test/pack_unpack.cpp
msgpack-1.1.0/test/cases.cpp
msgpack-1.1.0/test/buffer.cpp
msgpack-1.1.0/test/CMakeLists.txt
msgpack-1.1.0/test/streaming.cpp
msgpack-1.1.0/test/msgpack_vref.cpp
msgpack-1.1.0/test/object.cpp
msgpack-1.1.0/test/fixint_c.cpp
msgpack-1.1.0/test/msgpack_stream.cpp
msgpack-1.1.0/test/msgpack_container.cpp
msgpack-1.1.0/test/fixint.cpp
msgpack-1.1.0/test/reference.cpp
msgpack-1.1.0/test/msgpack_basic.cpp
msgpack-1.1.0/test/Makefile.in
msgpack-1.1.0/test/cases.mpac
msgpack-1.1.0/test/pack_unpack_c.cpp
msgpack-1.1.0/test/zone.cpp
msgpack-1.1.0/test/msgpack_cpp11.cpp
msgpack-1.1.0/test/msgpack_tuple.cpp
msgpack-1.1.0/test/object_with_zone.cpp
msgpack-1.1.0/test/convert.cpp
msgpack-1.1.0/test/cases_compact.mpac
msgpack-1.1.0/test/reference_cpp11.cpp
msgpack-1.1.0/test/Makefile.am
msgpack-1.1.0/test/iterator_cpp11.cpp
msgpack-1.1.0/test/msgpack_c.cpp
msgpack-1.1.0/test/streaming_c.cpp
msgpack-1.1.0/test/version.cpp
msgpack-1.1.0/test/limit.cpp
msgpack-1.1.0/include/
msgpack-1.1.0/include/msgpack/
msgpack-1.1.0/include/msgpack/vrefbuffer.hpp
msgpack-1.1.0/include/msgpack/fbuffer.h
msgpack-1.1.0/include/msgpack/object_fwd.hpp
msgpack-1.1.0/include/msgpack/unpack_define.h
msgpack-1.1.0/include/msgpack/detail/
msgpack-1.1.0/include/msgpack/detail/cpp03_zone.hpp
msgpack-1.1.0/include/msgpack/detail/cpp11_zone.hpp
msgpack-1.1.0/include/msgpack/version_master.h
msgpack-1.1.0/include/msgpack/zone.h
msgpack-1.1.0/include/msgpack/unpack_template.h
msgpack-1.1.0/include/msgpack/iterator.hpp
msgpack-1.1.0/include/msgpack/fbuffer.hpp
msgpack-1.1.0/include/msgpack/unpack.hpp
msgpack-1.1.0/include/msgpack/zbuffer.h
msgpack-1.1.0/include/msgpack/object.h
msgpack-1.1.0/include/msgpack/gcc_atomic.h
msgpack-1.1.0/include/msgpack/unpack.h
msgpack-1.1.0/include/msgpack/pack_define.h
msgpack-1.1.0/include/msgpack/pack.hpp
msgpack-1.1.0/include/msgpack/adaptor/
msgpack-1.1.0/include/msgpack/adaptor/set.hpp
msgpack-1.1.0/include/msgpack/adaptor/raw.hpp
msgpack-1.1.0/include/msgpack/adaptor/detail/
msgpack-1.1.0/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp
msgpack-1.1.0/include/msgpack/adaptor/detail/cpp11_define.hpp
msgpack-1.1.0/include/msgpack/adaptor/detail/cpp03_define.hpp
msgpack-1.1.0/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp
msgpack-1.1.0/include/msgpack/adaptor/fixint.hpp
msgpack-1.1.0/include/msgpack/adaptor/string.hpp
msgpack-1.1.0/include/msgpack/adaptor/vector_bool.hpp
msgpack-1.1.0/include/msgpack/adaptor/define.hpp
msgpack-1.1.0/include/msgpack/adaptor/vector.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/
msgpack-1.1.0/include/msgpack/adaptor/cpp11/tuple.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/array_char.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/unordered_map.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/forward_list.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/array.hpp
msgpack-1.1.0/include/msgpack/adaptor/cpp11/unordered_set.hpp
msgpack-1.1.0/include/msgpack/adaptor/vector_char.hpp
msgpack-1.1.0/include/msgpack/adaptor/list.hpp
msgpack-1.1.0/include/msgpack/adaptor/float.hpp
msgpack-1.1.0/include/msgpack/adaptor/adaptor_base.hpp
msgpack-1.1.0/include/msgpack/adaptor/int.hpp
msgpack-1.1.0/include/msgpack/adaptor/deque.hpp
msgpack-1.1.0/include/msgpack/adaptor/map.hpp
msgpack-1.1.0/include/msgpack/adaptor/check_container_size.hpp
msgpack-1.1.0/include/msgpack/adaptor/pair.hpp
msgpack-1.1.0/include/msgpack/adaptor/msgpack_tuple.hpp
msgpack-1.1.0/include/msgpack/adaptor/bool.hpp
msgpack-1.1.0/include/msgpack/adaptor/nil.hpp
msgpack-1.1.0/include/msgpack/adaptor/char_ptr.hpp
msgpack-1.1.0/include/msgpack/adaptor/tr1/
msgpack-1.1.0/include/msgpack/adaptor/tr1/unordered_map.hpp
msgpack-1.1.0/include/msgpack/adaptor/tr1/unordered_set.hpp
msgpack-1.1.0/include/msgpack/pack_template.h
msgpack-1.1.0/include/msgpack/sbuffer.h
msgpack-1.1.0/include/msgpack/sbuffer.hpp
msgpack-1.1.0/include/msgpack/type.hpp
msgpack-1.1.0/include/msgpack/zone.hpp
msgpack-1.1.0/include/msgpack/versioning.hpp
msgpack-1.1.0/include/msgpack/pack.h
msgpack-1.1.0/include/msgpack/vrefbuffer.h
msgpack-1.1.0/include/msgpack/zbuffer.hpp
msgpack-1.1.0/include/msgpack/cpp_config.hpp
msgpack-1.1.0/include/msgpack/sysdep.h
msgpack-1.1.0/include/msgpack/version.h
msgpack-1.1.0/include/msgpack/util.h
msgpack-1.1.0/include/msgpack/object.hpp
msgpack-1.1.0/include/msgpack/version.hpp
msgpack-1.1.0/include/msgpack.h
msgpack-1.1.0/include/msgpack.hpp
msgpack-1.1.0/CMakeLists.txt
msgpack-1.1.0/erb/
msgpack-1.1.0/erb/cpp03_define.hpp.erb
msgpack-1.1.0/erb/cpp03_msgpack_tuple.hpp.erb
msgpack-1.1.0/erb/cpp03_zone.hpp.erb
msgpack-1.1.0/NOTICE
msgpack-1.1.0/msgpack.pc.in
msgpack-1.1.0/AUTHORS
msgpack-1.1.0/LICENSE
msgpack-1.1.0/configure.in
msgpack-1.1.0/msgpack_vc8.sln
msgpack-1.1.0/config.h.in
msgpack-1.1.0/Makefile.in
msgpack-1.1.0/configure
msgpack-1.1.0/msgpack_vc8.vcproj
msgpack-1.1.0/README.md
msgpack-1.1.0/ac/
msgpack-1.1.0/ac/compile
msgpack-1.1.0/ac/config.sub
msgpack-1.1.0/ac/config.guess
msgpack-1.1.0/ac/missing
msgpack-1.1.0/ac/test-driver
msgpack-1.1.0/ac/ltmain.sh
msgpack-1.1.0/ac/install-sh
msgpack-1.1.0/ac/depcomp
msgpack-1.1.0/INSTALL
msgpack-1.1.0/Makefile.am
msgpack-1.1.0/aclocal.m4
msgpack-1.1.0/ChangeLog
msgpack-1.1.0/NEWS
msgpack-1.1.0/src/
msgpack-1.1.0/src/zone.c
msgpack-1.1.0/src/objectc.c
msgpack-1.1.0/src/unpack.c
msgpack-1.1.0/src/Makefile.in
msgpack-1.1.0/src/vrefbuffer.c
msgpack-1.1.0/src/version.c
msgpack-1.1.0/src/Makefile.am
msgpack-1.1.0/COPYING
msgpack-1.1.0/README
msgpack-1.1.0/msgpack_vc.postbuild.bat
LD_LIBRARY_PATH=.:/usr/local/lib "./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/ --libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib"
BSD互換のinstallを検索中... /usr/bin/install -c
ビルド環境が健全か確認中... はい
スレッドセーフなmkdir -pを検索中... /bin/mkdir -p
gawkを検索中... gawk
makeが$(MAKE)を設定するか確認中... はい
makeがネストされた変数をサポートするか確認中... はい
gccを検索中... gcc
Cコンパイラが動作するか確認中... はい
Cコンパイラのデフォルトの出力ファイル名を確認中... a.out
実行ファイルの接尾辞を確認中...
クロスコンパイル中か確認中... いいえ
オブジェクトファイルの接尾辞を確認中... o
GNU Cコンパイラを使用しているか確認中... はい
gccが-gを受け入れるか確認中... はい
ISO C89を受け入れるためのgccオプションを確認中... なし
gccが-cと-oを同時に理解するか確認中... はい
makeで使用されるincludeのスタイルを確認中... GNU
gccの依存関係スタイルを確認中... なし
C++ APIが有効か確認中...
g++を検索中... g++
GNU C++コンパイラを使用しているか確認中... はい
g++が-gを受け入れるか確認中... はい
g++の依存関係スタイルを確認中... なし
ビルドシステムタイプを確認中... x86_64-unknown-linux-gnu
ホストシステムタイプを確認中... x86_64-unknown-linux-gnu
文字列の出力方法を確認中... printf
出力を切り捨てないsedを検索中... /bin/sed
長い行と-eを処理するgrepを検索中... /bin/grep
egrepを検索中... /bin/grep -E
fgrepを検索中... /bin/grep -F
gccで使用されるldを検索中... /usr/bin/ld
リンカー(/usr/bin/ld)がGNU ldか確認中... はい
BSDまたはMS互換の名前列挙器(nm)を検索中... /usr/bin/nm -B
名前列挙器(/usr/bin/nm -B)のインターフェースを確認中... BSD nm
ln -sが動作するか確認中... はい
コマンドライン引数の最大長を確認中... 3145728
x86_64-unknown-linux-gnuファイル名をx86_64-unknown-linux-gnu形式に変換する方法を確認中... func_convert_file_noop
x86_64-unknown-linux-gnuファイル名をツールチェーン形式に変換する方法を確認中... func_convert_file_noop
オブジェクトファイルを再ロードするための/usr/bin/ldオプションを確認中... -r
objdumpを検索中... objdump
依存ライブラリを認識する方法を確認中... pass_all
dlltoolを検索中... なし
ランタイムとリンクライブラリを関連付ける方法を確認中... printf %s\n
arを検索中... ar
archiverの@FILEサポートを確認中... @
stripを検索中... strip
ranlibを検索中... ranlib
gccオブジェクトからの/usr/bin/nm -B出力を解析するコマンドを確認中... ok
sysrootを確認中... なし
動作するddを検索中... /bin/dd
バイナリパイプを切り詰める方法を確認中... /bin/dd bs=4096 count=1
mtを検索中... なし
:がマニフェストツールか確認中... いいえ
Cプリプロセッサを実行する方法を確認中... gcc -E
ANSI Cヘッダーファイルを確認中... はい
sys/types.hを確認中... はい
sys/stat.hを確認中... はい
stdlib.hを確認中... はい
string.hを確認中... はい
memory.hを確認中... はい
strings.hを確認中... はい
inttypes.hを確認中... はい
stdint.hを確認中... はい
unistd.hを確認中... はい
dlfcn.hを確認中... はい
objdirを確認中... .libs
gccが-fno-rtti -fno-exceptionsをサポートするか確認中... いいえ
PICを生成するためのgccオプションを確認中... -fPIC -DPIC
gccのPICフラグ-fPIC -DPICが動作するか確認中... はい
gccのstaticフラグ-staticが動作するか確認中... はい
gccが-c -o file.oをサポートするか確認中... はい
gccが-c -o file.oをサポートするか確認中... (キャッシュ済み) はい
gccリンカー(/usr/bin/ld -m elf_x86_64)が共有ライブラリをサポートするか確認中... はい
ダイナミックリンカーの特性を確認中... GNU/Linux ld.so
プログラムにライブラリパスをハードコードする方法を確認中... immediate
ライブラリのストライピングが可能か確認中... はい
libtoolが共有ライブラリをサポートするか確認中... はい
共有ライブラリをビルドするか確認中... いいえ
静的ライブラリをビルドするか確認中... はい
C++プリプロセッサを実行する方法を確認中... g++ -E
g++で使用されるldを確認中... /usr/bin/ld -m elf_x86_64
リンカー(/usr/bin/ld -m elf_x86_64)がGNU ldか確認中... はい
g++リンカー(/usr/bin/ld -m elf_x86_64)が共有ライブラリをサポートするか確認中... はい
PICを生成するためのg++オプションを確認中... -fPIC -DPIC
g++のPICフラグ-fPIC -DPICが動作するか確認中... はい
g++のstaticフラグ-staticが動作するか確認中... はい
g++が-c -o file.oをサポートするか確認中... はい
g++が-c -o file.oをサポートするか確認中... (キャッシュ済み) はい
g++リンカー(/usr/bin/ld -m elf_x86_64)が共有ライブラリをサポートするか確認中... はい
ダイナミックリンカーの特性を確認中... (キャッシュ済み) GNU/Linux ld.so
プログラムにライブラリパスをハードコードする方法を確認中... immediate
gccの依存関係スタイルを確認中... なし
デバッグオプションが有効か確認中...
__sync_*アトミック操作を確認中... はい
生成されたファイルがconfigureより新しいか確認中... 完了
configure: ./config.statusを作成中
config.status: Makefileを作成中
config.status: msgpack.pcを作成中
config.status: src/Makefileを作成中
config.status: test/Makefileを作成中
config.status: config.hを作成中
config.status: depfilesコマンドを実行中
config.status: libtoolコマンドを実行中
LD_LIBRARY_PATH=.:/usr/local/lib "make install"
srcでinstallを実行中
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src' に入ります
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c -o unpack.lo unpack.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c unpack.c -fPIC -DPIC -o unpack.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c -o objectc.lo objectc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c objectc.c -fPIC -DPIC -o objectc.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c -o version.lo version.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c version.c -fPIC -DPIC -o version.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c -o vrefbuffer.lo vrefbuffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c vrefbuffer.c -fPIC -DPIC -o vrefbuffer.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c -o zone.lo zone.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -Wall -g -c zone.c -fPIC -DPIC -o zone.o
/bin/bash ../libtool --tag=CC --mode=link gcc -O3 -Wall -g -version-info 4:0:0 -no-undefined -o libmsgpack.la -rpath /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib unpack.lo objectc.lo version.lo vrefbuffer.lo zone.lo
libtool: link: ar cru .libs/libmsgpack.a unpack.o objectc.o version.o vrefbuffer.o zone.o
ar: `u'修飾子は`D'がデフォルトのため無視されます(「U」を参照)
libtool: link: ranlib .libs/libmsgpack.a
libtool: link: ( cd ".libs" && rm -f "libmsgpack.la" && ln -s "../libmsgpack.la" "libmsgpack.la" )
/bin/bash ../libtool --tag=CC --mode=link gcc -O3 -Wall -g -version-info 2:0:0 -no-undefined -o libmsgpackc.la -rpath /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib unpack.lo objectc.lo version.lo vrefbuffer.lo zone.lo
libtool: link: ar cru .libs/libmsgpackc.a unpack.o objectc.o version.o vrefbuffer.o zone.o
ar: `u'修飾子は`D'がデフォルトのため無視されます(「U」を参照)
libtool: link: ranlib .libs/libmsgpackc.a
libtool: link: ( cd ".libs" && rm -f "libmsgpackc.la" && ln -s "../libmsgpackc.la" "libmsgpackc.la" )
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src' に入ります
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libmsgpack.la libmsgpackc.la '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib'
libtool: install: /usr/bin/install -c .libs/libmsgpack.lai /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpack.la
libtool: install: /usr/bin/install -c .libs/libmsgpackc.lai /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpackc.la
libtool: install: /usr/bin/install -c .libs/libmsgpack.a /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpack.a
libtool: install: chmod 644 /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpack.a
libtool: install: ranlib /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpack.a
libtool: install: /usr/bin/install -c .libs/libmsgpackc.a /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpackc.a
libtool: install: chmod 644 /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpackc.a
libtool: install: ranlib /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/libmsgpackc.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib
----------------------------------------------------------------------
ライブラリは以下にインストールされました:
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib
特定のディレクトリLIBDIRにインストールされたライブラリをリンクしたい場合は、
libtoolを使用しライブラリのフルパス名を指定するか、
リンク時に'-LLIBDIR'フラグを使用し、以下のいずれかを実行する必要があります:
- 実行時に環境変数'LD_LIBRARY_PATH'にLIBDIRを追加する
- リンク時に環境変数'LD_RUN_PATH'にLIBDIRを追加する
- リンカーフラグ'-Wl,-rpath -Wl,LIBDIR'を使用する
- システム管理者に'/etc/ld.so.conf'にLIBDIRを追加させる
共有ライブラリに関する詳細は、ld(1)およびld.so(8)のマニュアルページなど、
各オペレーティングシステムのドキュメントを参照してください。
----------------------------------------------------------------------
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/cpp11'
/usr/bin/install -c -m 644 ../include/msgpack/adaptor/cpp11/array.hpp ../include/msgpack/adaptor/cpp11/array_char.hpp ../include/msgpack/adaptor/cpp11/forward_list.hpp ../include/msgpack/adaptor/cpp11/tuple.hpp ../include/msgpack/adaptor/cpp11/unordered_map.hpp ../include/msgpack/adaptor/cpp11/unordered_set.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/cpp11'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack'
/usr/bin/install -c -m 644 ../include/msgpack/pack_define.h ../include/msgpack/pack_template.h ../include/msgpack/unpack_define.h ../include/msgpack/unpack_template.h ../include/msgpack/util.h ../include/msgpack/sysdep.h ../include/msgpack/gcc_atomic.h ../include/msgpack/sbuffer.h ../include/msgpack/version.h ../include/msgpack/version_master.h ../include/msgpack/vrefbuffer.h ../include/msgpack/zbuffer.h ../include/msgpack/fbuffer.h ../include/msgpack/pack.h ../include/msgpack/unpack.h ../include/msgpack/object.h ../include/msgpack/zone.h ../include/msgpack/cpp_config.hpp ../include/msgpack/fbuffer.hpp ../include/msgpack/iterator.hpp ../include/msgpack/object.hpp ../include/msgpack/object_fwd.hpp ../include/msgpack/pack.hpp ../include/msgpack/sbuffer.hpp ../include/msgpack/type.hpp ../include/msgpack/unpack.hpp ../include/msgpack/version.hpp ../include/msgpack/versioning.hpp ../include/msgpack/vrefbuffer.hpp ../include/msgpack/zbuffer.hpp ../include/msgpack/zone.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/tr1'
/usr/bin/install -c -m 644 ../include/msgpack/adaptor/tr1/unordered_map.hpp ../include/msgpack/adaptor/tr1/unordered_set.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/tr1'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/detail'
/usr/bin/install -c -m 644 ../include/msgpack/detail/cpp03_zone.hpp ../include/msgpack/detail/cpp11_zone.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/detail'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/detail'
/usr/bin/install -c -m 644 ../include/msgpack/adaptor/detail/cpp03_define.hpp ../include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp ../include/msgpack/adaptor/detail/cpp11_define.hpp ../include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor/detail'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include'
/usr/bin/install -c -m 644 ../include/msgpack.h ../include/msgpack.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include'
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor'
/usr/bin/install -c -m 644 ../include/msgpack/adaptor/adaptor_base.hpp ../include/msgpack/adaptor/bool.hpp ../include/msgpack/adaptor/char_ptr.hpp ../include/msgpack/adaptor/check_container_size.hpp ../include/msgpack/adaptor/define.hpp ../include/msgpack/adaptor/deque.hpp ../include/msgpack/adaptor/fixint.hpp ../include/msgpack/adaptor/float.hpp ../include/msgpack/adaptor/int.hpp ../include/msgpack/adaptor/list.hpp ../include/msgpack/adaptor/map.hpp ../include/msgpack/adaptor/msgpack_tuple.hpp ../include/msgpack/adaptor/nil.hpp ../include/msgpack/adaptor/pair.hpp ../include/msgpack/adaptor/raw.hpp ../include/msgpack/adaptor/set.hpp ../include/msgpack/adaptor/string.hpp ../include/msgpack/adaptor/vector.hpp ../include/msgpack/adaptor/vector_bool.hpp ../include/msgpack/adaptor/vector_char.hpp '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include/../include/msgpack/adaptor'
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src' を離れます
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src' を離れます
testでinstallを実行中
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test' に入ります
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test' に入ります
make[2]: 'install-exec-am' に行うべきことはありません。
make[2]: 'install-data-am' に行うべきことはありません。
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test' を離れます
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test' を離れます
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0' に入ります
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0' に入ります
make[2]: 'install-exec-am' に行うべきことはありません。
/bin/mkdir -p '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/pkgconfig'
/usr/bin/install -c -m 644 msgpack.pc '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib/pkgconfig'
make[2]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0' を離れます
make[1]: ディレクトリ '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0' を離れます
have_library: -lmsgpackc_ext をチェック中... -------------------- はい
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -I/usr/local/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -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 -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
確認されたプログラムは:
/* 開始 */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return !!argv[argc];
6: }
/* 終了 */
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -I/usr/local/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -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 -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext -lm -lpthread -lc"
確認されたプログラムは:
/* 開始 */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: int (* volatile tp)(void)=(int (*)(void))&t;
9: printf("%d", (*tp)());
10: }
11:
12: return !!argv[argc];
13: }
14:
15: int t(void) { ; return 0; }
/* 終了 */
--------------------
have_header: msgpack.h をチェック中... -------------------- はい
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -I/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/include -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -I/usr/local/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -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 -Wundef -fPIC -c conftest.c"
確認されたプログラムは:
/* 開始 */
1: #include "ruby.h"
2:
3: #include <msgpack.h>
/* 終了 */
-------------------アップデート中にエラーが発生しました
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
修正にご協力ください。
最新のベータ版またはテスト済みビルドを機能させるには、少なくとも Ubuntu Jammy (22 LTS) が必要だと思います。
16.x は 古すぎます
なるほど、わかりました。バックアップを復元して新しいドロップレットにクリーンインストールするのが良いと思いますが、それを試す前に、現在のOSをアップグレードするのはリスクが高いですか?
それとも、かなり簡単ですか(おそらくChatGPT4に手伝ってもらいます)そして、その後アップデートは正常に機能しますか?
他のコメントで、新しいインスタンスを構築している人がいることに気づきましたが、彼らの状況はわかりません。私のインスタンスはほとんど標準的なものです。
merefield
(Robert)
2024 年 1 月 11 日午後 10:46
19
インプレースアップグレードを試す価値はあると思いますが、実行する前にバックアップを取ってください。
とはいえ、クリーンインストールに移行する良い口実にもなります。
もしかしたら、移行の方が実際には早いかもしれませんよ?