Created attachment 445880 [details] emerge --info In a minimal, dep-cleaned stage-3: # emerge bc * Package: sys-devel/bc-1.06.95-r2 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bc-1.06.95.tar.bz2 to /tmp/portage/sys-devel/bc-1.06.95-r2/work >>> Source unpacked in /tmp/portage/sys-devel/bc-1.06.95-r2/work >>> Preparing source in /tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95 ... * Applying bc-1.06.95-void_uninitialized.patch ... [ ok ] * Applying bc-1.06.95-mem-leak.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --with-readline --without-libedit checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking lib.h usability... no checking lib.h presence... no checking for lib.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ptrdiff_t... yes checking for vprintf... yes checking for _doprnt... no checking for isgraph... yes checking for setvbuf... yes checking for fstat... yes checking for strtol... yes checking for tparm in -lncurses... yes checking for readline in -lreadline... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes Using the readline library. Adding GCC specific compile flags. configure: creating ./config.status config.status: creating Makefile config.status: creating bc/Makefile config.status: creating dc/Makefile config.status: creating doc/Makefile config.status: creating doc/texi-ver.incl config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95 ... make -j8 -l12 AR=x86_64-pc-linux-gnu-ar make all-recursive make[1]: Entering directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95' Making all in lib make[2]: Entering directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95/lib' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c getopt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c getopt1.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c vfprintf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c number.c number.c: In function ‘_bc_rec_mul’: number.c:767:14: warning: variable ‘v0len’ set but not used [-Wunused-but-set-variable] int u0len, v0len; ^ number.c:767:7: warning: variable ‘u0len’ set but not used [-Wunused-but-set-variable] int u0len, v0len; ^ rm -f libbc.a x86_64-pc-linux-gnu-ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o x86_64-pc-linux-gnu-ranlib libbc.a make[2]: Leaving directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95/lib' Making all in bc make[2]: Entering directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95/bc' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c main.c yacc -d bc.y x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c execute.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c load.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -march=native -O2 -pipe -Wall -funsigned-char -march=native -O2 -pipe -Wall -funsigned-char -c storage.c /bin/bash: yacc: command not found make[2]: *** [Makefile:281: bc.c] Error 127 make[2]: *** Waiting for unfinished jobs.... main.c: In function ‘open_new_file’: main.c:295:12: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] char tmp; ^ main.c: In function ‘use_quit’: main.c:360:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (1, "\n(interrupt) Exiting bc.\n", 26); ^ storage.c: In function ‘process_params’: storage.c:1004:11: warning: variable ‘n_temp’ set but not used [-Wunused-but-set-variable] bc_num *n_temp; ^ make[2]: Leaving directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95/bc' make[1]: *** [Makefile:219: all-recursive] Error 1 make[1]: Leaving directory '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95' make: *** [Makefile:157: all] Error 2 * ERROR: sys-devel/bc-1.06.95-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95-r2::gentoo'`. * The complete build log is located at '/tmp/portage/sys-devel/bc-1.06.95-r2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/sys-devel/bc-1.06.95-r2/temp/environment'. * Working directory: '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95' * S: '/tmp/portage/sys-devel/bc-1.06.95-r2/work/bc-1.06.95'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da887f1b2eaadc441e75eb2c19182ff4a64b717 commit 6da887f1b2eaadc441e75eb2c19182ff4a64b717 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-01-04 12:59:58 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-01-04 13:00:30 +0000 sys-devel/bc: Added missing virtual/yacc dependency. Closes: https://bugs.gentoo.org/593924 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-devel/bc/bc-1.06.95-r2.ebuild | 15 ++++++++++----- sys-devel/bc/bc-1.07.1-r1.ebuild | 34 ++++++++++++++++++---------------- 2 files changed, 28 insertions(+), 21 deletions(-)