make[3]: Entering directory '/tmp/portage/sys-devel/bc-1.07.1/work/bc-1.07.1/bc' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -funsigned-char -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -funsigned-char -c -o global.o global.c make[3]: Leaving directory '/tmp/portage/sys-devel/bc-1.07.1/work/bc-1.07.1/bc' x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -funsigned-char -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -funsigned-char -Wl,-O1 -Wl,--as-needed -o libmath.h -o fbc main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o global.o ../lib/libbc.a -lfl -lreadline -lncurses ./fbc -c ./libmath.b </dev/null >libmath.h ./fix-libmath_h ./fix-libmath_h: line 1: ed: command not found make[2]: *** [Makefile:632: libmath.h] Error 127 make[2]: Leaving directory '/tmp/portage/sys-devel/bc-1.07.1/work/bc-1.07.1/bc' make[1]: *** [Makefile:357: all-recursive] Error 1 make[1]: Leaving directory '/tmp/portage/sys-devel/bc-1.07.1/work/bc-1.07.1' make: *** [Makefile:297: all] Error 2
Should be fixed already: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e1e8a5dcec9014496abb67ef636fe09566f357
*** Bug 615160 has been marked as a duplicate of this bug. ***