pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
math/bc-1.07.1 uses 'ed' during build, which is also not available in USE_TOOLS
In pkgsrc-2024Q4, math/bc-1.07.1 uses 'ed' to generate its internal
libmath.h as part of its build, but '/bin/ed' may not be available in a
normal Debian or Fedora installation or if they were bootstrapped, and
'ed' doesn't seem to be available in USE_TOOLS.
> cc -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Wall -funsigned-char -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -Wall -funsigned-char -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -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: 1: ed: not found
> *** Error code 127
math/bc upstream did change to using 'sed', and this change has been
included as of bc 1.08.0 (Dec 31, 2024).
> Tue Mar 26 00:01:14 PDT 2024 Ken Pizzini <ken%gnu.org@localhost>
>> [...]
>> * bc/Makefile.am, bc/global.c, bc/fix-libmath_h, bc/fix-libmath.sed:
>> change recipe for bootstrapping libmath.h in order to:
>>> [...]
>>> . remove dependency on "ed" (configure already relies on "sed", so
>>> use that instead).
(AlmaLinux 9 does still include 'ed' in its Base group.)
--
Iris
Home |
Main Index |
Thread Index |
Old Index