Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911929 - dev-util/crash-8.0.3 - defs.h: error: conflicting types for strlcpy; have size_t(char , char , size_t) {aka long unsigned int(char
Summary: dev-util/crash-8.0.3 - defs.h: error: conflicting types for strlcpy; have siz...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.38
  Show dependency tree
 
Reported: 2023-08-08 16:33 UTC by Toralf Förster
Modified: 2023-08-09 23:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.11 KB, text/plain)
2023-08-08 16:33 UTC, Toralf Förster
Details
dev-util:crash-8.0.3:20230808-161609.log.xz (dev-util:crash-8.0.3:20230808-161609.log.xz,31.28 KB, application/x-xz)
2023-08-08 16:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.46 KB, text/plain)
2023-08-08 16:34 UTC, Toralf Förster
Details
environment (environment,61.03 KB, text/plain)
2023-08-08 16:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.32 KB, application/x-xz)
2023-08-08 16:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,74.35 KB, application/x-xz)
2023-08-08 16:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,45.29 KB, application/x-xz)
2023-08-08 16:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-08 16:33:58 UTC
x86_64-pc-linux-gnu-gcc -c -g -DX86_64  -DGDB_10_2 -O2 -pipe -march=native -fno-diagnostics-color main.c   
x86_64-pc-linux-gnu-gcc -c -g -DX86_64  -DGDB_10_2 -O2 -pipe -march=native -fno-diagnostics-color tools.c  
x86_64-pc-linux-gnu-gcc -c -g -DX86_64  -DGDB_10_2 -O2 -pipe -march=native -fno-diagnostics-color global_data.c  
x86_64-pc-linux-gnu-gcc -c -g -DX86_64  -DGDB_10_2 -O2 -pipe -march=native -fno-diagnostics-color memory.c  
x86_64-pc-linux-gnu-gcc -c -g -DX86_64  -DGDB_10_2 -O2 -pipe -march=native -fno-diagnostics-color filesys.c  
In file included from tools.c:18:
defs.h:5516:8: error: conflicting types for strlcpy; have size_t(char *, char *, size_t) {aka long unsigned int(char *, char *, long unsigned int)}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20230807-130511

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):
go version go1.20.7 linux/amd64

  HEAD of ::gentoo
commit b1b41ddc8006a8b02af6ce4644f653e85e7226dd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 8 15:16:41 2023 +0000

    2023-08-08 15:16:41 UTC

emerge -qpvO dev-util/crash
[ebuild  N    ] dev-util/crash-8.0.3
Comment 1 Toralf Förster gentoo-dev 2023-08-08 16:33:59 UTC
Created attachment 867428 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-08 16:34:00 UTC
Created attachment 867429 [details]
dev-util:crash-8.0.3:20230808-161609.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-08-08 16:34:01 UTC
Created attachment 867430 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-08 16:34:02 UTC
Created attachment 867431 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-08 16:34:03 UTC
Created attachment 867432 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-08 16:34:05 UTC
Created attachment 867433 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-08 16:34:06 UTC
Created attachment 867434 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-08-09 23:09:33 UTC
The bug has been closed via the following commit(s):

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

commit 82b92c8a4bdbe7a31407a436f19a16d3470f229f
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2023-08-09 22:25:39 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2023-08-09 23:09:01 +0000

    dev-util/crash: fix strlcpy() issue for glibc-2.38
    
    Closes: https://bugs.gentoo.org/911929
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 dev-util/crash/crash-8.0.3-r1.ebuild           | 67 ++++++++++++++++++++++++++
 dev-util/crash/files/crash-8.0.3-strlcpy.patch | 26 ++++++++++
 2 files changed, 93 insertions(+)