Error de compilación de Discourse: "Ocurrió un error al instalar rbtrace (0.5.1) y Bundler no puede continuar

Durante las últimas semanas, no hemos podido reconstruir nuestro software de foro de Discourse.

Cada vez, obtenemos este error de Bundler:

ocurrió al instalar rbtrace (0.5.1), y Bundler no puede continuar.

FALLIDO
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' falló con el retorno #<Process::Status: pid 541 exit 5>
Ubicación del fallo: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec falló con los parámetros {"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'"]}
falló el arranque con el código de salida 5
** FALLÓ EL ARRANQUE ** por favor, desplázate hacia arriba y busca mensajes de error anteriores, puede haber más de uno.
./discourse-doctor puede ayudar a diagnosticar el problema.
dfd1d73cc65b60ab8b8963ad9bdb005500322808bf8766cf90c07d91d3dea615escribe o pega el código aquí

Con éxito usando esta referencia:

Compilando extensiones nativas con: '--with-cflags=-Wno-implicit-function-declaration'
Esto podría tardar un tiempo...
rbtrace-0.5.1 instalado correctamente
Analizando la documentación de rbtrace-0.5.1
Documentación instalada para rbtrace después de 0 segundos
1 gema instalada

Pero sigue fallando

Ocurrió un error al instalar rbtrace (0.5.1), y Bundler no puede continuar.

¿Alguna sugerencia?
¿O estamos condenados y necesitamos reconstruir Discourse desde cero en una estructura de directorios completamente nueva y cambiar todos nuestros scripts de administración, etc.?

Creo que hoy también ha habido otro informe de eso (con referencia a otro más), aunque no estoy seguro de que se haya encontrado una solución todavía aparte de una nueva instancia (droplet) - Rebuild failed - FAILED TO BOOTSTRAP - #4 by Firepup650

1 me gusta

Tengo este mismo error y parece que ha dañado mi instalación. ¿Alguna idea de qué hacer para solucionarlo?

@dylanb @Victor_Berridge ¿cuál es tu sistema operativo, kernel y versión del sistema operativo?

He estado viendo bastantes de estos fallando en las últimas semanas, aquí hay otros dos como referencia:

Y otros tres:

Además de este tema actual, son seis los que encontré con una búsqueda rápida.

¿Alguien puede detectar algo en común con todas estas instancias que fallan recientemente? :thinking:

Lamentablemente, también me he encontrado con este problema.

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

Intenté clonar docker_discourse de nuevo (commit fcce1376043adeb09e21ec1ec079a41e4d29fe6e), copiando app.yaml y shared/ y ejecutando rebuild. Mismo problema.

Debian 9 ha sido reemplazado por Debian 10 (“buster”). Las actualizaciones de seguridad se han descontinuado a partir del 6 de julio de 2020.

Es posible que desee hacer una copia de seguridad y migrar a un nuevo servidor que ejecute una versión actual del sistema operativo.

Gracias por el consejo, es una buena idea.

¿Alguien…? :thinking: :person_shrugging:

¿Algo importante debe haber cambiado recientemente para que todas estas instancias de Discourse comiencen a fallar al mismo tiempo?

Hasta ahora, el único enlace es un SO/Kernel muy antiguo.

Ese parece ser el denominador común, pero ¿por qué?

¿Ha cambiado algo en Ruby recientemente? :thinking: :person_shrugging:

Parece que una dependencia transitoria, probablemente alrededor de rbtrace, es la causa.

Tengo este error con 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 me gusta

Soy otro más con una actualización fallida (el sitio está caído, lamentablemente). Estaba en una versión bastante reciente de Discourse, quizás de hace solo un par de meses como máximo.

A lo largo de los años, .launcher rebuild app solía solucionar las actualizaciones fallidas, supongo que esta vez no…

Estoy ejecutando: Ubuntu 16.04.3 LTS y Docker versión 18.02.0-ce, build fc4de44

¿Podría una actualización de componentes/módulos en el sistema operativo solucionar esto?

Registro de errores:

virtual-dom@2.1.1 ✔
Completado en 48.10s.
Completado en 85.47s.
yarn cache v1.22.19
Caché limpiada con éxito.
Completado en 6.37s.

