Re: [Solved] 6.6.1p1 fails to build on Void Linux

2019-11-12 Thread epektasis
Thank you, Gilles.  You were spot on.  Though I had libevent installed,
I needed to also install libevent-devel.  Once the development files were
in place, the compiling and installation went well.  Thanks for your good
work on opensmtpd!
RPTN

On Tue, Nov 12, 2019 at 12:58:39AM +0100, Gilles Chehade wrote:
> Very likely libevent is missing...
> 
> I fixed a configure bug where missing libevent caused a SSL test to fail and 
> thus lead to a confusing error.
> 
> 
> 
> > On 12 Nov 2019, at 00:28, epektasis  wrote:
> > 
> > I'm trying to build opensmtpd-6.6.1p1 on an updated Void Linux.  Already
> > overcame a couple of missing development packages by installing them.
> > But I can't seem to get by this error, which occurs in the configure
> > process just after opensslv.h is found (configure exit status 1):
> > 
> >configure error: error: *** Can't find recent LibreSSL crypto
> >(see config.log for details)
> > 
> > LibreSSL 3.0.2_1 is installed.  So is libcrypto44 and 45 (for the
> > latter, both 64 and 32 bit versions).  I read the README file and made
> > sure the stated dependencies are installed.  Nothing in the config.log
> > jumps out at me; I'll attach it nevertheless.
> > 
> > -- 
> > 
> 
> 
> 

-- 




Re: 6.6.1p1 fails to build on Void Linux

2019-11-12 Thread Ihor Antonov
On Tuesday, November 12, 2019 12:43:25 AM EST Gilles Chehade wrote:
> On Mon, Nov 11, 2019 at 08:10:50PM -0600, epektasis wrote:
> > Thank you for your reply.  Libevent-2.1.11_1 is installed.  So is
> > autoconf-2.69_7, automake-1.16.1_2, bison-3.4.2_1, libtool-2.4.6_4, and
> > libasr-1.0.3_1.  There are several fatal errors for some missing header
> > files; I guess I'll try to track them down and see if I can get this
> > going again.  I'll let you know.
> 
> In some distributions, packages are split between two, so you have for
> example libevent and libevent-dev, the former for runtime dependencies
> and the second for build time dependencies with headers and such. This
> may be the case here ?
> 
> I'm on my openbsd laptop right now, as soon as I boot on a Linux one I
> will try to build on void linux and get back to you, cheers.

Hi epektasis,

Can you create a docker file that reproduces your problem? 

We use docker in our CI, and here is an example for Alpine Linux:

https://github.com/OpenSMTPD/OpenSMTPD/blob/portable/ci/docker/
Dockerfile.alpine

If you can provide something similar but using Void it will be much easier for 
us to reproduce and troubleshoot the issue.

Thanks

-- 
Ihor Antonov
https://useplaintext.email





Re: 6.6.1p1 fails to build on Void Linux

2019-11-11 Thread Gilles Chehade
On Mon, Nov 11, 2019 at 08:10:50PM -0600, epektasis wrote:
> Thank you for your reply.  Libevent-2.1.11_1 is installed.  So is
> autoconf-2.69_7, automake-1.16.1_2, bison-3.4.2_1, libtool-2.4.6_4, and
> libasr-1.0.3_1.  There are several fatal errors for some missing header
> files; I guess I'll try to track them down and see if I can get this
> going again.  I'll let you know.
> 

In some distributions, packages are split between two, so you have for
example libevent and libevent-dev, the former for runtime dependencies
and the second for build time dependencies with headers and such. This
may be the case here ?

I'm on my openbsd laptop right now, as soon as I boot on a Linux one I
will try to build on void linux and get back to you, cheers.

-- 
Gilles Chehade @poolpOrg

https://www.poolp.orgpatreon: https://www.patreon.com/gilles



Re: 6.6.1p1 fails to build on Void Linux

2019-11-11 Thread epektasis
Thank you for your reply.  Libevent-2.1.11_1 is installed.  So is
autoconf-2.69_7, automake-1.16.1_2, bison-3.4.2_1, libtool-2.4.6_4, and
libasr-1.0.3_1.  There are several fatal errors for some missing header
files; I guess I'll try to track them down and see if I can get this
going again.  I'll let you know.

On Tue, Nov 12, 2019 at 12:58:39AM +0100, Gilles Chehade wrote:
> Very likely libevent is missing...
> 
> I fixed a configure bug where missing libevent caused a SSL test to fail and 
> thus lead to a confusing error.
> 
> 
> 
> > On 12 Nov 2019, at 00:28, epektasis  wrote:
> > 
> > I'm trying to build opensmtpd-6.6.1p1 on an updated Void Linux.  Already
> > overcame a couple of missing development packages by installing them.
> > But I can't seem to get by this error, which occurs in the configure
> > process just after opensslv.h is found (configure exit status 1):
> > 
> >configure error: error: *** Can't find recent LibreSSL crypto
> >(see config.log for details)
> > 
> > LibreSSL 3.0.2_1 is installed.  So is libcrypto44 and 45 (for the
> > latter, both 64 and 32 bit versions).  I read the README file and made
> > sure the stated dependencies are installed.  Nothing in the config.log
> > jumps out at me; I'll attach it nevertheless.
> > 
> > -- 
> > 
> 
> 
> 

-- 




Re: 6.6.1p1 fails to build on Void Linux

2019-11-11 Thread Gilles Chehade
Very likely libevent is missing...

I fixed a configure bug where missing libevent caused a SSL test to fail and 
thus lead to a confusing error.



> On 12 Nov 2019, at 00:28, epektasis  wrote:
> 
> I'm trying to build opensmtpd-6.6.1p1 on an updated Void Linux.  Already
> overcame a couple of missing development packages by installing them.
> But I can't seem to get by this error, which occurs in the configure
> process just after opensslv.h is found (configure exit status 1):
> 
>configure error: error: *** Can't find recent LibreSSL crypto
>(see config.log for details)
> 
> LibreSSL 3.0.2_1 is installed.  So is libcrypto44 and 45 (for the
> latter, both 64 and 32 bit versions).  I read the README file and made
> sure the stated dependencies are installed.  Nothing in the config.log
> jumps out at me; I'll attach it nevertheless.
> 
> -- 
>