Control: retitle -1 gvm-libs: FTBFS on ppc64l, s390x
Control: clone -1 -2
Control: retitle -2 gvm-libs FTBFS IPV6-only buildds

These are at two unrelated bugs, splitting accordingly.

On Mon, Dec 07, 2020 at 10:17:58AM +0100, Sebastian Ramacher wrote:
> Source: gvm-libs
> Version: 20.8.0-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramac...@debian.org
> 
> gvm-libs fails to build on armel with test failures:
> | 10/14 Test #12: util-test ........................***Failed    0.01 sec
> | Running "main" (5 tests)...
> |
> | (process:1026): alive scan-WARNING **: 15:46:08.107: set_socket: failed to 
> open TCPV4 socket: Function not implemented
> |
> | (process:1028): alive scan-WARNING **: 15:46:08.109: get_source_addr_v4: 
> connect() on udpv4soc failed: Network is unreachable
> | /<<PKGBUILDDIR>>/boreas/util_tests.c:144: Failure: get_source_addr_v4 
> |   Expected [src.s_addr] to [not equal] [INADDR_ANY]
> |     actual value:                   [0]
> |
> |   "main": 21 passes, 1 failure in 8ms.
> | Completed "main": 21 passes, 1 failure in 8ms.
> |
> |       Start 14: osp-test
> | 11/14 Test  #9: cli-test .........................   Passed    0.05 sec
> | 12/14 Test #11: sniffer-test .....................   Passed    0.04 sec
> | 13/14 Test #14: osp-test .........................   Passed    0.05 sec
> | 14/14 Test #13: xmlutils-test ....................   Passed    0.08 sec
> |
> | 93% tests passed, 1 tests failed out of 14
> |
> | Total Test time (real) =   0.15 sec
> |
> | The following tests FAILED:
> |    12 - util-test (Failed)
> | Errors while running CTest
> | make[2]: *** [Makefile:142: test] Error 8
> 
> See
> https://buildd.debian.org/status/fetch.php?pkg=gvm-libs&arch=armel&ver=20.8.0-1&stamp=1607096773&raw=0
> 
> It also fails to build on ppc64el and s390x due to config errors:
> | dh_auto_configure -- \
> |   -DSYSCONFDIR=/etc \
> |   -DLOCALSTATEDIR=/var \
> |   -DLIBDIR=/usr/lib/powerpc64le-linux-gnu \
> |   -DGVM_PID_DIR=/var/run/gvm \
> |   -DBUILD_WITH_LDAP=ON \
> |   -DBUILD_WITH_RADIUS=yes \
> |   -DBUILD_TESTS=yes \
> |   
> |   cd obj-powerpc64le-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr 
> -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
> -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
> -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
> -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
> -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/powerpc64le-linux-gnu 
> -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var 
> -DLIBDIR=/usr/lib/powerpc64le-linux-gnu -DGVM_PID_DIR=/var/run/gvm 
> -DBUILD_WITH_LDAP=ON -DBUILD_WITH_RADIUS=yes -DBUILD_TESTS=yes ..
> | -- Configuring the Greenbone Vulnerability Management Libraries...
> | -- The C compiler identification is GNU 10.2.0
> | -- Detecting C compiler ABI info
> | -- Detecting C compiler ABI info - done
> | -- Check for working C compiler: /usr/bin/cc - skipped
> | -- Detecting C compile features
> | -- Detecting C compile features - done
> | -- Could NOT find Git (missing: GIT_EXECUTABLE) 
> | -- Looking for clang-format...
> | -- clang-format not found...
> | -- Using redis socket /run/redis/redis.sock
> | -- Install prefix: /usr
> | -- Tests enabled.
> | CMake Error at CMakeLists.txt:219 (find_package):
> |   By not providing "Findcgreen.cmake" in CMAKE_MODULE_PATH this project has
> |   asked CMake to find a package configuration file provided by "cgreen", but
> |   CMake did not find one.
> |
> |   Could not find a package configuration file provided by "cgreen" with any
> |   of the following names:
> |
> |     cgreenConfig.cmake
> |     cgreen-config.cmake
> |
> |   Add the installation prefix of "cgreen" to CMAKE_PREFIX_PATH or set
> |   "cgreen_DIR" to a directory containing one of the above files.  If 
> "cgreen"
> |   provides a separate development package or SDK, be sure it has been
> |   installed.
> |
> |
> | -- Configuring incomplete, errors occurred!
> 
> See
> https://buildd.debian.org/status/fetch.php?pkg=gvm-libs&arch=ppc64el&ver=20.8.0-1&stamp=1607095321&raw=0
> 
> Cheers
> -- 
> Sebastian Ramacher

Reply via email to