<div dir="ltr"><div>Fedora Rawhide build server, few odd things I noticed while trying to cleanup the fedora builds:</div><div><br></div><div>naemon/Makefile.am:89: warning: source file 'lib/nspath.c' is in a subdirectory,</div>
<div>naemon/Makefile.am:89: but option 'subdir-objects' is disabled</div><div><br></div><div><div>t-tap/Makefile.am:22: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>
t-tap/Makefile.am:22: but option 'subdir-objects' is disabled</div><div>t-tap/Makefile.am:28: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>t-tap/Makefile.am:28: but option 'subdir-objects' is disabled</div>
<div>t-tap/Makefile.am:26: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>t-tap/Makefile.am:26: but option 'subdir-objects' is disabled</div><div>t-tap/Makefile.am:20: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div>
<div>t-tap/Makefile.am:20: but option 'subdir-objects' is disabled</div><div>t-tap/Makefile.am:24: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>t-tap/Makefile.am:24: but option 'subdir-objects' is disabled</div>
<div>t-tap/Makefile.am:18: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>t-tap/Makefile.am:18: but option 'subdir-objects' is disabled</div><div>tests/Makefile.am:10: warning: source file '$(top_srcdir)/naemon/checks.c' is in a subdirectory,</div>
<div>tests/Makefile.am:10: but option 'subdir-objects' is disabled</div><div>tests/Makefile.am:10: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>tests/Makefile.am:10: but option 'subdir-objects' is disabled</div>
<div>tests/Makefile.am:17: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div><div>tests/Makefile.am:17: but option 'subdir-objects' is disabled</div><div>tests/Makefile.am:13: warning: source file '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,</div>
<div>tests/Makefile.am:13: but option 'subdir-objects' is disabled</div></div><div><br></div><div>automake-1.14.1-2.fc21.noarch<br></div><div><br></div><div><div>=== configuring in tap (/home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap)</div>
</div><div>....</div><div><div>/home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap/missing: Unknown `--is-lightweight' option</div><div>Try `/home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap/missing --help' for more information</div>
<div>configure: WARNING: 'missing' script is too old or missing</div></div><div><br></div><div><div><a href="http://configure.ac:48">configure.ac:48</a>: warning: LT_INIT was called before AM_PROG_AR</div><div>/usr/share/aclocal-1.14/ar-lib.m4:13: AM_PROG_AR is expanded from...</div>
<div><a href="http://configure.ac:48">configure.ac:48</a>: the top level</div><div><a href="http://configure.ac:48">configure.ac:48</a>: warning: AC_PROG_LIBTOOL was called before AM_PROG_AR</div><div>/usr/share/aclocal-1.14/ar-lib.m4:13: AM_PROG_AR is expanded from...</div>
<div><a href="http://configure.ac:48">configure.ac:48</a>: the top level</div><div><a href="http://configure.ac:48">configure.ac:48</a>: warning: LT_INIT was called before AM_PROG_AR</div><div>aclocal.m4:8882: AM_PROG_AR is expanded from...</div>
<div><a href="http://configure.ac:48">configure.ac:48</a>: the top level</div><div><a href="http://configure.ac:48">configure.ac:48</a>: warning: AC_PROG_LIBTOOL was called before AM_PROG_AR</div><div>aclocal.m4:8882: AM_PROG_AR is expanded from...</div>
<div><a href="http://configure.ac:48">configure.ac:48</a>: the top level</div></div><div><br></div><div><div>src/Makefile.am:31: error: 'livestatus.so' is not a standard library name</div><div>src/Makefile.am:31: did you mean 'liblivestatus.a'?</div>
</div><div><br></div><div><br></div><div>livestatus:</div><div><div>DownCommColumn.cc: In member function 'virtual void* DownCommColumn::getNagiosObject(char*)':</div><div>DownCommColumn.cc:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div>
<div> return (void *)id; // Hack. Convert number into pointer.</div><div> ^</div></div><div><br></div><div><div>In file included from Query.cc:38:0:</div><div>Query.h: In constructor 'Query::Query(InputBuffer*, OutputBuffer*, Table*)':</div>
<div>Query.h:88:10: warning: 'Query::_do_sorting' will be initialized after [-Wreorder]</div><div> bool _do_sorting;</div><div> ^</div><div>Query.h:80:14: warning: 'unsigned int Query::_current_line' [-Wreorder]</div>
<div> unsigned _current_line;</div><div> ^</div><div>Query.cc:57:1: warning: when initialized here [-Wreorder]</div><div> Query::Query(InputBuffer *input, OutputBuffer *output, Table *table) :</div>
<div> ^</div><div>Query.cc: In member function 'void Query::finish()':</div><div>Query.cc:983:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div><div> for (i=0; i<_stats_columns.size(); i++) {</div>
<div> ^</div><div>Query.cc:995:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div><div> for (i=0; i<_stats_columns.size(); i++) {</div><div>
^</div><div>Query.cc:996:30: warning: deleting object of abstract class type 'Aggregator' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]</div><div>
delete aggr[i];</div><div> ^</div><div>Query.cc:1005:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div><div> for (i=0; i<_stats_columns.size(); i++)</div>
<div> ^</div><div>Query.cc:1010:40: warning: deleting object of abstract class type 'Aggregator' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]</div>
<div> delete _stats_aggregators[i];</div><div> ^</div><div>Query.cc: In member function 'void Query::doWait()':</div><div>Query.cc:1338:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> if (_wait_condition.numFilters() == 0 && _wait_trigger == WT_NONE)</div><div> ^</div><div>Query.cc:1353:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> if (_wait_trigger == WT_NONE)</div><div> ^</div></div><div><br></div><div><div>Store.cc: In member function 'void Store::answerCommandRequest(const char*)':</div><div>Store.cc:162:51: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized]</div>
<div> logger(LG_INFO, "query handler: %s\n", buf);</div><div> ^</div></div><div><br></div><div><div>Logfile.cc: In member function 'bool Logfile::processLogLine(uint32_t, unsigned int)':</div>
<div>Logfile.cc:182:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div><div> if (entry->_logclass == LOGCLASS_INVALID) {</div><div> ^</div></div><div>
<br></div><div><div>RowSortedSet.cc: In member function 'int RowSortedSet::compare(void*, void*)':</div><div>RowSortedSet.cc:42:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> for (i=0; i<_sort_cols.size(); i++) {</div><div> ^</div><div>RowSortedSet.cc: In member function 'void RowSortedSet::insert(void*, int)':</div><div>RowSortedSet.cc:68:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> if( limit > 0 && _heap.size() > limit ) {</div><div> ^</div><div>RowSortedSet.cc: In member function 'void* RowSortedSet::extract()':</div><div>RowSortedSet.cc:87:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> for( cur=0; (cur<<1)+1 < _heap.size(); cur=child ) {</div><div> ^</div><div>RowSortedSet.cc:90:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]</div>
<div> if( child+1 < _heap.size() )</div><div> ^</div></div><div><br></div><div><br></div><div>Livestatus doesn't appear to be building, but I at least have the spec file cleaned up and working again, we'll adjust it once we get things updated, but should be closer to what fedora needs. I think sni was still working on the Requires for all the perl modules, I think maybe just needs a commit on his side ?</div>
<div><br>Dan</div><div><br></div><div><br></div></div>