contour: Building errors when building contour using built `libunicode` RPM package
Contour Terminal version
commit id: 99d6e65ab5ae368be6d951f3f48c725323405978
Installer source
Github: CI actions
Operating System
Fedora 39
Architecture
x86-64
Other Software
No response
Steps to reproduce
[ruby@fedora x86_64]$ sudo dnf in https://kojipkgs.fedoraproject.org//work/tasks/5691/98065691/libunicode-20230226-1.fc39.x86_64.rpm https://kojipkgs.fedoraproject.org//work/tasks/5691/98065691/libunicode-devel-20230226-1.fc39.x86_64.rpm
Last metadata expiration check: 0:23:47 ago on Mon 27 Feb 2023 08:02:39 PM CST.
libunicode-20230226-1.fc39.x86_64.rpm 93 kB/s | 550 kB 00:05
libunicode-devel-20230226-1.fc39.x86_64.rpm 39 kB/s | 50 kB 00:01
Dependencies resolved.
=============================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================
Installing:
libunicode x86_64 20230226-1.fc39 @commandline 550 k
libunicode-devel x86_64 20230226-1.fc39 @commandline 50 k
Transaction Summary
=============================================================================================================================
Install 2 Packages
Total size: 600 k
Installed size: 3.5 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libunicode-20230226-1.fc39.x86_64 1/2
Installing : libunicode-devel-20230226-1.fc39.x86_64 2/2
Running scriptlet: libunicode-devel-20230226-1.fc39.x86_64 2/2
Verifying : libunicode-20230226-1.fc39.x86_64 1/2
Verifying : libunicode-devel-20230226-1.fc39.x86_64 2/2
Installed:
libunicode-20230226-1.fc39.x86_64 libunicode-devel-20230226-1.fc39.x86_64
Complete!
[ruby@fedora x86_64]$ cd ~/fedora-src/
[ruby@fedora fedora-src]$ rpmbuild -bb contour.spec
setting SOURCE_DATE_EPOCH=1677456000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vKyich
+ umask 022
+ cd /home/ruby/rpmbuild/BUILD
+ cd /home/ruby/rpmbuild/BUILD
+ rm -rf contour-99d6e65ab5ae368be6d951f3f48c725323405978
+ /usr/lib/rpm/rpmuncompress -x /home/ruby/rpmbuild/SOURCES/contour-99d6e65ab5ae368be6d951f3f48c725323405978.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd contour-99d6e65ab5ae368be6d951f3f48c725323405978
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mat33B
+ umask 022
+ cd /home/ruby/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd contour-99d6e65ab5ae368be6d951f3f48c725323405978
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCONTOUR_BUILD_WITH_QT6=ON -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
-- [Version] version source: /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/metainfo.xml
-- [Version] version triple: 0.3.11
-- [Version] version string: 0.3.11
-- The CXX compiler identification is GNU 13.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [ccache] Enabled: /usr/bin/ccache
-- [clang-tidy] Disabled.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- addr2line: /usr/bin/addr2line
-- No sanitizer enabled.
-- No 3rdparty libraries found at /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/_deps/sources
-- Found HarfBuzz: /usr/lib64/libharfbuzz.so
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.12.1")
-- Performing Test fdiagnostics-color=always
-- Performing Test fdiagnostics-color=always - Success
-- Adding compiler flag: -fdiagnostics-color=always.
-- Enabling pedantic compiler options: no
-- [FilesystemResolver]: Using standard C++ filesystem API
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for dlsym
-- Looking for dlsym - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file cxxabi.h
-- Looking for include file cxxabi.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file unwind.h
-- Looking for include file unwind.h - found
-- [crispy-core] Adding compile definition: HAVE_BACKTRACE
-- [crispy-core] Adding compile definition: HAVE_BACKTRACE_SYMBOLS
-- [crispy-core] Adding compile definition: HAVE_CXXABI_H
-- [crispy-core] Adding compile definition: HAVE_DLADDR
-- [crispy-core] Adding compile definition: HAVE_DLFCN_H
-- [crispy-core] Adding compile definition: HAVE_DLSYM
-- [crispy-core] Adding compile definition: HAVE_EXECINFO_H
-- [crispy-core] Adding compile definition: HAVE_SYS_SELECT_H
-- [crispy-core] Adding compile definition: HAVE_UNWIND_H
-- [crispy] Compile unit tests: ON
-- Found Fontconfig: /usr/lib64/libfontconfig.so (found version "2.14.2")
-- Checking for module 'harfbuzz'
-- Found harfbuzz, version 7.0.0
-- [text_shaper] Librarires: unicode;fmt::fmt-header-only;range-v3::range-v3;Microsoft.GSL::GSL;Freetype::Freetype;PkgConfig::harfbuzz;Fontconfig::Fontconfig
-- [FilesystemResolver]: Using standard C++ filesystem API
-- [libterminal] Compile unit tests: ON
-- [libterminal] Enable VT sequence tracing: ON
-- [FilesystemResolver]: Using standard C++ filesystem API
-- Build contour using Qt 6: ON
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Executable tic found (/usr/bin/tic).
-- ==============================================================================
-- Contour ThirdParties
-- ------------------------------------------------------------------------------
-- Catch2 system package
-- GSL system package
-- fmt system package
-- freetype system package
-- harfbuzz system package
-- range-v3 system package
-- termbench-pro (bench-headless disabled)
-- libunicode system package (unicode::unicode)
-- yaml-cpp system package
-- ------------------------------------------------------------------------------
-- ==============================================================================
-- Contour (0.3.11)
-- ------------------------------------------------------------------------------
-- System: x86_64 (Linux)
-- C++ standard: C++20 (GNU)
-- Using ccache: /usr/bin/ccache
-- Build with sanitizer: OFF
-- Build unit tests: ON
-- Enable with code coverage: OFF
-- Build contour frontend GUI: ON
-- Build contour using Qt 6: ON
-- Build contour using mimalloc: OFF
-- Clang Tidy: OFF
-- |> Enable performance metrics: OFF
-- ------------------------------------------------------------------------------
-- Configuring done (3.8s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE
CMAKE_Fortran_FLAGS_RELEASE
CMAKE_INSTALL_DO_STRIP
INCLUDE_INSTALL_DIR
LIB_INSTALL_DIR
LIB_SUFFIX
SHARE_INSTALL_PREFIX
SYSCONF_INSTALL_DIR
-- Build files have been written to: /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build
+ /usr/bin/cmake --build redhat-linux-build -j6 --verbose
/usr/bin/cmake -S/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978 -B/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/CMakeFiles /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build//CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
/usr/bin/gmake -f src/crispy/CMakeFiles/crispy-core.dir/build.make src/crispy/CMakeFiles/crispy-core.dir/depend
/usr/bin/gmake -f src/text_shaper/CMakeFiles/text_shaper.dir/build.make src/text_shaper/CMakeFiles/text_shaper.dir/depend
gmake[2]: Entering directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978 /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/crispy /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy/CMakeFiles/crispy-core.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978 /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper/CMakeFiles/text_shaper.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
gmake[2]: Leaving directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
/usr/bin/gmake -f src/crispy/CMakeFiles/crispy-core.dir/build.make src/crispy/CMakeFiles/crispy-core.dir/build
/usr/bin/gmake -f src/text_shaper/CMakeFiles/text_shaper.dir/build.make src/text_shaper/CMakeFiles/text_shaper.dir/build
gmake[2]: Entering directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
gmake[2]: Entering directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
[ 3%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/font.cpp.o
[ 3%] Building CXX object src/crispy/CMakeFiles/crispy-core.dir/BufferObject.cpp.o
[ 3%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/font_locator_provider.cpp.o
[ 4%] Building CXX object src/crispy/CMakeFiles/crispy-core.dir/StackTrace.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/font.cpp.o -MF CMakeFiles/text_shaper.dir/font.cpp.o.d -o CMakeFiles/text_shaper.dir/font.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/font.cpp
[ 3%] Building CXX object src/crispy/CMakeFiles/crispy-core.dir/App.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy && /usr/bin/ccache /usr/lib64/ccache/g++ -DBOOST_STACKTRACE_USE_ADDR2LINE=1 -DCONTOUR_STACKTRACE_ADDR2LINE=1 -DFMT_HEADER_ONLY=1 -DHAVE_BACKTRACE -DHAVE_BACKTRACE_SYMBOLS -DHAVE_CXXABI_H -DHAVE_DLADDR -DHAVE_DLFCN_H -DHAVE_DLSYM -DHAVE_EXECINFO_H -DHAVE_SYS_SELECT_H -DHAVE_UNWIND_H -Dcrispy_core_EXPORTS -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -maes -MD -MT src/crispy/CMakeFiles/crispy-core.dir/BufferObject.cpp.o -MF CMakeFiles/crispy-core.dir/BufferObject.cpp.o.d -o CMakeFiles/crispy-core.dir/BufferObject.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/crispy/BufferObject.cpp
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy && /usr/bin/ccache /usr/lib64/ccache/g++ -DBOOST_STACKTRACE_USE_ADDR2LINE=1 -DCONTOUR_STACKTRACE_ADDR2LINE=1 -DFMT_HEADER_ONLY=1 -DHAVE_BACKTRACE -DHAVE_BACKTRACE_SYMBOLS -DHAVE_CXXABI_H -DHAVE_DLADDR -DHAVE_DLFCN_H -DHAVE_DLSYM -DHAVE_EXECINFO_H -DHAVE_SYS_SELECT_H -DHAVE_UNWIND_H -Dcrispy_core_EXPORTS -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -maes -MD -MT src/crispy/CMakeFiles/crispy-core.dir/StackTrace.cpp.o -MF CMakeFiles/crispy-core.dir/StackTrace.cpp.o.d -o CMakeFiles/crispy-core.dir/StackTrace.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/crispy/StackTrace.cpp
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/font_locator_provider.cpp.o -MF CMakeFiles/text_shaper.dir/font_locator_provider.cpp.o.d -o CMakeFiles/text_shaper.dir/font_locator_provider.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/font_locator_provider.cpp
[ 5%] Building CXX object src/crispy/CMakeFiles/crispy-core.dir/CLI.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy && /usr/bin/ccache /usr/lib64/ccache/g++ -DBOOST_STACKTRACE_USE_ADDR2LINE=1 -DCONTOUR_STACKTRACE_ADDR2LINE=1 -DFMT_HEADER_ONLY=1 -DHAVE_BACKTRACE -DHAVE_BACKTRACE_SYMBOLS -DHAVE_CXXABI_H -DHAVE_DLADDR -DHAVE_DLFCN_H -DHAVE_DLSYM -DHAVE_EXECINFO_H -DHAVE_SYS_SELECT_H -DHAVE_UNWIND_H -Dcrispy_core_EXPORTS -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -maes -MD -MT src/crispy/CMakeFiles/crispy-core.dir/App.cpp.o -MF CMakeFiles/crispy-core.dir/App.cpp.o.d -o CMakeFiles/crispy-core.dir/App.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/crispy/App.cpp
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy && /usr/bin/ccache /usr/lib64/ccache/g++ -DBOOST_STACKTRACE_USE_ADDR2LINE=1 -DCONTOUR_STACKTRACE_ADDR2LINE=1 -DFMT_HEADER_ONLY=1 -DHAVE_BACKTRACE -DHAVE_BACKTRACE_SYMBOLS -DHAVE_CXXABI_H -DHAVE_DLADDR -DHAVE_DLFCN_H -DHAVE_DLSYM -DHAVE_EXECINFO_H -DHAVE_SYS_SELECT_H -DHAVE_UNWIND_H -Dcrispy_core_EXPORTS -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -maes -MD -MT src/crispy/CMakeFiles/crispy-core.dir/CLI.cpp.o -MF CMakeFiles/crispy-core.dir/CLI.cpp.o.d -o CMakeFiles/crispy-core.dir/CLI.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/crispy/CLI.cpp
[ 5%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/fontconfig_locator.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/fontconfig_locator.cpp.o -MF CMakeFiles/text_shaper.dir/fontconfig_locator.cpp.o.d -o CMakeFiles/text_shaper.dir/fontconfig_locator.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/fontconfig_locator.cpp
[ 6%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/mock_font_locator.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/mock_font_locator.cpp.o -MF CMakeFiles/text_shaper.dir/mock_font_locator.cpp.o.d -o CMakeFiles/text_shaper.dir/mock_font_locator.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/mock_font_locator.cpp
[ 7%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/open_shaper.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/open_shaper.cpp.o -MF CMakeFiles/text_shaper.dir/open_shaper.cpp.o.d -o CMakeFiles/text_shaper.dir/open_shaper.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/open_shaper.cpp
[ 8%] Building CXX object src/text_shaper/CMakeFiles/text_shaper.dir/shaper.cpp.o
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper -I/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/libpng16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -pthread -MD -MT src/text_shaper/CMakeFiles/text_shaper.dir/shaper.cpp.o -MF CMakeFiles/text_shaper.dir/shaper.cpp.o.d -o CMakeFiles/text_shaper.dir/shaper.cpp.o -c /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/src/text_shaper/shaper.cpp
[ 9%] Linking CXX shared library libcrispy-core.so
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/crispy && /usr/bin/cmake -E cmake_link_script CMakeFiles/crispy-core.dir/link.txt --verbose=1
/usr/lib64/ccache/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -rdynamic -fno-pie -no-pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libcrispy-core.so -o libcrispy-core.so "CMakeFiles/crispy-core.dir/App.cpp.o" "CMakeFiles/crispy-core.dir/BufferObject.cpp.o" "CMakeFiles/crispy-core.dir/CLI.cpp.o" "CMakeFiles/crispy-core.dir/StackTrace.cpp.o" -lunicode -ldl
[ 10%] Linking CXX static library libtext_shaper.a
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/cmake -P CMakeFiles/text_shaper.dir/cmake_clean_target.cmake
cd /home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build/src/text_shaper && /usr/bin/cmake -E cmake_link_script CMakeFiles/text_shaper.dir/link.txt --verbose=1
/usr/bin/ar qc libtext_shaper.a CMakeFiles/text_shaper.dir/font.cpp.o CMakeFiles/text_shaper.dir/font_locator_provider.cpp.o CMakeFiles/text_shaper.dir/fontconfig_locator.cpp.o CMakeFiles/text_shaper.dir/mock_font_locator.cpp.o CMakeFiles/text_shaper.dir/open_shaper.cpp.o CMakeFiles/text_shaper.dir/shaper.cpp.o
/usr/bin/ranlib libtext_shaper.a
gmake[2]: Leaving directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
[ 10%] Built target text_shaper
/usr/bin/ld: /tmp/ccEiUyrt.ltrans0.ltrans.o: warning: relocation against `_ZGVZN8logstore4Sink7consoleEvE8instance' in read-only section `.text.startup'
/usr/bin/ld: /tmp/ccEiUyrt.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTIZN8logstore4SinkC4EbRSoEUlSt17basic_string_viewIcSt11char_traitsIcEEE_' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/crispy/CMakeFiles/crispy-core.dir/build.make:148: src/crispy/libcrispy-core.so] Error 1
gmake[2]: Leaving directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:267: src/crispy/CMakeFiles/crispy-core.dir/all] Error 2
gmake[1]: Leaving directory '/home/ruby/rpmbuild/BUILD/contour-99d6e65ab5ae368be6d951f3f48c725323405978/redhat-linux-build'
gmake: *** [Makefile:159: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.mat33B (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.mat33B (%build)
Expected Behavior
No response
Actual Behavior
[ 10%] Built target text_shaper
/usr/bin/ld: /tmp/ccEiUyrt.ltrans0.ltrans.o: warning: relocation against `_ZGVZN8logstore4Sink7consoleEvE8instance' in read-only section `.text.startup'
/usr/bin/ld: /tmp/ccEiUyrt.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTIZN8logstore4SinkC4EbRSoEUlSt17basic_string_viewIcSt11char_traitsIcEEE_' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Additional notes
I also asked how to package contour on Fedora devel list. Some people give me some advice and I tried, still occured the error. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/L4US3FY7PYLNORBV7CADML7TNRWZAZVH/
SPEC file:
[ruby@fedora fedora-src]$ cat contour.spec
%bcond_without qt6
%global contour_git_sha 99d6e65ab5ae368be6d951f3f48c725323405978
Name: contour
Version: 20230226
Release: %autorelease
Summary: Modern C++ Terminal Emulator
License: Apache-2.0
URL: https://github.com/contour-terminal/contour
Source0: %{url}/archive/%{contour_git_sha}/%{name}-%{contour_git_sha}.tar.gz
BuildRequires: gcc-c++ cmake extra-cmake-modules
BuildRequires: catch2-devel fmt-devel guidelines-support-library-devel
BuildRequires: range-v3-devel yaml-cpp-devel libxcb-devel
BuildRequires: fontconfig-devel freetype-devel harfbuzz-devel libunicode-devel
%if %{with qt6}
BuildRequires: qt6-qtbase-devel qt6-qtbase-gui qt6-qtdeclarative-devel
BuildRequires: qt6-qtmultimedia-devel qt6-qtwayland
%else
BuildRequires: qt5-qtbase-devel qt5-qtbase-gui qt5-qtmultimedia-devel
BuildRequires: qt5-qtx11extras-devel
%endif
Requires: fontconfig freetype harfbuzz yaml-cpp
%if %{with qt6}
Requires: qt6-qtbase qt6-qtbase-gui qt6-qtmultimedia
%else
Requires: qt5-qtbase qt5-qtbase-gui qt5-qtmultimedia
%endif
%description
Contour is a modern and actually fast, modal, virtual terminal emulator,
for everyday use. It is aiming for power users with a modern feature mindset.
%prep
%autosetup -n %{name}-%{contour_git_sha} -p1
%build
%if %{with qt6}
%cmake \
-DCONTOUR_BUILD_WITH_QT6=ON -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
%else
%cmake \
-DCONTOUR_BUILD_WITH_QT6=OFF -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
%endif
%cmake_build
%install
%cmake_install
rm %{buildroot}%{_datadir}/contour/LICENSE.txt
rm %{buildroot}%{_datadir}/contour/README.md
%check
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/contour
%{_datadir}/applications/org.contourterminal.Contour.desktop
%{_datadir}/kservices5/ServiceMenus/*.desktop
%dir %{_datadir}/contour
%{_datadir}/contour/shell-integration/shell-integration.fish
%{_datadir}/contour/shell-integration/shell-integration.tcsh
%{_datadir}/contour/shell-integration/shell-integration.zsh
%{_datadir}/terminfo/c/contour*
%{_datadir}/icons/hicolor/*/apps/org.contourterminal.Contour.png
%{_datadir}/metainfo/org.contourterminal.Contour.metainfo.xml
%changelog
%autochangelog
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (22 by maintainers)
The contour-terminal is currently stable and maybe available due to the mirror for fedora 36, 37 and rawhide, except 38 beacuse of the freeze issue. I am very thankful for your great helps and collaboration during the process.
@christianparpart I will try to push the contour-terminal to the latest update as soon as possible when the new release is out. For Fedora 37 and 38, it will be in stable repository after about 7 days later, when you see that in the rawhide is stable.
Today I built contour-terminal on fedora koji and it is going to be in stable status. Maybe about a few days later, which the time about Fedora bodhi and Fedora mirror synchronization, will be available for fedora 36 and 37. ref: https://bodhi.fedoraproject.org/updates/?packages=contour-terminal
No, you do not need to worry. It is for packagers. If someone tested this package, karma +1 if it works or karma -1 if does not work. ref: https://fedoraproject.org/wiki/QA:Updates_Testing#What_to_test,_testing,_and_reporting_results
I am trying to find a way to accelerate this testing process of the package. I have submitted the libunicode package into stable status for fedora 36 and 37. For fedora 38, it currently is freeze status, which it seems that we will wait for the end of final freeze. ref: https://bodhi.fedoraproject.org/updates/?packages=libunicode
When the new release is published, I will update the Fedora package as soon as possible.
The contour was approved to be in Fedora repo now, named
contour-terminal. It will be built when the libunicode is in stable status. You can see their status on https://bodhi.fedoraproject.org/ ref: libunicode status: https://bodhi.fedoraproject.org/updates/?packages=libunicode contour-terminal status: https://bodhi.fedoraproject.org/updates/?packages=contour-terminal https://src.fedoraproject.org/rpms/contour-terminalThe
%cmakeis a macro, which is set some options by default and used in Fedora RPM packaging. ref: https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/, https://src.fedoraproject.org/rpms/cmake/blob/rawhide/f/macros.cmakeI think it is fine now.