NetBSD Problem Report #48216

From john@yee.zia.io  Mon Sep 16 07:46:19 2013
Return-Path: <john@yee.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 827ED7137A
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 16 Sep 2013 07:46:19 +0000 (UTC)
Message-Id: <201309160745.r8G7jsoT019454@yee.zia.io>
Date: Mon, 16 Sep 2013 07:45:54 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc is broken on Darwin 9.8.0 (Leopard)
X-Send-Pr-Version: 3.95

>Number:         48216
>Notify-List:    bsiegert@NetBSD.org
>Category:       pkg
>Synopsis:       libarchive fails to
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 16 07:50:00 +0000 2013
>Last-Modified:  Sun Jun 22 13:38:56 +0000 2014
>Originator:     John Klos
>Release:        Darwin 9.8.0 (Leopard 10.5.8)
>Organization:

>Environment:


System: Darwin kayla.ziaspace.com 9.8.0 Darwin Kernel Version 9.8.0: Wed 
Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
Architecture: powerpc
Machine: ppc64
>Description:

pkgsrc from 16-September-2013 fails to complete bootstrap on Darwin 9.8.0 
(Leopard 10.5.8) on 64 bit PowerPC G5 (--abi 64):
gcc -isystem /usr/include -lssl -lcrypto 
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs 
-Wl,-search_paths_first 
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch 
-L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat 
-L/usr/lib -L/usr/local/lib -L../lib -o pkg_create main.o perform.o pl.o 
util.o build.o -linstall -lfetch -larchive -lbz2 -lz -lnbcompat -lcrypto 
-lnbcompat -lssl -lcrypto
Undefined symbols:
  "_lzma_memusage", referenced from:
      _drive_compressor in 
libarchive.a(archive_write_set_compression_xz.o)
  "_lzma_stream_encoder", referenced from:
      _archive_compressor_xz_init in 
libarchive.a(archive_write_set_compression_xz.o)
  "_lzma_end", referenced from:
      _archive_compressor_xz_finish in 
libarchive.a(archive_write_set_compression_xz.o)
  "_lzma_alone_encoder", referenced from:
      _archive_compressor_xz_init in 
libarchive.a(archive_write_set_compression_xz.o)
  "_lzma_lzma_preset", referenced from:
      _archive_compressor_xz_init in 
libarchive.a(archive_write_set_compression_xz.o)
  "_lzma_code", referenced from:
      _drive_compressor in 
libarchive.a(archive_write_set_compression_xz.o)
ld: symbol(s) not found

Note that removing "--abi 64" fixes this.
>How-To-Repeat:

On fully up to date PowerPC G5 Leopard system with latest (last) Xcode 
installed, cvs checkout pkgsrc and attempt to execute bootstrap.
>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 07 Feb 2014 12:20:48 +0000
Responsible-Changed-Why:
Problem on MacOS X Leopard with ABI=64.


Responsible-Changed-From-To: macos-pkg-people->adam
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 22 Jun 2014 13:38:28 +0000
Responsible-Changed-Why:
adam, tron says you have such a machine. Could you take a look, please?


>Unformatted:
 build from bootstrap on Darwin 9.8.0 (Leopard) when target is ppc64

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.