Closed
Description
Trying to compile 2.10.8 tarball with meson (-Dbuild-deprecated-api=false
, -Dbuild-documentation=false
, -Dbuild-examples=false
)
fails with:
FAILED: tests/test_disconnect.p/test_disconnect.cc.o
ccache c++ -Itests/test_disconnect.p -I. -I.. -I../untracked -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -std=c++11 -g -Wall -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -MD -MQ tests/test_disconnect.p/test_disconnect.cc.o -MF tests/test_disconnect.p/test_disconnect.cc.o.d -o tests/test_disconnect.p/test_disconnect.cc.o -c ../tests/test_disconnect.cc
../tests/test_disconnect.cc: In function ‘int main(int, char**)’:
../tests/test_disconnect.cc:106:14: error: ‘class sigc::signal<int, int>’ has no member named ‘slots’
106 | cona = sig.slots().insert(conbar, sigc::mem_fun1(a, &A::foo));
| ^~~~~
Using gcc 11.3.0
Full build log:
========================================================================
Building module sigc++ in /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/build/sigc++-1
========================================================================
�]2;flatpak-builder: Building sigc++�FB: Running: tar xf '/srv/buildbot/worker/downloads/downloads/235a40bec7346c7b82b6a8caae0456353dc06e71f14bc414bcc858af1838719a/libsigc++-2.10.8.tar.xz' --no-same-owner --strip-components=1 -J
FB: Running 'flatpak build --die-with-parent '--env=FLATPAK_BUILDER_BUILDDIR=/run/build/sigc++' --nofilesystem=host:reset '--filesystem=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/build/sigc++-1' '--bind-mount=/run/build/sigc++=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/build/sigc++-1' '--build-dir=/run/build/sigc++/_flatpak_build' --bind-mount=/run/ccache=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/ccache --unshare=network --env=SOURCE_DATE_EPOCH=1659964446 '--env=CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=CXXFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=48 /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-1b6Pix meson --prefix=/app .. -Dbuild-deprecated-api=false -Dbuild-documentation=false -Dbuild-examples=false' on host
The Meson build system
Version: 0.59.4
Source dir: /run/build/sigc++
Build dir: /run/build/sigc++/_flatpak_build
Build type: native build
Project name: libsigc++
Project version: 2.10.8
C++ compiler for the host machine: ccache c++ (gcc 11.3.0 "c++ (GCC) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency Boost found: NO (tried system)
Program mm-common-get found: YES (/app/bin/mm-common-get)
Program m4 found: YES (/usr/bin/m4)
Program doxygen found: YES (/usr/bin/doxygen)
Program dot found: NO
Program xsltproc found: YES (/usr/bin/xsltproc)
Compiler for C++ supports arguments -Wall: YES
../meson.build:181: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Configuring sigc++-2.0.pc using configuration
Configuring sigc++-2.0-uninstalled.pc using configuration
Configuring sigc++config.h using configuration
Configuring sigc.rc using configuration
Run-time dependency mm-common-libstdc++ found: YES 1.0.4
Configuring Doxyfile using configuration
Program xmllint found: YES (/usr/bin/xmllint)
Program dblatex found: NO
Program fop found: NO
Message:
------
libsigc++ 2.10.8
Maintainer mode: if-git-build (false)
Compiler warnings: min
Build deprecated API: false
Build HTML documentation: false
XML validation: true
Build PDF: false
Build example programs: false
Benchmark: false
Directories:
prefix: /app
includedir: /app/include
includesigcxxdir: /app/include/sigc++-2.0
libdir: /app/lib
includeconfigdir: /app/lib/sigc++-2.0/include
pkgconfigdir: /app/lib/pkgconfig
datadir: /app/share
docdir: /app/share/doc/libsigc++-2.0
devhelpdir: /app/share/devhelp/books/libsigc++-2.0
tutorialdir: /app/share/doc/libsigc++-2.0/tutorial
------
Build targets in project: 35
Found ninja-1.11.0 at /usr/bin/ninja
FB: host_command_exited_cb 1417517 0
�]2;flatpak-builder: Installing sigc++�FB: Running 'flatpak build --die-with-parent '--env=FLATPAK_BUILDER_BUILDDIR=/run/build/sigc++' --nofilesystem=host:reset '--filesystem=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/build/sigc++-1' '--bind-mount=/run/build/sigc++=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/build/sigc++-1' '--build-dir=/run/build/sigc++/_flatpak_build' --bind-mount=/run/ccache=/srv/buildbot/worker/build-x86_64/build/.flatpak-builder/ccache --unshare=network --env=SOURCE_DATE_EPOCH=1659964446 '--env=CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=CXXFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=48 /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-1b6Pix ninja -j48 -l96' on host
[1/103] Compiling C++ object sigc++/libsigc-2.0.so.0.0.0.p/.._untracked_sigc++_adaptors_lambda_lambda.cc.o
[2/103] Compiling C++ object sigc++/libsigc-2.0.so.0.0.0.p/connection.cc.o
[3/103] Compiling C++ object sigc++/libsigc-2.0.so.0.0.0.p/functors_slot_base.cc.o
[4/103] Compiling C++ object sigc++/libsigc-2.0.so.0.0.0.p/trackable.cc.o
[5/103] Compiling C++ object tests/test_disconnect.p/test_disconnect.cc.o
FAILED: tests/test_disconnect.p/test_disconnect.cc.o
ccache c++ -Itests/test_disconnect.p -I. -I.. -I../untracked -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -std=c++11 -g -Wall -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -MD -MQ tests/test_disconnect.p/test_disconnect.cc.o -MF tests/test_disconnect.p/test_disconnect.cc.o.d -o tests/test_disconnect.p/test_disconnect.cc.o -c ../tests/test_disconnect.cc
../tests/test_disconnect.cc: In function ‘int main(int, char**)’:
../tests/test_disconnect.cc:106:14: error: ‘class sigc::signal<int, int>’ has no member named ‘slots’
106 | cona = sig.slots().insert(conbar, sigc::mem_fun1(a, &A::foo));
| ^~~~~
[6/103] Compiling C++ object tests/test_hide.p/test_hide.cc.o
[7/103] Compiling C++ object tests/test_accumulated.p/testutilities.cc.o
[8/103] Compiling C++ object tests/test_compose.p/test_compose.cc.o
[9/103] Compiling C++ object tests/test_exception_catch.p/test_exception_catch.cc.o
[10/103] Compiling C++ object tests/test_deduce_result_type.p/testutilities.cc.o
[11/103] Compiling C++ object tests/test_ptr_fun.p/test_ptr_fun.cc.o
[12/103] Compiling C++ object tests/test_bind.p/testutilities.cc.o
[13/103] Compiling C++ object tests/test_disconnect_during_emit.p/testutilities.cc.o
[14/103] Compiling C++ object tests/test_bind_return.p/testutilities.cc.o
[15/103] Compiling C++ object tests/test_limit_reference.p/testutilities.cc.o
[16/103] Compiling C++ object tests/test_disconnect.p/testutilities.cc.o
[17/103] Compiling C++ object tests/test_exception_catch.p/testutilities.cc.o
[18/103] Compiling C++ object tests/test_bind_refptr.p/testutilities.cc.o
[19/103] Compiling C++ object tests/test_functor_trait.p/testutilities.cc.o
[20/103] Compiling C++ object tests/test_hide.p/testutilities.cc.o
[21/103] Compiling C++ object tests/test_custom.p/testutilities.cc.o
[22/103] Compiling C++ object tests/test_custom.p/test_custom.cc.o
[23/103] Compiling C++ object tests/test_copy_invalid_slot.p/testutilities.cc.o
[24/103] Compiling C++ object tests/test_cpp11_lambda.p/testutilities.cc.o
[25/103] Compiling C++ object tests/test_retype.p/testutilities.cc.o
[26/103] Compiling C++ object tests/test_compose.p/testutilities.cc.o
[27/103] Compiling C++ object tests/test_deduce_result_type.p/test_deduce_result_type.cc.o
[28/103] Compiling C++ object tests/test_ptr_fun.p/testutilities.cc.o
[29/103] Compiling C++ object tests/test_retype_return.p/test_retype_return.cc.o
[30/103] Compiling C++ object tests/test_bind_as_slot.p/testutilities.cc.o
[31/103] Compiling C++ object tests/test_mem_fun.p/testutilities.cc.o
[32/103] Compiling C++ object tests/test_accum_iter.p/testutilities.cc.o
[33/103] Compiling C++ object tests/test_bind_ref.p/testutilities.cc.o
[34/103] Compiling C++ object sigc++/libsigc-2.0.so.0.0.0.p/signal_base.cc.o
[35/103] Compiling C++ object tests/test_bind_return.p/test_bind_return.cc.o
[36/103] Compiling C++ object tests/test_disconnect_during_emit.p/test_disconnect_during_emit.cc.o
[37/103] Compiling C++ object tests/test_functor_trait.p/test_functor_trait.cc.o
[38/103] Compiling C++ object tests/test_bind_ref.p/test_bind_ref.cc.o
[39/103] Compiling C++ object tests/test_accum_iter.p/test_accum_iter.cc.o
[40/103] Compiling C++ object tests/test_bind.p/test_bind.cc.o
[41/103] Compiling C++ object tests/test_bind_as_slot.p/test_bind_as_slot.cc.o
[42/103] Compiling C++ object tests/test_limit_reference.p/test_limit_reference.cc.o
[43/103] Compiling C++ object tests/test_bind_refptr.p/test_bind_refptr.cc.o
[44/103] Compiling C++ object tests/test_retype_return.p/testutilities.cc.o
[45/103] Compiling C++ object tests/test_retype.p/test_retype.cc.o
[46/103] Compiling C++ object tests/test_signal_move.p/test_signal_move.cc.o
[47/103] Compiling C++ object tests/test_signal.p/testutilities.cc.o
[48/103] Compiling C++ object tests/test_copy_invalid_slot.p/test_copy_invalid_slot.cc.o
[49/103] Compiling C++ object tests/test_mem_fun.p/test_mem_fun.cc.o
[50/103] Compiling C++ object tests/test_accumulated.p/test_accumulated.cc.o
[51/103] Compiling C++ object tests/test_signal.p/test_signal.cc.o
[52/103] Compiling C++ object tests/test_cpp11_lambda.p/test_cpp11_lambda.cc.o
ninja: build stopped: subcommand failed.
FB: host_command_exited_cb 1417594 256
�]2;flatpak-builder: Cleanup sigc++�Error: module sigc++: Child process exited with code 1
This works fine with autogen. Any idea? Thanks!
Metadata
Metadata
Assignees
Labels
No labels