Skip to content

can't compile on FreeBSD 10.1 #104

@larcane

Description

@larcane

$ 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 clog_fatal(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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions