the output of
Code: Select all
emerge --update @world it have 35 k lines
Code: Select all
emerge --update @world Hi Hu thank you! i Try something in this timeHu wrote:Based on the information you have provided, it looks like something failed. If you need support, please pastebin the output from Portage, and any log files referenced in that output, then post here the pastebin URL(s).
and it works for some packages but get stock onemerge -uDNav --with-bdeps y --backtrack 100 @world
Code: Select all
* Messages for package dev-libs/spdlog-1.8.5:
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2074: Called cmake_src_compile
* environment, line 770: Called cmake_build
* environment, line 739: Called eninja
* environment, line 1191: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
* GNU info directory index is up-to-date.
Code: Select all
emerge --info '=dev-libs/spdlog-1.8.5::gentoo'
Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.32-r6, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i3_CPU_550_@_3.20GHz-with-glibc2.2.5
KiB Mem: 5882212 total, 2037752 free
KiB Swap: 8388604 total, 8387568 free
Timestamp of repository gentoo: Wed, 23 Jun 2021 05:00:01 +0000
Head commit of repository gentoo: c19b1988f458e736261bfea7322d1b6210346357
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 2.7.18-r6::gentoo, 3.8.9::gentoo, 3.9.1-r1::gentoo
dev-lang/rust: 1.47.0-r2::gentoo
dev-util/cmake: 3.18.5::gentoo
sys-apps/baselayout: 2.7-r3::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.24::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib ~amd64" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Thank you ! this is all the info it showsIonen wrote:That doesn't say want went wrong (you essentially pasted the bit that says "something earlier went wrong" that explains what we'd need to see to diagnose the issue)
...however I can take a guess it's bug #797394 given you are running ~testing and you likely got libfmt rebuilds.
Code: Select all
>>> Emerging (2 of 647) dev-libs/spdlog-1.8.5::gentoo
* spdlog-1.8.5.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking spdlog-1.8.5.tar.gz to /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Source unpacked in /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Preparing source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
* Hardcoded definition(s) removed in CMakeLists.txt:
* set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FOR
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
cmake -C /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSPDLOG_BUILD_BENCH=no -DSPDLOG_BUILD_EXAMPLE=no -DSPDLOG_FMT_EXTERNAL=yes -DSPDLOG_BUILD_SHARED=yes -DSPDLOG_BUILD_TESTS=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5
loading initial cache file /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build spdlog: 1.8.5
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Build type: Gentoo
-- Generating install
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C
C++ -march=native -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
ninja -v -j4 -l0
[1/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/file_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/file_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/file_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/file_sinks.cpp
[2/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/stdout_sinks.cpp
[3/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/color_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/color_sinks.cpp
[4/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/cfg.cpp.o -MF CMakeFiles/spdlog.dir/src/cfg.cpp.o.d -o CMakeFiles/spdlog.dir/src/cfg.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/cfg.cpp
[5/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/async.cpp.o -MF CMakeFiles/spdlog.dir/src/async.cpp.o.d -o CMakeFiles/spdlog.dir/src/async.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/async.cpp
[6/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/spdlog.cpp.o -MF CMakeFiles/spdlog.dir/src/spdlog.cpp.o.d -o CMakeFiles/spdlog.dir/src/spdlog.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp
FAILED: CMakeFiles/spdlog.dir/src/spdlog.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/spdlog.cpp.o -MF CMakeFiles/spdlog.dir/src/spdlog.cpp.o.d -o CMakeFiles/spdlog.dir/src/spdlog.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:9:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
63 | fmt::format_system_error(outbuf, last_errno, msg);
| ^~~
| |
| const string {aka const std::__cxx11::basic_string<char>}
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2262:46: note: initializing argument 3 of ‘void fmt::v7::format_system_error(fmt::v7::detail::buffer<char>&, int, const char*)’
2262 | const char* message) FMT_NOEXCEPT;
| ~~~~~~~~~~~~^~~~~~~
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/pattern_formatter-inl.h:10,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:13:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h: In function ‘void spdlog::details::fmt_helper::pad2(int, spdlog::memory_buf_t&)’:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h:57:40: warning: ‘fmt::v7::appender fmt::v7::format_to(fmt::v7::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v7::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v7::format_string<T ...> = fmt::v7::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
57 | fmt::format_to(dest, "{:02}", n);
| ^
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/pattern_formatter-inl.h:10,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:13:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h:57:40: warning: ‘fmt::v7::appender fmt::v7::format_to(fmt::v7::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v7::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v7::format_string<T ...> = fmt::v7::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
57 | fmt::format_to(dest, "{:02}", n);
| ^
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
ninja: build stopped: subcommand failed.
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2074: Called cmake_src_compile
* environment, line 770: Called cmake_build
* environment, line 739: Called eninja
* environment, line 1191: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
>>> Failed to emerge dev-libs/spdlog-1.8.5, Log file:
>>> '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'
* Messages for package net-libs/libpsl-0.21.1:
* "icu" and "idn" USE flags are enabled.
* Using "idn".
* Messages for package sys-fs/eudev-3.2.10:
*
* As of 2013-01-29, eudev-3.2.10 provides the new interface renaming functionality,
* as described in the URL below:
* https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
*
* This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
* between the default or user-modified choice of sys-fs/udev. If you wish to disable
* this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
* exists: touch /etc/udev/rules.d/80-net-name-slot.rules
*
* Messages for package media-video/simplescreenrecorder-0.4.3:
* You may want to add USE flag 'abi_x86_32' when running a 64bit system
* When added 32bit GLInject libraries are also included. This is
* required if you want to use OpenGL recording on 32bit applications.
*
* Messages for package app-office/libreoffice-7.1.4.2:
* If you plan to use Base application you must enable USE base.
* Without USE java, several wizards are not going to be available.
* Messages for package dev-libs/spdlog-1.8.5:
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2074: Called cmake_src_compile
* environment, line 770: Called cmake_build
* environment, line 739: Called eninja
* environment, line 1191: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
* GNU info directory index is up-to-date.
!!! existing preserved libs:
>>> package: dev-libs/icu-69.1
* - /usr/lib64/libicudata.so.68
* - /usr/lib64/libicudata.so.68.2
* used by /usr/lib/python3.8/site-packages/libxml2mod.so (dev-libs/libxml2-2.9.10-r4)
* used by /usr/lib64/libcdr-0.1.so.1.0.6 (media-libs/libcdr-0.1.6)
* used by /usr/lib64/libvisio-0.1.so.1.0.7 (media-libs/libvisio-0.1.7)
* used by /usr/lib64/libzmf-0.0.so.0.0.2 (media-libs/libzmf-0.0.2)
* - /usr/lib64/libicui18n.so.68
* - /usr/lib64/libicui18n.so.68.2
* used by /usr/bin/js78 (dev-lang/spidermonkey-78.6.0)
* used by /usr/lib/python3.8/site-packages/libxml2mod.so (dev-libs/libxml2-2.9.10-r4)
* used by /usr/lib64/firefox/libxul.so (www-client/firefox-78.7.0)
* used by 11 other files
* - /usr/lib64/libicuuc.so.68
* - /usr/lib64/libicuuc.so.68.2
* used by /usr/bin/js78 (dev-lang/spidermonkey-78.6.0)
* used by /usr/lib/python3.8/site-packages/libxml2mod.so (dev-libs/libxml2-2.9.10-r4)
* used by /usr/lib64/firefox/libxul.so (www-client/firefox-78.7.0)
* used by 20 other files
>>> package: dev-libs/libfmt-8.0.0-r1
* - /usr/lib64/libfmt.so.7
* - /usr/lib64/libfmt.so.7.0.3
* used by /usr/lib64/kodi/kodi-x11 (media-tv/kodi-19.0)
* used by /usr/lib64/libspdlog.so.1.7.0 (dev-libs/spdlog-1.7.0)
>>> package: dev-libs/protobuf-3.17.3
* - /usr/lib64/libprotobuf-lite.so.25
* - /usr/lib64/libprotobuf-lite.so.25.0.0
* used by /usr/bin/mixxx (media-sound/mixxx-2.2.4)
* - /usr/lib64/libprotobuf.so.25
* - /usr/lib64/libprotobuf.so.25.0.0
* used by /usr/lib64/libopencv_dnn.so.4.5.0 (media-libs/opencv-4.5.0)
>>> package: dev-libs/quazip-1.1-r1
* - /usr/lib64/libquazip5.so.1
* - /usr/lib64/libquazip5.so.1.0.0
* used by /usr/lib64/libkritastore.so.20.0.0 (media-gfx/krita-4.4.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
* After world updates, it is important to remove obsolete packages with
* emerge --depclean. Refer to `man emerge` for more information.
Code: Select all
cat /var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log
* Package: dev-libs/spdlog-1.8.5
* Repository: gentoo
* Maintainer: davidroman96@gmail.com proxy-maint@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking spdlog-1.8.5.tar.gz to /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Source unpacked in /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Preparing source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
* Hardcoded definition(s) removed in CMakeLists.txt:
* set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FOR
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
cmake -C /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSPDLOG_BUILD_BENCH=no -DSPDLOG_BUILD_EXAMPLE=no -DSPDLOG_FMT_EXTERNAL=yes -DSPDLOG_BUILD_SHARED=yes -DSPDLOG_BUILD_TESTS=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5
loading initial cache file /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build spdlog: 1.8.5
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Build type: Gentoo
-- Generating install
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C
C++ -march=native -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build"
ninja -v -j4 -l0
[1/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/file_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/file_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/file_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/file_sinks.cpp
[2/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/stdout_sinks.cpp
[3/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/color_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/color_sinks.cpp
[4/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/cfg.cpp.o -MF CMakeFiles/spdlog.dir/src/cfg.cpp.o.d -o CMakeFiles/spdlog.dir/src/cfg.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/cfg.cpp
[5/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/async.cpp.o -MF CMakeFiles/spdlog.dir/src/async.cpp.o.d -o CMakeFiles/spdlog.dir/src/async.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/async.cpp
[6/8] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/spdlog.cpp.o -MF CMakeFiles/spdlog.dir/src/spdlog.cpp.o.d -o CMakeFiles/spdlog.dir/src/spdlog.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp
FAILED: CMakeFiles/spdlog.dir/src/spdlog.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include -march=native -O2 -pipe -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/spdlog.cpp.o -MF CMakeFiles/spdlog.dir/src/spdlog.cpp.o.d -o CMakeFiles/spdlog.dir/src/spdlog.cpp.o -c /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:9:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
63 | fmt::format_system_error(outbuf, last_errno, msg);
| ^~~
| |
| const string {aka const std::__cxx11::basic_string<char>}
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2262:46: note: initializing argument 3 of ‘void fmt::v7::format_system_error(fmt::v7::detail::buffer<char>&, int, const char*)’
2262 | const char* message) FMT_NOEXCEPT;
| ~~~~~~~~~~~~^~~~~~~
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/pattern_formatter-inl.h:10,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:13:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h: In function ‘void spdlog::details::fmt_helper::pad2(int, spdlog::memory_buf_t&)’:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h:57:40: warning: ‘fmt::v7::appender fmt::v7::format_to(fmt::v7::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v7::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v7::format_string<T ...> = fmt::v7::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
57 | fmt::format_to(dest, "{:02}", n);
| ^
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/pattern_formatter-inl.h:10,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:13:
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/details/fmt_helper.h:57:40: warning: ‘fmt::v7::appender fmt::v7::format_to(fmt::v7::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v7::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v7::format_string<T ...> = fmt::v7::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
57 | fmt::format_to(dest, "{:02}", n);
| ^
In file included from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/fmt/fmt.h:26,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common.h:36,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog.h:12,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/spdlog-inl.h:7,
from /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/src/spdlog.cpp:8:
/usr/include/fmt/format.h:2790:21: note: declared here
2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
| ^~~~~~~~~
ninja: build stopped: subcommand failed.
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (compile phase):
* ninja -v -j4 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2074: Called cmake_src_compile
* environment, line 770: Called cmake_build
* environment, line 739: Called eninja
* environment, line 1191: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5_build'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'What do you mean by this, I don't see any patches being applied in the log (would say something about "* User patches applied." early on).denn0n wrote:sorry i forgot to mention i already set the patch to
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h
Oh Sorry my first patch on Gentoo let me show how I'm dooing it maybe it's wrong for sure since a i get thisIonen wrote:What do you mean by this, I don't see any patches being applied in the log (would say something about "* User patches applied." early on).denn0n wrote:sorry i forgot to mention i already set the patch to
/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5/include/spdlog/common-inl.h
See wiki entry about /etc/portage/patches
Code: Select all
emerge --update dev-libs/spdlog
Calculating dependencies... done!
!!! The following installed packages are masked:
- sys-devel/binutils-2.35.1-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.
- sys-libs/glibc-2.32-r6::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-libs/spdlog-1.8.5::gentoo
* spdlog-1.8.5.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking spdlog-1.8.5.tar.gz to /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Source unpacked in /var/tmp/portage/dev-libs/spdlog-1.8.5/work
>>> Preparing source in /var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5 ...
* Applying bug_#797394.patch ...
patch: **** Only garbage was found in the patch input. [ !! ]
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 2081: Called cmake_src_prepare
* environment, line 931: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 231: Called eapply_user
* environment, line 1112: Called eapply '/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* environment, line 1082: Called _eapply_patch '/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* environment, line 1020: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
>>> Failed to emerge dev-libs/spdlog-1.8.5, Log file:
>>> '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'
* Messages for package dev-libs/spdlog-1.8.5:
* ERROR: dev-libs/spdlog-1.8.5::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 2081: Called cmake_src_prepare
* environment, line 931: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 231: Called eapply_user
* environment, line 1112: Called eapply '/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* environment, line 1082: Called _eapply_patch '/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* environment, line 1020: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.8.5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.8.5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'
* S: '/var/tmp/portage/dev-libs/spdlog-1.8.5/work/spdlog-1.8.5'Code: Select all
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/common.h>
#endif
namespace spdlog {
namespace level {
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES;
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES;
SPDLOG_INLINE const string_view_t &to_string_view(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
{
return level_string_views[l];
}
SPDLOG_INLINE void set_string_view(spdlog::level::level_enum l, const string_view_t &s) SPDLOG_NOEXCEPT
{
level_string_views[l] = s;
}
SPDLOG_INLINE const char *to_short_c_str(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
{
return short_level_names[l];
}
SPDLOG_INLINE spdlog::level::level_enum from_str(const std::string &name) SPDLOG_NOEXCEPT
{
int level = 0;
for (const auto &level_str : level_string_views)
{
if (level_str == name)
{
return static_cast<level::level_enum>(level);
}
level++;
}
// check also for "warn" and "err" before giving up..
if (name == "warn")
{
return level::warn;
}
if (name == "err")
{
return level::err;
}
return level::off;
}
} // namespace level
SPDLOG_INLINE spdlog_ex::spdlog_ex(std::string msg)
: msg_(std::move(msg))
{}
SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno)
{
memory_buf_t outbuf;
- fmt::format_system_error(outbuf, last_errno, msg);
+ fmt::format_system_error(outbuf, last_errno, msg.c_str());
msg_ = fmt::to_string(outbuf);
}
SPDLOG_INLINE const char *spdlog_ex::what() const SPDLOG_NOEXCEPT
{
return msg_.c_str();
}
SPDLOG_INLINE void throw_spdlog_ex(const std::string &msg, int last_errno)
{
SPDLOG_THROW(spdlog_ex(msg, last_errno));
}
SPDLOG_INLINE void throw_spdlog_ex(std::string msg)
{
SPDLOG_THROW(spdlog_ex(std::move(msg)));
}
} // namespace spdlog
Code: Select all
/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch Code: Select all
/etc/portage/patches/dev-libs/spdlog/bug.patchCode: Select all
--- a/include/spdlog/common-inl.h 2021-06-21 17:15:26.695992698 -0600
+++ b/include/spdlog/common-inl.h 2021-06-21 17:15:52.205992496 -0600
@@ -60,7 +60,7 @@
SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno)
{
memory_buf_t outbuf;
- fmt::format_system_error(outbuf, last_errno, msg);
+ fmt::format_system_error(outbuf, last_errno, msg.c_str());
msg_ = fmt::to_string(outbuf);
}For a version-locked patch, that will work. According to OP's output, the patch was found and used. However, the patch was ill-formed. The latter part of your message looks to me to be how OP should do it.sdauth wrote:-> this is wrong, it should be :Code: Select all
/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch
Thank You that Works and spdlog it's no more the problem ! I'm working in the rest, if i stuck in something i will post here thank you againsdauth wrote:-> this is wrong, it should be :Code: Select all
/etc/portage/patches/dev-libs/spdlog-1.8.5/bug_#797394.patch
and the content :Code: Select all
/etc/portage/patches/dev-libs/spdlog/bug.patch
Code: Select all
--- a/include/spdlog/common-inl.h 2021-06-21 17:15:26.695992698 -0600 +++ b/include/spdlog/common-inl.h 2021-06-21 17:15:52.205992496 -0600 @@ -60,7 +60,7 @@ SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno) { memory_buf_t outbuf; - fmt::format_system_error(outbuf, last_errno, msg); + fmt::format_system_error(outbuf, last_errno, msg.c_str()); msg_ = fmt::to_string(outbuf); }
Thank you I will do so, and i have another Question i don't know if I should open a new treat but after almost every package have being compile "only left Kodi" i had tigervnc installed still there but when i do vncserver :1 etc.. to create a virtual desktop it sayIonen wrote:Note that you can remove the spdlog patch already given it's in ::gentoo now:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d8afb7f3cd0f431e5b40fe486e1e89965131e5
Or else it'll fail applying the next time you rebuild/update it.
Code: Select all
-bash: vncserver: command not foundit's have being a silly mistake I compile again whit the correct USE flagsdenn0n wrote:Thank you I will do so, and i have another Question i don't know if I should open a new treat but after almost every package have being compile "only left Kodi" i had tigervnc installed still there but when i do vncserver :1 etc.. to create a virtual desktop it sayIonen wrote:Note that you can remove the spdlog patch already given it's in ::gentoo now:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d8afb7f3cd0f431e5b40fe486e1e89965131e5
Or else it'll fail applying the next time you rebuild/update it.Code: Select all
-bash: vncserver: command not found