NetBSD Problem Report #37513

From martin@duskware.de  Mon Dec 10 13:33:16 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5E5D763B8FF
	for <gnats-bugs@gnats.netbsd.org>; Mon, 10 Dec 2007 13:33:16 +0000 (UTC)
Message-Id: <20071210120433.DD7A263B8FF@narn.NetBSD.org>
Date: Mon, 10 Dec 2007 12:04:33 +0000 (UTC)
From: harenberg@physik.uni-wuppertal.de
Reply-To: harenberg@physik.uni-wuppertal.de
To: netbsd-bugs-owner@NetBSD.org
Subject: misc/root doesn't build on Mac OS X 10.5 (powerpc)
X-Send-Pr-Version: www-1.0

>Number:         37513
>Notify-List:    bsiegert@NetBSD.org
>Category:       pkg
>Synopsis:       misc/root doesn't build on Mac OS X 10.5 (powerpc)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    drochner
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 10 13:35:00 +0000 2007
>Closed-Date:    Sun Mar 01 11:06:23 +0000 2015
>Last-Modified:  Sun Mar 01 11:06:23 +0000 2015
>Originator:     Torsten Harenberg
>Release:        Mac OS X 10.5.1
>Organization:
University of Wuppertal
>Environment:
bash-3.2# uname -a
Darwin apfel.physik.uni-wuppertal.de 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; root:xnu-1228.0.2~1/RELEASE_PPC Power Macintosh
>Description:
misc/root breaks while trying to build on a Mac running 10.5.1 (powerpc architecture):

===> Extracting for root-5.10nb1
/bin/cp /usr/pkgsrc/misc/root/files/Makefile.netbsd /usr/pkgsrc/misc/root/work/root/config
===> Patching for root-5.10nb1
=> Applying pkgsrc patches for root-5.10nb1
===> Creating toolchain wrappers for root-5.10nb1
===> Configuring for root-5.10nb1
Invalid architecture. Try ./configure --help
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/root
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/root

>How-To-Repeat:
use a Mac running 10.5.1 (powerpc),
check out pkgsrc (HEAD, Dec 10th, 2007) and try to build misc/root
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 10 Dec 2007 23:11:47 +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 06:57:47 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people


