Re: Portable buildung issues

2019-10-22 Thread John Smith
Hello,

thanks very much for all your replies. In deed, I rebuild world replacing 
openssl with libressl, basically only for opensmtpd. So it is the github issue. 
I knew smtpd portable supports openssl, but it did not come to my mind, that 
libressl is not supported at all for the portable version, openssl being just 
being an extra service, so I thought I'll do it something good. 

I'll revert to openssl and report back. May take a day or two.

Thanks again

Ede




Portable buildung issues

2019-10-22 Thread John Smith
Hello,

cloned today, I am having problems building smtpd. After configure:


/data/git/opensmtp # make
make  all-recursive
make[1]: Entering directory '/data/git/opensmtp'
Making all in openbsd-compat
make[2]: Entering directory '/data/git/opensmtp/openbsd-compat'
gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I../openbsd-compat/err_h -I/usr/include   -march=skylake -fomit-frame-pointer 
-O2 -pipe  -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare 
-Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign 
-Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -fPIE -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o arc4random.o arc4random.c
arc4random.c:167:21: error: macro "arc4random_stir" passed 1 arguments, but 
takes just 0
 arc4random_stir(void)
 ^
arc4random.c:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '{' token
 {
 ^
make[2]: *** [Makefile:445: arc4random.o] Error 1
make[2]: Leaving directory '/data/git/opensmtp/openbsd-compat'
make[1]: *** [Makefile:418: all-recursive] Error 1
make[1]: Leaving directory '/data/git/opensmtp'
make: *** [Makefile:350: all] Error 2

Any idea what I might be missing? As I have a rather minimal system, some 
package my be lacking. Any further details that are needed?

Thanks

Ede