Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884309 - sys-cluster/ceph-17.2.5-r1[zfs] src/os/fs/ZFS.cc:82:37: error: too few arguments to function ‘int zfs_iter_snapshots_sorted(zfs_handle_t*, zfs_iter_f, void*, uint64_t, uint64_t)’
Summary: sys-cluster/ceph-17.2.5-r1[zfs] src/os/fs/ZFS.cc:82:37: error: too few argume...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-04 14:36 UTC by Leonid Kopylov
Modified: 2022-12-04 18:37 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,42.33 KB, text/plain)
2022-12-04 14:37 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2022-12-04 14:36:43 UTC
# emerge -pqv '=sys-cluster/ceph-17.2.5-r1::gentoo'
[ebuild  N    ] sys-cluster/ceph-17.2.5-r1  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 zfs -custom-cflags (-dpdk) -jaeger -jemalloc -test" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"

# emerge --info '=sys-cluster/ceph-17.2.5-r1::gentoo'
Portage 3.0.40 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-12, glibc-2.36-r6, 6.0.11-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.11-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.36
KiB Mem:    32876052 total,  23042744 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sun, 04 Dec 2022 10:00:01 +0000
Head commit of repository gentoo: e71d31144780c530f96060005904503c0f23e780
sh bash 5.2_p12
ld GNU ld (Gentoo 2.39 p5) 2.39.0
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p12::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.8_p3::gentoo, 3.11.0_p2::gentoo, 3.12.0_alpha2::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.2::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.2.1_p20221008::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 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 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/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 aalib accessibility acl acpi alsa amd64 ao appindicator audit berkdb bidi bluetooth boost branding brotli bzip2 cairo cdda cdr cgi cli colord cron crypt cryptsetup cups curl dbus designer device-mapper djvu doc dri dts dvd dvdr eds emacs encode evdev evo examples executable exif expat experimental extra extras fam fbcon ffmpeg fftw flac fontconfig fortran freetds fuse games gcrypt gd gdbm gdk-pixbuf gif git glib glusterfs gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gpm graphite graphviz gssapi gstreamer gtk gtk-doc gtk3 gui guile harfbuzz heif highlight hscolour http http2 ibus iconv icu idn imagemagick imlib introspection iodbc ipv6 jack java jbig jemalloc jpeg jpeg2k jpegxl json kde kerberos ladspa latex lcms ldap libcaca libevent libglvnd libnotify libsamplerate libsecret libtirpc libxml2 lmdb lua lvm lz4 lzma lzo mad magic man mbedtls memcached midi mng mono mp3 mp4 mpeg mpi mssql multilib mysql nas nautilus ncurses netlink nettle networkmanager nfs nls nptl nss ntlm odbc offensive ogg openal openexr opengl openmp openssl opus pam pango pcap pcre pdf perl pkcs11 plugins png policykit portaudio postgres postscript ppds pulseaudio python qml qrcode qt5 raw rdma readline redis sasl sctp sdl seccomp skey sndfile sndio snmp sound source sox speech speex spell sql sqlite ssh ssl startup-notification svg symlink syslog sysprof systemd tcl test-rust threads tiff tk tools tracker truetype twolame udev udisks unicode unwind upower usb utils uuid vala vim-syntax vnc vorbis wavpack wayland webengine webkit webp websockets widgets wmf wxwidgets x264 x265 xattr xcb xface xft xinerama xml xpm xscreensaver xv xvid zeroconf zfs zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" 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="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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en en-US he ru" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="fbdev" 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:  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
Comment 1 Leonid Kopylov 2022-12-04 14:37:10 UTC
Created attachment 839811 [details]
build.log.xz
Comment 2 Mike Gilbert gentoo-dev 2022-12-04 18:37:56 UTC
FAILED: src/os/CMakeFiles/os_zfs_objs.dir/fs/ZFS.cc.o
/usr/sbin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/var/tmp
/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5_build/src/include -I/var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src -isystem /var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5_build/include -isystem /var/t
mp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/xxHash -isystem /var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/rapidjson/include -isystem /usr/include/libzfs -isystem /usr/include/libspl -isystem /usr/include
/blkid -isystem /usr/include/uuid -isystem /usr/include/tirpc  -march=native -O2 -pipe -fPIC   -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-s
elf -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=
auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/os/CMakeFiles/os_zfs_objs.dir/fs/ZFS.cc.o -MF src/os/CMakeFiles/os_zfs_objs.dir/fs/ZFS.cc.o.d -o src/os/CMakeFiles/os_zfs_objs.dir
/fs/ZFS.cc.o -c /var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/os/fs/ZFS.cc
/var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/os/fs/ZFS.cc: In member function ‘int ZFS::iter_snapshots_sorted(Handle*, iter_func, void*)’:
/var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/os/fs/ZFS.cc:82:37: error: too few arguments to function ‘int zfs_iter_snapshots_sorted(zfs_handle_t*, zfs_iter_f, void*, uint64_t, uint64_t)’
   82 |   return ::zfs_iter_snapshots_sorted((zfs_handle_t*)h, (zfs_iter_f)f, d);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/sys-cluster/ceph-17.2.5-r1/work/ceph-17.2.5/src/os/fs/ZFS.cc:5:
/usr/include/libzfs/libzfs.h:620:12: note: declared here
  620 | extern int zfs_iter_snapshots_sorted(zfs_handle_t *, zfs_iter_f, void *,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~