NetBSD Problem Report #51293

From www@NetBSD.org  Tue Jun 28 20:59:21 2016
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 405B57A489
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 Jun 2016 20:59:21 +0000 (UTC)
Message-Id: <20160628205920.387557AAA1@mollari.NetBSD.org>
Date: Tue, 28 Jun 2016 20:59:20 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: textproc/icu build fails on MacOS X 10.4.11 powerpc
X-Send-Pr-Version: www-1.0

>Number:         51293
>Category:       pkg
>Synopsis:       textproc/icu build fails on MacOS X 10.4.11 powerpc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sevan
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 28 21:00:01 +0000 2016
>Last-Modified:  Sun Jul 03 14:12:31 +0000 2016
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 powerpc, pkgsrc-HEAD as of 28 June 2016
>Organization:
>Environment:
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

>Description:
Building "textproc/icu" (57.1) on MacOS X 10.4.11 powerpc fails as
follows:

[...]
   c++	 ...  dtitvinf.cpp
dtitvinf.cpp: In member function 'void icu_57::DateIntervalSink::PatternSink::setIntervalPatternIfAbsent(UCalendarDateFields, const icu_57::ResourceValue&, UErrorCode&)':
unicode/dtitvinf.h:349: error: 'enum icu_57::DateIntervalInfo::IntervalPatternIndex' is private
dtitvinf.cpp:300: error: within this context
unicode/dtitvinf.h:462: error: 'static icu_57::DateIntervalInfo::IntervalPatternIndex icu_57::DateIntervalInfo::calendarFieldToIntervalIndex(UCalendarDateFields, UErrorCode&)' is private
dtitvinf.cpp:301: error: within this context
unicode/dtitvinf.h:501: error: 'icu_57::Hashtable* icu_57::DateIntervalInfo::fIntervalPatterns' is private
dtitvinf.cpp:306: error: within this context
unicode/dtitvinf.h:395: error: 'void icu_57::DateIntervalInfo::setIntervalPatternInternally(const icu_57::UnicodeString&, UCalendarDateFields, const icu_57::UnicodeString&, UErrorCode&)' is private
dtitvinf.cpp:311: error: within this context
*** Failed compilation command follows: ----------------------------------------------------------
c++ -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -isystem /usr/include -I/usr/include -DU_HAVE_ATOMIC=0 -DU_HAVE_TIMEZONE=0 -I. -I../common -O -I/usr/include -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -fvisibility=hidden -fno-common -c -MMD -MT dtitvinf.d dtitvinf.o dtitvinf.ao -o dtitvinf.ao dtitvinf.cpp
--- ( rebuild with "/usr/pkg/bin/gmake VERBOSE=1 all" to show all parameters ) --------
gmake[1]: *** [../config/mh-darwin:58: dtitvinf.ao] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/Volumes/d0/tmp/pkgsrc/textproc/icu/work/icu/source/i18n'
gmake: *** [Makefile:143: all-recursive] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/textproc/icu
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/icu

>How-To-Repeat:
See above.

Looks like icu is misusing its own API?  I am not a C++ person...
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 28 Jun 2016 21:26:03 +0000
Responsible-Changed-Why:
Darwin pkgsrc problem.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51293: textproc/icu build fails on MacOS X 10.4.11 powerpc
Date: Wed, 29 Jun 2016 17:48:54 +0000

 On Tue, Jun 28, 2016 at 09:00:01PM +0000, jdbaker@mylinuxisp.com wrote:
  > Looks like icu is misusing its own API?  I am not a C++ person...

 It works elsewhere, so probably it needs a newer compiler...

 -- 
 David A. Holland
 dholland@netbsd.org

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51293: textproc/icu build fails on MacOS X 10.4.11 powerpc
Date: Wed, 29 Jun 2016 14:32:42 -0500 (CDT)

 On Wed, 29 Jun 2016, David Holland wrote:

 >  It works elsewhere, so probably it needs a newer compiler...

 Could be.  Last time I updated (around pkgsrc-2016Q1 freeze), something
 insisted on building "lang/gcc5", but I forget what that was.

 Since it was already installed, I tried giving "textproc/icu" a
 "GCC_REQD+=5.3", but that failed during the configure step when the gcc5
 'cc1' couldn't find "libmpc.3.dylib" and exited with an ICE: Trace/BPT
 trap.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51293: textproc/icu build fails on MacOS X 10.4.11 powerpc
Date: Thu, 30 Jun 2016 01:12:45 +0000

 On Wed, Jun 29, 2016 at 07:35:01PM +0000, John D. Baker wrote:
  >  On Wed, 29 Jun 2016, David Holland wrote:
  >  >  It works elsewhere, so probably it needs a newer compiler...
  >  
  >  Could be.  Last time I updated (around pkgsrc-2016Q1 freeze), something
  >  insisted on building "lang/gcc5", but I forget what that was.
  >  
  >  Since it was already installed, I tried giving "textproc/icu" a
  >  "GCC_REQD+=5.3", but that failed during the configure step when the gcc5
  >  'cc1' couldn't find "libmpc.3.dylib" and exited with an ICE: Trace/BPT
  >  trap.

 No idea why that would be :(

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: darwin-pkg-people->sevan
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Sun, 03 Jul 2016 14:12:31 +0000
Responsible-Changed-Why:
take
I have systems running OS X 10.4.11


>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.