Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922958 - net-fs/nfs-utils-2.6.4-r3 undefined symbol: cleanup_lockfiles
Summary: net-fs/nfs-utils-2.6.4-r3 undefined symbol: cleanup_lockfiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-26 11:58 UTC by Rin Cat
Modified: 2024-01-29 11:03 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,87.36 KB, text/x-log)
2024-01-26 11:58 UTC, Rin Cat
Details
emerge-info (emerge-info.log,5.84 KB, text/x-log)
2024-01-26 11:59 UTC, Rin Cat
Details
build.log (build.log,86.37 KB, text/x-log)
2024-01-26 12:00 UTC, Rin Cat
Details
build.log on ~arm w/ gcc-glibc (build-gcc-glibc-arm.log,157.14 KB, text/plain)
2024-01-29 09:42 UTC, Christian Bricart
Details
emerge --info for ~arm on gcc&glibc (emerge-info-gcc-glibc-arm,15.98 KB, text/plain)
2024-01-29 09:43 UTC, Christian Bricart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rin Cat 2024-01-26 11:58:26 UTC
This is under clang/musl.

make[2]: Entering directory '/var/tmp/portage/net-fs/nfs-utils-2.6.4-r3/work/nfs-utils-2.6.4/utils/exportd'
clang -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc   -I../../support/export  -Wall  -Wextra  -Werror=strict-prototypes  -fno-strict-aliasing  -O2 -pipe -c -o exportd-exportd.o `test -f 'exportd.c' || echo './'`exportd.c
/bin/sh ../../libtool  --tag=CC   --mode=link clang -Wall  -Wextra  -Werror=strict-prototypes  -fno-strict-aliasing  -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o exportd exportd-exportd.o ../../support/export/libexport.a ../../support/nfs/libnfs.la ../../support/misc/libmisc.a ../../support/reexport/libreexport.a  -lblkid -lpthread -luuid -lresolv -lsqlite3 -levent_core
libtool: link: clang -Wall -Wextra -Werror=strict-prototypes -fno-strict-aliasing -O2 -pipe -Wl,-O1 -o exportd exportd-exportd.o  -Wl,--as-needed ../../support/export/libexport.a ../../support/nfs/.libs/libnfs.a ../../support/misc/libmisc.a ../../support/reexport/libreexport.a -lblkid -lpthread -luuid -lresolv -lsqlite3 -levent_core
ld.lld: error: undefined symbol: cleanup_lockfiles
>>> referenced by exportd.c
>>>               exportd-exportd.o:(main)
>>> referenced by exportd.c
>>>               exportd-exportd.o:(killer)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible: Always
Comment 1 Rin Cat 2024-01-26 11:58:46 UTC
Created attachment 883161 [details]
build.log
Comment 2 Rin Cat 2024-01-26 11:59:39 UTC
Created attachment 883162 [details]
emerge-info
Comment 3 Rin Cat 2024-01-26 12:00:00 UTC
Created attachment 883163 [details]
build.log
Comment 4 Christian Bricart 2024-01-29 09:42:27 UTC
Created attachment 883542 [details]
build.log on ~arm w/ gcc-glibc

basically the same error also on ~arm with gcc&glibc
Comment 5 Christian Bricart 2024-01-29 09:43:15 UTC
Created attachment 883543 [details]
emerge --info for ~arm on gcc&glibc
Comment 6 Arnim Eijkhoudt 2024-01-29 10:30:21 UTC
Can also confirm for gcc+glibc on ~x86_64.

GCC: gcc-13.2.1_p20240113-r1
GLIBC: glibc-2.38-r9
Comment 7 Larry the Git Cow gentoo-dev 2024-01-29 11:03:04 UTC
The bug has been closed via the following commit(s):

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

commit c38258f864e03a8d09402f3b484c789a857e665d
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-01-29 11:01:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-01-29 11:01:57 +0000

    net-fs/nfs-utils: fix C99 inline semantics
    
    Closes: https://bugs.gentoo.org/922958
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/nfs-utils-2.6.4-C99-inline.patch         | 26 ++++++++++++++++++++++
 net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild         |  1 +
 2 files changed, 27 insertions(+)