When i try to emerge and compile the package send a error "emake failed" Reproducible: Always Steps to Reproduce: 1. emerge openvas 2. Emerging (1 of 4) net-analyzer/openvas-administrator-1.1.1 3. /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/admin.c:878:7: error: ‘g_strncasecmp’ is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations] Actual Results: [32;01m * [39;49;00mPackage: net-analyzer/openvas-administrator-1.1.1 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: hanno@gentoo.org [32;01m * [39;49;00mUSE: amd64 elibc_glibc kernel_linux multilib userland_GNU [32;01m * [39;49;00mFEATURES: preserve-libs sandbox >>> Unpacking source... >>> Unpacking openvas-administrator-1.1.1.tar.gz to /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work >>> Preparing source in /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 ... [33;01m*[0m QA Notice: The 'hasq' function is deprecated (replaced by 'has') >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1" cmake --no-warn-unused-cli -C /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/gentoo_rules.cmake /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/gentoo_common_config.cmake -- Configuring the OpenVAS Administrator... -- The C compiler identification is GNU 4.6.2 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27") -- Install prefix: /usr -- checking for module 'libopenvas>=4.0.0' -- found libopenvas, version 4.0.5 -- checking for module 'gnutls' -- found gnutls, version 2.12.20 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.32.4 -- checking for module 'uuid' -- found uuid, version 2.21.0 -- Looking for pcap... -- Looking for pcap... /usr/lib64/libpcap.so -- Looking for gpgme... -- Looking for gpgme... /usr/lib64/libgpgme.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen is required to build the HTML docs. -- Looking for xmltoman... -- Looking for xmltoman... XMLTOMAN_EXECUTABLE-NOTFOUND -- Looking for xmlmantohtml... XMLMANTOHTML_EXECUTABLE-NOTFOUND -- WARNING: xmltoman is required to generate manpage. -- WARNING: xmlmantohtml is required for manpage in HTML docs. -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now -Wall -Werror C++ Linker flags: Executable -Wl,-O1 -Wl,--sort-common -Wl,--as-needed Module -Wl,-O1 -Wl,--sort-common -Wl,--as-needed Shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1" make VERBOSE=1 /usr/bin/cmake -H/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 -B/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/CMakeFiles /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' make -f src/CMakeFiles/admin.dir/build.make src/CMakeFiles/admin.dir/depend make[2]: Entering directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' cd /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1 /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/CMakeFiles/admin.dir/DependInfo.cmake --color= Dependee "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/CMakeFiles/admin.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/CMakeFiles/admin.dir/depend.internal". Dependee "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/CMakeFiles/admin.dir/depend.internal". [35m[1mScanning dependencies of target admin [0mmake[2]: Leaving directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' make -f src/CMakeFiles/admin.dir/build.make src/CMakeFiles/admin.dir/build make[2]: Entering directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/CMakeFiles 1 [ 20%] [32mBuilding C object src/CMakeFiles/admin.dir/admin.c.o [0mcd /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now -Wall -Werror -DOPENVASAD_VERSION=\"1.1.1\" -DOPENVAS_USERS_DIR=\"/var/lib/openvas/users/\" -DOPENVAS_CONFIG_FILE=\"/etc/openvas/openvassd.conf\" -DOPENVAS_SERVER_CERTIFICATE=\"/var/lib/openvas/CA/servercert.pem\" -DOPENVAS_SERVER_KEY=\"/var/lib/openvas/private/CA/serverkey.pem\" -DOPENVAS_CA_CERTIFICATE=\"/var/lib/openvas/CA/cacert.pem\" -DOPENVAS_PID_DIR=\"/var/run\" -DOPENVAS_SYSCONF_DIR=\"/etc/openvas\" -DOPENVAS_DATA_DIR=\"/usr/share/openvas\" -DOPENVAS_SYNC_SCRIPT_DIR=\"/usr/sbin\" -DOPENVAS_OS_NAME=\"Linux-3.5.0-tengu\" -DPREFIX=\"/usr\" -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openvas -I/usr/include/gpgme -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o CMakeFiles/admin.dir/admin.c.o -c /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/admin.c /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/admin.c: In function ‘openvas_get_sync_script_identification’: /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/admin.c:877:3: error: ‘g_strncasecmp’ is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations] /var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1/src/admin.c:878:7: error: ‘g_strncasecmp’ is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:175) [-Werror=deprecated-declarations] cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/admin.dir/admin.c.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' make[1]: *** [src/CMakeFiles/admin.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' make: *** [all] Error 2 [31;01m*[0m ERROR: net-analyzer/openvas-administrator-1.1.1 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=net-analyzer/openvas-administrator-1.1.1'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-analyzer/openvas-administrator-1.1.1'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1' [31;01m*[0m S: '/var/tmp/portage/net-analyzer/openvas-administrator-1.1.1/work/openvas-administrator-1.1.1'
fixed with openvas-administrator-1.3.0