conformal / cyphertite

A high-security scalable solution for online backups.
https://www.cyphertite.com/
46 stars 8 forks source link

can't compile on FreeBSD 10.1 #104

Open larcane opened 9 years ago

larcane commented 9 years ago

$ sudo ./ct_install.sh
Password: Found OpenSSL/1.0.1j, skipping build Found curl 7.28.1, skipping build Building ==> clens make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh"" /usr/obj/usr/home/foo/downloads/cyphertite-2.0.4/clens created for /usr/home/foo/downloads/cyphertite-2.0.4/clens make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh"" rm -f .depend mkdep -f .depend -a -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh"" cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c -o clens.o cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c -o arc4random_buf.o cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c -o arc4random_uniform.o building static clens library ranlib libclens.a cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c -o clens.po cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c -o arc4random_buf.po cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c -o arc4random_uniform.po building profiled clens library ranlib libclens_p.a Installing ==> clens make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh"" install -C -o root -g wheel -m 444 libclens.a /usr/local/lib install -C -o root -g wheel -m 444 libclens_p.a /usr/local/lib install -d -m 0755 /usr/local/include/clens install -m 444 -o root -g wheel clens/clens.h /usr/local/include/clens/clens.h Building ==> clog make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh"" /usr/obj/usr/home/foo/downloads/cyphertite-2.0.4/clog created for /usr/home/foo/downloads/cyphertite-2.0.4/clog make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh"" rm -f .depend mkdep -f .depend -a -I/usr/home/foo/downloads/cyphertite-2.0.4/clog -I/usr/local/include -std=gnu99 /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh"" cc -O2 -pipe -Wall -Werror -g -I/usr/home/foo/downloads/cyphertite-2.0.4/clog -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c -o clog.o In file included from /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:19: /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:106:1: error: unknown type name 'dead' dead void clogfatal(const char ); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:106:8: error: expected identifier or '(' dead void clog_fatal(const char ); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:107:1: error: unknown type name 'dead' dead void clog_fatalx(const char , ...); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:107:8: error: expected identifier or '(' dead void clog_fatalx(const char , ...); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:91:2: error: implicit declaration of function 'gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration] gettimeofday(&clog_start_of_day, NULL); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:220:4: error: implicit declaration of function 'timersub' is invalid in C99 [-Werror,-Wimplicit-function-declaration] timersub(&now, &clog_start_of_day, &elapsed); ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:383:1: error: unknown type name 'dead' dead void ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:383:8: error: expected identifier or '(' dead void ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:398:1: error: unknown type name 'dead' dead void ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:398:8: error: expected identifier or '(' dead void ^ /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:437:22: error: implicit declaration of function 'SA_LEN' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0, ^ 11 errors generated. _* Error code 1

Stop. make: stopped in /usr/home/foo/downloads/cyphertite-2.0.4/clog


\ ERROR **


Make failed for 'clog'.

$ uname -a FreeBSD bar 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

$ gcc --version gcc (FreeBSD Ports Collection) 4.9.3 20150107 (prerelease) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

( I also tried gcc version 4.8.4, same result )

SirHumphreyAppleby commented 9 years ago

I'd also like to see a functional FreeBSD port.

Currently running a Linux VM just for Cyphertite, but FreeBSD is my preferred platform. Having a variety of systems to maintain (at home, unpaid) is a pain.

Freaky commented 9 years ago

Confirmed on 10.1-STABLE #0 r280312: Sat Mar 21 05:57:03 GMT 2015

No response on this? :/