NetBSD Problem Report #49977

From www@NetBSD.org  Tue Jun 16 10:48:21 2015
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 6FE90A654C
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 16 Jun 2015 10:48:21 +0000 (UTC)
Message-Id: <20150616104820.263A0A65C2@mollari.NetBSD.org>
Date: Tue, 16 Jun 2015 10:48:20 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/g95 fails to build on OS X Yosemite
X-Send-Pr-Version: www-1.0

>Number:         49977
>Category:       pkg
>Synopsis:       lang/g95 fails to build on OS X Yosemite
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 16 10:50:00 +0000 2015
>Last-Modified:  Thu Sep 08 06:50:00 +0000 2016
>Originator:     Sergey Litvinov
>Release:        master, Tue Jun 16 12:46:47 CEST 2015
>Organization:
>Environment:
Darwin osx 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>Description:
lang/g95 fails to build on OS X Yosemite with the following error message:

clang   -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o dummy-checksum.o \
	  main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a ./../intl/libintl.a -liconv  ../libiberty/libiberty.a
Undefined symbols for architecture x86_64:
  "_host_hooks", referenced from:
      _c_common_no_more_pch in c-pch.o
      _toplev_main in libbackend.a(toplev.o)
      _gt_pch_save in libbackend.a(ggc-common.o)
      _gt_pch_restore in libbackend.a(ggc-common.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gnumake[2]: *** [cc1-dummy] Error 1
gnumake[1]: *** [all-gcc] Error 2
gnumake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
make in
lang/g95
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 17 Jun 2015 11:25:20 +0000
Responsible-Changed-Why:
OS X pkgsrc problem.


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/49977: lang/g95 fails to build on OS X Yosemite
Date: Thu, 8 Sep 2016 06:49:00 +0000

 PKGSRC_FORTRAN=gfortran is the answer to all these.
 now a workaround but I'd like to make it a default too.

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