Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 383350 Details for
Bug 520498
net-misc/cfengine-3.2.4 - files_operators.c:1512:1: error: format not a string literal and no format arguments [-Werror=format-security]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cfengine-3.2.4:20140822-102437.log
cfengine-3.2.4:20140822-102437.log (text/plain), 18.01 KB, created by
Agostino Sarubbo
on 2014-08-22 10:27:04 UTC
(
hide
)
Description:
cfengine-3.2.4:20140822-102437.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2014-08-22 10:27:04 UTC
Size:
18.01 KB
patch
obsolete
> * Package: net-misc/cfengine-3.2.4 > * Repository: gentoo > * Maintainer: idl0r@gentoo.org mschiff@gentoo.org,sysadmin@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether to enable maintainer-specific portions of Makefiles... yes >checking for style of include used by make... GNU >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 >checking for the pthreads library -lpthreads... no >checking whether pthreads work without any flags... no >checking whether pthreads work with -Kthread... no >checking whether pthreads work with -kthread... no >checking for the pthreads library -llthread... no >checking whether pthreads work with -pthread... yes >checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE >checking if more special flags are required for pthreads... no >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... no >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for flex... flex >checking lex output file root... lex.yy >checking lex library... -lfl >checking whether yytext is a pointer... yes >checking for bison... bison -y >checking for getloadavg... yes >checking for pstat_getdynamic... no >checking for kstat_open in -lkstat... no >checking for getloadavg... yes >checking whether getloadavg requires setgid... no >checking for getconf... /usr/bin/getconf >checking for BerkeleyDB location in /usr... /usr >checking for Berkeley DB API... OK >checking for db_create in -ldb... yes >checking for RSA_generate_key in -lcrypto... yes >checking openssl/opensslv.h usability... yes >checking openssl/opensslv.h presence... yes >checking for openssl/opensslv.h... yes >checking for OpenSSL version... OK >checking for pcre_exec in -lpcre... yes >checking pcre.h usability... yes >checking pcre.h presence... yes >checking for pcre.h... yes >checking for unistd.h... (cached) yes >checking for stdlib.h... (cached) yes >checking sys/loadavg.h usability... no >checking sys/loadavg.h presence... no >checking for sys/loadavg.h... no >checking sys/param.h usability... yes >checking sys/param.h presence... yes >checking for sys/param.h... yes >checking for sys/mount.h... yes >checking utime.h usability... yes >checking utime.h presence... yes >checking for utime.h... yes >checking time.h usability... yes >checking time.h presence... yes >checking for time.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking sys/malloc.h usability... no >checking sys/malloc.h presence... no >checking for sys/malloc.h... no >checking vfs.h usability... no >checking vfs.h presence... no >checking for vfs.h... no >checking sys/vfs.h usability... yes >checking sys/vfs.h presence... yes >checking for sys/vfs.h... yes >checking sys/sockio.h usability... no >checking sys/sockio.h presence... no >checking for sys/sockio.h... no >checking sys/statvfs.h usability... yes >checking sys/statvfs.h presence... yes >checking for sys/statvfs.h... yes >checking sys/statfs.h usability... yes >checking sys/statfs.h presence... yes >checking for sys/statfs.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking sys/filesys.h usability... no >checking sys/filesys.h presence... no >checking for sys/filesys.h... no >checking dustat.h usability... no >checking dustat.h presence... no >checking for dustat.h... no >checking sys/systeminfo.h usability... no >checking sys/systeminfo.h presence... no >checking for sys/systeminfo.h... no >checking sys/acl.h usability... yes >checking sys/acl.h presence... yes >checking for sys/acl.h... yes >checking winsock2.h usability... no >checking winsock2.h presence... no >checking for winsock2.h... no >checking zone.h usability... no >checking zone.h presence... no >checking for zone.h... no >checking sys/uio.h usability... yes >checking sys/uio.h presence... yes >checking for sys/uio.h... yes >checking for ANSI C header files... (cached) yes >checking whether time.h and sys/time.h may both be included... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for stdbool.h that conforms to C99... yes >checking for _Bool... yes >checking for mode_t... yes >checking for size_t... yes >checking for uid_t in sys/types.h... yes >checking for pid_t... yes >checking for clockid_t... yes >checking for an ANSI C-conforming const... yes >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >checking for off_t... yes >checking for sqrt in -lm... yes >checking for clock_gettime in -lrt... yes >checking whether clock_gettime is declared... yes >checking for clock_gettime... yes >checking whether unsetenv is declared... yes >checking for unsetenv... yes >checking whether strnlen is declared... yes >checking for strnlen... yes >checking whether strndup is declared... yes >checking for strndup... yes >checking whether setlinebuf is declared... yes >checking for setlinebuf... yes >checking whether strlcat is declared... no >checking for strlcat... no >checking whether strlcpy is declared... no >checking for strlcpy... no >checking whether realpath is declared... yes >checking for realpath... yes >checking whether round is declared... yes >checking for round... yes >checking whether strdup is declared... yes >checking for strdup... yes >checking whether nanosleep is declared... no >checking for nanosleep... yes >checking for getcwd... yes >checking for getnetgrent... yes >checking for waitpid... yes >checking for seteuid... yes >checking for setegid... yes >checking for setreuid... yes >checking for setregid... yes >checking for uname... yes >checking for gethostname... yes >checking for chflags... no >checking for strstr... yes >checking for strsep... yes >checking for putenv... yes >checking for drand48... yes >checking for srand48... yes >checking for getaddrinfo... yes >checking for bcopy... yes >checking for mkfifo... yes >checking for statfs... yes >checking for statvfs... yes >checking for door... no >checking for sysinfo... yes >checking for setsid... yes >checking for strrchr... yes >checking for strerror... yes >checking for snprintf... yes >checking for sysconf... yes >checking for getzoneid... no >checking for getzonenamebyid... no >checking for fpathconf... yes >checking whether dirfd is declared... yes >checking for dirfd... yes >checking for jail_get... no >checking for door_create... no >checking for setsockopt... yes >checking for gethostent... yes >checking for getaddrinfo... (cached) yes >checking for library containing socket... none required >checking for lchown... yes >checking for main in -lpthread... yes >checking for pthread_attr_setstacksize... yes >checking for pthread_sigmask... yes >checking pthread.h usability... yes >checking pthread.h presence... yes >checking for pthread.h... yes >checking sched.h usability... yes >checking sched.h presence... yes >checking for sched.h... yes >checking for struct sockaddr.sa_len... no >checking for either struct rtentry or struct ortentry... rtentry >checking for yp_get_default_domain in -lnss_nis... no >checking for main in -lacl... yes >checking acl.h usability... no >checking acl.h presence... no >checking for acl.h... no >checking for sys/acl.h... (cached) yes >checking acl/libacl.h usability... yes >checking acl/libacl.h presence... yes >checking for acl/libacl.h... yes >checking for 8-bit support in Flex... 8-bit support added >checking for HP-UX aC... no >checking for GCC specific compile flags... yes >checking for hostname... /bin/hostname >checking for Xen cpuid-based HVM detection... yes > >Summary of options... >-> PCRE: default path >-> MySQL connector: >-> PostgreSQL connector: disabled >-> DB: Berkeley DB: /usr > >configure: creating ./config.status >config.status: creating Makefile >config.status: creating pub/Makefile >config.status: creating src/Makefile >config.status: creating src/cf3lex.l >config.status: creating docs/Makefile >config.status: creating examples/Makefile >config.status: creating examples/example_config/Makefile >config.status: creating masterfiles/Makefile >config.status: creating src/conf.h >config.status: executing depfiles commands >config.status: executing libtool commands >DONE: Configuration done. Run make/gmake to build cfengine. >Making all in pub >make[1]: Entering directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/pub' > CC getopt.lo > CC getopt1.lo > CC snprintf.lo > CC strlcat.lo > CC strlcpy.lo > CCLD libcfpub.la >make[1]: Leaving directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/pub' >Making all in src >make[1]: Entering directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/src' >make all-am >make[2]: Entering directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/src' > CC libpromises_la-cf3parse.lo > LEX cf3lex.c > CC libpromises_la-alloc.lo > CC libpromises_la-patches.lo > CC libpromises_la-install.lo > CC libpromises_la-attributes.lo > CC libpromises_la-generic_agent.lo > CC libpromises_la-dbm_api.lo > CC libpromises_la-dbm_berkeley.lo >cf3parse.y: In function 'yyparse': >cf3parse.y:364:26: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat] >cf3parse.y:372:26: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat] >cf3parse.y:388:26: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat] > CC libpromises_la-dbm_quick.lo > CC libpromises_la-dbm_tokyocab.lo > CC libpromises_la-dbm_sqlite3.lo > CC libpromises_la-dir.lo > CC libpromises_la-dtypes.lo > CC libpromises_la-classes.lo > CC libpromises_la-env_context.lo > CC libpromises_la-string_expressions.lo > CC libpromises_la-logic_expressions.lo > CC libpromises_la-files_interfaces.lo > CC libpromises_la-files_properties.lo >env_context.c: In function 'EvalClassExpression': >env_context.c:236:10: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] >env_context.c:236:10: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat] >env_context.c: In function 'SplitContextExpression': >env_context.c:555:19: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] >env_context.c:555:19: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat] > CC libpromises_la-files_select.lo > CC libpromises_la-files_operators.lo > CC libpromises_la-files_repository.lo > CC libpromises_la-files_copy.lo > CC libpromises_la-files_editline.lo >files_properties.c: In function 'SetSearchDevice': >files_properties.c:157:1: warning: format '%d' expects argument of type 'int', but argument 2 has type '__dev_t' [-Wformat] >files_interfaces.c: In function 'VerifyFilePromise': >files_interfaces.c:333:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] > CC libpromises_la-files_edit.lo >files_operators.c: In function 'MoveObstruction': >files_operators.c:544:10: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat] >files_operators.c:578:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat] >files_operators.c: In function 'LogHashChange': >files_operators.c:1512:1: error: format not a string literal and no format arguments [-Werror=format-security] >files_operators.c:1512:1: error: format not a string literal and no format arguments [-Werror=format-security] >files_operators.c: In function 'RotateFiles': >files_operators.c:1619:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] >files_operators.c:1628:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] >cc1: some warnings being treated as errors >make[2]: *** [libpromises_la-files_operators.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >files_editline.c: In function 'InsertMissingLinesAtLocation': >files_editline.c:655:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] >files_edit.c: In function 'SaveItemListAsFile': >files_edit.c:239:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat] >files_edit.c:239:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' [-Wformat] >files_edit.c:294:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] >make[2]: Leaving directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/src' >make[1]: *** [all] Error 2 >make[1]: Leaving directory `/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4/src' >make: *** [all-recursive] Error 1 >emake failed > * ERROR: net-misc/cfengine-3.2.4::gentoo failed (compile phase): > * emake failed > * > * Call stack: > * ebuild.sh, line 93: Called src_compile > * environment, line 215: Called __eapi2_src_compile > * phase-helpers.sh, line 695: Called die > * The specific snippet of code: > * emake || die "emake failed" > * > * If you need support, post the output of `emerge --info '=net-misc/cfengine-3.2.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/cfengine-3.2.4::gentoo'`. > * The complete build log is located at '/var/log/log/build/net-misc/cfengine-3.2.4:20140822-102437.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/cfengine-3.2.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/cfengine-3.2.4/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4' > * S: '/var/tmp/portage/net-misc/cfengine-3.2.4/work/cfengine-3.2.4'
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 520498
: 383350