* Package: dev-tex/rail-1.2_p1-r1 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/d5ccd000063a867fdf6686d42f8b587f6293c201 (Mon Aug 24 16:12:16 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 64359960 total, 37377500 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 24 Aug 2020 15:35:33 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* public-domain" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/dev-tex/rail-1.2_p1-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking rail-1.2_p1.zip to /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work >>> Source unpacked in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work >>> Preparing source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... make -j16 V=1 -j1 CC=x86_64-pc-linux-gnu-clang 'CFLAGS=-DYYDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld' rail rail.dvi bison -y -dv gram.y gram.y: warning: 2 reduce/reduce conflicts []8;id=da89796e0005ada2ee0f540b00000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-rr\-Wconflicts-rr]8;;\] gram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples cmp -s gram.c y.tab.c || cp y.tab.c gram.c cmp -s gram.h y.tab.h || cp y.tab.h gram.h x86_64-pc-linux-gnu-clang -DYYDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -c -o rail.o rail.c clang-10: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-10: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-10: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang-10: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] In file included from rail.c:26: ./rail.h:74:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern freebody(); ~~~~~~ ^ ./rail.h:80:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern freerule(); ~~~~~~ ^ ./rail.h:82:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern outrule(); ~~~~~~ ^ ./rail.h:85:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern delete(); ~~~~~~ ^ ./rail.h:87:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern undef(); ~~~~~~ ^ ./rail.h:88:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern redef(); ~~~~~~ ^ ./rail.h:89:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern error(); ~~~~~~ ^ rail.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ rail.c:57:1: error: first parameter of 'main' (argument count) must be of type 'int' rail.c:72:6: warning: implicit declaration of function 'setopt' is invalid in C99 [-Wimplicit-function-declaration] if(setopt(*arg,arg+1)==0) ^ rail.c:73:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rail.c:77:3: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rail.c:116:3: warning: implicit declaration of function 'checkdefs' is invalid in C99 [-Wimplicit-function-declaration] checkdefs(); ^ rail.c:170:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ rail.c:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyerror(s) ^ rail.c:181:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("%s",s); ^ rail.c:186:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yywrap() ^ rail.c:197:3: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("out of memory",(char *)NULL); ^ rail.c:229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freebody(body) ^ rail.c:235:3: error: non-void function 'freebody' should return a value [-Wreturn-type] return; ^ rail.c:257:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static addlist(body1,body2) ~~~~~~ ^ rail.c:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prtbody(indent,body) ^ rail.c:379:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outbody(id,body) ^ rail.c:383:2: warning: implicit declaration of function 'posbody' is invalid in C99 [-Wimplicit-function-declaration] posbody(body,0); ^ rail.c:395:4: warning: implicit declaration of function 'fmtbody' is invalid in C99 [-Wimplicit-function-declaration] fmtbody(body,"",RIGHT_ARROW); ^ rail.c:399:4: warning: implicit declaration of function 'fmtbody' is invalid in C99 [-Wimplicit-function-declaration] fmtbody(body,"",NO_ARROW); ^ rail.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fmtbody(body,cent,arrow) ^ rail.c:497:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] posbody(body,ystart) ^ rail.c:554:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outindex(id) ^ rail.c:579:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freerule(rule) ^ rail.c:612:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outrule(rule) ^ rail.c:651:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete(id) ^ rail.c:661:4: error: non-void function 'delete' should return a value [-Wreturn-type] return; ^ rail.c:668:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] checkdefs() ^ rail.c:679:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undef(id) ^ rail.c:688:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redef(id) ^ rail.c:697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error(f,s) ^ rail.c:716:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal(f,s) ^ rail.c:723:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(outfile); ^ 36 warnings and 3 errors generated. make: *** [: rail.o] Error 1 * ERROR: dev-tex/rail-1.2_p1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-tex/rail-1.2_p1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tex/rail-1.2_p1-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-tex/rail-1.2_p1-r1:20200824-172931.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail' * S: '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail'