* Package: www-apps/cgit-1.2.3 * Repository: gentoo * Maintainer: zx2c4@gentoo.org web-apps@gentoo.org * USE: abi_x86_64 amd64 elibc_musl highlight jit kernel_linux lua userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'cgit' to your system ... * - Groupid: next available * Adding user 'cgit' to your system ... * - Userid: 952 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: cgit * - GECOS: added by portage for cgit >>> Unpacking source... >>> Unpacking git-2.25.1.tar.xz to /var/tmp/portage/www-apps/cgit-1.2.3/work >>> Unpacking cgit-1.2.3.tar.xz to /var/tmp/portage/www-apps/cgit-1.2.3/work >>> Source unpacked in /var/tmp/portage/www-apps/cgit-1.2.3/work >>> Preparing source in /var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3 ... make -j1 V=1 AR=x86_64-gentoo-linux-musl-ar CC=x86_64-gentoo-linux-musl-gcc 'CFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' make -C git -f ../cgit.mk ../cgit NO_CURL=1 make[1]: Entering directory '/var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3/git' CGIT_VERSION = v1.2.3 GIT_VERSION = 2.25.1 * new build flags * new CGit build flags x86_64-gentoo-linux-musl-gcc -o ../cgit.o -c -MF ../.depend/cgit.o.d -MQ ../cgit.o -MMD -MP -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I. -DHAVE_SYSINFO -DGIT_HOST_CPU="\"x86_64\"" -DHAVE_ALLOCA_H -DNO_CURL -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\"" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM '-DPROCFS_EXECUTABLE_PATH="/proc/self/exe"' -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"' -DCGIT_VERSION='"v1.2.3"' -DCGIT_CONFIG='"/etc/cgitrc"' -DCGIT_SCRIPT_NAME='"cgit.cgi"' -DCGIT_CACHE_ROOT='"/var/cache/cgit/"' -I/usr/include/luajit-2.0 -DHAVE_LINUX_SENDFILE ../cgit.c In file included from ../cgit.h:5, from ../cgit.c:9: ./git-compat-util.h:1108:2: error: #error "Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd" 1108 | #error "Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd" | ^~~~~ ./git-compat-util.h: In function ‘regexec_buf’: ./git-compat-util.h:1117:53: error: ‘REG_STARTEND’ undeclared (first use in this function); did you mean ‘REG_EPAREN’? 1117 | return regexec(preg, buf, nmatch, pmatch, eflags | REG_STARTEND); | ^~~~~~~~~~~~ | REG_EPAREN ./git-compat-util.h:1117:53: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../cgit.mk:130: ../cgit.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3/git' make: *** [Makefile:76: cgit] Error 2 * ERROR: www-apps/cgit-1.2.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-apps/cgit-1.2.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apps/cgit-1.2.3::gentoo'`. * The complete build log is located at '/var/log/portage/www-apps:cgit-1.2.3:20200321-175957.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-apps/cgit-1.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/cgit-1.2.3/temp/environment'. * Working directory: '/var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3' * S: '/var/tmp/portage/www-apps/cgit-1.2.3/work/cgit-1.2.3'