Re: Coolkey on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



coolkey-1.1.0-17 doesn't build on CentOS 5.5 at all.  I've attached a log of the output of the rpmbuild command; it looks like the initial errors are:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_card.c  -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.o
cky_card.c:110: error: expected declaration specifiers or '...' before 'LPSCARD_READERSTATE'
cky_card.c: In function 'CKYCardContext_WaitForStatusChange':
cky_card.c:844: warning: passing argument 3 of 'ctx->scard->SCardGetStatusChange' makes integer from pointer without a cast
cky_card.c:844: error: too many arguments to function 'ctx->scard->SCardGetStatusChange'

- David

-----Original Message-----
From: Todd Denniston <Todd.Denniston@xxxxxxxxxxxxxxxxxxxxx>
To: coolkey-devel@xxxxxxxxxx
Sent: Mon, Sep 13, 2010 8:29 am
Subject: Re: Coolkey on CentOS

dsm42@xxxxxxxxx wrote, On 09/12/2010 09:06 PM:
> As we're getting more people with 144k CACs, I was interested in getting the 
patched version of Coolkey running on CentOS 5.5 (since the CentOS project 
itself won't have it until RHEL pushes it out).  I took the SRPM from Rawhide 
(coolkey-1.1.0-16.fc14.src.rpm) and was sucessfully able to rebuild and install 
it on CentOS using the following steps:
> 
> $ rpmdev-setuptree
> $ rpm -ivh --nomd5 coolkey-1.1.0-16.fc14.src.rpm 
> $ cd ~/rpmbuild/SPECS
> $ rpmbuild -bb coolkey.spec
> 
>  $ cd ../SPECS/i386
> $ sudo rpm -Uvh coolkey-1.1.0-16.i386.rpm
> 
> When I run Firefox, with the Coolkey module loaded, Firefox crashes within a 
couple of second of inserting a CAC into the reader. I see this with both a 144k 
CAC and an older card that works fine with the regular CentOS Cookey package.  
When I ran Firefox from the command line, I saw the following error:
> 
> firefox: slot.cpp:2258: CKYStatus Slot::readCACCertificateAppend(CKYBuffer*, 
CKYSize): Assertion `mOldCAC' failed.
> /usr/lib/firefox-3.6/run-mozilla.sh: line 131: 16021 Aborted                 
"$prog" ${1+"$@"}
> 
> I don't recall offhand how to get Coolkey to output a debug log, but I can do 
that if it would help.  Any other suggestions would be welcome.

"set COOL_KEY_LOG_FILE in the environment to point somewhere, and the [coolkey] 
module will
dutifully log what it's doing" from "Timothy J. Miller" <tmiller@xxxxxxxxx>.

i.e.
export COOL_KEY_LOG_FILE=/tmp/whatdidcoolkeydo

> 
> I have had success with using OpenSC 0.11.8 and 144k CACs, however I have one 
particular user that, for some reason, I can't get OpenSC to recognize his card 
reader, though Coolkey recognizes it just fine.  But since he has a 144k CAC, 
the card itself doesn't work.
> 
> Thanks,
> 
> David
> 
> 

It did not build right for F14 either, and has been replaced.
https://bugzilla.redhat.com/show_bug.cgi?id=631253#c8
of course we could try building
http://kojipkgs.fedoraproject.org/packages/coolkey/1.1.0/17.fc14/src/coolkey-1.1.0-17.fc14.src.rpm

I wonder where we can get access to the SRPM Bob talks about in
https://bugzilla.redhat.com/show_bug.cgi?id=534172#c67


I suppose due to 5.5 coming out March 30, 2010, 5.6 should be out ~30 Sept 2010, 
so we *might* try a
little more patience*** and the SRPM *should* be naturally available at 
ftp.redhat.


*** admittedly in short supply between this keyboard and chair too.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

_______________________________________________
Coolkey-devel mailing list
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel
 

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.57645
+ umask 022
+ cd /home/david/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/david/rpmbuild/BUILD
+ rm -rf coolkey-1.1.0
+ /bin/gzip -dc /home/david/rpmbuild/SOURCES/coolkey-1.1.0.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd coolkey-1.1.0
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (coolkey-cache-dir-move.patch):'
Patch #1 (coolkey-cache-dir-move.patch):
+ patch -p0 -b --suffix .cache.dir.move -s
+ echo 'Patch #2 (coolkey-gcc43.patch):'
Patch #2 (coolkey-gcc43.patch):
+ patch -p0 -b --suffix .coolkey-gcc43 -s
+ echo 'Patch #3 (coolkey-latest.patch):'
Patch #3 (coolkey-latest.patch):
+ patch -p0 -b --suffix .coolkey-latest -s
+ echo 'Patch #4 (coolkey-simple-bugs.patch):'
Patch #4 (coolkey-simple-bugs.patch):
+ patch -p0 -b --suffix .coolkey-simple-bugs -s
+ echo 'Patch #5 (coolkey-thread-fix.patch):'
Patch #5 (coolkey-thread-fix.patch):
+ patch -p0 -b --suffix .coolkey-thread-fix -s
+ echo 'Patch #6 (coolkey-cac.patch):'
Patch #6 (coolkey-cac.patch):
+ patch -p0 -b --suffix .cac -s
+ echo 'Patch #7 (coolkey-cac-1.patch):'
Patch #7 (coolkey-cac-1.patch):
+ patch -p0 -b --suffix .cac-1 -s
+ echo 'Patch #8 (coolkey-pcsc-lite-fix.patch):'
Patch #8 (coolkey-pcsc-lite-fix.patch):
+ patch -p0 -b --suffix .reader-state-fix -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.57645
+ umask 022
+ cd /home/david/rpmbuild/BUILD
+ cd coolkey-1.1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ autoconf
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /bin/rm -f ./config.guess
++ basename ./config.guess
+ /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
`/usr/lib/rpm/redhat/config.guess' -> `./config.guess'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config.sub
++ basename ./config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
`/usr/lib/rpm/redhat/config.sub' -> `./config.sub'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-debug --disable-dependency-tracking --enable-pk11install
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i386-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking platform type: ... UNIX/LINUX
checking for i686-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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for i686-redhat-linux-gnu-g++... no
checking for i686-redhat-linux-gnu-c++... no
checking for i686-redhat-linux-gnu-gpp... no
checking for i686-redhat-linux-gnu-aCC... no
checking for i686-redhat-linux-gnu-CC... no
checking for i686-redhat-linux-gnu-cxx... no
checking for i686-redhat-linux-gnu-cc++... no
checking for i686-redhat-linux-gnu-cl... no
checking for i686-redhat-linux-gnu-FCC... no
checking for i686-redhat-linux-gnu-KCC... no
checking for i686-redhat-linux-gnu-RCC... no
checking for i686-redhat-linux-gnu-xlC_r... no
checking for i686-redhat-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for i686-redhat-linux-gnu-g77... no
checking for i686-redhat-linux-gnu-f77... no
checking for i686-redhat-linux-gnu-xlf... no
checking for i686-redhat-linux-gnu-frt... no
checking for i686-redhat-linux-gnu-pgf77... no
checking for i686-redhat-linux-gnu-fort77... no
checking for i686-redhat-linux-gnu-fl32... no
checking for i686-redhat-linux-gnu-af77... no
checking for i686-redhat-linux-gnu-f90... no
checking for i686-redhat-linux-gnu-xlf90... no
checking for i686-redhat-linux-gnu-pgf90... no
checking for i686-redhat-linux-gnu-epcf90... no
checking for i686-redhat-linux-gnu-f95... no
checking for i686-redhat-linux-gnu-fort... no
checking for i686-redhat-linux-gnu-xlf95... no
checking for i686-redhat-linux-gnu-ifc... no
checking for i686-redhat-linux-gnu-efc... no
checking for i686-redhat-linux-gnu-pgf95... no
checking for i686-redhat-linux-gnu-lf95... no
checking for i686-redhat-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for i686-redhat-linux-gnu-ar... no
checking for ar... ar
checking for i686-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-redhat-linux-gnu-strip... no
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for uncompress in -lz... yes
checking for dlopen in -ldl... yes
checking for i686-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCSC... yes
checking for NSS... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strdup... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/libckyapplet/Makefile
config.status: creating src/libckyapplet/libckyapplet.pc
config.status: creating src/coolkey/Makefile
config.status: creating src/install/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ make -j3 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing'
make  all-recursive
make[1]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0'
Making all in src/libckyapplet
make[2]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet'
make[3]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-cky_applet.lo `test -f 'cky_applet.c' || echo './'`cky_applet.c
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-cky_base.lo `test -f 'cky_base.c' || echo './'`cky_base.c
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-cky_card.lo `test -f 'cky_card.c' || echo './'`cky_card.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_card.c  -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.o
cky_card.c:110: error: expected declaration specifiers or '...' before 'LPSCARD_READERSTATE'
cky_card.c: In function 'CKYCardContext_WaitForStatusChange':
cky_card.c:844: warning: passing argument 3 of 'ctx->scard->SCardGetStatusChange' makes integer from pointer without a cast
cky_card.c:844: error: too many arguments to function 'ctx->scard->SCardGetStatusChange'
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_applet.c  -fPIC -DPIC -o .libs/libckyapplet_la-cky_applet.o
make[3]: *** [libckyapplet_la-cky_card.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_base.c  -fPIC -DPIC -o .libs/libckyapplet_la-cky_base.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_applet.c -o libckyapplet_la-cky_applet.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -DSCARD_LIB_NAME=\"libpcsclite.so.1\" -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_base.c -o libckyapplet_la-cky_base.o >/dev/null 2>&1
make[3]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet'
Making all in src/coolkey
make[2]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey'
make[3]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-coolkey.lo `test -f 'coolkey.cpp' || echo './'`coolkey.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-dllmain.lo `test -f 'dllmain.cpp' || echo './'`dllmain.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-locking.lo `test -f 'locking.cpp' || echo './'`locking.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c coolkey.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.o
coolkey.cpp:37:1: warning: "NULL" redefined
In file included from /usr/include/wchar.h:48,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cwchar:55,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/postypes.h:46,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:49,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:69,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h:46,
                 from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:46,
                 from coolkey.cpp:23:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h:400:1: warning: this is the location of the previous definition
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c dllmain.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-dllmain.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c dllmain.cpp -o libcoolkeypk11_la-dllmain.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c locking.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-locking.o
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-log.lo `test -f 'log.cpp' || echo './'`log.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c coolkey.cpp -o libcoolkeypk11_la-coolkey.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c locking.cpp -o libcoolkeypk11_la-locking.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c log.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-log.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c log.cpp -o libcoolkeypk11_la-log.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-machdep.lo `test -f 'machdep.cpp' || echo './'`machdep.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-object.lo `test -f 'object.cpp' || echo './'`object.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-PKCS11Exception.lo `test -f 'PKCS11Exception.cpp' || echo './'`PKCS11Exception.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c PKCS11Exception.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-PKCS11Exception.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c machdep.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-machdep.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c PKCS11Exception.cpp -o libcoolkeypk11_la-PKCS11Exception.o >/dev/null 2>&1
machdep.cpp: In function 'int safe_open(char*, int, int, int)':
machdep.cpp:287: warning: comparison between signed and unsigned integer expressions
machdep.cpp: At global scope:
machdep.cpp:440: warning: missing braces around initializer for 'char [4]'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-slot.lo `test -f 'slot.cpp' || echo './'`slot.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c object.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-object.o
machdep.cpp:441: warning: 'OSLock_attr_init' defined but not used
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c machdep.cpp -o libcoolkeypk11_la-machdep.o >/dev/null 2>&1
grep -v ';+' coolkeypk11.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > coolkeypk11.sym
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c slot.cpp  -fPIC -DPIC -o .libs/libcoolkeypk11_la-slot.o
slot.cpp: In member function 'void SlotList::updateReaderList()':
slot.cpp:289: warning: comparison between signed and unsigned integer expressions
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c object.cpp -o libcoolkeypk11_la-object.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 -I../../src/libckyapplet -pthread -I/usr/include/PCSC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c slot.cpp -o libcoolkeypk11_la-slot.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CXX --mode=link g++  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing   -o libcoolkeypk11.la -rpath /usr/lib/pkcs11 -avoid-version -export-symbols coolkeypk11.sym -no-undefined libcoolkeypk11_la-coolkey.lo libcoolkeypk11_la-dllmain.lo libcoolkeypk11_la-locking.lo libcoolkeypk11_la-log.lo libcoolkeypk11_la-machdep.lo libcoolkeypk11_la-object.lo libcoolkeypk11_la-PKCS11Exception.lo libcoolkeypk11_la-slot.lo ../../src/libckyapplet/libckyapplet.la  -ldl -lz 
libtool: link: cannot find the library `../../src/libckyapplet/libckyapplet.la'
make[3]: *** [libcoolkeypk11.la] Error 1
make[3]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey'
Making all in src/install
make[2]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/install'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/nss3 -I/usr/include/nspr4      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c pk11install.c
pk11install.c: In function 'installPKCS11':
pk11install.c:203: warning: implicit declaration of function 'NSC_ModuleDBFunc'
/bin/sh ../../libtool --tag=CC --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing   -o pk11install  pk11install.o -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -lsoftokn3 -ldl -lz 
mkdir .libs
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -o pk11install pk11install.o  -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -lsoftokn3 -ldl -lz
make[2]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0/src/install'
make[2]: Entering directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/rpmbuild/BUILD/coolkey-1.1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.57645 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.57645 (%build)
_______________________________________________
Coolkey-devel mailing list
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Women]

  Powered by Linux