You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vcpkg install glibmm
(for all steps please see additional comments below)
Failure logs
Log from console/terminal:
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /home/christoph/Downloads/vcpkg/downloads/tools/ninja/1.12.1-linux/ninja install -v
Working Directory: /home/christoph/Downloads/vcpkg/buildtrees/glibmm/x64-linux-dbg
Error code: 1
See logs for more information:
/home/christoph/Downloads/vcpkg/buildtrees/glibmm/package-x64-linux-dbg-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-tool-meson/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
ports/glibmm/portfile.cmake:21 (vcpkg_install_meson)
scripts/ports.cmake:206 (include)
error: building glibmm:x64-linux failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle glibmm:x64-linux: 1.5 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+glibmm
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[glibmm]+Build+error+on+x64-linux&body=Copy%20issue%20body%20from%20%2Fhome%2Fchristoph%2FDownloads%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Log from 'package-x64-linux-dbg-err.log':
/usr/bin/ld: /usr/include/c++/14/bits/stl_uninitialized.h:126:(.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEPS7_ET0_T_SG_SF_[_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEPS7_ET0_T_SG_SF_]+0x97): undefined reference to `__cxa_rethrow'
/usr/bin/ld: /usr/include/c++/14/bits/stl_uninitialized.h:123:(.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEPS7_ET0_T_SG_SF_[_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEPS7_ET0_T_SG_SF_]+0xa3): undefined reference to `__cxa_end_catch'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o): in function `std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >* std::__do_uninit_copy<__gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const*, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>(__gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const*, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, __gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const*, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >*)':
/usr/include/c++/14/bits/stl_uninitialized.h:123:(.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_[_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_]+0x7f): undefined reference to `__cxa_begin_catch'
/usr/bin/ld: /usr/include/c++/14/bits/stl_uninitialized.h:126:(.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_[_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_]+0x97): undefined reference to `__cxa_rethrow'
/usr/bin/ld: /usr/include/c++/14/bits/stl_uninitialized.h:123:(.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_[_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ESt6vectorIS9_SaIS9_EEEEPS9_ET0_T_SI_SH_]+0xa3): undefined reference to `__cxa_end_catch'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE[_ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EEE[_ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1EEE[_ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1EEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0EEE[_ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0EEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail12_CharMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE[_ZTINSt8__detail12_CharMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTINSt8__detail12_CharMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EEE[_ZTINSt8__detail12_CharMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EEE]+0x0): more undefined references to `vtable for __cxxabiv1::__class_type_info' follow
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE[_ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE[_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o): in function `std::_Sp_counted_ptr_inplace<std::__detail::_NFA<std::__cxx11::regex_traits<char> >, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()':
/usr/include/c++/14/bits/shared_ptr_base.h:611:(.text._ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev[_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EED5Ev]+0x29): undefined reference to `operator delete(void*, unsigned long)'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTISt19_Sp_make_shared_tag[_ZTISt19_Sp_make_shared_tag]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: tools/extra_defs_gen/libglibmm_generate_extra_defs-2.68.a(generate_extra_defs.cc.o):(.data.rel.ro._ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE[_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
collect2: error: ld returned 1 exit status
[254/291] /usr/bin/gcc -fPIC -g -Itests/glibmm_variant_test.p -Iglib -I../src/glibmm-2-ee5113c192.clean/glib -I../src/glibmm-2-ee5113c192.clean/untracked/glib -I/home/christoph/Downloads/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/christoph/Downloads/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/christoph/Downloads/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/christoph/Downloads/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -g -fPIC -g -pthread -DGLIBMM_DISABLE_DEPRECATED -DGIOMM_DISABLE_DEPRECATED -MD -MQ tests/glibmm_variant_test.p/glibmm_variant_main.cc.o -MF tests/glibmm_variant_test.p/glibmm_variant_main.cc.o.d -o tests/glibmm_variant_test.p/glibmm_variant_main.cc.o -c ../src/glibmm-2-ee5113c192.clean/tests/glibmm_variant/main.cc
ninja: build stopped: subcommand failed.
Operating system
Linux (Ubuntu 25.04)
Compiler
GCC
Steps to reproduce the behavior
Failure logs
Log from console/terminal:
Log from 'package-x64-linux-dbg-err.log':
Additional context
All steps to reproduce issue:
Install Ubuntu 25.04 (Desktop edition)
Install required packages:
sudo apt install cmake blueprint-compiler git build-essential pkg-config linux-libc-dev bison autoconf automake autoconf-archive libtool curl openssl
Install VCPKG:
cd ~/Downloads
git clone https://github.com/microsoft/vcpkg
cd vcpkg
chmod a+x bootstrap-vcpkg.sh
./bootstrap-vcpkg.sh
export VCPKG_ROOT="/home//Downloads/vcpkg" PATH="$VCPKG_ROOT:$PATH" VCPKG_DEFAULT_TRIPLET="x64-linux" CXX="/usr/bin/gcc"
Install 'glibmm' via vcpkg:
vcpkg install glibmm
The text was updated successfully, but these errors were encountered: