Opened 6 months ago

Last modified 4 weeks ago

#70022 assigned defect

emacs @29.3: Symbol not found: _clock_gettime

Reported by: rmottola (Riccardo) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version:
Keywords: elcapitan Cc: catap (Kirill A. Korinsky)
Port: emacs

Description

On 10.11 el capitan a clean build of emacs quartz fails

rm -f bootstrap-emacs.pdmp
./temacs --batch  -l loadup --temacs=pbootstrap \
		--bin-dest /opt/local/bin/ --eln-dest /opt/local/lib/emacs/29.3/
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs/work/emacs-29.3/src/./temacs
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs/work/emacs-29.3/src/./temacs
  Expected in: /usr/lib/libSystem.B.dylib

make[2]: *** [bootstrap-emacs.pdmp] Trace/BPT trap: 5

I tried default compiler, gcc13, clang16

Attachments (1)

emacs.log (365.8 KB) - added by rmottola (Riccardo) 6 months ago.
default selected compiler

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 months ago by rmottola (Riccardo)

I wonder, on Marc 26th I was able to build emacs 29.3, I still have the binary - no further details since I had the hard disk exchanged after failure.

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: catap added
Owner: set to drkp
Status: newassigned
Summary: emacs 29.3 fails for Symbol not found: _clock_gettimeemacs @29.3: Symbol not found: _clock_gettime

Please attach the main.log file. This was reported before in #68179 but before the user could attach their log file the user was able to install it, so we still don't know what caused it.

comment:3 Changed 6 months ago by rmottola (Riccardo)

aha... I understand, emacs-app got installed with binary.

I attach the log.

Changed 6 months ago by rmottola (Riccardo)

Attachment: emacs.log added

default selected compiler

comment:4 Changed 4 weeks ago by rmottola (Riccardo)

I still have this issue. I see a cross-mention with this: #68179

Last edited 4 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 4 weeks ago by rmottola (Riccardo)

As a note (see other issue) if LegacySupport is enabled, build fails with:

dyld: lazy symbol binding failed: Symbol not found: _renameatx_np
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs-app/work/emacs-29.4/lisp/../src/emacs
  Expected in: /usr/lib/libSystem.B.dylib
Note: See TracTickets for help on using tickets.