NetBSD Problem Report #46299

From  Fri Apr  6 01:45:50 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 2D7B063BBEC
	for <>; Fri,  6 Apr 2012 01:45:50 +0000 (UTC)
Message-Id: <>
Date: Fri,  6 Apr 2012 01:45:49 +0000 (UTC)
Subject: devel/pcre multiple symbol definition on MacOS X 10.4.11 (PPC)
X-Send-Pr-Version: www-1.0

>Number:         46299
>Category:       pkg
>Synopsis:       devel/pcre multiple symbol definition on MacOS X 10.4.11 (PPC)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    macos-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 06 01:50:00 +0000 2012
>Closed-Date:    Sun Jul 20 11:52:14 +0000 2014
>Last-Modified:  Sun Jul 20 11:52:14 +0000 2014
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11, pkgsrc-current (pre-pkgsrc-2012Q1)
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

On MacOS X 10.4.11 (PPC), freshly-bootstrapped from pkgsrc-current,
building devel/pcre fails with:

  CC     pcretest.o
  CC     pcre_printint.o
  CC     pcre16_printint.o
  CCLD   pcretest
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol __pcre_default_tables
./.libs/libpcre16.dylib(single module) definition of __pcre_default_tables
/Volumes/d0/tmp/pkgsrc/devel/pcre/work/pcre-8.30/.libs/libpcre.dylib(single module) definition of __pcre_default_tables
collect2: ld returned 1 exit status
*** Error code 1

bmake: stopped in /Volumes/d0/tmp/pkgsrc/devel/pcre/work/pcre-8.30

I'm not sure what relationship there is between "*16*" versions of
libraries/objects and those without that designation in their name.
Maybe something is being built that shouldn't be?
If you can scrounge up a machine that will run MacOS X 10.4.11, bootstrap
pkgsrc-current on it and attempt to build devel/pcre (or any package that
depends on it).

(Yes, I know MacOS X 10.4.11 is generally deprecated as pkgsrc target,
but it's the last version of MacOS X that can be installed on any of my
hardware.  10.5.x declares the hardware insufficient and refuses to be



Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-When: Fri, 06 Apr 2012 09:37:54 +0000
mac osx pkg PR

From: Benny Siegert <>
Subject: Re: pkg/46299
Date: Sat, 5 Jul 2014 14:24:59 +0200

 FWIW, pcre16 is the 16-bit character (aka wchar_t) version of PCRE. I
 do not have a PowerPC machine running Mac OS at this point though.

State-Changed-From-To: open->closed
State-Changed-When: Sun, 20 Jul 2014 11:52:14 +0000
According to Sevan, this no longer occurs:
"pcre-8.35nb1 built, packaged & installed fine on Tiger using gcc 4.0.1
from Xcode 2.5."


NetBSD Home
NetBSD PR Database Search

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