Hello,

I'm trying to build a rpm packages of zkt on a CentOS 6.4. The Output I 
get from rpmbuild is the following. Can You please tell me what's wrong 
here?

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7WrcYA
+ umask 022
+ cd /builddir/build/BUILD
+ cd zkt-1.1.2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ export 
PATH=/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/bin:/usr/sbin
+ 
PATH=/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/bin:/usr/sbin
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ ./configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu 
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --inclu
dedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man 
--infodir=/usr/share/info
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for dnssec-signzone... /usr/sbin/dnssec-signzone
configure: BIND utilities path automatically set to /usr/sbin.
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 uint... yes
checking for ulong... yes
checking for ushort... yes
checking for uchar... no
checking for tgetent in -lncurses... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdlib.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
checking for gettimeofday... yes
checking for memset... yes
checking for putenv... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for tzset... yes
checking for utime... yes
checking for getuid... yes
checking for timegm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir 
setting
config.status: creating config.h
+ make
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zkt-conf.o 
zkt-conf.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zfparse.o 
zfparse.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o dki.o dki.c
dki.c: In function 'dki_readfile':
dki.c:134: warning: ignoring return value of 'fscanf', declared with 
attribute warn_unused_result
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o misc.o misc.c
misc.c: In function 'getdefconfname':
misc.c:119: warning: field precision should have type 'int', but 
argument 4 has type 'long int'
misc.c:119: warning: field precision should have type 'int', but 
argument 4 has type 'long int'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o domaincmp.o 
domaincmp.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zconf.o zconf.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o log.o log.c
gcc  zkt-conf.o zfparse.o dki.o misc.o domaincmp.o zconf.o log.o -o zkt-conf
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zkt-ls.o zkt-ls.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o strlist.o 
strlist.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zkt.o zkt.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o tcap.o tcap.c
gcc  -lncurses  zkt-ls.o strlist.o zkt.o tcap.o dki.o misc.o domaincmp.o 
zconf.o log.o -o zkt-ls
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zkt-signer.o 
zkt-signer.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o zone.o zone.c
zone.c: In function 'zone_new':
zone.c:159: warning: field precision should have type 'int', but 
argument 5 has type 'long int'
zone.c:159: warning: field precision should have type 'int', but 
argument 5 has type 'long int'
zone.c: In function 'zone_readdir':
zone.c:225: warning: field precision should have type 'int', but 
argument 5 has type 'long int'
zone.c:225: warning: field precision should have type 'int', but 
argument 5 has type 'long int'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o ncparse.o 
ncparse.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o rollover.o 
rollover.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g 
-DHAVE_CONFIG_H -I. -Wall  -Wmissing-prototypes     -c -o nscomm.o nscomm.c
In file included from /usr/include/sys/syslog.h:208,
                  from /usr/include/syslog.h:2,
                  from log.h:44,
                  from nscomm.h:46,
                  from nscomm.c:47:
/usr/include/bits/syslog.h: In function 'syslog':
/usr/include/bits/syslog.h:32: error: invalid use of 
'__builtin_va_arg_pack ()'
RPM build errors:
make: *** [nscomm.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.7WrcYA (%build)
     Bad exit status from /var/tmp/rpm-tmp.7WrcYA (%build)
Child return code was: 1

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
zkt-users mailing list
zkt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zkt-users

Reply via email to