NetBSD Problem Report #49311
From www@NetBSD.org Sat Oct 25 01:11:26 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(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 20F83A66B1
for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Oct 2014 01:11:26 +0000 (UTC)
Message-Id: <20141025011124.36C10A66B7@mollari.NetBSD.org>
Date: Sat, 25 Oct 2014 01:11:24 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak cross/avr-binutils
X-Send-Pr-Version: www-1.0
>Number: 49311
>Category: pkg
>Synopsis: Unbreak cross/avr-binutils
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: mef
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 25 01:15:00 +0000 2014
>Closed-Date: Fri Dec 05 08:51:43 +0000 2014
>Last-Modified: Fri Dec 05 08:51:43 +0000 2014
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
Darwin 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:
Forcing the config shell to be ksh prevents the symlinks to avr prefixed commands & man pages from being created. The line numbers referenced in the comment do not apply to the current version of binutils e.g line 2991 of Makefile is a blank line.
Attached patch removes this which unbreaks it on Mac OS X Tiger
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/avr-binutils/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 23 Oct 2014 10:25:11 -0000 1.25
+++ Makefile 25 Oct 2014 01:04:26 -0000
@@ -16,9 +16,6 @@
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_GNU_CONFIGURE_HOST= no
-# ./configure.lineno: 3239: Syntax error: Missing '}'
-# Makefile:2991: recipe for target 'configure-opcodes' failed
-CONFIG_SHELL= ksh
CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->mef
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sat, 25 Oct 2014 05:18:59 +0000
Responsible-Changed-Why:
over to person who introduced the change a few months ago
(it looks like the change is no longer needed; but it would help to know
what platform it broke on originally)
State-Changed-From-To: open->feedback
State-Changed-By: mef@NetBSD.org
State-Changed-When: Thu, 30 Oct 2014 22:04:55 +0000
State-Changed-Why:
Fix applied, see pkg/49308 and pkg/48504. Should be OK, thank you.
From: venture37 <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49311: Unbreak cross/avr-binutils
Date: Fri, 05 Dec 2014 05:15:01 +0000
this PR can now be closed. issue is resolved.
State-Changed-From-To: feedback->closed
State-Changed-By: mef@NetBSD.org
State-Changed-When: Fri, 05 Dec 2014 08:51:43 +0000
State-Changed-Why:
Originator confirmed the fix, thanks a lot.
>Unformatted:
(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.