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

Bug 870895

Summary: dev-perl/Digest-Nilsimsa-0.60.0-r3 - Nilsimsa.xs: error: implicit declaration of function clear [-Werror=implicit-function-declara
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://rt.cpan.org/Public/Bug/Display.html?id=145874
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-perl:Digest-Nilsimsa-0.60.0-r3:20220917-161233.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 17:19:45 UTC
cp Nilsimsa.pm blib/lib/Digest/Nilsimsa.pm
mv Nilsimsa.xsc Nilsimsa.c
x86_64-pc-linux-gnu-gcc -c   -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int   -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE"   Nilsimsa.c
Nilsimsa.xs: In function XS_Digest__Nilsimsa_text2digest:
Nilsimsa.xs:72:11: error: implicit declaration of function clear [-Werror=implicit-function-declaration]
   72 |           clear(&gunma);
      |           ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220916-220004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.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.90

  HEAD of ::gentoo
commit 27e349751fc08f79c6f96f84652edf0c93ba9a1f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 14:46:52 2022 +0000

    2022-09-17 14:46:52 UTC

emerge -qpvO dev-perl/Digest-Nilsimsa
[ebuild  N    ] dev-perl/Digest-Nilsimsa-0.60.0-r3
Comment 1 Toralf Förster gentoo-dev 2022-09-17 17:19:46 UTC
Created attachment 808429 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 17:19:47 UTC
Created attachment 808432 [details]
dev-perl:Digest-Nilsimsa-0.60.0-r3:20220917-161233.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 17:19:48 UTC
Created attachment 808435 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 17:19:50 UTC
Created attachment 808438 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 17:19:51 UTC
Created attachment 808441 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 17:19:52 UTC
Created attachment 808444 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2023-01-21 04:54:32 UTC
The bug has been closed via the following commit(s):

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

commit b6298932089618c5df75fdc5c86929c7e169df35
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-21 04:06:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-21 04:06:23 +0000

    dev-perl/Digest-Nilsimsa: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/870895
    Signed-off-by: Sam James <sam@gentoo.org>

 ...0.0-r3.ebuild => Digest-Nilsimsa-0.60.0-r4.ebuild} |  6 +++++-
 .../files/Digest-Nilsimsa-0.60.0-clang16.patch        | 19 +++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)