[syslog-ng] Rpmbuild syslog-ng-3.2.4-1.el6: FAIL: test_nvtable

JP Vossen jp at jpsdomain.org
Fri Jun 17 23:30:48 CEST 2011


I'm trying to get the EPEL6 syslog-ng-3.2.4-1.el6.src.rpm [1] to 
rpmbuild on CentOS-5 (eventlog-0.2.12-1.el6.src.rpm worked fine).  I'm 
trying to do that because the EPEL5 version is old 
syslog-ng-2.1.4-9.el5.src.rpm, and of the very many syslog-ng.spec files 
I've looked at, I like the EPEL6 one the best.  The BB tarball spec 
seems to require building as root (for chown and ./install) which I 
don't like, and the EPEL5 and Fedora spec files have a bunch of stuff 
that I believe is cruft from a CentOS-5 perspective.  (And yes, I know 
that the EPEL6 spec is just an evolution of the previous ones.  It's 
still a lot cleaner and was fixed by someone how knows more about them 
than I do. :)

First, I had to comment out "BuildRequires: tcp_wrappers-devel" since 
that does not exist in CentOS-5.  I am assuming/hoping that that's 
simply because the packages were split in RHEL6.

I've tried with the above comment change, commenting out 
"--enable-tcp-wrapper" and changing that to "--disable-tcp-wrapper" on 
both 32 and 64 bit and it *almost* works, but I always get:
	[...]
	Assertion strcmp(name, dyn_name) == 0 failed at line 69
	FAIL: test_nvtable
	[...]
	====================
	1 of 19 tests failed
	====================
	make[3]: *** [check-TESTS] Error 1
	make[3]: Leaving directory 
`/home/rpmbuild/BUILD/syslog-ng-3.2.4/tests/unit'
	make[2]: *** [check-am] Error 2
	make[2]: Leaving directory 
`/home/rpmbuild/BUILD/syslog-ng-3.2.4/tests/unit'
	make[1]: *** [check-recursive] Error 1
	make[1]: Leaving directory `/home/rpmbuild/BUILD/syslog-ng-3.2.4/tests'
	make: *** [check-recursive] Error 1
	error: Bad exit status from /var/tmp/rpm-tmp.4153 (%check)
	RPM build errors:
	    Bad exit status from /var/tmp/rpm-tmp.4153 (%check)


I can't find anything on that in Google, and when I eyeball 
test_nvtable.c I see where the error is coming from but I have no clue 
what's causing it to fail.  I could probably disable that test, but they 
are there for a reason.

I'm building on both 32 and 64 bit:
	CentOS release 5.5 (Final)
	Linux hostname 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 
i686 i686 i386 GNU/Linux
	Linux hostname 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 
x86_64 x86_64 x86_64 GNU/Linux

Any clues anyone?

_____________
[1]
'http://download.fedora.redhat.com/pub/epel/6/SRPMS/syslog-ng-3.2.4-1.el6.src.rpm'
'http://download.fedora.redhat.com/pub/epel/6/SRPMS/eventlog-0.2.12-1.el6.src.rpm'


Thanks,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.


More information about the syslog-ng mailing list