Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910077 - sys-fs/udisks-2.9.4-r1: fails to build with sys-libs/libblockdev-3.0.1 (error: implicit declaration of function 'bd_crypto_luks_uuid')
Summary: sys-fs/udisks-2.9.4-r1: fails to build with sys-libs/libblockdev-3.0.1 (error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on: 910078
Blocks:
  Show dependency tree
 
Reported: 2023-07-09 02:33 UTC by Greg Kubaryk
Modified: 2023-07-09 02:53 UTC (History)
1 user (show)

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


Attachments
failed emerge of udisks-2.9.4-r1 with libblockdev-3.0.1 (build.log,97.55 KB, text/x-log)
2023-07-09 02:33 UTC, Greg Kubaryk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Kubaryk 2023-07-09 02:33:41 UTC
Created attachment 865292 [details]
failed emerge of udisks-2.9.4-r1 with libblockdev-3.0.1

# emerge --info
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r3, 5.19.0-46-generic x86_64)
=================================================================
System uname: Linux-5.19.0-46-generic-x86_64-AMD_Ryzen_9_6900HS_with_Radeon_Graphics-with-glibc2.37
KiB Mem:    15571112 total,    343280 free
KiB Swap:     999420 total,    234016 free
Timestamp of repository gentoo: Sun, 09 Jul 2023 02:00:01 +0000
Head commit of repository gentoo: c75b687ef09f4ebb1287a28be60dc441c9b46486
sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8.2 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0::gentoo
dev-lang/python:           3.11.4::gentoo, 3.12.0_beta3::gentoo
dev-lang/rust-bin:         1.69.0-r1::gentoo
dev-util/ccache:           4.8.2::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.35::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/terminfo"
CXXFLAGS="-O2 -pipe -march=znver2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-slot-rebuilds=n"
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="-O2 -pipe -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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="-O2 -pipe -march=znver2"
GENTOO_MIRRORS="https://kurly.net/gentoo-dist/ http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo https://mirrors.rit.edu/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j6"
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 acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dist-kernel dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" 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 sse4a 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="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="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi radeon" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-09 02:38:55 UTC
Note that it's different from bug 910074.udiskslinuxblock.c:3130:40: warning: passing argument 3 of 'bd_fs_wipe' makes integer from pointer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]]
 3130 |   if (! bd_fs_wipe (device_name, TRUE, &error))
      |                                        ^~~~~~
      |                                        |
      |                                        GError ** {aka struct _GError **}
In file included from /usr/include/blockdev/fs.h:74,
                 from udiskslinuxblock.c:43:
/usr/include/blockdev/fs/generic.h:6:66: note: expected 'gboolean' {aka 'int'} but argument is of type 'GError **' {aka 'struct _GError **'}
    6 | gboolean bd_fs_wipe (const gchar *device, gboolean all, gboolean force, GError **error) ;
      |                                                         ~~~~~~~~~^~~~~
udiskslinuxblock.c:3130:9: error: too few arguments to function 'bd_fs_wipe'
 3130 |   if (! bd_fs_wipe (device_name, TRUE, &error))
      |         ^~~~~~~~~~
/usr/include/blockdev/fs/generic.h:6:10: note: declared here
    6 | gboolean bd_fs_wipe (const gchar *device, gboolean all, gboolean force, GError **error) ;
      |          ^~~~~~~~~~
cc1: some warnings being trea

etc
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-09 02:50:14 UTC
I don't see any real value in trying to fix this. The bump to udisks-2.10 will be shortly in Gentoo, so < dep it is.
Comment 3 Larry the Git Cow gentoo-dev 2023-07-09 02:52:24 UTC
The bug has been closed via the following commit(s):

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

commit f0051899262fdaeaf63df3352978bddc9ec3554b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-09 02:51:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-09 02:51:51 +0000

    sys-fs/udisks: depend on <libblockdev-3
    
    I don't see any real value in trying to fix this.
    
    The bump to udisks-2.10 will be shortly in Gentoo, so < dep it is.
    
    Closes: https://bugs.gentoo.org/910077
    Bug: https://bugs.gentoo.org/910074
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/udisks/{udisks-2.9.4-r2.ebuild => udisks-2.9.4-r3.ebuild} | 2 ++
 1 file changed, 2 insertions(+)