I, [2024-01-11T13:44:59.521334 #1]  INFO -- : 
> cd /var/www/discourse &amp;&amp; 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 &amp;&amp; su discourse -c 'bundle config --local without "development test"'
I, [2024-01-11T13:44:59.917657 #1]  INFO -- : Estás reemplazando el valor local actual de without, que actualmente es "test:development"

I, [2024-01-11T13:44:59.917780 #1]  INFO -- : 
> cd /var/www/discourse &amp;&amp; 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 ***
No se pudo crear Makefile por alguna razón, probablemente por falta de las bibliotecas y/o cabeceras necesarias. Consulta el archivo mkmf.log para obtener más detalles. Es posible que necesites opciones de configuración.

Opciones de configuración proporcionadas:
	--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
falló, por favor repórtalo a 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>'

Para ver por qué esta extensión no se pudo compilar, consulta el archivo mkmf.log que se encuentra aquí:

/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

Los archivos Gem permanecerán instalados en
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1 para su inspección.
Resultados registrados en
/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'

Se produjo un error al instalar rbtrace (0.5.1), y Bundler no puede continuar.

En Gemfile:
  rbtrace
I, [2024-01-11T13:45:11.634256 #1]  INFO -- : Obteniendo metadatos de gem de https://rubygems.org/.........
Obteniendo cbor 0.5.9.8
Obteniendo excon 0.109.0
Obteniendo abbrev 0.1.2
Obteniendo fastimage 2.3.0
Instalando abbrev 0.1.2
Instalando fastimage 2.3.0
Instalando excon 0.109.0
Obteniendo google-protobuf 3.25.2 (x86_64-linux)
Obteniendo regexp_parser 2.9.0
Instalando cbor 0.5.9.8 con extensiones nativas
Instalando regexp_parser 2.9.0
Obteniendo nokogiri 1.16.0 (x86_64-linux)
Obteniendo rack-protection 3.2.0
Instalando rack-protection 3.2.0
Instalando google-protobuf 3.25.2 (x86_64-linux)
Obteniendo net-http 0.4.1
Instalando net-http 0.4.1
Obteniendo highline 3.0.0
Obteniendo activesupport 7.0.8
Instalando highline 3.0.0
Instalando activesupport 7.0.8
Obteniendo puma 6.4.2
Instalando puma 6.4.2 con extensiones nativas
Obteniendo rbtrace 0.5.1
Instalando rbtrace 0.5.1 con extensiones nativas
Instalando nokogiri 1.16.0 (x86_64-linux)
Obteniendo tzinfo-data 1.2023.4
Instalando tzinfo-data 1.2023.4
Obteniendo net-imap 0.4.9.1
Instalando net-imap 0.4.9.1
Obteniendo net-smtp 0.4.0.1
Instalando net-smtp 0.4.0.1
Obteniendo sass-embedded 1.69.7 (x86_64-linux-gnu)
Obteniendo faraday-net_http 3.1.0
Instalando faraday-net_http 3.1.0
Obteniendo activemodel 7.0.8
Instalando activemodel 7.0.8
Obteniendo faraday 2.9.0
Instalando faraday 2.9.0
Obteniendo activejob 7.0.8
Instalando activejob 7.0.8
Obteniendo activerecord 7.0.8
Instalando activerecord 7.0.8
Obteniendo sassc-embedded 1.69.1
Instalando sassc-embedded 1.69.1
Obteniendo actionview 7.0.8
Instalando actionview 7.0.8
Obteniendo actionpack 7.0.8
Instalando actionpack 7.0.8
Obteniendo railties 7.0.8
Obteniendo actionmailer 7.0.8
Instalando actionmailer 7.0.8
Instalando railties 7.0.8

I, [2024-01-11T13:45:11.634921 #1]  INFO -- : Terminando procesos asíncronos
I, [2024-01-11T13:45:11.635026 #1]  INFO -- : Enviando INT a 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:  recibida solicitud de apagado rápido
I, [2024-01-11T13:45:11.635144 #1]  INFO -- : Enviando TERM a 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:  cancelando todas las transacciones activas
109:signal-handler (1704980711) Received SIGTERM scheduling shutdown...
2024-01-11 13:45:11.641 UTC [40] LOG:  el worker de fondo "logical replication launcher" (PID 49) salió con código de salida 1
2024-01-11 13:45:11.642 UTC [44] LOG:  apagando
2024-01-11 13:45:11.666 UTC [40] LOG:  el sistema de bases de datos está apagado
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...


FALLIDO
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; su discourse -c 'bundle install --retry 3 --jobs 4' falló con retorno #&lt;Process::Status: pid 518 exit 5&gt;
Ubicación del fallo: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec falló con los parámetros {"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'"]}
falló el arranque con código de salida 5
** FALLÓ EL ARRANQUE ** desplázate hacia arriba y busca mensajes de error anteriores, puede haber más de uno.
./discourse-doctor puede ayudar a diagnosticar el problema.
21aaca59c3b38b78c089cd38f7be10da5c7ea8e91e305db490ba99c8622460c2

No sé si será útil, pero me pregunto cuál es el contenido de este registro.

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

Y vea si puede copiar y pegar el contenido aquí.

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.

Necesitas estar en al menos Ubuntu Jammy (22 LTS) para que la última beta o la compilación tests-passed funcione ahora, creo.

16.x es antiguo :sweat_smile:

1 me gusta

Ajá, ya veo. Supongo que una instalación limpia en un nuevo droplet restaurando una copia de seguridad, pero antes de intentarlo, ¿es arriesgado actualizar el sistema operativo actual?

¿O es bastante sencillo (probablemente usaré ChatGPT4 para ayudar) y la actualización funcionará bien después?

Noté otros comentarios donde la gente crea nuevas instancias, pero no conozco su situación, mi instancia es prácticamente estándar.

Una actualización in situ vale la pena intentarlo, supongo, pero haz una copia de seguridad antes de hacerlo.

Dicho esto, es una buena excusa para migrar a una instalación nueva.

¿Quizás descubras que la migración es en realidad más rápida?

2 Me gusta

¿Incluyendo la migración de los datos en la base de datos?