Closed ernstki closed 1 year ago
Note The .o files mentioned in the linker warnings are coming from the MacPorts version of Free Pascal. Seems like those should be harmless warnings anyway?
I do not see any linker warnings
Abort trap: 6
That error could be anything
Run it with gdb, ltrace or strace to see what it is actually doing
The linker warnings are under a <detail>
in the issue description. Here is an example:
ld: warning: object file (/opt/local/libexec/fpc/lib/fpc/3.2.2/units/x86_64-darwin/rtl/sysinit.o) was built for newer macOS version (10.15) than being linked (10.9)
Using gdb was my first instinct, but gdb on macOS needs to be code-signed, and I couldn't get the one from MacPorts to work. (It hangs when I run --help
and must be kill -9
'd.) There is no strace
on macOS; there is dtrace
, but it's nowhere near as straightforward to use. Such is life outside the walled garden of Xcode, and I make no excuses for that.
If Abort trap: 6
could be "anything," I'll close this ticket. Thanks anyway. I have a workaround for now.
Regardless, Xidel is super-handy, and thanks for making it!
Hi, everyone. I'm trying to build the 0.9.8 tarball on macOS 10.15.7 (Catalina) to no avail.
I suspect (based on warnings running
build.sh
) that it's not xidel's problem, but a problem with my development setup, which is mostly based on MacPorts, but I do have the Xcode command line tools (2373) installed, so that's where the C compiler and linker are coming from.I was, at one point, able to build this on another Catalina machine, so I just copied
xidel
andxidel.1
from that machine, and so I'm not totally stuck here. But it still seems like a good thing to try and resolve, in case somebody else finds themself in the same situation.Here are as many details as I think might be relevant, including the standard error and standard output from invoking
./build.sh
.fpc
3.2.2 from MacPortsgcc
is Apple clang version 12.0.0 (clang-1200.0.32.29)gcc
(10.3.0) andld
both coming from the MacPorts gcc10 port instead of Apple's built-in ones. Same result.Standard error of
./build.sh
on a freshly-extracted xidel-0.9.8.src.tar.gzThe standard out was too long to include in the issue description, so it's attached instead.
Expected result
Actual result