NetBSD Problem Report #57352
From www@netbsd.org Fri Apr 14 16:06:50 2023
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 1A00E1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 14 Apr 2023 16:06:50 +0000 (UTC)
Message-Id: <20230414160648.8992F1A923A@mollari.NetBSD.org>
Date: Fri, 14 Apr 2023 16:06:48 +0000 (UTC)
From: simmonds@polymorphism.ca
Reply-To: simmonds@polymorphism.ca
To: gnats-bugs@NetBSD.org
Subject: libdeflate: relative library path error building package on macOS
X-Send-Pr-Version: www-1.0
>Number: 57352
>Category: pkg
>Synopsis: libdeflate: relative library path error building package on macOS
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: macos-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 14 16:10:00 +0000 2023
>Last-Modified: Sun May 28 09:40:31 +0000 2023
>Originator: Colin Simmonds
>Release: pkgsrc trunk latest
>Organization:
>Environment:
Darwin macbook.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64 arm Darwin
>Description:
libdeflate fails to build on macOS if PKG_DEVELOPER= yes
The compile step completes, but it then fails with an error when trying to build the package:
=> Checking for missing run-time search paths in libdeflate-1.10
ERROR: lib/libdeflate.0.dylib: relative library path: libdeflate.0.dylib
ERROR: lib/libdeflate.0.dylib: missing library: libdeflate.0.dylib
*** Error code 1
>How-To-Repeat:
Set PKG_DEVELOPER= yes in mk.conf
$ cd devel/libdeflate
$ bmake
$ bmake install (or update)
>Fix:
The workaround is to set PKG_DEVELOPER= no
More properly, this will need a Makefile change like was done for the same problem with QT5 in http://gnats.netbsd.org/53460
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 28 May 2023 09:40:31 +0000
Responsible-Changed-Why:
macOS issue
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.