Opened 5 years ago

Last modified 3 years ago

#59480 assigned defect

R @3.5.1_3 +builtin_lapack+cairo+gcc8+recommended+x11: Building issue: Symbol not found: _timespec_get expected in: /usr/lib/libSystem.B.dylib

Reported by: ceandrade (Carlos Eduardo de Andrade) Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: R

Description

R 3.5.1 is not building properly on MacPorts 2.6.2:

$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.6.2 installed,
MacPorts base version 2.6.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

$ sudo port clean R
--->  Cleaning R

$ sudo port install R
--->  Computing dependencies for R
--->  Fetching archive for R
--->  Attempting to fetch R-3.5.1_3+builtin_lapack+cairo+gcc9+recommended+x11.darwin_18.x86_64.tbz2 from https://packages.macports.org/R
--->  Attempting to fetch R-3.5.1_3+builtin_lapack+cairo+gcc9+recommended+x11.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/R
--->  Attempting to fetch R-3.5.1_3+builtin_lapack+cairo+gcc9+recommended+x11.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/R
--->  Fetching distfiles for R
--->  Verifying checksums for R
--->  Extracting R
--->  Configuring R
--->  Building R
Error: Failed to build R: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port R failed

Xcode: Version 11.0 (11A420a)

It looks like is an issue during linkage:

:info:build installing 'sysdata.rda'
:info:build dyld: lazy symbol binding failed: Symbol not found: _timespec_get
:info:build   Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-3.5.1/lib/libR.dylib
:info:build   Expected in: /usr/lib/libSystem.B.dylib
:info:build dyld: Symbol not found: _timespec_get
:info:build   Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-3.5.1/lib/libR.dylib
:info:build   Expected in: /usr/lib/libSystem.B.dylib

Attachments (1)

main.log (329.4 KB) - added by ceandrade (Carlos Eduardo de Andrade) 5 years ago.
Compile log

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by ceandrade (Carlos Eduardo de Andrade)

Attachment: main.log added

Compile log

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: R build linkage error _timespec_get libSystem.B.dylib removed

comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)

I think this is a dup of #59453

comment:4 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.