Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 891633

Summary: sys-libs/liburing: backport patch for broken liburing.map
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=892453
Whiteboard:
Package list:
Runtime testing required: ---

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-21 21:19:12 UTC
When bumping dev-cpp/folly, I hit:
```
FAILED: folly/logging/example/logging_example
: && /var/tmp/portage/dev-cpp/folly-2023.01.16.00/temp/clang-wrappers/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -D_GLIBCXX_ASSERTIONS  -ggdb3 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs    -ggdb3    -rdynamic folly/logging/example/CMakeFiles/logging_example.dir/main.cpp.o -o folly/logging/example/logging_example  -Wl,-rpath,/var/tmp/portage/dev-cpp/folly-2023.01.16.00/work_build/folly/logging/example:/var/tmp/portage/dev-cpp/folly-2023.01.16.00/work_build  folly/logging/example/liblogging_example_lib.so  libfolly.so.0.58.0-dev  /usr/lib64/libfmt.so.9.1.0  /usr/lib64/libboost_context.so.1.81.0  /usr/lib64/libboost_filesystem.so.1.81.0  /usr/lib64/libboost_atomic.so.1.81.0  /usr/lib64/libboost_program_options.so.1.81.0  /usr/lib64/libboost_regex.so.1.81.0  /usr/lib64/libboost_system.so.1.81.0  /usr/lib64/libboost_thread.so.1.81.0  -ldouble-conversion  /usr/lib64/libgflags.so.2.2.2  -lglog  -levent  -lz  -lssl  -lcrypto  -lbz2  -llzma  -llz4  -lzstd  -lsnappy  -Wl,-Bstatic  -liberty  -Wl,-Bdynamic  -laio  -luring  -lsodium  -ldl  -lunwind && :
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libfolly.so.0.58.0-dev: undefined reference to `io_uring_enable_rings'
collect2: error: ld returned 1 exit status
```

It looks like this is solved by https://github.com/axboe/liburing/commit/19424b0baa5999918701e1972b901b0937331581. Please backport, thanks!
Comment 1 Larry the Git Cow gentoo-dev 2023-01-22 08:48:51 UTC
The bug has been closed via the following commit(s):

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

commit 29d4d06ff10f171a8766c326abcc0d5dad8b1eb8
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-01-22 08:48:20 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-01-22 08:48:28 +0000

    sys-libs/liburing: backport patch to export symbols
    
    Closes: https://bugs.gentoo.org/891633
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 ...p-Export-io_uring_-enable_rings-register_.patch | 35 +++++++++++
 sys-libs/liburing/liburing-2.3-r1.ebuild           | 72 ++++++++++++++++++++++
 2 files changed, 107 insertions(+)