Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1464583 Details for
Bug 1604930
ndoutils: FTBFS in Fedora rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Mohan Boddu
on 2018-07-20 01:12:41 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Mohan Boddu
Created:
2018-07-20 01:12:41 UTC
Size:
32.00 KB
patch
obsolete
>: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] > int mbuf_used=NDO_TRUE; > ^~~~~~~~~ >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make ndomod-3x.o >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >ndomod.c: In function 'ndomod_write_to_sink': >ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); > ^~~~~~~~ > vsprintf >ndomod.c: In function 'ndomod_broker_data_serialize': >ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] > size_t bufused = 0; > ^~~~~~~ >ndomod.c: In function 'ndomod_broker_data': >ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] > size_t tbsize = sizeof(temp_buffer); > ^~~~~~ >ndomod.c: In function 'ndomod_write_active_objects': >ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] > int i, obj_count; > ^ >ndomod.c: In function 'ndomod_write_object_config': >ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] > servicesmember *temp_servicesmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] > contactsmember *temp_contactsmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] > contactgroupsmember *temp_contactgroupsmember=NULL; > ^~~~~~~~~~~~~~~~~~~~~~~~ >ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] > hostsmember *temp_hostsmember=NULL; > ^~~~~~~~~~~~~~~~ >ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] > commandsmember *temp_commandsmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make ndo2db-3x >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c >dbhandlers.c: In function 'ndo2db_get_object_id': >dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > if(asprintf(&buf1,"name1 IS NULL")==-1) > ^~~~~~~~ > vsprintf >dbhandlers.c: In function 'ndo2db_handle_processdata': >dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_timedeventdata': >dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_logdata': >dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': >dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': >dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': >dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': >dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': >dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_commentdata': >dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_downtimedata': >dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_flappingdata': >dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_programstatusdata': >dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': >dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': >dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': >dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': >dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': >dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_statechangedata': >dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_runtimevariables': >dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_configdumpstart': >dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': >dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': >dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_commanddefinition': >dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': >dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] > int rc, i, object_type, num_objs = 0, sz, first = 1; > ^ >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x queue.c ndo2db.c dbhandlers-3x.o io.o utils.o db.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lm >queue.c: In function 'log_retry': >queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] > FILE * fp; > ^~ >queue.c: In function 'push_into_queue': >queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] > struct timespec delay; > ^~~~~ >queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] > int size; > ^~~~ >queue.c: In function 'get_queue_id': >queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >queue.c: In function 'get_msgmni': >queue.c:75:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] > int mbuf_used=NDO_TRUE; > ^~~~~~~~~ >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make ndomod-4x.o >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -I ../include/nagios-4x -D BUILD_NAGIOS_4X -o ndomod-4x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >ndomod.c: In function 'ndomod_write_to_sink': >ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); > ^~~~~~~~ > vsprintf >ndomod.c: In function 'ndomod_broker_data_serialize': >ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] > size_t bufused = 0; > ^~~~~~~ >ndomod.c: In function 'ndomod_broker_data': >ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] > size_t tbsize = sizeof(temp_buffer); > ^~~~~~ >ndomod.c: In function 'ndomod_write_active_objects': >ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] > int i, obj_count; > ^ >ndomod.c: In function 'ndomod_write_object_config': >ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] > servicesmember *temp_servicesmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] > contactsmember *temp_contactsmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] > contactgroupsmember *temp_contactgroupsmember=NULL; > ^~~~~~~~~~~~~~~~~~~~~~~~ >ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] > hostsmember *temp_hostsmember=NULL; > ^~~~~~~~~~~~~~~~ >ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] > commandsmember *temp_commandsmember=NULL; > ^~~~~~~~~~~~~~~~~~~ >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make ndo2db-4x >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -I ../include/nagios-4x -D BUILD_NAGIOS_4X -c -o dbhandlers-4x.o dbhandlers.c >dbhandlers.c: In function 'ndo2db_get_object_id': >dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > if(asprintf(&buf1,"name1 IS NULL")==-1) > ^~~~~~~~ > vsprintf >dbhandlers.c: In function 'ndo2db_handle_processdata': >dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_timedeventdata': >dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_logdata': >dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': >dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': >dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': >dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': >dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': >dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_commentdata': >dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_downtimedata': >dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_flappingdata': >dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_programstatusdata': >dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': >dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': >dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': >dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': >dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': >dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_statechangedata': >dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_runtimevariables': >dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_configdumpstart': >dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': >dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': >dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_commanddefinition': >dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] > int result=NDO_OK; > ^~~~~~ >dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': >dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] > int rc, i, object_type, num_objs = 0, sz, first = 1; > ^ >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_4X -o ndo2db-4x queue.c ndo2db.c dbhandlers-4x.o io.o utils.o db.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lm >queue.c: In function 'log_retry': >queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] > FILE * fp; > ^~ >queue.c: In function 'push_into_queue': >queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] > struct timespec delay; > ^~~~~ >queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] > int size; > ^~~~ >queue.c: In function 'get_queue_id': >queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >queue.c: In function 'get_msgmni': >queue.c:75:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:873, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] > int mbuf_used=NDO_TRUE; > ^~~~~~~~~ >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make[1]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make: *** [Makefile:74: all] Error 2 >error: Bad exit status from /var/tmp/rpm-tmp.ubqZJ8 (%build) > Bad exit status from /var/tmp/rpm-tmp.ubqZJ8 (%build) >RPM build errors: >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1604930
: 1464583 |
1464584
|
1464585