[Nut-upsdev] [nut-commits] buildbot failure in Network UPS Tools on Ubuntu-maverick-x86
Frédéric Bohé
fredericbohe at eaton.com
Wed Jun 22 12:50:05 UTC 2011
On Tue, 2011-06-21 at 22:48 -0400, Charles Lepple wrote:
> >
> > The Buildbot has detected a new failure of Ubuntu-maverick-x86 on
> > Network UPS Tools.
> > Full details are available at:
> > http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/32
> >
> > Buildbot URL: http://buildbot.networkupstools.org/public/nut/
> >
> > Buildslave for this Build: cayenne
>
> Fred,
>
> I had a few spare cycles and tried building the nut-scanner branch on
> this Buildbot slave.
>
> I'm confused by this error:
>
> http://buildbot.networkupstools.org/private/nut/builders/Ubuntu-maverick-x86/builds/33/steps/compile/logs/stdio
> (scroll to bottom)
This asks me for a login/password. I don't know if I have one for the
buildbot site.
>
> The "-I../../include" should grab common.h.
>
> Can you try a "make distcheck-light" on your development system?
This is the end of the output:
make[4]: Entering directory
`/home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build/tools/nut-scanner'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../../tools/nut-scanner -I../../include -I../../../clients
-DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include
-I/usr/include/neon -g -O2 -Wall -Wsign-compare -MT
libnut_scan_la-scan_xml_http.lo -MD -MP
-MF .deps/libnut_scan_la-scan_xml_http.Tpo -c -o
libnut_scan_la-scan_xml_http.lo `test -f 'scan_xml_http.c' || echo
'../../../tools/nut-scanner/'`scan_xml_http.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../tools/nut-scanner
-I../../include -I../../../clients -DNETSNMP_ENABLE_IPV6 -g -O2
-DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl/5.10/CORE -I/usr/include -I/usr/include/neon -g -O2
-Wall -Wsign-compare -MT libnut_scan_la-scan_xml_http.lo -MD -MP
-MF .deps/libnut_scan_la-scan_xml_http.Tpo
-c ../../../tools/nut-scanner/scan_xml_http.c -fPIC -DPIC
-o .libs/libnut_scan_la-scan_xml_http.o
../../../tools/nut-scanner/scan_xml_http.c:29:20: fatal error: common.h:
No such file or directory
compilation terminated.
make[4]: *** [libnut_scan_la-scan_xml_http.lo] Error 1
make[4]: Leaving directory
`/home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build/tools/nut-scanner'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build'
make[1]: *** [distcheck] Error 1
make[1]: Leaving directory
`/home/fred/Projects/nut/branches/nut-scanner'
make: *** [distcheck-light] Error 2
Indeed "../../include" does not contain common.h:
ls /home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build/tools/nut-scanner/../../include/
config.h Makefile nut_stdint.h nut_version.h stamp-h1
But "../../../include" does.
ls /home/fred/Projects/nut/branches/nut-scanner/nut-2.6.0/_build/tools/nut-scanner/../../../include/
attribute.h config.h.in Makefile.am nut_version.h proto.h timehead.h
common.h extstate.h Makefile.in parseconf.h state.h upsconf.h
I don't know how to fix that.
At the moment I guess this line of the tools/nut-scanner/Makefile needs
to be changed :
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
I believe top_builddir should be replaced by top_srcdir but I haven't
found yet what is generating this line
Still searching...
Regards,
Fred
>
> Thanks,
> - Charles
--
Team Open Source Eaton - http://powerquality.eaton.com
--------------------------------------------------------------------------
More information about the Nut-upsdev
mailing list