NetBSD Problem Report #39425

From www@NetBSD.org  Thu Aug 28 12:38:55 2008
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 2C69E63BC30
	for <gnats-bugs@gnats.netbsd.org>; Thu, 28 Aug 2008 12:38:55 +0000 (UTC)
Message-Id: <20080828123854.F293F63B8A9@narn.NetBSD.org>
Date: Thu, 28 Aug 2008 12:38:54 +0000 (UTC)
From: chrish@pobox.com
Reply-To: chrish@pobox.com
To: gnats-bugs@NetBSD.org
Subject: python on Darwin (OS X 10.5) - bogus -Wno-long-double in CFLAGS
X-Send-Pr-Version: www-1.0

>Number:         39425
>Category:       pkg
>Synopsis:       python on Darwin (OS X 10.5) - bogus -Wno-long-double in CFLAGS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tron
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 28 12:40:00 +0000 2008
>Closed-Date:    Wed Dec 17 12:50:47 +0000 2008
>Last-Modified:  Wed Dec 17 12:50:47 +0000 2008
>Originator:     Chris Herborth
>Release:        current pkgsrc
>Organization:
>Environment:
Darwin Bender.chrish.dnsalias.org 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:36:17 PDT 2008; root:xnu-1228.5.20~1/RELEASE_PPC Power Macintosh powerpc
>Description:
bmake install in lang/python24 or lang/python25 fails with:

cc1: error: unrecognized command line option "-Wno-long-double"

gcc --version reports:

powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)

>How-To-Repeat:
Attempt a "bmake install" in lang/python24 or lang/python25.

>Fix:
Remove -Wno-long-double from BASECFLAGS (in patches/patch-al of lang/python25).

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 31 Aug 2008 12:45:09 +0000
Responsible-Changed-Why:
Problem on Darwin.


Responsible-Changed-From-To: darwin-pkg-people->tron
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Wed, 17 Dec 2008 10:28:00 +0000
Responsible-Changed-Why:
I'll handle this PR.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39425 CVS commit: pkgsrc/lang/python25
Date: Wed, 17 Dec 2008 12:49:51 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Wed Dec 17 12:49:51 UTC 2008

 Modified Files:
 	pkgsrc/lang/python25: Makefile distinfo
 	pkgsrc/lang/python25/patches: patch-al

 Log Message:
 Remove "-Wno-long-double" from the Darwin C compiler flags as suggested
 by Chris Herborth in PR pkg/39425. This is somewhat cleaner than using
 buildlink3 to do the same job.


 To generate a diff of this commit:
 cvs rdiff -r1.10 -r1.11 pkgsrc/lang/python25/Makefile
 cvs rdiff -r1.6 -r1.7 pkgsrc/lang/python25/distinfo
 cvs rdiff -r1.3 -r1.4 pkgsrc/lang/python25/patches/patch-al

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Wed, 17 Dec 2008 12:50:47 +0000
State-Changed-Why:
I've fixed the problem as suggested. Thanks a lot for the bug report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.