* Package: sys-apps/dchroot-0.12.1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dchroot_0.12.1.tar.gz to /var/tmp/portage/sys-apps/dchroot-0.12.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/dchroot-0.12.1/work >>> Preparing source in /var/tmp/portage/sys-apps/dchroot-0.12.1/work/dchroot-0.12.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/dchroot-0.12.1/work/dchroot-0.12.1 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for limits.h... yes checking for unistd.h... yes checking for working const... yes checking for pid_t... yes checking for vprintf... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/dchroot-0.12.1/work/dchroot-0.12.1 ... make -j4 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -Wl,-z,now -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wall -Wstrict-prototypes -Werror -g -DDCHROOT_VERSION="\"0.12.1\"" dchroot.c -o dchroot dchroot.c: In function ‘do_chroot’: dchroot.c:272:36: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 272 | command[0] = '\0'; | ~~~~~~~~~~~^~~~~~ dchroot.c:265:35: note: destination object of size 0 allocated by ‘malloc’ 265 | command = malloc(sizeof(char) * command_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:15: dchroot] Error 1 * ERROR: sys-apps/dchroot-0.12.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/dchroot-0.12.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/dchroot-0.12.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:dchroot-0.12.1:20211118-140859.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/dchroot-0.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/dchroot-0.12.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/dchroot-0.12.1/work/dchroot-0.12.1' * S: '/var/tmp/portage/sys-apps/dchroot-0.12.1/work/dchroot-0.12.1'