Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920371 - sys-cluster/ceph-18.2.0-r2 failed to rebuild after system upgrade - Could NOT find babeltrace
Summary: sys-cluster/ceph-18.2.0-r2 failed to rebuild after system upgrade - Could NOT...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-20 10:44 UTC by Leonid Kopylov
Modified: 2024-01-20 12:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,22.42 KB, text/plain)
2023-12-20 10:44 UTC, Leonid Kopylov
Details
build.log (build.log,21.96 KB, text/plain)
2023-12-31 10:51 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2023-12-20 10:44:36 UTC
# emerge -pqv '=sys-cluster/ceph-18.2.0-r2::gentoo'
[ebuild   R   ] sys-cluster/ceph-18.2.0-r2  USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc (-selinux) -test -zfs" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_11 -python3_10"

# emerge --info '=sys-cluster/ceph-18.2.0-r2::gentoo'
Portage 3.0.58 (python 3.12.1-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.6.7-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.7-gentoo-amd64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-1360P-with-glibc2.38
KiB Mem:    65397708 total,  39854012 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 20 Dec 2023 09:30:01 +0000
Head commit of repository gentoo: 1679fb06825f3c454d1b487b4673d334009e5532
Timestamp of repository EmilienMottet: Sun, 17 Dec 2023 11:32:25 +0000
Head commit of repository EmilienMottet: 45e66de45342bea10f5fb9dac9f7a5dc6feff178

Timestamp of repository HomeAssistantRepository: Sun, 17 Dec 2023 17:46:55 +0000
Head commit of repository HomeAssistantRepository: 211a1ca9f6b440dcb95bd80536496f569631ad38

Head commit of repository brave-overlay: 27c7b9b4f46c4734bd2954292a54bb0466417713

Timestamp of repository darkelf: Mon, 13 Nov 2023 22:45:37 +0000
Head commit of repository darkelf: 0bd04c60084ab7425ec0beade82258725f8e32cc

Timestamp of repository guru: Wed, 20 Dec 2023 09:16:43 +0000
Head commit of repository guru: 5b43dae4c014c0ccff3475d8593004e2d16f2de9

Timestamp of repository inode64-overlay: Tue, 19 Dec 2023 11:16:51 +0000
Head commit of repository inode64-overlay: b09c715a5e260db080d91373e541dbea601be2f6

Timestamp of repository kde: Tue, 19 Dec 2023 22:31:54 +0000
Head commit of repository kde: ec83323d0dd4ec03dbf8eb79cc6c8afe73d4e9c9

Timestamp of repository pentoo: Sun, 17 Dec 2023 11:32:11 +0000
Head commit of repository pentoo: 4e80dffa30169aeb9bae4ff43aadd16ee504d2b0

Timestamp of repository torbrowser: Tue, 19 Dec 2023 18:31:52 +0000
Head commit of repository torbrowser: 28d68204f1d20ef609373d28d28189033c4f926b

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.28.1::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20231215::gentoo, 13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

EmilienMottet
    location: /var/db/repos/EmilienMottet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git
    masters: gentoo
    volatile: False

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

darkelf
    location: /var/db/repos/darkelf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/darkelf.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /opt/zookeeper-bin/conf /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-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
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"
SHELL="/bin/bash"
USE="X a52 aac accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cli colord crypt cryptsetup cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nptl nss odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zfs zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-cluster/ceph-18.2.0-r2::gentoo was built with the following:
USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc (-selinux) -test -zfs" ABI_X86="(64)" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_11 -python3_10"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
FEATURES="network-sandbox preserve-libs merge-sync unmerge-orphans buildpkg-live binpkg-multi-instance pid-sandbox sandbox usersync xattr binpkg-logs config-protect-if-modified protect-owned parallel-fetch userpriv assume-digests usersandbox distlocks ebuild-locks unknown-features-warn binpkg-dostrip binpkg-docompress warn-on-large-env strict-keepdir unmerge-logs userfetch pkgdir-index-trusted news qa-unresolved-soname-deps sfperms ipc-sandbox strict fixlafiles multilib-strict"
Comment 1 Leonid Kopylov 2023-12-20 10:44:48 UTC
Created attachment 880071 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-20 10:46:36 UTC
Probably dev-util/babeltrace-2.0.5.
Comment 3 Leonid Kopylov 2023-12-20 10:50:34 UTC
(In reply to Sam James from comment #2)
> Probably dev-util/babeltrace-2.0.5.

yes, downgrading to dev-util/babeltrace-1.5.8 solves the issue
Comment 4 Larry the Git Cow gentoo-dev 2023-12-28 02:57:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb7e0baa25b6a4b3a22e9bdd0e406e1827417e2

commit bfb7e0baa25b6a4b3a22e9bdd0e406e1827417e2
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-20 18:10:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-28 02:56:40 +0000

    sys-cluster/ceph: limit to dev-util/babeltrace:0/1 for USE=babeltrace
    
    dev-util/babeltrace:0/2 installs itself as "babeltrace2" for pkg-config.
    This is on purpose since the interface is significantly different enough
    to require complete rewrites against it.
    
    Closes: https://bugs.gentoo.org/920371
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34384
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ceph/ceph-16.2.14-r1.ebuild | 2 +-
 sys-cluster/ceph/ceph-17.2.6-r8.ebuild  | 2 +-
 sys-cluster/ceph/ceph-17.2.7.ebuild     | 2 +-
 sys-cluster/ceph/ceph-18.2.0-r2.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973e13144101bc288aa593ceb6e9b536397a2627

commit 973e13144101bc288aa593ceb6e9b536397a2627
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-20 18:07:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-28 02:56:40 +0000

    dev-util/babeltrace: add subslot to <2
    
    For dep resolution only, no need to revbump as triggering rebuilds is
    not desired.
    
    Bug: https://bugs.gentoo.org/920371
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/babeltrace/babeltrace-1.5.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 5 Leonid Kopylov 2023-12-31 10:51:36 UTC
Created attachment 881098 [details]
build.log
Comment 6 Leonid Kopylov 2023-12-31 10:51:57 UTC
still unable to rebuild it
Comment 7 Leonid Kopylov 2023-12-31 11:03:33 UTC
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find babeltrace (missing: BABELTRACE_INCLUDE_DIR
  BABELTRACE_LIBRARY)
Comment 8 matoro archtester 2024-01-01 06:40:33 UTC
(In reply to Leonid Kopylov from comment #6)
> still unable to rebuild it

Did you use --changed-deps?  What version of dev-util/babeltrace do you have installed?  Did you also run "emerge --sync" to make sure you got the fix changes?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-01 06:53:37 UTC
(In reply to matoro from comment #8)
> (In reply to Leonid Kopylov from comment #6)
> > still unable to rebuild it
> 
> Did you use --changed-deps?  What version of dev-util/babeltrace do you have
> installed?  Did you also run "emerge --sync" to make sure you got the fix
> changes?

Using changed-deps shouldn't be required for this to pick up the fix anyway.

matoro, you added :0/2 to 18.x which is the version he's reported?
Comment 10 Leonid Kopylov 2024-01-01 07:30:52 UTC
(In reply to matoro from comment #8)
> (In reply to Leonid Kopylov from comment #6)
> > still unable to rebuild it
> 
> Did you use --changed-deps?  What version of dev-util/babeltrace do you have
> installed?  Did you also run "emerge --sync" to make sure you got the fix
> changes?

bdeps didn't do anything.
# emerge babeltrace -pvq
[ebuild   R   ] dev-util/babeltrace-2.0.5  USE="doc elfutils man plugins python" PYTHON_SINGLE_TARGET="python3_12 -pypy3 -python3_10 -python3_11"
Comment 11 Larry the Git Cow gentoo-dev 2024-01-20 12:36:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b50d0df3ffe7b6051b41abf1268ec10e58c810b

commit 5b50d0df3ffe7b6051b41abf1268ec10e58c810b
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2024-01-03 22:11:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-20 12:35:38 +0000

    sys-cluster/ceph: fix babeltrace subslot restriction in 18.2.0-r2
    
    Mistyped this in the initial fix.
    
    Closes: https://bugs.gentoo.org/920371
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34626
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ceph/ceph-18.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)