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

Bug 902995

Summary: net-libs/ntirpc-4.3 - /.../ld: src/libntirpc.so.4.3: undefined reference to assert
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
net-libs:ntirpc-4.3:20230324-223749.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-24 22:45:24 UTC
too long lines were shrinked:

[53/56] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DINET6 -DPORTMAP -D_GNU_SOURCE -Dntirpc_EXPORTS -I/var/tmp/portage/net-libs/ntirpc-4.3/work/ntirpc-4.3/ntirpc -I/var/tmp/portage/net-libs/ntirpc-4.3/work/ntirpc-4.3_build  -O2 -pipe -march=native -fno-diagnostics-color -fPIC -fPIC -fno-diagno
[54/56] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fPIC  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,--version-script=/var/tmp/portage/net-libs/ntirpc-4.3/work/ntirpc-4.3_build/libntirpc.map -shared -Wl,-soname,libntirpc.so.4.
[55/56] /usr/bin/cmake -E cmake_symlink_library src/libntirpc.so.4.3 src/libntirpc.so.4.3 src/libntirpc.so && :
[56/56] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tests/CMakeFiles/rpcping.dir/rpcping.c.o -o tests/rpcping  -Wl,-rpath,/var/tmp/portage/net-libs/ntirpc-4.3/work/ntirpc-4.3_build/s
FAILED: tests/rpcping 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tests/CMakeFiles/rpcping.dir/rpcping.c.o -o tests/rpcping  -Wl,-rpath,/var/tmp/portage/net-libs/ntirpc-4.3/work/ntirpc-4.3_build/src  src/
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/libntirpc.so.4.3: undefined reference to `assert'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20230324-060004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.68.1
  [2]   rust-1.68.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 8efe907e36a2818be94fefad2384aef2d5706f91
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 24 21:33:58 2023 +0000

    2023-03-24 21:33:58 UTC

emerge -qpvO net-libs/ntirpc
[ebuild  N    ] net-libs/ntirpc-4.3  USE="-gssapi -rdma"
Comment 1 Toralf Förster gentoo-dev 2023-03-24 22:45:25 UTC
Created attachment 858899 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-24 22:45:26 UTC
Created attachment 858901 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-24 22:45:28 UTC
Created attachment 858903 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-24 22:45:29 UTC
Created attachment 858905 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-24 22:45:29 UTC
Created attachment 858907 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-24 22:45:30 UTC
Created attachment 858909 [details]
net-libs:ntirpc-4.3:20230324-223749.log
Comment 7 Toralf Förster gentoo-dev 2023-03-24 22:45:32 UTC
Created attachment 858911 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-08-28 12:41:03 UTC
The bug has been closed via the following commit(s):

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

commit 5c4054ee16fce258ec9d9ba17cfa4c73fe558c97
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-08-28 12:40:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-08-28 12:40:55 +0000

    net-libs/ntirpc: drop 4.2, 4.3
    
    Closes: https://bugs.gentoo.org/902995
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-libs/ntirpc/Manifest          |  2 --
 net-libs/ntirpc/ntirpc-4.2.ebuild | 31 -------------------------------
 net-libs/ntirpc/ntirpc-4.3.ebuild | 31 -------------------------------
 3 files changed, 64 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 65a50a61ad81413be21d2e08e532c9f24875db8e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-08-28 12:40:54 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-08-28 12:40:54 +0000

    net-libs/ntirpc: add 5.0
    
    Bug: https://bugs.gentoo.org/902995
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-libs/ntirpc/Manifest                           |  1 +
 .../ntirpc/files/ntirpc-5.0-include-assert.h.patch | 12 ++++++++
 net-libs/ntirpc/ntirpc-5.0.ebuild                  | 33 ++++++++++++++++++++++
 3 files changed, 46 insertions(+)