pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51583: lang/guile compile error: "error: linker command failed with exit code 1"



>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:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 29 15:55:00 +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@localhost/msg41727.html )

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


Home | Main Index | Thread Index | Old Index