pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56349 (devel/got: build failure on macOS)



Sorry for the delay.

On 2021-08-11 14:30, David Holland wrote:

 Looks like the sha1.h in openbsd-compat doesn't work. As a quick hack,
 try just deleting it before building. (That is, make patch, rm
 work/got-0.48/openbsd-compat/sha1.h, make.)

 My guess from the error is that /usr/local/include/sha.h expects to be
 using some sha1.h of its own that the "compat" version is hiding.

Okay so this is the build failure for `bmake patch; rm work/got-0.48/openbsd-compat/sha1.h; bmake`:
(both with/without `LIBS.Darwin+= -lmd` is the same)

$ bmake
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Checking for vulnerabilities in got-0.48
===> Creating toolchain wrappers for got-0.48
===> Configuring for got-0.48
===> Building for got-0.48
all ===> openbsd-compat
clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c freezero.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC freezero.c -o freezero.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c getdtablecount.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC getdtablecount.c -o getdtablecount.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c imsg-buffer.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC imsg-buffer.c -o imsg-buffer.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c imsg.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC imsg.c -o imsg.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c open.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC open.c -o open.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c recallocarray.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC recallocarray.c -o recallocarray.so
building standard openbsd-compat library
ar -c -q libopenbsd-compat.a `NM=nm lorder freezero.o getdtablecount.o imsg.o imsg-buffer.o open.o recallocarray.o | tsort -q`
ranlib libopenbsd-compat.a
building shared object openbsd-compat library
ar -c -q libopenbsd-compat_pic.a `NM=nm lorder freezero.so getdtablecount.so imsg.so imsg-buffer.so open.so recallocarray.so | tsort -q`
ranlib libopenbsd-compat_pic.a
all ===> libexec
all ===> libexec/got-read-blob
clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat -Wno-pointer-sign -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got-read-blob.c
In file included from got-read-blob.c:30:
/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat/sha1.h:4:10: fatal error: 'sha.h' file not found
#include <sha.h>
         ^~~~~~~
1 error generated.
*** Error code 1

Stop.
bmake[2]: stopped in /opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/got/work/got-0.48/libexec
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/got/work/got-0.48
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/got
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/got


But there's some progress after installing libmd from https://github.com/guillemj/libmd:


$ bmake
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Checking for vulnerabilities in got-0.48
===> Creating toolchain wrappers for got-0.48
===> Configuring for got-0.48
===> Building for got-0.48
all ===> openbsd-compat
clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c freezero.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC freezero.c -o freezero.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c getdtablecount.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC getdtablecount.c -o getdtablecount.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c imsg-buffer.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC imsg-buffer.c -o imsg-buffer.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c imsg.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC imsg.c -o imsg.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c open.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC open.c -o open.so clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c recallocarray.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/opt/pkgsrc/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c -fPIC -DPIC recallocarray.c -o recallocarray.so
building standard openbsd-compat library
ar -c -q libopenbsd-compat.a `NM=nm lorder freezero.o getdtablecount.o imsg.o imsg-buffer.o open.o recallocarray.o | tsort -q`
ranlib libopenbsd-compat.a
building shared object openbsd-compat library
ar -c -q libopenbsd-compat_pic.a `NM=nm lorder freezero.so getdtablecount.so imsg.so imsg-buffer.so open.so recallocarray.so | tsort -q`
ranlib libopenbsd-compat_pic.a
all ===> libexec
all ===> libexec/got-read-blob
clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat -Wno-pointer-sign -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got-read-blob.c clang -pipe -Os -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat -Wno-pointer-sign -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c /opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib/error.c /opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib/error.c:28:10: fatal error: 'uuid.h' file not found
#include <uuid.h>
         ^~~~~~~~
1 error generated.
*** Error code 1

Stop.
bmake[2]: stopped in /opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/got/work/got-0.48/libexec
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/got/work/got-0.48
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/got
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/got


This seems odd, because uuid.h is present at a number of places:

$ locate uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/uuid/uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/uuid/uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/uuid.h
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/uuid/uuid.h
/opt/pkg/include/jack/uuid.h
/opt/pkg/include/uuid/uuid.h
/opt/pkgsrc/fonts/fontconfig/files/uuid.h


  > >  (It seems to still be "Darwin", not "MacOS"...)
  >
  >  This makes sense to me, as uname -s returns Darwin  ***

 Yeah, but since everyone calls it "MacOS" (or is it "macOS"?) and we
 went through some time back and changed most of the references to the
 name accordingly, it's confusing.

Yeah but Apple seems to want to change the name of its OS every few years, so I think it's less confusing to just call this "the output of uname -s". At least that stays consistent.

Home | Main Index | Thread Index | Old Index