This queue is for tickets about the Crypt-DES CPAN distribution.

Report information
The Basics
Id:
133363
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
dstevenson [...] uplandsoftware.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)

Attachments
0001-_des.h-expose-perl_des_expand_key-and-perl_des_crypt.patch



X-MS-Exchange-Crosstenant-Fromentityheader: Hosted
MIME-Version: 1.0
Arc-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uplandsoftware.com; dmarc=pass action=none header.from=uplandsoftware.com; dkim=pass header.d=uplandsoftware.com; arc=none
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
Content-ID: <4AC8AFF01FE4E944BA2026FEC890A263@namprd08.prod.outlook.com>
X-Spam-Flag: NO
X-MS-Exchange-Crosstenant-Mailboxtype: HOSTED
Arc-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=akpqsvpPETVluw9qZR3IXzhh6WOo3H2MuUeLM6MR9WE9ggj/Yk2fsv2B4Mdn286CH+DAFHmq/zJUIi1VZjckWZRA07lKIvd7YoNAjKDjLfwFa8x4Hrr7JCbDgm0gYMLyOe+fMrCS443R7JE7xWzw6Jz8IeLNH+6jJI7tS5GPnt+gNsNhXi7GT4fBc2OjSOKRHFios0fB8ovhL+I3RKNRM2ExXqhVBt8kbpvSmw+vwGzlgGovEDhf+7eoRJitQ0zGe1uZZt7gSC0HF+q2jPMv7BUvEnxfPXuGn3ZHy8hI/2J3SqfWorDh4WontegRj12sAA/UgNTcI6KHjE6YXqjouw==
content-type: text/plain; charset="utf-8"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.098
X-MS-Publictraffictype: Email
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5216624133C for <cpan-bug+Crypt-DES@hipster.bestpractical.com>; Fri, 18 Sep 2020 17:54:05 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eN+9WSZN6nMQ for <cpan-bug+Crypt-DES@hipster.bestpractical.com>; Fri, 18 Sep 2020 17:54:03 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id AA77F240273 for <bug-Crypt-DES@rt.cpan.org>; Fri, 18 Sep 2020 17:54:03 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id EE42D7C19C for <bug-Crypt-DES@rt.cpan.org>; Fri, 18 Sep 2020 14:54:02 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 2CEC67CF39 for <bug-Crypt-DES@rt.cpan.org>; Fri, 18 Sep 2020 14:54:01 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr770073.outbound.protection.outlook.com [40.107.77.73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 967B37C19C for <bug-Crypt-DES@rt.cpan.org>; Fri, 18 Sep 2020 14:54:00 -0700 (PDT)
Received: from DM6PR08MB5483.namprd08.prod.outlook.com (2603:10b6:5:102::32) by DM6PR08MB5865.namprd08.prod.outlook.com (2603:10b6:5:17a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Fri, 18 Sep 2020 21:53:25 +0000
Received: from DM6PR08MB5483.namprd08.prod.outlook.com ([fe80::4854:320b:5b29:def3]) by DM6PR08MB5483.namprd08.prod.outlook.com ([fe80::4854:320b:5b29:def3%5]) with mapi id 15.20.3370.019; Fri, 18 Sep 2020 21:53:25 +0000
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@uplandsoftware.com
Authentication-Results: rt.cpan.org; dkim=none (message not signed) header.d=none;rt.cpan.org; dmarc=none action=none header.from=uplandsoftware.com;
Delivered-To: cpan-bug+Crypt-DES@hipster.bestpractical.com
Subject: Crypt::DES fails to build with Xcode 12
Thread-Index: AQHWjgYiF982J02v/EmPkR2FlF4/5A==
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uplandsoftware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nvwpLyI6RfcwRtmHHYgQBI0Hrzdz2gghpGoSENaDP7o=; b=F48zPvaCVypUe2QuIYRc1B57vErcQzm6wH6X5hyoJdCG5PZr5CKPtaWOBbLiQ+5QukurdXXY8SglkndBlFzvRbJgegD69iXJ85INM+2vflx0WjhH7QZqH7AWhq/CRAUkRT3exAqeg0HEYzmF+FcF+3UiNA4KOxvF3yJK2fY0zbE=
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, SUPERLONG_LINE 0.05, ARCAUTH_PASSED 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1100_1199 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CTE_BASE64 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, HDR_COMMON_LOWERCASE 0, KNOWN_MSGID 0, KNOWN_MTA_TFX 0, NO_CTA_FOUND 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, SXL_IP_TFX_WM 0, WEBMAIL_SOURCE 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __ARCAUTH_DKIM_PASSED 0, __ARCAUTH_DMARC_PASSED 0, __ARCAUTH_SPF_PASSED 0, __BODY_NO_MAILTO 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FUR_RDNS_OUTLOOK 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_XOIP 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_APPLEMAIL 0, __NO_HTML_TAG_RAW 0, __RDNS_WEBMAIL 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
X-MS-Exchange-Senderadcheck: 1
Date: Fri, 18 Sep 2020 21:53:25 +0000
X-Originatororg: uplandsoftware.com
X-Microsoft-Antispam-Message-Info: 4tikpFEYY0IhcdUuafXzzJv7dM178Sc2ZS1PFum/jwqECSSkKcerU0lp14GE1Y6uHD/gnH4YYn5MGDplUfJG4CYXTQsiE2rhASWsPXW2cT9FaIhurh29AIXTZMUpZaLx9W4d+Y6a6BwecMYEtOkOmzK2LB2WL1UDKTiur9hGbM8PdIAaWRa7D+hEXCBZKPVMcL2PzUeOxtJMg9klAGEr1bnJk2AF26v0a7BKZyiKrYrRSWqc1l2k5siHRRkTTa440PPofAX7169ql+9ouv4SD9e8jHSDZ5tQQX075nH0D+f2hsy5fspshw8+QEYJyh1lg9DS8zJwpX/NM+txPOoVaA==
X-MS-Office365-Filtering-Correlation-ID: 0b157c5c-d87e-49cf-8acc-08d85c1d44de
X-Spam-Level:
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nvwpLyI6RfcwRtmHHYgQBI0Hrzdz2gghpGoSENaDP7o=; b=aE7BrFviMKNTLgfXRDsYCOqiIydOQ8McF0M1pSUavR98CCYXynTab8k4fAGFj7U2v0r4uu5F26YnTomLykJKWhonI1GmJMsWSFsi9HA1D2hXRIIgNEFoOgYv6/b9gkE0XRuKXe5TmYkgdXAGKqFPg4TEx/sLHODhXlk+E1wiEuhHAwtezR3czaOgdmStdc0IQpW/BNgxjN1LVZzc9/G1Tq/MXPphJKkYPFpPEVCr8jhO4YPLzrkHAWGHvDb20eWyq8D6Drgh40HjSz4FmyCQeJ7l5W86IQUGFDC0uUqPyyvOdtk741xie+EKjTBcqP2Xf5qg/fFBo0ujpBntzt7hEw==
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.11.28.70017
X-MS-Exchange-Crosstenant-ID: dd02d1e4-d2a8-4628-92c8-1f4b5de6419b
To: "bug-Crypt-DES@rt.cpan.org" <bug-Crypt-DES@rt.cpan.org>
Content-Transfer-Encoding: base64
X-Microsoft-Antispam: BCL:0;
X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR08MB5483.namprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(6486002)(66946007)(76116006)(4744005)(66446008)(33656002)(66476007)(66556008)(64756008)(83380400001)(186003)(91956017)(8676002)(2906002)(86362001)(71200400001)(36756003)(8936002)(478600001)(5660300002)(6916009)(6512007)(316002)(6506007)(26005)(2616005);DIR:OUT;SFP:1101;
X-MS-Exchange-Crosstenant-Network-Message-ID: 0b157c5c-d87e-49cf-8acc-08d85c1d44de
X-Spam-Status: No, score=-2.098 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_FAIL=0.001, SPF_HELO_NONE=0.001] autolearn=no autolearn_force=no
X-MS-Exchange-Transport-Forked: True
X-MS-Traffictypediagnostic: DM6PR08MB5865:
Content-Language: en-GB
Message-ID: <9A6573B2-062C-47D3-AB74-22A09A23F33D@uplandsoftware.com>
X-Microsoft-Antispam-PRVS: <DM6PR08MB58659FDA2F2EB13CA01245F4B13F0@DM6PR08MB5865.namprd08.prod.outlook.com>
X-MS-Tnef-Correlator:
X-MS-Exchange-Crosstenant-Authsource: DM6PR08MB5483.namprd08.prod.outlook.com
X-MS-Oob-TLC-Oobclassifiers: OLM:7691;
User-Agent: Microsoft-MacOutlook/16.41.20091302
Return-Path: <dstevenson@uplandsoftware.com>
X-MS-Exchange-Crosstenant-Originalarrivaltime: 18 Sep 2020 21:53:25.1008 (UTC)
X-Original-To: cpan-bug+Crypt-DES@hipster.bestpractical.com
X-RT-Mail-Extension: crypt-des
X-PMX-Perl: Suspicious Attachment
X-MS-Exchange-Crosstenant-Authas: Internal
X-MS-Exchange-Antispam-Messagedata: 7dtPAyTAAUFcLyJ6v3D328hmXbwNVJt1AAffiUsAlbuFWitRXcXDCYpzxOaYZFQF+nEm0OU+RkNXB7DrYEoRJdsJKcmWD3dKx9D57cl36IpvjaeNk2xM+vRMbHS2gpWn9Ady1Qw1QSLK3bos4cyJ8s7N5ZqOzftuIxflrLSok7RbJaJTsSl8KQBRcABdl1nv743HnjWbte/h8jedtyCeSbcgbqqW4XTeb+Vo7L7/neUJwGhu2FJmD9YyVsiUEjh8Cds5XqKwIJYRB4W/uLtgXWztKUYjOKYjo3e0LZ/XbvUgN2VA3wkSyhtT0f/cJ/1he02hnTklXsinsc3yqTYu4vbyN1U9ZkJdrgE9CfpMiwghTs1kxwjPaHXZF+VvGZ0OpuCpvoAReBRLFPHktPgS8r7WtQxxQy8gNV2vrE8r2eFTABMtqbVWHH61NbfXY6vEDXbxyD2J/EIG/loWfR4wewCJjbEaovmjIQ9difhKYmBZ5IYY5ATiBWP3Tji6nnMMMrWSzUgrs8Gg9Mk9OyQqlJzBUMoJoal7VNP2Ef26fg8zGjIU2h8KInF4prgBXVcNpkbAFb+FXGkPSKlZqq7kchclBCi1Vuk//AsHjbnOzYaVmMSYx8791JuYootwb/qAvmTRWFOFvCNxaPrpZWrp6A==
X-MS-Exchange-Crosstenant-Userprincipalname: K6RXDnPl8a3wWYDEWN+BensJL0UAM5gToXgJIcyAb0BhKVtfiBbGx3GSgUNFRsumpUaO5QnbnUkJAATSr2/if1MxaJu73upcE/P4dLyUB2E=
Thread-Topic: Crypt::DES fails to build with Xcode 12
X-MS-Has-Attach:
X-Originating-Ip: [80.7.82.145]
Accept-Language: en-GB, en-US
X-MS-Exchange-Transport-Crosstenantheadersstamped: DM6PR08MB5865
From: David Stevenson <dstevenson@uplandsoftware.com>
X-RT-Original-Encoding: utf-8
X-RT-Interface: Email
Content-Length: 843
Apple clang in Xcode 12 (now beta) sets "-Werror=implicit-function-declaration" by default, so it causes an error compiling the C that is generated from DES.xs cc -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" "-I/Users/davids/.plenv/versions/5.32.0/lib/perl5/5.32.0/darwin-2level/CORE" DES.c DES.xs:39:3: error: implicit declaration of function 'perl_des_expand_key' is invalid in C99 [-Werror,-Wimplicit-function-declaration] perl_des_expand_key((i8 *)key, ks); ^ With previous releases, and other compilers, it was “just” a warning. I’m happy to provide a PR to fix it if anyone is maintaining this module. Regards David
MIME-Version: 1.0
In-Reply-To: <9A6573B2-062C-47D3-AB74-22A09A23F33D@uplandsoftware.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <9A6573B2-062C-47D3-AB74-22A09A23F33D@uplandsoftware.com>
Content-Type: multipart/mixed; boundary="----------=_1600952513-28485-2"
Message-ID: <rt-4.0.18-28485-1600952513-1420.133363-0-0@rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1092
On Fri Sep 18 17:54:06 2020, dstevenson@uplandsoftware.com wrote:
Show quoted text
> Apple clang in Xcode 12 (now beta) sets "-Werror=implicit-function- > declaration" by default, > so it causes an error compiling the C that is generated from DES.xs > > cc -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -fno- > strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include > -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" > "-I/Users/davids/.plenv/versions/5.32.0/lib/perl5/5.32.0/darwin- > 2level/CORE" DES.c > DES.xs:39:3: error: implicit declaration of function > 'perl_des_expand_key' is invalid in C99 [-Werror,-Wimplicit-function- > declaration] > perl_des_expand_key((i8 *)key, ks); > ^ > > With previous releases, and other compilers, it was “just” a warning. > > I’m happy to provide a PR to fix it if anyone is maintaining this > module. > > Regards > David > > >
Just ran into the same thing myself -- attached is a patch to address it, though I too don't know if Dave is still maintaining this distribution.
MIME-Version: 1.0
Subject: 0001-_des.h-expose-perl_des_expand_key-and-perl_des_crypt.patch
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: application/octet-stream; name="0001-_des.h-expose-perl_des_expand_key-and-perl_des_crypt.patch"
Content-Disposition: inline; filename="0001-_des.h-expose-perl_des_expand_key-and-perl_des_crypt.patch"
Content-Transfer-Encoding: base64
Content-Length: 779
From 51fda02d223f516c4948606c050bfc732b95f481 Mon Sep 17 00:00:00 2001 From: Brian Fraser <brian.fraser@booking.com> Date: Thu, 24 Sep 2020 15:00:20 +0200 Subject: [PATCH] _des.h: expose perl_des_expand_key() and perl_des_crypt() to prevent implicit delaration errors/warnings --- _des.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_des.h b/_des.h index ec56b27..b636cda 100644 --- a/_des.h +++ b/_des.h @@ -4,4 +4,6 @@ typedef unsigned long des_ks[32]; void _des_crypt( des_cblock in, des_cblock out, des_ks key, int encrypt ); void _des_expand_key( des_user_key userKey, des_ks key ); +void perl_des_expand_key(des_user_key userKey, des_ks ks); +void perl_des_crypt( des_cblock input, des_cblock output, des_ks ks, int encrypt ); -- 2.24.3 (Apple Git-128)
X-MS-Exchange-Crosstenant-Fromentityheader: Hosted
MIME-Version: 1.0
Arc-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uplandsoftware.com; dmarc=pass action=none header.from=uplandsoftware.com; dkim=pass header.d=uplandsoftware.com; arc=none
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-ID: <ABC031DBCD0D8442A4B3B3023587D92B@namprd08.prod.outlook.com>
X-MS-Exchange-Crosstenant-Mailboxtype: HOSTED
Arc-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AJmvvY4C3rqpeFjj89o6zUBSUO76wsoBD343ZoSAWd/+BE3wwmzBuJPgdDaBzm6n2SgbpzNGR5FjSm/HRxCas5UcQAr6LYRnlPBlqgjbWbPrvJfsW+SOYIO4asD4aoNDjKm++vnvjPdQNljalboWRGIbjY5DhZhZkcMVztoY8JzaAcAl8V/UT7ULvsFttvk26yHqUOvpxugWlYtJA7HZQrvefv3lsM6fvBo6+rrkyDJgCwFR41jY1Da8kCRkG3DUwtkT5MCSMQrpLmkTi3RFD7PhUvSi6ElQMLPnexY5JOdbmzwJ9pIHC6LNMx0bxxMIXpSnDSrckzFvvnhIslQAZQ==
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.098
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@uplandsoftware.com
Authentication-Results: rt.cpan.org; dkim=none (message not signed) header.d=none;rt.cpan.org; dmarc=none action=none header.from=uplandsoftware.com;
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9CCE0241334 for <cpan-bug+Crypt-DES@hipster.bestpractical.com>; Thu, 24 Sep 2020 09:35:35 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UAokIlQmmNwm for <cpan-bug+Crypt-DES@hipster.bestpractical.com>; Thu, 24 Sep 2020 09:35:31 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id E14B2240045 for <bug-Crypt-DES@rt.cpan.org>; Thu, 24 Sep 2020 09:35:31 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 86CD17C1B0 for <bug-Crypt-DES@rt.cpan.org>; Thu, 24 Sep 2020 06:35:31 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id EE5CB7CF3B for <bug-Crypt-DES@rt.cpan.org>; Thu, 24 Sep 2020 06:35:27 -0700 (PDT)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2063.outbound.protection.outlook.com [40.107.93.63]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 489A17C1B0 for <bug-Crypt-DES@rt.cpan.org>; Thu, 24 Sep 2020 06:35:27 -0700 (PDT)
Received: from DM6PR08MB5483.namprd08.prod.outlook.com (2603:10b6:5:102::32) by DM6PR08MB5866.namprd08.prod.outlook.com (2603:10b6:5:178::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Thu, 24 Sep 2020 13:35:05 +0000
Received: from DM6PR08MB5483.namprd08.prod.outlook.com ([fe80::bc52:d9fd:bd6d:2094]) by DM6PR08MB5483.namprd08.prod.outlook.com ([fe80::bc52:d9fd:bd6d:2094%4]) with mapi id 15.20.3391.027; Thu, 24 Sep 2020 13:35:04 +0000
X-MS-Publictraffictype: Email
Delivered-To: cpan-bug+Crypt-DES@hipster.bestpractical.com
Subject: Re: [rt.cpan.org #133363] Crypt::DES fails to build with Xcode 12
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uplandsoftware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9XtZnMslR10YXviMg5HABhju7ueZVF4ZRM1kesK+NbU=; b=AJgd8eQC0+rpJVQBHIffm3xYj/CfFvOnoTWV85V3S8sicK2XvQPhrJmFgpkQjEnCatOhpesaHQAC77n5I74jQ5UHp72HIq/0mMClUeVDH0w8hwRSODAdJz/9HOJDhc2lwphNFORXus+2DkCDPiXyFkwPg7iiUz2kDHzq03UX8g4=
Thread-Index: AQHWjgYiF982J02v/EmPkR2FlF4/5Kl3ybQAgAAaBoA=
Date: Thu, 24 Sep 2020 13:35:04 +0000
X-MS-Exchange-Senderadcheck: 1
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, SUPERLONG_LINE 0.05, ARCAUTH_PASSED 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CTE_BASE64 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, HDR_COMMON_LOWERCASE 0, IN_REP_TO 0, KNOWN_MSGID 0, KNOWN_MTA_TFX 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, SXL_IP_TFX_WM 0, URI_ENDS_IN_HTML 0, URI_WITH_PATH_ONLY 0, WEBMAIL_SOURCE 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __ANY_URI 0, __ARCAUTH_DKIM_PASSED 0, __ARCAUTH_DMARC_PASSED 0, __ARCAUTH_SPF_PASSED 0, __BODY_NO_MAILTO 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FUR_RDNS_OUTLOOK 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HAS_XOIP 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_APPLEMAIL 0, __NO_HTML_TAG_RAW 0, __RDNS_WEBMAIL 0, __REFERENCES 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __STOCK_PHRASE_7 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_MAILTO 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
X-Originatororg: uplandsoftware.com
X-Spam-Level:
X-MS-Office365-Filtering-Correlation-ID: 0acab5c3-76fc-4b35-a1ab-08d8608ea540
X-Microsoft-Antispam-Message-Info: DJg/M5H3YKI/yiHAphXtxpfZJkACnnz/H4oL4+BArYeL79KngNN9NMZZxnUWiDs/V2VGL3JOblIgxYrDLP4LkYzZXz88Cw8VX0Lq4F50lkwwFGcuWa3T8R6M3SNFHq6VszfqMOqgOaUlw3JpWD+KBGpX4ApIRlmxT/O+ROk+3yv5obe2xBVp6i1PgLyGkd1LExVNYhjrL7dahK6uFy5ltCMX7VrwdI/5n333AMxAIpK7X3m+Z3WnrYydzK7OZcu6H1xkrL4JeLqAgNrgWZduzxqTpbUOMNc1uZ5XvBArMYP5vubeRRel9yuIzXdwYj0p0T3Z0ax7m0KIJvI8BfzS2p52jEmHCLGUC9hqMo4VdnZ85KouHFEajuy6m8MG9JW2VqTC2SPA5uJSmpCeHWum4A==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9XtZnMslR10YXviMg5HABhju7ueZVF4ZRM1kesK+NbU=; b=Bnsy6djU9HnGpRD8eQZgRnQ6H74VaOWWybkASCZA2SeQc9jX8k8iPyyp5ofjYFGPr4J3OHHH9RLzAXmU1pWwRdVOAsJxHpA/ONEnDZKHZyedjDv8kKRdFl3/tM+gWuxFxw9+VFdh2Q3kk4Jm0NaHtrM8DWfd8uaeCnsVFEpqo8WPBc4UYmIUa5Jh5XIEOAIQaXcjZNJTQ9w/trdZWuvIfBmdkDX2I2x5ov8brIEDJcn5/6fwhXY6B9SlTbH7/nCMIChILlHnfPiU4NKuPWEhFU6pLhhaCzvozk+vp2SZSYqTWqvUSvuesEXRTbGpbbyaewdg71CzxRml8ay9Hrtjmg==
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.11.28.70017
X-MS-Exchange-Crosstenant-ID: dd02d1e4-d2a8-4628-92c8-1f4b5de6419b
To: "bug-Crypt-DES@rt.cpan.org" <bug-Crypt-DES@rt.cpan.org>
X-Microsoft-Antispam: BCL:0;
Content-Transfer-Encoding: base64
X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR08MB5483.namprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(346002)(39860400002)(376002)(136003)(396003)(71200400001)(8676002)(316002)(66946007)(478600001)(91956017)(66556008)(66476007)(76116006)(36756003)(83380400001)(6506007)(64756008)(55236004)(5660300002)(8936002)(86362001)(2616005)(186003)(6486002)(6512007)(6916009)(66446008)(26005)(2906002)(33656002);DIR:OUT;SFP:1101;
X-MS-Exchange-Crosstenant-Network-Message-ID: 0acab5c3-76fc-4b35-a1ab-08d8608ea540
In-Reply-To: <rt-4.0.18-28485-1600952513-1077.133363-6-0@rt.cpan.org>
X-Spam-Status: No, score=-6.098 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_OUR_RT=-4, SPF_FAIL=0.001, SPF_HELO_NONE=0.001] autolearn=ham autolearn_force=no
X-MS-Exchange-Transport-Forked: True
X-MS-Traffictypediagnostic: DM6PR08MB5866:
X-RT-Interface: API
Content-Language: en-GB
References: <RT-Ticket-133363@rt.cpan.org> <9A6573B2-062C-47D3-AB74-22A09A23F33D@uplandsoftware.com> <rt-4.0.18-28485-1600952513-1077.133363-6-0@rt.cpan.org>
Message-ID: <29D3D141-F2EF-45FC-81F8-06B95EBA147F@uplandsoftware.com>
X-MS-Tnef-Correlator:
X-Microsoft-Antispam-PRVS: <DM6PR08MB58664272D0DF65C42F3AA76AB1390@DM6PR08MB5866.namprd08.prod.outlook.com>
User-Agent: Microsoft-MacOutlook/16.41.20091302
X-MS-Oob-TLC-Oobclassifiers: OLM:8273;
X-MS-Exchange-Crosstenant-Authsource: DM6PR08MB5483.namprd08.prod.outlook.com
Return-Path: <dstevenson@uplandsoftware.com>
X-RT-Mail-Extension: crypt-des
X-Original-To: cpan-bug+Crypt-DES@hipster.bestpractical.com
X-MS-Exchange-Crosstenant-Originalarrivaltime: 24 Sep 2020 13:35:04.6144 (UTC)
X-PMX-Perl: Suspicious Attachment
X-MS-Exchange-Antispam-Messagedata: ltUTMjeozURoTJTpLefaLXLATflw8Q2wkanjeF0VNyLa6RXppnHsFPzFdwFJco+OONtbPd2cWbzX3yy9mCCoGDIqchXVsEmJalOeHmsZ1PJ1dzvdBb8Mp3xhh0fiZrUZq78UX8Qa+oz6ZnT1a+yX5l1ketCayGPeYCgGGhLIFsUhk1GaAOXbx/qOshr0pC/YqFKuoD9gFcjsTJWwxT6a15rerDGbQj2JMZ5qamchZwtIkHC4b6xGNmrj7oNrylF1PzXx+DRCUoINZMrvuk5VIFZDPANxxvNzBsXqrGDflsPPr1Nz1/w0wFtrlAKynAfy/2xqyC8ZVWSBkVgS4dFPCWqtN1vhApVHN6vUv7w1KdnFiyyGGmoGqJ8T5ByTI+7/E/e46ofdvk5ll9DG9N1DyP6YGlRn3pJrdg6pVtzexvb0WpWRULZFAQ4afLcakTuIdlGAUhyFjVEHnokmyZoTRgG/u78ynuqtjQK99n+38QDCgJP651JGXZ2qNRLQ7qzgEtaDBG2oIS0H6ChDGftsNMUfVNATkdu9Dxl9AAk0q89ChPNDIu4vRwUB2xP9BqAgdr2aekpgDf60KK6DkFeCKxr3GzACeGUON0nMUYyO5TQJyjRDNpJJss5W+5xzZoidLZQTWo6TQfUG/xEQQFsWDA==
X-MS-Exchange-Crosstenant-Authas: Internal
X-MS-Has-Attach:
Thread-Topic: [rt.cpan.org #133363] Crypt::DES fails to build with Xcode 12
X-MS-Exchange-Crosstenant-Userprincipalname: 5EzH+FJxnFf4IMFoJRex/L79eJCQvWZWrVaVDmD+7/pWgy7/NneBcqMpKp3FI7afD5tx7CkjRtcwAaQTW8AMnjthSGvCB9tbdlH6YfdZs9w=
X-Originating-Ip: [46.236.37.122]
Accept-Language: en-GB, en-US
From: David Stevenson <dstevenson@uplandsoftware.com>
X-MS-Exchange-Transport-Crosstenantheadersstamped: DM6PR08MB5866
RT-Message-ID: <rt-4.0.18-2897-1600954537-273.133363-0-0@rt.cpan.org>
Content-Length: 2087
Hi, I spoke to Dave, he said he's still maintaining it, asked for a 'diff' which I sent him on Sunday. All I did was turn off the error. Adding the missing function prototypes produced other warnings about converting between char * and unsigned char *, so I felt that fixing it properly was beyond the scope of what I was trying to remedy here. I'll forward you the diffs I sent him. Regards David On 24/09/2020, 14:01, "Brian Fraser via RT" <bug-Crypt-DES@rt.cpan.org> wrote: <URL: https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frt.cpan.org%2FTicket%2FDisplay.html%3Fid%3D133363&amp;data=02%7C01%7Cdstevenson%40uplandsoftware.com%7Cb5d89525aed8405371ef08d8608a0340%7Cdd02d1e4d2a8462892c81f4b5de6419b%7C0%7C1%7C637365493188622719&amp;sdata=4lKMYeqn0cSECj9zv5j44rP5zN%2Bkn%2F5LSTRJ59JHLRo%3D&amp;reserved=0 > On Fri Sep 18 17:54:06 2020, dstevenson@uplandsoftware.com wrote:
Show quoted text
> Apple clang in Xcode 12 (now beta) sets "-Werror=implicit-function- > declaration" by default, > so it causes an error compiling the C that is generated from DES.xs > > cc -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -fno- > strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include > -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" > "-I/Users/davids/.plenv/versions/5.32.0/lib/perl5/5.32.0/darwin- > 2level/CORE" DES.c > DES.xs:39:3: error: implicit declaration of function > 'perl_des_expand_key' is invalid in C99 [-Werror,-Wimplicit-function- > declaration] > perl_des_expand_key((i8 *)key, ks); > ^ > > With previous releases, and other compilers, it was “just” a warning. > > I’m happy to provide a PR to fix it if anyone is maintaining this > module. > > Regards > David > > >
Just ran into the same thing myself -- attached is a patch to address it, though I too don't know if Dave is still maintaining this distribution.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.