Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782061 - sys-fs/udisks-2.9.2[lvm][zram] - /.../udiskslinuxmodulebtrfs.c:64: undefined reference to udisks_module_get_type
Summary: sys-fs/udisks-2.9.2[lvm][zram] - /.../udiskslinuxmodulebtrfs.c:64: undefined ...
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: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-04-11 07:46 UTC by Toralf Förster
Modified: 2022-05-15 22:11 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.68 KB, text/plain)
2021-04-11 07:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.01 KB, text/plain)
2021-04-11 07:46 UTC, Toralf Förster
Details
environment (environment,87.02 KB, text/plain)
2021-04-11 07:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.47 KB, application/x-bzip)
2021-04-11 07:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.13 KB, application/x-bzip)
2021-04-11 07:46 UTC, Toralf Förster
Details
sys-fs:udisks-2.9.2:20210410-231249.log (sys-fs:udisks-2.9.2:20210410-231249.log,619.55 KB, text/plain)
2021-04-11 07:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.60 KB, application/x-bzip)
2021-04-11 07:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-11 07:46:15 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000003690
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libudisks2_btrfs_la-udiskslinuxmodulebtrfs.o: in function `udisks_linux_module_btrfs_get_type_once':
/var/tmp/portage/sys-fs/udisks-2.9.2/work/udisks-2.9.2/modules/btrfs/udiskslinuxmodulebtrfs.c:64: undefined reference to `udisks_module_get_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libudisks2_btrfs_la-udiskslinuxmodulebtrfs.o: in function `udisks_linux_module_btrfs_class_init':
/var/tmp/portage/sys-fs/udisks-2.9.2/work/udisks-2.9.2/modules/btrfs/udiskslinuxmodulebtrfs.c:225: undefined reference to `udisks_module_get_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libudisks2_btrfs_la-udiskslinuxmodulebtrfs.o: in function `udisks_linux_module_btrfs_new_block_object_interface':

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210408-231233

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0 *
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Rust versions:
  [1]   rust-1.51.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr 10 21:05:28 UTC 2021

emerge -qpvO sys-fs/udisks
[ebuild  N    ] sys-fs/udisks-2.9.2  USE="acl daemon introspection nls systemd -debug (-elogind) -lvm (-selinux) -vdo -zram"
Comment 1 Toralf Förster gentoo-dev 2021-04-11 07:46:17 UTC
Created attachment 699153 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-11 07:46:18 UTC
Created attachment 699156 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-11 07:46:20 UTC
Created attachment 699159 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-11 07:46:21 UTC
Created attachment 699162 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-11 07:46:22 UTC
Created attachment 699165 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-11 07:46:24 UTC
Created attachment 699168 [details]
sys-fs:udisks-2.9.2:20210410-231249.log
Comment 7 Toralf Förster gentoo-dev 2021-04-11 07:46:25 UTC
Created attachment 699171 [details]
temp.tar.bz2
Comment 8 orbea 2022-05-10 16:48:45 UTC
Upstream PR https://github.com/storaged-project/udisks/pull/978
Comment 9 Larry the Git Cow gentoo-dev 2022-05-11 02:07:47 UTC
The bug has been referenced in the following commit(s):

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

commit 18950b1eba7d8fdf98cf2795092b9c062f6536ad
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-10 23:48:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-11 02:07:07 +0000

    sys-fs/udisks: Fix undefined references
    
    When building with slibtool the build fails with undefined references.
    This is because slibtool respects -no-undefined while GNU libtool
    silently ignores it.
    
    Adding the missing dependency fixes the issue.
    
    Bug: https://bugs.gentoo.org/782061
    Upstream-PR: https://github.com/storaged-project/udisks/pull/978
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25433
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/udisks/files/udisks-2.9.4-undefined.patch | 30 ++++++++++++++++++++++++
 sys-fs/udisks/udisks-2.9.4.ebuild                |  9 ++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)
Comment 10 orbea 2022-05-11 22:03:37 UTC
Going to reopen this because it still occurs with USE=lvm and presumably with USE=zram (I'm not installing systemd to find out).

I'm going to hold off until upstream to responds for now.
Comment 11 Larry the Git Cow gentoo-dev 2022-05-15 22:10:56 UTC
The bug has been referenced in the following commit(s):

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

commit 839c920c715e527da38a69aefb2e9432d4ad65ba
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-15 15:02:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-15 22:09:41 +0000

    sys-fs/udisks: Fix more undefined refeferences
    
    Follow up to PR https://github.com/gentoo/gentoo/pull/25433
    
    This should solve the undefined references with all of the available
    modules.
    
    Bug: https://bugs.gentoo.org/782061
    Upstream-PR: https://github.com/storaged-project/udisks/pull/978
    Upstream-PR: https://github.com/storaged-project/udisks/pull/979
    Upstream-Commit: https://github.com/storaged-project/udisks/commit/362cc8f1613193f8e68d13a416421bb36fd7f713
    Upstream-Commit: https://github.com/storaged-project/udisks/commit/6cbce6602ce447127cb4f77706870b6706bf1c5f
    Upstream-Commit: https://github.com/storaged-project/udisks/commit/97bb17425e52ee6b2f11b13b3764d0dd6e8cfc97
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25504
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/udisks/files/udisks-2.9.4-undefined.patch | 115 ++++++++++++++++++++++-
 1 file changed, 114 insertions(+), 1 deletion(-)