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

Bug 875026

Summary: net-irc/dccserver-0.5-r1 - dcc.c: error: implicit declaration of function strlcpy
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28475
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-irc:dccserver-0.5-r1:20221004-151535.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:37:18 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c io.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c strip_path.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c strlcpy.c
dcc.c: In function parse_reply:
dcc.c:134:5: error: implicit declaration of function strlcpy; did you mean strncpy? [-Werror=implicit-function-declaration]
  134 |     strlcpy(partner, p, partnersize);
      |     ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

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]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   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 a5a1d4ccbe14f5fae37a29d910e717c8eadd0b70
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 13:47:44 2022 +0000

    2022-10-04 13:47:43 UTC

emerge -qpvO net-irc/dccserver
[ebuild  N    ] net-irc/dccserver-0.5-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:37:19 UTC
Created attachment 819406 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:37:21 UTC
Created attachment 819409 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:37:22 UTC
Created attachment 819412 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:37:23 UTC
Created attachment 819415 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:37:24 UTC
Created attachment 819418 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:37:25 UTC
Created attachment 819421 [details]
net-irc:dccserver-0.5-r1:20221004-151535.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:37:26 UTC
Created attachment 819424 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:46:18 UTC
*** Bug 882125 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-12-06 09:24:20 UTC
The bug has been closed via the following commit(s):

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

commit db259dcd0de3671f15a6b2be6d3d4b07599e567d
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-29 18:58:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-06 09:23:09 +0000

    net-irc/dccserver: fix build for clang16
    
    Closes: https://bugs.gentoo.org/875026
    Closes: https://bugs.gentoo.org/861377
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28475
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/dccserver/dccserver-0.5-r2.ebuild          | 30 ++++++++++++++++++++++
 .../dccserver-0.5-include-bsd-string-header.patch  | 19 ++++++++++++++
 2 files changed, 49 insertions(+)