[naemon-dev] Current build errors

Daniel Wittenberg dwittenberg2008 at gmail.com
Mon Apr 21 22:37:25 CEST 2014


Yes libtool is on the build server, it's a BuildRequires requirement.

Dan


On Mon, Apr 21, 2014 at 2:26 AM, Anton Löfgren <alofgren at op5.com> wrote:

> Is libtool installed on the build server? It might not be in the buildreqs
> of the spec since we recently merged sone changes to the livestatus build
> system.
>
> I'm on my phone currently, but it looks libtool related to me, anyway.
> On 21 Apr 2014 06:45, "Daniel Wittenberg" <dwittenberg2008 at gmail.com>
> wrote:
>
>> Fedora Rawhide build server, few odd things I noticed while trying to
>> cleanup the fedora builds:
>>
>> naemon/Makefile.am:89: warning: source file 'lib/nspath.c' is in a
>> subdirectory,
>> naemon/Makefile.am:89: but option 'subdir-objects' is disabled
>>
>> t-tap/Makefile.am:22: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:22: but option 'subdir-objects' is disabled
>> t-tap/Makefile.am:28: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:28: but option 'subdir-objects' is disabled
>> t-tap/Makefile.am:26: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:26: but option 'subdir-objects' is disabled
>> t-tap/Makefile.am:20: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:20: but option 'subdir-objects' is disabled
>> t-tap/Makefile.am:24: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:24: but option 'subdir-objects' is disabled
>> t-tap/Makefile.am:18: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> t-tap/Makefile.am:18: but option 'subdir-objects' is disabled
>> tests/Makefile.am:10: warning: source file
>> '$(top_srcdir)/naemon/checks.c' is in a subdirectory,
>> tests/Makefile.am:10: but option 'subdir-objects' is disabled
>> tests/Makefile.am:10: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> tests/Makefile.am:10: but option 'subdir-objects' is disabled
>> tests/Makefile.am:17: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> tests/Makefile.am:17: but option 'subdir-objects' is disabled
>> tests/Makefile.am:13: warning: source file
>> '$(top_srcdir)/naemon/defaults.c' is in a subdirectory,
>> tests/Makefile.am:13: but option 'subdir-objects' is disabled
>>
>> automake-1.14.1-2.fc21.noarch
>>
>> === configuring in tap
>> (/home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap)
>> ....
>> /home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap/missing:
>> Unknown `--is-lightweight' option
>> Try
>> `/home/dwittenberg/rpmbuild/BUILD/naemon-0.8.0/naemon-core/tap/missing
>> --help' for more information
>> configure: WARNING: 'missing' script is too old or missing
>>
>> configure.ac:48: warning: LT_INIT was called before AM_PROG_AR
>> /usr/share/aclocal-1.14/ar-lib.m4:13: AM_PROG_AR is expanded from...
>> configure.ac:48: the top level
>> configure.ac:48: warning: AC_PROG_LIBTOOL was called before AM_PROG_AR
>> /usr/share/aclocal-1.14/ar-lib.m4:13: AM_PROG_AR is expanded from...
>> configure.ac:48: the top level
>> configure.ac:48: warning: LT_INIT was called before AM_PROG_AR
>> aclocal.m4:8882: AM_PROG_AR is expanded from...
>> configure.ac:48: the top level
>> configure.ac:48: warning: AC_PROG_LIBTOOL was called before AM_PROG_AR
>> aclocal.m4:8882: AM_PROG_AR is expanded from...
>> configure.ac:48: the top level
>>
>> src/Makefile.am:31: error: 'livestatus.so' is not a standard library name
>> src/Makefile.am:31: did you mean 'liblivestatus.a'?
>>
>>
>> livestatus:
>> DownCommColumn.cc: In member function 'virtual void*
>> DownCommColumn::getNagiosObject(char*)':
>> DownCommColumn.cc:75:20: warning: cast to pointer from integer of
>> different size [-Wint-to-pointer-cast]
>>      return (void *)id; // Hack. Convert number into pointer.
>>                     ^
>>
>> In file included from Query.cc:38:0:
>> Query.h: In constructor 'Query::Query(InputBuffer*, OutputBuffer*,
>> Table*)':
>> Query.h:88:10: warning: 'Query::_do_sorting' will be initialized after
>> [-Wreorder]
>>      bool          _do_sorting;
>>           ^
>> Query.h:80:14: warning:   'unsigned int Query::_current_line' [-Wreorder]
>>      unsigned      _current_line;
>>               ^
>> Query.cc:57:1: warning:   when initialized here [-Wreorder]
>>  Query::Query(InputBuffer *input, OutputBuffer *output, Table *table) :
>>  ^
>> Query.cc: In member function 'void Query::finish()':
>> Query.cc:983:24: warning: comparison between signed and unsigned integer
>> expressions [-Wsign-compare]
>>              for (i=0; i<_stats_columns.size(); i++) {
>>                         ^
>> Query.cc:995:24: warning: comparison between signed and unsigned integer
>> expressions [-Wsign-compare]
>>              for (i=0; i<_stats_columns.size(); i++) {
>>                         ^
>> 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]
>>                  delete aggr[i];
>>                               ^
>> Query.cc:1005:20: warning: comparison between signed and unsigned integer
>> expressions [-Wsign-compare]
>>          for (i=0; i<_stats_columns.size(); i++)
>>                     ^
>> 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]
>>              delete _stats_aggregators[i];
>>                                         ^
>> Query.cc: In member function 'void Query::doWait()':
>> Query.cc:1338:60: warning: comparison between signed and unsigned integer
>> expressions [-Wsign-compare]
>>      if (_wait_condition.numFilters() == 0 && _wait_trigger == WT_NONE)
>>                                                             ^
>> Query.cc:1353:23: warning: comparison between signed and unsigned integer
>> expressions [-Wsign-compare]
>>      if (_wait_trigger == WT_NONE)
>>                        ^
>>
>> Store.cc: In member function 'void Store::answerCommandRequest(const
>> char*)':
>> Store.cc:162:51: warning: 'buf' may be used uninitialized in this
>> function [-Wmaybe-uninitialized]
>>          logger(LG_INFO, "query handler: %s\n", buf);
>>                                                    ^
>>
>> Logfile.cc: In member function 'bool Logfile::processLogLine(uint32_t,
>> unsigned int)':
>> Logfile.cc:182:26: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>      if (entry->_logclass == LOGCLASS_INVALID) {
>>                           ^
>>
>> RowSortedSet.cc: In member function 'int RowSortedSet::compare(void*,
>> void*)':
>> RowSortedSet.cc:42:16: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>      for (i=0; i<_sort_cols.size(); i++) {
>>                 ^
>> RowSortedSet.cc: In member function 'void RowSortedSet::insert(void*,
>> int)':
>> RowSortedSet.cc:68:35: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>      if( limit > 0 && _heap.size() > limit ) {
>>                                    ^
>> RowSortedSet.cc: In member function 'void* RowSortedSet::extract()':
>> RowSortedSet.cc:87:28: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>      for( cur=0; (cur<<1)+1 < _heap.size(); cur=child ) {
>>                             ^
>> RowSortedSet.cc:90:21: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>          if( child+1 < _heap.size() )
>>                      ^
>>
>>
>> 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 ?
>>
>> Dan
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/naemon-dev/attachments/20140421/66cf3ff0/attachment-0001.html>


More information about the Naemon-dev mailing list