Hello there,
I have just tested `libasr` build on RH-systems. Everything is fine with
RHEL6; Fedora 19, 20 and devel (all arch).
Also, see no objections from including it to Fedora and EPEL (RHEL 6, 7)
when it's stable and ready for production.
In RHEL 5 I got an error during build:
----------------------
make[1]: Entering directory `/home/mock/rpmbuild/BUILD/libasr-0.1'
Making all in src
make[2]: Entering directory `/home/mock/rpmbuild/BUILD/libasr-0.1/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../src -I../openbsd-compat -DASR_OPT_THREADSAFE=0 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DPIC -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wno-pointer-sign -fno-strict-aliasing -fno-builtin-memset -std=gnu99 -MT
libasr_la-asr.lo -MD -MP -MF ".deps/libasr_la-asr.Tpo" -c -o
libasr_la-asr.lo `test -f 'asr.c' || echo './'`asr.c; \
then mv -f ".deps/libasr_la-asr.Tpo" ".deps/libasr_la-asr.Plo"; else rm
-f ".deps/libasr_la-asr.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../src -I../openbsd-compat -DASR_OPT_THREADSAFE=0 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DPIC -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wno-pointer-sign -fno-strict-aliasing -fno-builtin-memset -std=gnu99 -MT
libasr_la-asr_debug.lo -MD -MP -MF ".deps/libasr_la-asr_debug.Tpo" -c -o
libasr_la-asr_debug.lo `test -f 'asr_debug.c' || echo './'`asr_debug.c; \
then mv -f ".deps/libasr_la-asr_debug.Tpo"
".deps/libasr_la-asr_debug.Plo"; else rm -f
".deps/libasr_la-asr_debug.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../openbsd-compat
-DASR_OPT_THREADSAFE=0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized
-Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing
-fno-builtin-memset -std=gnu99 -MT libasr_la-asr_debug.lo -MD -MP -MF
.deps/libasr_la-asr_debug.Tpo -c asr_debug.c -fPIC -DPIC -o
.libs/libasr_la-asr_debug.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../openbsd-compat
-DASR_OPT_THREADSAFE=0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized
-Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing
-fno-builtin-memset -std=gnu99 -MT libasr_la-asr.lo -MD -MP -MF
.deps/libasr_la-asr.Tpo -c asr.c -fPIC -DPIC -o .libs/libasr_la-asr.o
In file included from ../openbsd-compat/openbsd-compat.h:172,
from ../openbsd-compat/includes.h:77,
from asr_debug.c:18:
/usr/include/stdio.h:359: error: conflicting types for 'snprintf'
In file included from ../openbsd-compat/openbsd-compat.h:172,
from ../openbsd-compat/includes.h:77,
from asr.c:18:
/usr/include/stdio.h:359: error: conflicting types for 'snprintf'
make[2]: *** [libasr_la-asr_debug.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libasr_la-asr.lo] Error 1
make[2]: Leaving directory `/home/mock/rpmbuild/BUILD/libasr-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mock/rpmbuild/BUILD/libasr-0.1'
make: *** [all] Error 2
----------------------
As with recent `opensmtpd` builds, I am not planning to support `libasr`
RHEL5 packages, so fixing it is optional and up to you.
Now, some requests on `libasr`:
1) Versioning and tarballs with releases on Github. It would be nice to
download archives with official versions from Github or another site;
2) De-bootstrap before posting snapshots/releases to have "configure" only;
like we have in `opensmtpd`;
3) Pkgconfig support (.pc file).
--
wbr, Denis.