NetBSD Problem Report #53065

From gson@gson.org  Fri Mar  2 08:47:17 2018
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 2B4D57A16B
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  2 Mar 2018 08:47:17 +0000 (UTC)
Message-Id: <20180302084711.82F9B989DA4@guava.gson.org>
Date: Fri,  2 Mar 2018 10:47:11 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: archivers/bsdtar does not build on NetBSD-current
X-Send-Pr-Version: 3.95

>Number:         53065
>Category:       pkg
>Synopsis:       archivers/bsdtar does not build on NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    joerg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 02 08:50:00 +0000 2018
>Closed-Date:    Mon Jun 11 10:46:34 +0000 2018
>Last-Modified:  Mon Jun 11 10:46:34 +0000 2018
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2018.02.28.18.03.48
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

On a freshly installed debug build of NetBSD-current/amd64 (source date
2018.02.28.18.03.48), using today's pkgsrc, building the archivers/bsdtar
package fails:

--- bsdtar ---
  CCLD     bsdtar
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_release':
archive_cryptor.c:(.text+0xe): undefined reference to `EVP_CIPHER_CTX_free'
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_encrypt_counter':
archive_cryptor.c:(.text+0x55): undefined reference to `EVP_EncryptInit_ex'
archive_cryptor.c:(.text+0x74): undefined reference to `EVP_EncryptUpdate'
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_init':
archive_cryptor.c:(.text+0x1fd): undefined reference to `EVP_CIPHER_CTX_new'
archive_cryptor.c:(.text+0x22e): undefined reference to `EVP_aes_256_ecb'
archive_cryptor.c:(.text+0x263): undefined reference to `EVP_CIPHER_CTX_reset'
archive_cryptor.c:(.text+0x26f): undefined reference to `EVP_aes_128_ecb'
archive_cryptor.c:(.text+0x27a): undefined reference to `EVP_aes_192_ecb'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_cleanup':
archive_hmac.c:(.text+0x8): undefined reference to `HMAC_CTX_free'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_final':
archive_hmac.c:(.text+0x2d): undefined reference to `HMAC_Final'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_init':
archive_hmac.c:(.text+0x54): undefined reference to `HMAC_CTX_new'
archive_hmac.c:(.text+0x61): undefined reference to `EVP_sha1'
archive_hmac.c:(.text+0x75): undefined reference to `HMAC_Init_ex'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_update':
archive_hmac.c:(.text+0x42): undefined reference to `HMAC_Update'
*** [bsdtar] Error code 1

I'm not sure if this is a pkgsrc issue or a -current issue.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org, joerg@NetBSD.org
Cc: 
Subject: Re: pkg/53065: archivers/bsdtar does not build on NetBSD-current
Date: Wed, 9 May 2018 09:43:57 +0300

 This is still failing with NetBSD-current and pkgsrc-current
 sources from May 8.
 -- 
 Andreas Gustafsson, gson@gson.org

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 09 May 2018 07:11:34 +0000
Responsible-Changed-Why:
Over to maintainer


State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Mon, 11 Jun 2018 10:46:34 +0000
State-Changed-Why:
pkgsrc/archivers/bsdtar/Makefile had somehow become stuck at revision
1.24 on the machine in case, even though I had (tried to?) update the
pkgsrc tree twice since 1.25 was committed.  I don't how that
happened, but in any case, with Makefile 1.25, bsdtar builds
successfully on -current.  Sorry about the confusion.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.