Subject: Recutils fails to build on core-updates

From: Leo Famulari <[email-masked]>
Date: Wed, 19 Sep 2018 18:51:11 -0400

Building recutils on core-updates fails like this:

------
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../src -g -O2 -MT fseterr.lo -MD -MP -MF .deps/fseterr.Tpo -c fseterr.c  -fPIC -DPIC -o .libs/fseterr.o
fseterr.c: In function 'fseterr':
fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
  #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
   ^
make[3]: *** [Makefile:1954: fseterr.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/guix-build-recutils-1.7.drv-0/recutils-1.7/lib'
make[2]: *** [Makefile:1978: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-recutils-1.7.drv-0/recutils-1.7/lib'
make[1]: *** [Makefile:1711: all] Error 2
make[1]: Leaving directory '/tmp/guix-build-recutils-1.7.drv-0/recutils-1.7/lib'
make: *** [Makefile:1553: all-recursive] Error 1
Backtrace:
           4 (primitive-load "/gnu/store/90i6lvh1fnd65dihfmsaqnppfi5?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 8206e0 at /gnu/store/gfprsx2m62cvq?> ?)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "2") exit-status: 2 term-signal: #f stop-signal: #f] 56db00>)'.
builder for `/gnu/store/57jzkxnw545jkckn856pmbkhz2xa7q87-recutils-1.7.drv' failed with exit code 1
------