* Package: net-misc/csync-0.50.0-r1 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sftp userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking csync-0.50.0.tar.xz to /var/tmp/portage/net-misc/csync-0.50.0-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/csync-0.50.0-r1/work >>> Preparing source in /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 ... * Applying csync-0.50.0-gcc_5_and_8.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build" cmake -C /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_ICONV=no -DUNIT_TESTING=no -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON -DCMAKE_DISABLE_FIND_PACKAGE_SMBClient=ON -DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/gentoo_toolchain.cmake /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 loading initial cache file /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Performing Test WITH_FPIC -- Performing Test WITH_FPIC - Success -- Performing Test WITH_STACK_PROTECTOR -- Performing Test WITH_STACK_PROTECTOR - Success -- Looking for iconv.h -- Looking for iconv.h - found -- Looking for sys/iconv.h -- Looking for sys/iconv.h - not found -- Looking for iconv -- Looking for iconv - found -- Checking prototype iconv for HAVE_ICONV_CONST -- Checking prototype iconv for HAVE_ICONV_CONST - False -- Found Iconv: /usr/include -- Found CMocka: /usr/lib64/libcmocka.so -- Looking for argp.h -- Looking for argp.h - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for fnmatch -- Looking for fnmatch - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for utimes -- Looking for utimes - found -- Looking for lstat -- Looking for lstat - found -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") -- Checking for module 'sqlite3' -- Found sqlite3, version 3.35.5 -- Found SQLite3: /usr/lib64/libsqlite3.so (Required is at least version "3.3.9") -- LIBSSH_VERSION_MAJOR not found in /usr/include/libssh/libssh.h, assuming libssh is too old -- Checking for module 'neon' -- Found neon, version 0.30.2 -- Found Neon: /usr/lib64/libneon.so (Required is at least version "0.29.0") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE C++ Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build" make -j2 VERBOSE=1 /usr/bin/cmake -S/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 -B/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/CMakeFiles /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' make -f src/std/CMakeFiles/cstdlib.dir/build.make src/std/CMakeFiles/cstdlib.dir/depend make[2]: Entering directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0 /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std/CMakeFiles/cstdlib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' make -f src/std/CMakeFiles/cstdlib.dir/build.make src/std/CMakeFiles/cstdlib.dir/build make[2]: Entering directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' [ 3%] Building C object src/std/CMakeFiles/cstdlib.dir/c_alloc.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_alloc.c.o -MF CMakeFiles/cstdlib.dir/c_alloc.c.o.d -o CMakeFiles/cstdlib.dir/c_alloc.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_alloc.c [ 6%] Building C object src/std/CMakeFiles/cstdlib.dir/c_dir.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_dir.c.o -MF CMakeFiles/cstdlib.dir/c_dir.c.o.d -o CMakeFiles/cstdlib.dir/c_dir.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_dir.c [ 9%] Building C object src/std/CMakeFiles/cstdlib.dir/c_file.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_file.c.o -MF CMakeFiles/cstdlib.dir/c_file.c.o.d -o CMakeFiles/cstdlib.dir/c_file.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_file.c [ 12%] Building C object src/std/CMakeFiles/cstdlib.dir/c_list.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_list.c.o -MF CMakeFiles/cstdlib.dir/c_list.c.o.d -o CMakeFiles/cstdlib.dir/c_list.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_list.c [ 15%] Building C object src/std/CMakeFiles/cstdlib.dir/c_path.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_path.c.o -MF CMakeFiles/cstdlib.dir/c_path.c.o.d -o CMakeFiles/cstdlib.dir/c_path.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_path.c [ 18%] Building C object src/std/CMakeFiles/cstdlib.dir/c_rbtree.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_rbtree.c.o -MF CMakeFiles/cstdlib.dir/c_rbtree.c.o.d -o CMakeFiles/cstdlib.dir/c_rbtree.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_rbtree.c [ 21%] Building C object src/std/CMakeFiles/cstdlib.dir/c_string.c.o cd /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std && /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_string.c.o -MF CMakeFiles/cstdlib.dir/c_string.c.o.d -o CMakeFiles/cstdlib.dir/c_string.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_string.c /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_string.c: In function ‘c_utf8_from_locale’: /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_string.c:324:7: error: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 324 | dst = wstr; | ^ /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_string.c: In function ‘c_utf8_to_locale’: /var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0/src/std/c_string.c:361:7: error: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | dst = str; | ^ make[2]: *** [src/std/CMakeFiles/cstdlib.dir/build.make:160: src/std/CMakeFiles/cstdlib.dir/c_string.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' make[1]: *** [CMakeFiles/Makefile2:216: src/std/CMakeFiles/cstdlib.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' make: *** [Makefile:156: all] Error 2 * ERROR: net-misc/csync-0.50.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/csync-0.50.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/csync-0.50.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:csync-0.50.0-r1:20210519-095609.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/csync-0.50.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/csync-0.50.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0_build' * S: '/var/tmp/portage/net-misc/csync-0.50.0-r1/work/csync-0.50.0'