* Package: dev-ruby/rdiscount-2.2.0.2-r2:0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 ruby_targets_ruby30 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.0.2-r2/work >>> Preparing source in /var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 * Running source copy phase for ruby30 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/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 ruby30 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.0.2-r2/temp/clang14.log' -> '/var/tmp/clang/dev-ruby/rdiscount-2.2.0.2-r2/clang14.log' '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/temp/clang15.log' -> '/var/tmp/clang/dev-ruby/rdiscount-2.2.0.2-r2/clang15.log' >>> Compiling source in /var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work ... * Running compile phase for ruby27 make -j4 V=1 -C ext make: Entering directory '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work/ruby27/rdiscount-2.2.0.2/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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o css.o -c css.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o basename.o -c basename.c amalloc.c:39: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:39:14: note: place parentheses around the assignment to silence this warning if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) { ^ ( ) amalloc.c:39: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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o docheader.o -c docheader.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o dumptree.o -c dumptree.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o emmatch.o -c emmatch.c 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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o flags.o -c flags.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o generate.o -c generate.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o github_flavoured.o -c github_flavoured.c generate.c:612: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) ^ 1 warning generated. generate.c:650:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if ( tag = pseudo(ref->link) ) { ~~~~^~~~~~~~~~~~~~~~~~~ generate.c:650:19: note: place parentheses around the assignment to silence this warning else if ( tag = pseudo(ref->link) ) { ^ ( ) generate.c:650:19: note: use '==' to turn this assignment into an equality comparison else if ( tag = pseudo(ref->link) ) { ^ == generate.c:744:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( ref = bsearch(&key, T(f->footnotes->note), ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:744:12: note: place parentheses around the assignment to silence this warning if ( ref = bsearch(&key, T(f->footnotes->note), ^ ( generate.c:744:12: note: use '==' to turn this assignment into an equality comparison if ( ref = bsearch(&key, T(f->footnotes->note), ^ == flags.c:55:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( not = (*name == '!') ) { ~~~~^~~~~~~~~~~~~~~~ flags.c:55:11: note: place parentheses around the assignment to silence this warning if ( not = (*name == '!') ) { ^ ( ) flags.c:55:11: note: use '==' to turn this assignment into an equality comparison if ( not = (*name == '!') ) { ^ == 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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o html5.o -c html5.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o markdown.o -c markdown.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o mkdio.o -c mkdio.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.0\" -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o mktags.o -c mktags.c markdown.c:264:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( end = strstr(T(t->text), "-->") ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ markdown.c:264:14: note: place parentheses around the assignment to silence this warning if ( end = strstr(T(t->text), "-->") ) { ^ ( ) markdown.c:264:14: note: use '==' to turn this assignment into an equality comparison if ( end = strstr(T(t->text), "-->") ) { ^ == markdown.c:315:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( closing = (c == '/') ) c = flogetc(&f); ~~~~~~~~^~~~~~~~~~~~ markdown.c:315:16: note: place parentheses around the assignment to silence this warning if ( closing = (c == '/') ) c = flogetc(&f); ^ ( ) markdown.c:315:16: note: use '==' to turn this assignment into an equality comparison if ( closing = (c == '/') ) c = flogetc(&f); ^ == markdown.c:489:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( x=is_extra_dt(t->next, clip, flags) ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ markdown.c:489:8: note: place parentheses around the assignment to silence this warning if ( x=is_extra_dt(t->next, clip, flags) ) ^ ( ) markdown.c:489:8: note: use '==' to turn this assignment into an equality comparison if ( x=is_extra_dt(t->next, clip, flags) ) ^ == markdown.c:502:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( ret = is_discount_dt(t,clip,flags) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ markdown.c:502:14: note: place parentheses around the assignment to silence this warning if ( ret = is_discount_dt(t,clip,flags) ) ^ ( ) markdown.c:502:14: note: use '==' to turn this assignment into an equality comparison if ( ret = is_discount_dt(t,clip,flags) ) ^ == markdown.c:830:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ markdown.c:830:16: note: place parentheses around the assignment to silence this warning if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) ) ^ ( ) markdown.c:830:16: note: use '==' to turn this assignment into an equality comparison if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) ) ^ == markdown.c:918:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( para = (text != q->next) ) ~~~~~^~~~~~~~~~~~~~~~~~~ markdown.c:918:12: note: place parentheses around the assignment to silence this warning if ( para = (text != q->next) ) ^ ( ) markdown.c:918:12: note: use '==' to turn this assignment into an equality comparison if ( para = (text != q->next) ) ^ == markdown.c:941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( para = (q != text) ) { ~~~~~^~~~~~~~~~~~~ markdown.c:941:12: note: place parentheses around the assignment to silence this warning if ( para = (q != text) ) { ^ ( ) markdown.c:941:12: note: use '==' to turn this assignment into an equality comparison if ( para = (q != text) ) { ^ == markdown.c:981:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( para = (q != text) ) { ~~~~~^~~~~~~~~~~~~ markdown.c:981:12: note: place parentheses around the assignment to silence this warning if ( para = (q != text) ) { ^ ( ) markdown.c:981:12: note: use '==' to turn this assignment into an equality comparison if ( para = (q != text) ) { ^ == markdown.c:1272:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ markdown.c:1272:23: note: place parentheses around the assignment to silence this warning else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) { ^ ( ) markdown.c:1272:23: note: use '==' to turn this assignment into an equality comparison else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) { ^ == mktags.c:44:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int 1 error generated. make: *** [Makefile:245: mktags.o] Error 1 make: *** Waiting for unfinished jobs.... mkdio.c:28:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mkdio.c:28:16: note: place parentheses around the assignment to silence this warning if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) { ^ ( ) mkdio.c:28:16: note: use '==' to turn this assignment into an equality comparison if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) { ^ == mkdio.c:274:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( len = S(f.out) ) { ~~~~^~~~~~~~~~ mkdio.c:274:14: note: place parentheses around the assignment to silence this warning if ( len = S(f.out) ) { ^ ( ) mkdio.c:274:14: note: use '==' to turn this assignment into an equality comparison if ( len = S(f.out) ) { ^ == 2 warnings generated. 9 warnings generated. 3 warnings generated. make: Leaving directory '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work/ruby27/rdiscount-2.2.0.2/ext' * ERROR: dev-ruby/rdiscount-2.2.0.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/rdiscount-2.2.0.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/rdiscount-2.2.0.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:rdiscount-2.2.0.2-r2:20221003-020642.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work/ruby27/rdiscount-2.2.0.2' * S: '/var/tmp/portage/dev-ruby/rdiscount-2.2.0.2-r2/work/ruby27/rdiscount-2.2.0.2'