* Package: www-misc/mergelog-4.5-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mergelog-4.5.tar.gz to /var/tmp/portage/www-misc/mergelog-4.5-r2/work >>> Source unpacked in /var/tmp/portage/www-misc/mergelog-4.5-r2/work >>> Preparing source in /var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5 ... * Running eautoreconf in '/var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5' ... * Running 'aclocal --system-acdir=/var/tmp/portage/www-misc/mergelog-4.5-r2/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: mergelog-4.5/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5 ... * econf: updating mergelog-4.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mergelog-4.5/config.sub with /usr/share/gnuconfig/config.sub ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mergelog-4.5-r2 --htmldir=/usr/share/doc/mergelog-4.5-r2/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for main in -lz... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for unistd.h... (cached) yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking for mktime... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5/src' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MKTIME=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -lz -DVERSION=\"4.5\" -Wall mergelog.c -o mergelog x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBZ=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MKTIME=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -lz -DVERSION=\"4.5\" -Wall -DUSE_ZLIB mergelog.c -o zmergelog mergelog.c: In function ‘main’: mergelog.c:380:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(1,log_buffer[i],(size_t)((char *)memchr(log_buffer[i],0,BUFFER_SIZE)-log_buffer[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mergelog.c: In function ‘fast_gzgets’: mergelog.c:76:23: error: passing argument 1 of ‘gzread’ from incompatible pointer type [-Wincompatible-pointer-types] 76 | f_end[i]=gzread(fp, f_buf[i], GZBUFFER_SIZE)+f_buf[i]-1; | ^~ | | | struct gzFile_s ** In file included from mergelog.c:32: /usr/include/zlib.h:1395:35: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1395 | ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len); | ~~~~~~~^~~~ mergelog.c: In function ‘main’: mergelog.c:138:18: error: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types] 138 | log_file[i-1]=myopen(argv[i],"r"); | ^ mergelog.c:392:31: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types] 392 | myclose(log_file[j]); | ~~~~~~~~^~~ | | | struct gzFile_s ** /usr/include/zlib.h:1634:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘struct gzFile_s **’ 1634 | ZEXTERN int ZEXPORT gzclose(gzFile file); | ~~~~~~~^~~~ mergelog.c:380:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(1,log_buffer[i],(size_t)((char *)memchr(log_buffer[i],0,BUFFER_SIZE)-log_buffer[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:573: zmergelog] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5/src' make: *** [Makefile:335: all-recursive] Error 1 * ERROR: www-misc/mergelog-4.5-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-misc/mergelog-4.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-misc/mergelog-4.5-r2::gentoo'`. * The complete build log is located at '/var/log/portage/www-misc:mergelog-4.5-r2:20231227-094844.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-misc/mergelog-4.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-misc/mergelog-4.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5' * S: '/var/tmp/portage/www-misc/mergelog-4.5-r2/work/mergelog-4.5'