Opened 4 years ago
Closed 4 years ago
#61574 closed defect (fixed)
Tests that try to access system libraries fail on Big Sur
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | |
Port: |
Description
A test fails on macOS 11 Big Sur:
https://build.macports.org/builders/base-11.0_arm64/builds/0/steps/test/logs/stdio
===> making test in src/machista1.0 clang -g -O2 -std=c99 -Wextra -Wall -pedantic -fPIC -D_POSIX_SOURCE -o tests/libmachista-test -I. tests/libmachista-test.c libmachista.o hashmap.o ./tests/libmachista-test Testing destroying NULL handle Testing destroying NULL handle OK Testing creating and destroying handles /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: '/usr/lib/libSystem.B.dylib': No such file or directory otool terminated with non-zero return value 1 Testing destroying NULL handle OK Testing creating and destroying handles OK Testing macho_format_dylib_version OK Testing parsing libSystem.B.dylib Error parsing `/usr/lib/libSystem.B.dylib': Shared cache only Testing destroying NULL handle OK Testing creating and destroying handles OK Testing macho_format_dylib_version OK Testing parsing libSystem.B.dylib Process was terminated with non-zero return value 1: Error parsing libSystem.B.dylib Error make[2]: *** [test] Error 1 make[1]: *** [test] Error 1 make: *** [test] Error 1
Change History (2)
comment:1 Changed 4 years ago by Tatsh (Andrew Udvare)
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is because of the shared library cache. Apple's system dylibs are no longer on the file system.