* Package: app-text/discount-2.2.7b:0 * Repository: gentoo * Maintainer: bkohler@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking discount-2.2.7b.tar.bz2 to /var/tmp/portage/app-text/discount-2.2.7b/work >>> Source unpacked in /var/tmp/portage/app-text/discount-2.2.7b/work >>> Preparing source in /var/tmp/portage/app-text/discount-2.2.7b/work/discount-2.2.7b ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/discount-2.2.7b/work/discount-2.2.7b ... * Running ./configure.sh --libdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --shared --pkg-config --enable-all-features --debian-glitch Configuring for [markdown] checking the C compiler (clang) yuck, you're using clang CFLAGS="-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int" are okay LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" are okay Looking for cpp (using $CC -E as a cpp pipeline) looking for install (/usr/lib/portage/python3.10/ebuild-helpers/xattr/install) Checking __attribute__((__destructor__)) (yes) checking for C compiler option to produce PIC (-fPIC) looking for find (/usr/bin/find) looking for "ln -s" (/bin/ln) checking whether the C compiler can build shared libraries (yes; -shared) looking for ar (defined as x86_64-pc-linux-gnu-ar) (/usr/bin/x86_64-pc-linux-gnu-ar) looking for ranlib (/usr/bin/ranlib) checking for "volatile" keyword (found) checking for "const" keyword (found) Checking for "inline" keyword (found) defining WORD & DWORD scalar types (using standard types in ) looking for a reentrant basename (found) looking for header libgen.h (found) looking for header stdlib.h (found) looking for the alloca function (found in alloca.h) looking for header sys/types.h (found) looking for header pwd.h (found) looking for the getpwuid function (found) looking for header sys/stat.h (found) looking for the stat function (found) special file macros in sys/stat.h: S_ISSOCK S_ISCHR S_ISFIFO. looking for the srandom function (found) looking for the memset function (found) looking for the random function (found) looking for the strcasecmp function (found) looking for the strncasecmp function (found) looking for the fchdir function (found) looking for header malloc.h (found) looking for sed (/bin/sed) generating Makefile generating version.c generating mkdio.h generating libmarkdown.pc >>> Source configured. '/var/tmp/portage/app-text/discount-2.2.7b/temp/clang14.log' -> '/var/tmp/clang/app-text/discount-2.2.7b/clang14.log' '/var/tmp/portage/app-text/discount-2.2.7b/temp/clang15.log' -> '/var/tmp/clang/app-text/discount-2.2.7b/clang15.log' >>> Compiling source in /var/tmp/portage/app-text/discount-2.2.7b/work/discount-2.2.7b ... make -j4 libmarkdown clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o mkdio.o mkdio.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o markdown.o markdown.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o dumptree.o dumptree.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o generate.o generate.c generate.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p_or_nothing(p) ^ clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o resource.o resource.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o docheader.o docheader.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o branch.o tools/branch.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o toc.o toc.c tools/branch.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 1 warning generated. clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o css.o css.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o xml.o xml.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o Csio.o Csio.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o xmlpage.o xmlpage.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o basename.o basename.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o emmatch.o emmatch.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o github_flavoured.o github_flavoured.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o setup.o setup.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o mktags.o mktags.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o html5.o html5.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o flags.o flags.c clang -Wno-implicit-int -L. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o branch branch.o clang -Wno-implicit-int -L. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mktags mktags.o clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -DBRANCH=`./branch` -DVERSION=\"`cat VERSION`\" -c version.c ./mktags > blocktags clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c -o tags.o tags.c 1 warning generated. ./librarian.sh make libmarkdown VERSION mkdio.o markdown.o dumptree.o generate.o resource.o docheader.o version.o toc.o css.o xml.o Csio.o xmlpage.o basename.o emmatch.o github_flavoured.o setup.o tags.o html5.o flags.o make -j4 clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c main.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c pgm_options.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c gethopt.c clang -Wno-implicit-int -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c notspecial.c gethopt.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hoptset(ctx, argc, argv) ^ gethopt.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hoptarg(ctx) ^ gethopt.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hoptind(ctx) ^ gethopt.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hoptopt(ctx) ^ gethopt.c:48:13: error: parameter 'val' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] hopterr(ctx,val) ^ gethopt.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hopterr(ctx,val) ^ gethopt.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gethopt(ctx, opts, nropts) ^ 6 warnings and 1 error generated. make: *** [Makefile:124: gethopt.o] Error 1 make: *** Waiting for unfinished jobs.... main.c:311:29: warning: incompatible function pointer types passing 'char *(char *, int, char *)' to parameter of type 'mkd_callback_t' (aka 'char *(*)(const char *, const int, void *)') [-Wincompatible-function-pointer-types] mkd_e_code_format(doc, external_codefmt); ^~~~~~~~~~~~~~~~ ./mkdio.h:71:45: note: passing argument to parameter here void mkd_e_code_format(void*, mkd_callback_t); ^ 1 warning generated. * ERROR: app-text/discount-2.2.7b::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/discount-2.2.7b::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/discount-2.2.7b::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:discount-2.2.7b:20220917-170518.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/discount-2.2.7b/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/discount-2.2.7b/temp/environment'. * Working directory: '/var/tmp/portage/app-text/discount-2.2.7b/work/discount-2.2.7b' * S: '/var/tmp/portage/app-text/discount-2.2.7b/work/discount-2.2.7b'