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)



In my continued quixotic attempt to get devel/got building on macOS, I have perhaps another useful build failure.

First dealing with our previous errors...

$ cd /opt/pkgsrc/devel/got
$ bmake patch
$ cp ~/Developer/libmd/include/sha1.h work/got-0.48/openbsd-compat/
$ cp /opt/pkg/include/uuid/uuid.h work/got-0.48/openbsd-compat/


then the build...

$ 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:204:7: error: use of undeclared identifier 'uuid_s_ok'
        case uuid_s_ok:
             ^
/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib/error.c:206:7: error: use of undeclared identifier 'uuid_s_bad_version'
        case uuid_s_bad_version:
             ^
/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib/error.c:208:7: error: use of undeclared identifier 'uuid_s_invalid_string_uuid'
        case uuid_s_invalid_string_uuid:
             ^
/opt/pkgsrc/devel/got/work/got-0.48/libexec/got-read-blob/../../lib/error.c:210:7: error: use of undeclared identifier 'uuid_s_no_memory'
        case uuid_s_no_memory:
             ^
4 errors 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


Home | Main Index | Thread Index | Old Index