Red Hat Bugzilla – Bug 5823
rpm-3.0.3 configure problem - lib/rpmmalloc.c
Last modified: 2017-02-24 15:48:01 EST
With libz installed as shared library only, ie.
libz.so.1.1.3 exists, but libz.a does not, the configure
script incorrectly infers, that
Next, compilation of lib/rpmmalloc.c fails, as it needs the
definition of EXIT_FAILURE.
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../popt
-I/usr/local/include -I../intl -I../misc -g -O2
-D__BIT_TYPES_DEFINED__ -Wall -Wpointer-arith
-Wno-char-subscripts -c rpmmalloc.c -o rpmmalloc.o
rpmmalloc.c: In function `vmefail':
rpmmalloc.c:6: `EXIT_FAILURE' undeclared (first use in this
rpmmalloc.c:6: (Each undeclared identifier is reported only
rpmmalloc.c:6: for each function it appears in.)
I suppose, if you set $ac_cv_header_stdc=no in config.cache, it will
not build on linux either, but that's just a conjecture.
Fixed in cvs.
Package request has been approved: https://admin.stg.fedoraproject.org/pkgdb/package/modules/haproxy