Responsible-Changed-From-To: macos-pkg-people->drochner
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 22 Nov 2014 20:46:53 +0000
Responsible-Changed-Why:
Over to maintainer, maybe check with upstream.


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37513 CVS commit: pkgsrc/misc/root
Date: Sat, 27 Dec 2014 00:56:46 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sat Dec 27 00:56:46 UTC 2014

 Modified Files:
 	pkgsrc/misc/root: Makefile

 Log Message:
 If LOWER_OPSYS is "darwin", don't pass this as the OS type as this
 package unsurprisingly has no idea what a "darwin" is. Instead use
 "netbsd" in the hopes that the netbsd config is adequate for all
 pkgsrc use. (If this doesn't work, try "macosx".)

 I'm going to continue passing the contents of LOWER_OPSYS everywhere
 else, because there's some chance it might actually be working as is
 and we're in a freeze.

 Might fix PR 37513.


 To generate a diff of this commit:
 cvs rdiff -u -r1.55 -r1.56 pkgsrc/misc/root/Makefile

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

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 27 Dec 2014 02:36:54 +0000
State-Changed-Why:
Can you (or someone) give that a try?


From: Benny Siegert <bsiegert@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: drochner@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, 
	dholland@netbsd.org, harenberg@physik.uni-wuppertal.de
Subject: Re: pkg/37513 (misc/root doesn't build on Mac OS X 10.5 (powerpc))
Date: Sat, 27 Dec 2014 11:47:09 +0100

 => Build dependency gcc3-f77>=3.3.5nb2: NOT found
 => Verifying reinstall for ../../lang/gcc3-f77
 ERROR: This package is only available for these compilers: gcc.
 ERROR: This package is not available for these platforms: Darwin-*-*
 Interix-*-* DragonFly-*-*.
 ERROR: This package has set PKG_FAIL_REASON:
 ERROR: gcc3-f77-3.3.6 is not available for Darwin-14.0.0-x86_64
 *** Error code 1

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37513 (misc/root doesn't build on Mac OS X 10.5 (powerpc))
Date: Sat, 27 Dec 2014 22:38:15 +0000

 On Sat, Dec 27, 2014 at 10:50:00AM +0000, Benny Siegert wrote:
  >  => Build dependency gcc3-f77>=3.3.5nb2: NOT found
  >  => Verifying reinstall for ../../lang/gcc3-f77
  >  ERROR: This package is only available for these compilers: gcc.
  >  ERROR: This package is not available for these platforms: Darwin-*-*
  >  Interix-*-* DragonFly-*-*.
  >  ERROR: This package has set PKG_FAIL_REASON:
  >  ERROR: gcc3-f77-3.3.6 is not available for Darwin-14.0.0-x86_64
  >  *** Error code 1

 Uggh... I don't suppose it works if you comment that out and try it
 with normal pkgsrc fortran?

 -- 
 David A. Holland
 dholland@netbsd.org

From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/37513 (misc/root doesn't build on Mac OS X 10.5 (powerpc))
Date: Sun, 28 Dec 2014 12:25:19 +0900

 On Sun, 28 Dec 2014 07:40:01 +0900, David Holland <dholland-pbugs@netbsd.org> wrote:

 >  On Sat, Dec 27, 2014 at 10:50:00AM +0000, Benny Siegert wrote:
 >   >  => Build dependency gcc3-f77>=3.3.5nb2: NOT found
 >   >  => Verifying reinstall for ../../lang/gcc3-f77
 >   >  ERROR: This package is only available for these compilers: gcc.
 >   >  ERROR: This package is not available for these platforms: Darwin-*-*
 >   >  Interix-*-* DragonFly-*-*.
 >   >  ERROR: This package has set PKG_FAIL_REASON:
 >   >  ERROR: gcc3-f77-3.3.6 is not available for Darwin-14.0.0-x86_64
 >   >  *** Error code 1
 > Uggh... I don't suppose it works if you comment that out and try it
 >  with normal pkgsrc fortran?

 How about following?

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/misc/root/Makefile,v
 retrieving revision 1.56
 diff -u -r1.56 Makefile
 --- Makefile    27 Dec 2014 00:56:46 -0000      1.56
 +++ Makefile    28 Dec 2014 03:22:10 -0000
 @@ -12,8 +12,8 @@

   WRKSRC=                        ${WRKDIR}/root
   USE_TOOLS+=            gmake
 -USE_LANGUAGES=         c c++ #fortran f2c lacks LOC()
 -.include "../../lang/gcc3-f77/buildlink3.mk"
 +USE_LANGUAGES=         c c++ fortran
 +NOT_FOR_COMPILER+=     f2c #lacks LOC()

   CHECK_PORTABILITY_SKIP=        build/win/*.sh cint/tool/INSTALLBIN
   BUILD_TARGET=


 -- 
 OBATA Akio / obata@lins.jp

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37513 (misc/root doesn't build on Mac OS X 10.5 (powerpc))
Date: Sun, 28 Dec 2014 17:20:10 +0000

 On Sun, Dec 28, 2014 at 03:30:01AM +0000, OBATA Akio wrote:
  >  > Uggh... I don't suppose it works if you comment that out and try it
  >  >  with normal pkgsrc fortran?
  >  
  >  How about following?
  > [snip]

 LGTM...

 -- 
 David A. Holland
 dholland@netbsd.org

From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37513 (misc/root doesn't build on Mac OS X 10.5 (powerpc))
Date: Fri, 20 Feb 2015 07:27:31 +0100

 Hi,

 can we close this PR now then?

 It's still on feedback, I cannot test it anymore, don't have the platform.

 Cheers

   Torsten

 -- 
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 <>                                                              <>
 <> Dr. Torsten Harenberg     harenberg@physik.uni-wuppertal.de  <>
 <> Bergische Universitaet                                       <>
 <> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
 <> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
 <> 42097 Wuppertal                                              <>
 <>                                                              <>
 <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37513 CVS commit: pkgsrc/misc/root
Date: Sun, 1 Mar 2015 11:01:14 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Mar  1 11:01:14 UTC 2015

 Modified Files:
 	pkgsrc/misc/root: Makefile

 Log Message:
 Fix Fortran compiler selection logic.

 Fix by OBATA Akio in PR pkg/37513.


 To generate a diff of this commit:
 cvs rdiff -u -r1.56 -r1.57 pkgsrc/misc/root/Makefile

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

State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 01 Mar 2015 11:06:23 +0000
State-Changed-Why:
Compiler selection logic fixed.
PR closed as per submitter's request.


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