Discourse Build Error: “An error occurred while installing rbtrace (0.5.1), and Bundler cannot continue

For the past few weeks or so, we cannot rebuild our Discourse forum software.

Each time, we get this Bundler error:

occurred while installing rbtrace (0.5.1), and Bundler cannot continue.

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

With success using this reference:

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

But it keeps failing

An error occurred while installing rbtrace (0.5.1), and Bundler cannot continue.

Any suggestion?
Or are we doomed, and need to rebuild Discourse from scratch in an entire new directory structure and change all our admin scripts, etc.

I think there’s also been another report of that today (with a reference to another as well), though I’m not sure a solution has been found yet other than a new droplet - Rebuild failed - FAILED TO BOOTSTRAP - #4 by Firepup650

1 Like

I am having this same error and it seems to have zonked my install. Any idea what to do to fix?

@dylanb @Victor_Berridge what is your OS, kernel and OS version?

I’m seeing quite a few of these failing in the last few weeks, here’s another two for reference:

And three others:

Plus this actual topic, makes six that I found with just a quick search.

Can anyone spot a commonality with all of these recently-failing instances? :thinking:

I also seem to have run into this issue, unfortunately.

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

Tried cloning docker_discourse anew (commit fcce1376043adeb09e21ec1ec079a41e4d29fe6e), copying over app.yaml and shared/ and running rebuild. Same issue.

Debian 9 has been superseded by Debian 10 (“buster”). Security updates have been discontinued as of July 6th, 2020.

You may want to take your backup and migrate to a new server running a current OS version.

Thanks for the advice - that’s a good idea.

Anyone…? :thinking: :person_shrugging:

Something important must have changed recently to cause all of these Discourse instances to suddenly start failing at the same time?

So far the only link is very old OS/Kernel.

That seems to be the common denominator, but why?

Did something change in Ruby recently? :thinking: :person_shrugging:

It appears that a transitory dependence , probably around rbtrace, is the cause.

I’ve this failure with 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

1 Like

So I’m another one with a failed upgrade (site is down unfortunatley). I was on a fairly recent version of Discourse, maybe just a couple months old at most.

Over the years .launcher rebuild app would usually fix failed upgrades, I guess not this time…

Im running: Ubuntu 16.04.3 LTS and Docker version 18.02.0-ce, build fc4de44

Would upgrading components/modules in the OS possibly fix this?

Error Log:

virtual-dom@2.1.1 ✔
Done in 48.10s.
Done in 85.47s.
yarn cache v1.22.19
success Cleared cache.
Done in 6.37s.

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 -- : You are replacing the current local value of without, which is currently "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 ***
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.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'

An error occurred while installing rbtrace (0.5.1), and Bundler cannot continue.

In 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 sass-embedded 1.69.7 (x86_64-linux-gnu)
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

I don’t know if it will be useful, but I’m wondering what this log’s content is.

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

And see if you can copy-paste the content here.

So when I tried cat /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log

I got:

cat: /var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log: No such file or directory

So I ran root@discuss-app:/var/www/discourse# find / -type f -name "mkmf.log" 2>/dev/null | grep "/"

and got this is one of the results. (I didnt see the 0.5.1 version though.)

/var/www/discourse/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.4.14/mkmf.log

The contents of which are as follows:

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
Building 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"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking if C++ API is enabled... 
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3145728
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of gcc... none
checking if debug option is enabled... 
checking for __sync_* atomic operations... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating msgpack.pc
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
LD_LIBRARY_PATH=.:/usr/local/lib "make install"
Making install in src
make[1]: Entering directory '/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' modifier ignored since `D' is the default (see `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' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libmsgpackc.a
libtool: link: ( cd ".libs" && rm -f "libmsgpackc.la" && ln -s "../libmsgpackc.la" "libmsgpackc.la" )
make[2]: Entering directory '/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
----------------------------------------------------------------------
Libraries have been installed in:
   /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/dst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /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]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src'
make[1]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/src'
Making install in test
make[1]: Entering directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test'
make[2]: Entering directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test'
make[1]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0/test'
make[1]: Entering directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0'
make[2]: Entering directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0'
make[2]: Nothing to be done for '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]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0'
make[1]: Leaving directory '/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.4.14/ext/src/msgpack-1.1.0'
have_library: checking for -lmsgpackc_ext... -------------------- yes

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"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

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"
checked program was:
/* begin */
 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; }
/* end */

--------------------

have_header: checking for msgpack.h... -------------------- yes

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"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <msgpack.h>
/* end */

--------------------

have_func: checking for rb_during_gc() in ruby.h... -------------------- yes

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    -lmsgpackc_ext  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext  -lm -lpthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_during_gc; return !p; }
/* end */

--------------------

have_func: checking for rb_gc_add_event_hook() in ruby.h,node.h... -------------------- no

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    -lmsgpackc_ext  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext  -lm -lpthread  -lc"
conftest.c:4:10: fatal error: node.h: No such file or directory
    4 | #include <node.h>
      |          ^~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: #include <node.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_gc_add_event_hook; return !p; }
/* end */

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    -lmsgpackc_ext  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext  -lm -lpthread  -lc"
conftest.c:4:10: fatal error: node.h: No such file or directory
    4 | #include <node.h>
      |          ^~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: #include <node.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: extern void rb_gc_add_event_hook();
18: int t(void) { rb_gc_add_event_hook(); return 0; }
/* end */

--------------------

have_func: checking for rb_postponed_job_register_one() in ruby.h... -------------------- yes

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    -lmsgpackc_ext  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext  -lm -lpthread  -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘rb_postponed_job_register_one’ undeclared (first use in this function)
   16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_postponed_job_register_one; return !p; }
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_postponed_job_register_one; return !p; }
/* end */

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    -lmsgpackc_ext  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lmsgpackc_ext  -lm -lpthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void rb_postponed_job_register_one();
17: int t(void) { rb_postponed_job_register_one(); return 0; }
/* end */

--------------------

Any insight or advice is very appreciated.

Edit: and if it helps with context I just tried making a backup and folder names are all “messed” up for a lack of a better term.

Output file is in: /var/www/discourse/public/backups/default/the-example-forum-2024-01-11-143136-v20231024034031.tar.gz

root@discuss-app:/var/www/discourse# find / -type f -name "the-example-forum-2024-01-11-143136-v20231024034031.tar.gz" 2>/dev/null | grep "/"
/shared/backups/default/the-example-forum-2024-01-11-143136-v20231024034031.tar.gz
root@discuss-app:/var/www/discourse# 

Edit 2: I have no idea how this happened but Im back and running on version 3.1.0.beta5 - I did run the backup command earlier (from cli), does that retore the instance to a previous state?

Im not complaining but I do see this bar on top now.

Is my Ubuntu version out of date for the latest version of Discourse? (Ubuntu 16.04.3 LTS)

Any suggestions on what I should do before trying to update again would be appreciated.

You need to be on at least Ubuntu Jammy (22 LTS) for the latest beta or tests-passed build to now work I believe.

16.x is ancient :sweat_smile:

1 Like

aha I see , I guess a fresh install on a new droplet with restoring a backup but before I try that is upgrading the current OS risky business?

Or is it pretty straight forward (Ill probably use ChatGPT4 to help) and the update will work fine afterwards?

I noticed other comments where people build new instances but dont know their situation, my instance is pretty much stock.

An in place upgrade is worth a try I guess but back up before you do.

That said it’s a good excuse to migrate to a fresh install.

You might find that migration is actually quicker?

2 Likes

Including migrating the data in the database?