-
Notifications
You must be signed in to change notification settings - Fork 458
Closed
Description
htslib doesn't build on OS X (macOS) 10.9 and earlier anymore.
htslib 1.21 and earlier did build on such old versions of OS X (macOS), but 1.22.1 fails in this way:
ref_cache/log_files.c:84:22: warning: implicit declaration of function 'openat' is invalid in C99 [-Wimplicit-function-declaration]
log_fd = openat(logfiles->log_dir_fd, name, O_WRONLY | O_CREAT | O_EXCL, 0644);
^
ref_cache/log_files.c:101:9: warning: implicit declaration of function 'unlinkat' is invalid in C99 [-Wimplicit-function-declaration]
unlinkat(logfiles->log_dir_fd, name, 0);
^
ref_cache/log_files.c:218:17: warning: implicit declaration of function 'fstatat' is invalid in C99 [-Wimplicit-function-declaration]
if (fstatat(logfiles->log_dir_fd,
^
ref_cache/log_files.c:219:43: error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW'
ent->d_name, &st, AT_SYMLINK_NOFOLLOW) != 0) {
^
3 warnings and 1 error generated.
make: *** [ref_cache/log_files.o] Error 1
Here is a full build log: https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/311518/steps/install-port/logs/stdio
1.22.1 does build on OS X (macOS) 10.10 and newer.
Metadata
Metadata
Assignees
Labels
No labels