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

Bug 870427

Summary: dev-perl/Crypt-DES-2.70.0-r2:0 - DES.xs: error: implicit declaration of function perl_des_expand_key
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=133363
https://rt.cpan.org/Public/Bug/Display.html?id=133412
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-perl:Crypt-DES-2.70.0-r2:20220916-175436.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-16 17:59:16 UTC
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DES.bs blib/arch/auto/Crypt/DES/DES.bs 644
mv DES.xsc DES.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=\"2.07\" -DXS_VERSION=\"2.07\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE"   DES.c
DES.xs: In function XS_Crypt__DES_expand_key:
DES.xs:39:17: error: implicit declaration of function perl_des_expand_key; did you mean _des_expand_key? [-Werror=implicit-function-declaration]
   39 |                 perl_des_expand_key((i8 *)key, ks);
      |                 ^~~~~~~~~~~~~~~~~~~

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

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

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

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):
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit 5921ce41841db2ac77e95300056934f287ae5b39
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 16:31:52 2022 +0000

    2022-09-16 16:31:52 UTC

emerge -qpvO dev-perl/Crypt-DES
[ebuild  N    ] dev-perl/Crypt-DES-2.70.0-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 17:59:17 UTC
Created attachment 805771 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 17:59:18 UTC
Created attachment 805774 [details]
dev-perl:Crypt-DES-2.70.0-r2:20220916-175436.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 17:59:20 UTC
Created attachment 805777 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-16 17:59:21 UTC
Created attachment 805780 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 17:59:22 UTC
Created attachment 805783 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 17:59:23 UTC
Created attachment 805786 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:35:10 UTC
*** Bug 882167 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2023-03-17 21:54:02 UTC
The bug has been closed via the following commit(s):

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

commit d63d78079332b0d18cdd745ff6ece3e9ea204533
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-17 21:42:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-17 21:52:36 +0000

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

 dev-perl/Crypt-DES/Crypt-DES-2.70.0-r3.ebuild      | 32 ++++++++++++++++++++
 .../files/Crypt-DES-2.07-implicit-func-decl.patch  | 34 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)