NetBSD Problem Report #52037

From www@NetBSD.org  Mon Mar  6 15:06:09 2017
Return-Path: <www@NetBSD.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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AD64D7A212
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  6 Mar 2017 15:06:09 +0000 (UTC)
Message-Id: <20170306150608.B0DCB7A292@mollari.NetBSD.org>
Date: Mon,  6 Mar 2017 15:06:08 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: archivers/libarchive fails to link on legacy Mac OS X due to lack of mbr_identifier_to_uuid()
X-Send-Pr-Version: www-1.0

>Number:         52037
>Category:       pkg
>Synopsis:       archivers/libarchive fails to link on legacy Mac OS X due to lack of mbr_identifier_to_uuid()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 06 15:10:00 +0000 2017
>Last-Modified:  Wed Mar 08 17:10:00 +0000 2017
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
>Description:
cc -isystem /usr/include -L/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs -L/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -L/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify -L/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -Wl,-search_paths_first -L/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall -lnetpgpverify -larchive -lbz2 -lz -lfetch -lbz2 -lz -lnbcompat -lnbcompat
Undefined symbols:
  "_mbr_identifier_to_uuid", referenced from:
      _archive_write_disk_set_acls in libarchive.a(archive_write_disk_acl.o)
      _archive_write_disk_set_acls in libarchive.a(archive_write_disk_acl.o)
ld: symbol(s) not found
>How-To-Repeat:
Attempt to bootstrap pkgsrc on OS X 10.5 or prior (not sure which version of intel OS X it affects).
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Tue, 07 Mar 2017 08:11:35 +0000
Responsible-Changed-Why:
Mac OS X


From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52037 (archivers/libarchive fails to link on legacy Mac OS X
 due to lack of mbr_identifier_to_uuid())
Date: Tue, 7 Mar 2017 12:24:22 +0000

 Patch from upstream to test

 https://github.com/libarchive/libarchive/commit/4c3cda21663fa3dc42147c771a3b96b85e631c53


 Sevan

From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52037 (archivers/libarchive fails to link on legacy Mac OS X
 due to lack of mbr_identifier_to_uuid())
Date: Wed, 8 Mar 2017 17:08:29 +0000

 On 07/03/2017 12:24, Sevan Janiyan wrote:
 > Patch from upstream to test
 > 
 > https://github.com/libarchive/libarchive/commit/4c3cda21663fa3dc42147c771a3b96b85e631c53
 > 

 And another
 https://github.com/libarchive/libarchive/commit/1a1be097da6c042a83fff26bdce361101bb869c8

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.