pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60931: security/easy-rsa fails extract



>Number:         60931
>Category:       pkg
>Synopsis:       security/easy-rsa fails extract
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 27 08:40:00 +0000 2026
>Originator:     NAKAJI Hiroyuki
>Release:        11.0_STABLE
>Organization:
Tottori Univ. of Environmental Studies
>Environment:
NetBSD kanako.4407.kankyo-u.ac.jp 11.0_STABLE NetBSD 11.0_STABLE (GENERIC) #28: Wed Oct 21 03:46:08 JST 2026  root%kanako.4407.kankyo-u.ac.jp@localhost:/usr/src/sys/arch/amd64/compile/obj.amd64/GENERIC amd64 x86_64
>Description:
When extracting easy-rsa-3.2.7 with EXTRACT_USING=bsdtar, the extraction fails with the following error:

EasyRSA-3.2.7/gpl-2.0.txt: Cannot restore extended attributes: com.apple.metadata:kMDItemTextContentLanguage com.apple.metadata:kMDItemTextContentLanguage: Unknown error: -1
tar: Error exit delayed from previous errors.

The error appears to be caused by an attempt to restore a macOS-specific extended attribute (com.apple.metadata:kMDItemTextContentLanguage) included in the distribution archive.

As a temporary workaround, setting EXTRACT_USING=gtar allows the package source to be extracted successfully. However, this does not address the underlying issue with the distribution archive.

Related upstream issue:
https://github.com/OpenVPN/easy-rsa/issues/1455
>How-To-Repeat:
make -C /usr/pkgsrc/security/easy-rsa extract
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/easy-rsa/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile    9 Oct 2026 04:09:27 -0000       1.26
+++ Makefile    27 Oct 2026 03:19:23 -0000
@@ -14,6 +14,7 @@
 
 # The 3.2.6 distfile has extended attributes.
 # https://github.com/OpenVPN/easy-rsa/issues/1455
+EXTRACT_USING= gtar
 
 USE_LANGUAGES= # none
 NO_CONFIGURE=  yes




Home | Main Index | Thread Index | Old Index