NetBSD Problem Report #51583

From www@NetBSD.org  Sat Oct 29 15:53:44 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(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 D43557A211
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Oct 2016 15:53:44 +0000 (UTC)
Message-Id: <20161029155343.719967A2A4@mollari.NetBSD.org>
Date: Sat, 29 Oct 2016 15:53:43 +0000 (UTC)
From: emre.eryilmaz@piesso.com
Reply-To: emre.eryilmaz@piesso.com
To: gnats-bugs@NetBSD.org
Subject: lang/guile compile error: "error: linker command failed with exit code 1"
X-Send-Pr-Version: www-1.0

>Number:         51583
>Category:       pkg
>Synopsis:       lang/guile compile error: "error: linker command failed with exit code 1"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 29 15:55:00 +0000 2016
>Closed-Date:    Sun Dec 11 18:17:30 +0000 2016
>Last-Modified:  Sun Dec 11 18:17:30 +0000 2016
>Originator:     Emre Eryilmaz
>Release:        2016Q2
>Organization:
>Environment:
Darwin vaders-MacBook-Pro.local 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64
>Description:
I got error when lang/guile compile. 
Full error:
===> Building for guile20-2.0.12nb2
/Library/Developer/CommandLineTools/usr/bin/gnumake  all-recursive
Making all in lib
/Library/Developer/CommandLineTools/usr/bin/gnumake  all-recursive
gnumake[4]: Nothing to be done for `all-am'.
Making all in meta
gnumake[2]: Nothing to be done for `all'.
Making all in libguile
/Library/Developer/CommandLineTools/usr/bin/gnumake  all-am
  CCLD     libguile-2.0.la
Undefined symbols for architecture x86_64:
  "_clock_getcpuclockid", referenced from:
      _scm_init_stime in libguile_2.0_la-stime.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[3]: *** [libguile-2.0.la] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

>How-To-Repeat:

>Fix:
I finded same problem in fink users ( this link : https://www.mail-archive.com/fink-users@lists.sourceforge.net/msg41727.html )

and fixed this patch on Sierra ( https://www.mail-archive.com/fink-users@lists.sourceforge.net/msg41736/guile20.patch )

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 10 Nov 2016 08:08:39 +0000
State-Changed-Why:
this should be fixed in pkgsrc-current, pkgsrc-2016Q2 is no longer supported as of the release of 2016Q3.
pullup ticket #5154


State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 11 Dec 2016 18:17:30 +0000
State-Changed-Why:
pullup to 2016Q3 complete


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