NetBSD Problem Report #40597

From www@NetBSD.org  Tue Feb 10 01:33:14 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 68A1063B867
	for <gnats-bugs@gnats.netbsd.org>; Tue, 10 Feb 2009 01:33:14 +0000 (UTC)
Message-Id: <20090210013314.08AF363B400@narn.NetBSD.org>
Date: Tue, 10 Feb 2009 01:33:14 +0000 (UTC)
From: mun3ch@gmail.com
Reply-To: mun3ch@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 10.4 (with fix)
X-Send-Pr-Version: www-1.0

>Number:         40597
>Notify-List:    macos-pkg-people@NetBSD.org
>Category:       pkg
>Synopsis:       Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 10.4 (with fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 10 01:35:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Sat May 14 23:45:01 +0000 2022
>Originator:     munch paulson
>Release:        
>Organization:
>Environment:
Darwin pbg4.local 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:
Could not build devel-boost using powerpc-apple-darwin8-gcc-4.0.1

Was able to build on Intel Mac OS X 10.5.6


>How-To-Repeat:
cd meta-pkgs/boost
bmake

>Fix:
Solution was:

--- boost/math/tools/config.hpp.orig    2009-02-09 17:11:49.000000000 -0800
+++ boost/math/tools/config.hpp 2009-02-09 01:49:15.000000000 -0800
@@ -42,7 +42,7 @@
 // Darwin's rather strange "double double" is rather hard to
 // support, it should be possible given enough effort though...
 //
-#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+//#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif
 #if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
 //


Problem is boost believes Macs don't know "long double".  Solution found using Google where the error message causing the build to fail was reported for other architectures and pointed towards trying this.  Boost-libs built, but haven't tested yet.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 10 Feb 2009 01:52:30 +0000
Responsible-Changed-Why:
Darwin pkgsrc problem.


Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 07 Mar 2012 08:18:13 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people


Responsible-Changed-From-To: macos-pkg-people->sevan
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 20 Jan 2015 13:58:58 +0000
Responsible-Changed-Why:
Sevan, could you verify if this is still a problem?


State-Changed-From-To: open->analyzed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Tue, 20 Jan 2015 18:41:52 +0000
State-Changed-Why:
Applied patch to my copy of tree, awaiting bulkbuild to test resolution


Responsible-Changed-From-To: sevan->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 13 Jul 2020 20:10:56 +0000
Responsible-Changed-Why:
Reset to role account


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40597 (Problem building 2008Q4 boost-libs on PowerPC Mac OS
 X Tiger 10.4 (with fix))
Date: Sat, 14 May 2022 23:42:11 +0000

 On Tue, Jan 20, 2015 at 06:41:52PM +0000, sevan@NetBSD.org wrote:
  > Applied patch to my copy of tree, awaiting bulkbuild to test resolution

 For the record, as of 2022 the define in question still appears in
 boost-libs. It's attached to APPLE and a specific size of
 __LDBL_MANT_DIG__ and is probably therefore PPC MacOS only. (The
 regular Intel MacOS builds in pkgsrc-bulk are not showing Boost
 failing, in any event.)

 Consequently this PR is stuck until someone interested in pkgsrc on
 PPC MacOS feels sufficiently masochistic to try building Boost. :-|

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.