* Package: dev-ruby/rdiscount-2.2.7:0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 ruby_targets_ruby31 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Running unpack phase for all * Unpacking .gem file... * Uncompressing metadata * Unpacking data.tar.gz >>> Source unpacked in /var/tmp/portage/dev-ruby/rdiscount-2.2.7/work >>> Preparing source in /var/tmp/portage/dev-ruby/rdiscount-2.2.7/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 * Running source copy phase for ruby31 >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-ruby/rdiscount-2.2.7/work ... * Running configure phase for ruby27 checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 creating Makefile * Running configure phase for ruby31 checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 creating Makefile >>> Source configured. '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/temp/clang16-errors.log' -> '/var/tmp/clang/dev-ruby/rdiscount-2.2.7/clang16-errors.log' '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/temp/clang16-safe.log' -> '/var/tmp/clang/dev-ruby/rdiscount-2.2.7/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-ruby/rdiscount-2.2.7/work ... * Running compile phase for ruby27 make -j4 V=1 -C ext make: Entering directory '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/work/ruby27/rdiscount-2.2.7/ext' clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o Csio.o -c Csio.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o amalloc.o -c amalloc.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o basename.o -c basename.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o css.o -c css.c amalloc.c:40:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ amalloc.c:40:14: note: place parentheses around the assignment to silence this warning if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) { ^ ( ) amalloc.c:40:14: note: use '==' to turn this assignment into an equality comparison if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) { ^ == clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o docheader.o -c docheader.c 1 warning generated. clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o dumptree.o -c dumptree.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o emmatch.o -c emmatch.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o flags.o -c flags.c flags.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( not = (*name == '!') ) { ~~~~^~~~~~~~~~~~~~~~ flags.c:57:11: note: place parentheses around the assignment to silence this warning if ( not = (*name == '!') ) { ^ ( ) flags.c:57:11: note: use '==' to turn this assignment into an equality comparison if ( not = (*name == '!') ) { ^ == emmatch.c:113:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case 2: if ( e = empair(f,first,last,match=2) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emmatch.c:113:20: note: place parentheses around the assignment to silence this warning case 2: if ( e = empair(f,first,last,match=2) ) ^ ( ) emmatch.c:113:20: note: use '==' to turn this assignment into an equality comparison case 2: if ( e = empair(f,first,last,match=2) ) ^ == clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o generate.o -c generate.c 1 warning generated. clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o gethopt.o -c gethopt.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o github_flavoured.o -c github_flavoured.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) ^ 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) ^ 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) ^ generate.c:693:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if ( tag = pseudo(ref->link) ) { ~~~~^~~~~~~~~~~~~~~~~~~ generate.c:693:19: note: place parentheses around the assignment to silence this warning else if ( tag = pseudo(ref->link) ) { ^ ( ) generate.c:693:19: note: use '==' to turn this assignment into an equality comparison else if ( tag = pseudo(ref->link) ) { ^ == 1 warning generated. 6 warnings and 1 error generated. generate.c:785:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( ref = bsearch(&key, T(f->footnotes->note), ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:785:12: note: place parentheses around the assignment to silence this warning if ( ref = bsearch(&key, T(f->footnotes->note), ^ ( generate.c:785:12: note: use '==' to turn this assignment into an equality comparison if ( ref = bsearch(&key, T(f->footnotes->note), ^ == make: *** [Makefile:246: gethopt.o] Error 1 make: *** Waiting for unfinished jobs.... 3 warnings generated. make: Leaving directory '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/work/ruby27/rdiscount-2.2.7/ext' * ERROR: dev-ruby/rdiscount-2.2.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/rdiscount-2.2.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/rdiscount-2.2.7::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:rdiscount-2.2.7:20221126-013700.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/work/ruby27/rdiscount-2.2.7' * S: '/var/tmp/portage/dev-ruby/rdiscount-2.2.7/work/ruby27/rdiscount-2.2.7'