NetBSD Problem Report #56106

From www@netbsd.org  Wed Apr 14 04:21:23 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 83DF01A9217
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Apr 2021 04:21:23 +0000 (UTC)
Message-Id: <20210414042121.E2AE91A9242@mollari.NetBSD.org>
Date: Wed, 14 Apr 2021 04:21:21 +0000 (UTC)
From: josh@itanimul.li
Reply-To: josh@itanimul.li
To: gnats-bugs@NetBSD.org
Subject: libgcrypt: fix for missing aarch64/darwin asm symbols
X-Send-Pr-Version: www-1.0

>Number:         56106
>Category:       pkg
>Synopsis:       libgcrypt: fix for missing aarch64/darwin asm symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 14 04:25:01 +0000 2021
>Closed-Date:    Wed Apr 21 18:23:41 +0000 2021
>Last-Modified:  Wed Apr 21 18:23:41 +0000 2021
>Originator:     Josh
>Release:        pkgsrc git master as of 2021-04-14
>Organization:
>Environment:
Darwin computer 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
>Description:
See bug report: https://dev.gnupg.org/T5370 This patch backports the commit (https://github.com/gpg/libgcrypt/commit/1cf5a568f2b2f2c3d83c154cdcf5a40aa1f83c50) to pkgsrc. It can be reverted when there is a release containing this fix (i.e. next release).



>How-To-Repeat:
(Output from the gnupg bug site)

/usr/bin/clang  -Wall -Wno-pointer-sign -Wpointer-arith -g2 -O2 -fno-common -arch arm64 -fPIC -pthread  -L/usr/local/lib -Wl,-rpath,@loader_path/../lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o asschk asschk.o
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
gpgsm: keybox '/Users/jwalton/Build-Scripts/gnupg-2.2.27/tests/pubring.kbx' created
dyld: lazy symbol binding failed: Symbol not found: __gcry_mpih_mul_1
  Referenced from: /usr/local/lib/libgcrypt.20.dylib
  Expected in: flat namespace
>Fix:
https://0x1.st/k7.patch

>Release-Note:

>Audit-Trail:
From: Josh Dekker <josh@itanimul.li>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56106: libgcrypt: fix for missing aarch64/darwin asm symbols
Date: Fri, 16 Apr 2021 18:23:14 +0200

 Hi,

 I realised the original patch misses one file (I guess I used mkpatches
 incorrectly). This patch https://0x1.st/kg.patch is fixed with the
 missing file included.

 On Wed, Apr 14, 2021 at 04:25:01AM +0000, gnats-admin@netbsd.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/56106'.
 > The individual assigned to look at your
 > report is: pkg-manager. 
 > 
 > >Category:       pkg
 > >Responsible:    pkg-manager
 > >Synopsis:       libgcrypt: fix for missing aarch64/darwin asm symbols
 > >Arrival-Date:   Wed Apr 14 04:25:01 +0000 2021

 -- 
 Josh

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 21 Apr 2021 18:23:41 +0000
State-Changed-Why:
Was fixed by an update of the package, according to the reporter.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.