Re: Breakage in httpd 2.4.39/windows/cmake?

2019-07-15 Thread Stefan Eissing
The source modules/http2/h2_ngn_shed.c was removed in 2.4.39, but it was still 
in the CMakeList. In branch 2.4.x it was fixed.

We need a build server that uses cmake, it seems. Anyone an idea how to set 
that up?

> Am 12.07.2019 um 22:58 schrieb Steve Hay :
> 
> On Fri, 12 Jul 2019 at 21:41, William A Rowe Jr  wrote:
>> 
>> Because of some trouble on another project, I wanted to recheck
>> the current nghttp2 build between our mutual dependencies and
>> httpd... and something isn't looking so healthy in the CMake
>> build of the last release. (But I did answer my question, bazel
>> shouldn't be failing to build nghttp2, it is rock hard stable in terms
>> of building rev 1.39.1) CMake is rev 3.9.4 in this example of our
>> build below.
>> 
> 
> I did a build of 2.4.39 a few days ago using "cmake version
> 3.14.19050301-MSVC_2" and everything was fine.



Re: Breakage in httpd 2.4.39/windows/cmake?

2019-07-12 Thread Steve Hay
On Fri, 12 Jul 2019 at 21:41, William A Rowe Jr  wrote:
>
> Because of some trouble on another project, I wanted to recheck
> the current nghttp2 build between our mutual dependencies and
> httpd... and something isn't looking so healthy in the CMake
> build of the last release. (But I did answer my question, bazel
> shouldn't be failing to build nghttp2, it is rock hard stable in terms
> of building rev 1.39.1) CMake is rev 3.9.4 in this example of our
> build below.
>

I did a build of 2.4.39 a few days ago using "cmake version
3.14.19050301-MSVC_2" and everything was fine.


Breakage in httpd 2.4.39/windows/cmake?

2019-07-12 Thread William A Rowe Jr
Because of some trouble on another project, I wanted to recheck
the current nghttp2 build between our mutual dependencies and
httpd... and something isn't looking so healthy in the CMake
build of the last release. (But I did answer my question, bazel
shouldn't be failing to build nghttp2, it is rock hard stable in terms
of building rev 1.39.1) CMake is rev 3.9.4 in this example of our
build below.

Just as an aside this is all a byproduct of the mak/Makefile.build-win
script of https://github.com/appsuite/oss-httpd-build if anyone wants
to replicate. Sadly, the gather and preconfig steps still require WSU
- some unix on top of Windows for a bash environment. But that
build-win nmake logic is what gets us to this...

cd httpd-2.4.39 &&  cmake -G "NMake Makefiles" -D
CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_COLOR_MAKEFILE=OFF  -D
CMAKE_INSTALL_PREFIX=C:\Users\wrowe\dev\oss-httpd-build\dst\httpd-2.4.39-today
 C:\Users\wrowe\dev\oss-httpd-build\src/httpd-2.4.39 &&  cd ..
-- The C compiler identification is MSVC 19.11.25547.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found LibXml2:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libxml2.lib
(found version "2.9.9")
-- Found Lua51:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/lua.lib
-- Found OpenSSL:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libcrypto.lib
(found version "1.1.1c")
-- Found ZLIB:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/zlib.lib
(found version "1.2.11")
-- Looking for APR_HAS_XLATE
-- Looking for APR_HAS_XLATE - found
-- Performing Test APR_HAS_XLATE
-- Performing Test APR_HAS_XLATE - Failed
-- Looking for APU_HAVE_CRYPTO
-- Looking for APU_HAVE_CRYPTO - found
-- Performing Test APU_HAVE_CRYPTO
-- Performing Test APU_HAVE_CRYPTO - Success
-- Performing Test APR_HAS_LDAP
-- Performing Test APR_HAS_LDAP - Success
--
-- Summary of feature detection:
--
-- LIBXML2_FOUND  : TRUE
-- LUA51_FOUND .. : TRUE
-- NGHTTP2_FOUND  : TRUE
-- OPENSSL_FOUND  : TRUE
-- ZLIB_FOUND ... : TRUE
-- BROTLI_FOUND . : TRUE
-- APR_HAS_LDAP . : TRUE
-- APR_HAS_XLATE  : FALSE
-- APU_HAVE_CRYPTO .. : TRUE
--
CMake Warning (dev) at CMakeLists.txt:520 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "i" will no longer be dereferenced when the policy
is
  set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:572 (GET_TARGET_PROPERTY):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the
cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gen_test_char".  Use
  the target name directly with add_custom_command, or use the generator
  expression $, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:111 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "i" will no longer be dereferenced when the policy
is
  set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:713 (GET_MOD_ENABLE_RANK)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- mod_charset_lite was requested but couldn't be built due to a missing
prerequisite (APR_HAS_XLATE)
--
--
-- Apache httpd configuration summary:
--
--   Build type .. : RelWithDebInfo
--   Install .pdb (if available).. : ON
--   Install manual .. : ON
--   Install prefix .. :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today
--   C compiler .. : C:/Program Files (x86)/Microsoft
Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe
--   APR include directory ... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/include
--   APR libraries ... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libapr-1.lib;C:/Users/w