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

Bug 874684

Summary: dev-libs/libdnet-1.16.1 - ./dnet.c: error: call to undeclared library function strlcpy with type unsigned long (char , const char
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:libdnet-1.16.1:20221003-160402.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 16:40:32 UTC
                                     ^~~~~~~~~~~~~~~
./dnet.c:2499:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:11554:10: error: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  (void)(strlcpy(__pyx_v_entry->intf_name, __pyx_t_2, 16));
         ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221003-104152

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [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):
GNU Make 4.3

  HEAD of ::gentoo
commit c7c5b1883cbcabbcd0e870b89df887ffa5265ebe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 15:02:24 2022 +0000

    2022-10-03 15:02:23 UTC

emerge -qpvO dev-libs/libdnet
[ebuild  N    ] dev-libs/libdnet-1.16.1  USE="python -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 16:40:33 UTC
Created attachment 817888 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 16:40:34 UTC
Created attachment 817891 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 16:40:36 UTC
Created attachment 817894 [details]
dev-libs:libdnet-1.16.1:20221003-160402.log
Comment 4 Toralf Förster gentoo-dev 2022-10-03 16:40:37 UTC
Created attachment 817897 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-03 16:40:39 UTC
Created attachment 817900 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-03 16:40:40 UTC
Created attachment 817903 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 16:40:41 UTC
Created attachment 817906 [details]
logs.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-04-07 11:12:19 UTC
The bug has been closed via the following commit(s):

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

commit ad6c7ef2a6fd58cb49204e5a8a26ed562ed64dfa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-07 11:05:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-07 11:11:25 +0000

    dev-libs/libdnet: add 1.16.2
    
    Closes: https://bugs.gentoo.org/874684
    Closes: https://bugs.gentoo.org/896712
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libdnet/Manifest              |  1 +
 dev-libs/libdnet/libdnet-1.16.2.ebuild | 79 ++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)