Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Unable to build: 'SECURE_SERVER_CERTIFICATE' undeclared in auxserver.c #95
Comments
|
To make this complete, reproduced on Fedora 23, simple |
|
@happz thanks - yep, easily reproduced everywhere with "./Makepkgs --with-secure-sockets=no" ... fix will follow shortly. |
|
Same failure just started on FreeBSD 10.2 in my QA farm. |
natoscott
closed this
in
b0a14ee
May 25, 2016
|
Nathan, confirming your latest fixes resolve the build problem for me on FreeBSD 10.2 (vm06). |
|
I can also confirm successful builds on my Fedora 23 box with the fix applied. |
happz commentedMay 24, 2016
I've found the only definition of
SECURE_SERVER_CERTIFICATE, insrc/libpcp/src/internal.h, defined only when bothSOCKET_INTERNALandHAVE_SECURE_SOCKETSare defined, however the line 889 inauxserver.cis guarded by#if !defined(HAVE_SECURE_SOCKETS)- therefore, when!defined(HAVE_SECURE_SOCKETS)is satisfied, there's no definition ofSECURE_SERVER_CERTIFICATEbecauseifdef HAVE_SECURE_SOCKETSininternal.hcannot be fulfilled.Commit 07519d0 changes the source of
__pmSecureServerSetup, adding theSECURE_SERVER_CERTIFICATEusage.