| Summary: | fails to build without downstream patches | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kamil Dudka <kdudka> | ||||
| Component: | coolkey | Assignee: | Bob Relyea <rrelyea> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.1 | CC: | aakkiang, benl, jgalipea | ||||
| Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | coolkey-1_1_0-19_el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 18:18:52 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 747120 | ||||||
| Attachments: |
|
||||||
|
Description
Kamil Dudka
2011-06-06 11:31:48 UTC
Created attachment 503197 [details]
proposed fix
Actually, this is an upstream issue. Upstream needs a new .tar file. Are you implying my one-line patch cannot be applied? Why? I have verified it still solves the problem, tested with coolkey-1.1.0-18.1.el6. meant coolkey-1.1.0-18.el6 (.1 is my own SRPM with the patch applied) I guess I'm confused. I thought the problem was the the .tar ball is broken. Is the patch to force a single patch to be included when you say 'build without patches'? I'm ok with including the patch. I think I just misunderstood what this bug was asking for. bob (In reply to comment #7) > Is the patch to force a single patch to be included when you say 'build without patches'? Exactly. This tiny hint will help our equipment to scan the package fully automatically anytime in the future, with and "without" patches. Verifying this bug as SanityOnly. On a RHEL-6.2 i386 and X86_64 desktop coolkey rpm (coolkey-1.1.0-19.el6) installed successfully. Coolkey functionality works fine. * Smart card enrollment, format operations using ESC are successful. * Login to desktop using an enrolled smart card is successful. Marking the bug verified. Verified the coolkey build without patches using rpmbuild-rawbuild script, the run is successful. 1. Install required packages. # yum install rpm-build autoconf # rpm -q rpm-build autoconf rpm-build-4.8.0-19.el6.i686 autoconf-2.63-5.1.el6.noarch # yum groupinstall "Development Tools" 2. Download coolkey src rpm from the brew. Saved the script "http://git.engineering.redhat.com/?p=users/kdudka/coverity-scan.git;a=blob_plain;f=aux/rpmbuild-rawbuild" in a file rpmbuild-rawbuild and give executive permission. # ls -lrt total 468 -rw-rw-r--. 1 root root 475045 Nov 29 10:54 coolkey-1.1.0-19.el6.src.rpm -rwxr-xr-x. 1 root root 2440 Nov 29 11:15 rpmbuild-rawbuild 3. # rpm -Uvh --nodeps coolkey-1.1.0-19.el6.src.rpm 1:coolkey warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root ########################################### [100%] 4. # yum install yum-utils # yum install pcsc-lite-devel nss nss-devel # yum-builddep ./coolkey-1.1.0-19.el6.src.rpm 5. # ./rpmbuild-rawbuild -bc --nodeps /root/rpmbuild/SPECS/coolkey.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X0oKSK + umask 022 + cd /root/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /root/rpmbuild/BUILD + rm -rf coolkey-1.1.0 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/coolkey-1.1.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd coolkey-1.1.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): + /bin/cat /root/rpmbuild/SOURCES/coolkey-cache-dir-move.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .cache.dir.move --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #2 (coolkey-gcc43.patch):' Patch #2 (coolkey-gcc43.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-gcc43.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix _RAWBUILD --fuzz=999 /tmp/tmp.v20f16B1Mu: applying a patch annotated by _RAWBUILD + echo 'Patch #3 (coolkey-latest.patch):' Patch #3 (coolkey-latest.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-latest.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .coolkey-latest --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #4 (coolkey-simple-bugs.patch):' Patch #4 (coolkey-simple-bugs.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-simple-bugs.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .coolkey-simple-bugs --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #5 (coolkey-pcsc-usb.patch):' Patch #5 (coolkey-pcsc-usb.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-pcsc-usb.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .coolkey-pcsc-usb --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #6 (coolkey-cac-rhl6.patch):' Patch #6 (coolkey-cac-rhl6.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-cac-rhl6.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .cac-rhl6 --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #7 (coolkey-pcscd-restart.patch):' Patch #7 (coolkey-pcscd-restart.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-pcscd-restart.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .pcscd-restart --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #8 (coolkey-piv.patch):' Patch #8 (coolkey-piv.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-piv.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .piv --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + echo 'Patch #9 (coolkey-thread-fix.patch):' Patch #9 (coolkey-thread-fix.patch): + /bin/cat /root/rpmbuild/SOURCES/coolkey-thread-fix.patch + /tmp/tmp.v20f16B1Mu -s -p0 -b --suffix .thread --fuzz=999 /tmp/tmp.v20f16B1Mu: ignoring a patch not annotated by _RAWBUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SohKkN + umask 022 + cd /root/rpmbuild/BUILD + cd coolkey-1.1.0 + LANG=C + export LANG + unset DISPLAY + autoconf configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... aclocal.m4:621: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:4827: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:2674: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:2673: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:31: AC_PROG_LIBTOOL is expanded from... configure.in:97: the top level configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:666: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2751: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:2750: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:1810: _LT_AC_TAGCONFIG is expanded from... configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3915: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:3914: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:4017: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:4016: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:97: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-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=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-debug --disable-dependency-tracking --enable-pk11install configure: WARNING: unrecognized options: --with-debug checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-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-pc-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 style of include used by make... GNU checking dependency style of gcc... none checking for i686-pc-linux-gnu-g++... no checking for i686-pc-linux-gnu-c++... no checking for i686-pc-linux-gnu-gpp... no checking for i686-pc-linux-gnu-aCC... no checking for i686-pc-linux-gnu-CC... no checking for i686-pc-linux-gnu-cxx... no checking for i686-pc-linux-gnu-cc++... no checking for i686-pc-linux-gnu-cl.exe... no checking for i686-pc-linux-gnu-FCC... no checking for i686-pc-linux-gnu-KCC... no checking for i686-pc-linux-gnu-RCC... no checking for i686-pc-linux-gnu-xlC_r... no checking for i686-pc-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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... no checking for i686-pc-linux-gnu-g95... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-ifort... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes 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-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-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... no 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... no 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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... no checking if gfortran supports -c -o file.o... yes checking whether the gfortran 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 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-pc-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 ./configure: line 20146: enable_pk11install: command not found 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 configure: WARNING: unrecognized options: --with-debug + make -j8 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing' make all-recursive make[1]: Entering directory `/root/rpmbuild/BUILD/coolkey-1.1.0' Making all in src/libckyapplet make[2]: Entering directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet' make[3]: Entering directory `/root/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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-cky_card.lo `test -f 'cky_card.c' || echo './'`cky_card.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-cky_factory.lo `test -f 'cky_factory.c' || echo './'`cky_factory.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libckyapplet_la-dynlink.lo `test -f 'dynlink.c' || echo './'`dynlink.c mkdir .libs mkdir .libs mkdir .libs mkdir: cannot create directory `.libs': File exists mkdir: cannot create directory `.libs': File exists 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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_card.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_card.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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_applet.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_applet.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_factory.c -fPIC -DPIC -o .libs/libckyapplet_la-cky_factory.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c dynlink.c -fPIC -DPIC -o .libs/libckyapplet_la-dynlink.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c dynlink.c -o libckyapplet_la-dynlink.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_factory.c -o libckyapplet_la-cky_factory.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_base.c -o libckyapplet_la-cky_base.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_card.c -o libckyapplet_la-cky_card.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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c cky_applet.c -o libckyapplet_la-cky_applet.o >/dev/null 2>&1 /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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -o libckyapplet.la -rpath /usr/lib -version-info 1:0:0 -no-undefined libckyapplet_la-cky_applet.lo libckyapplet_la-cky_base.lo libckyapplet_la-cky_card.lo libckyapplet_la-cky_factory.lo libckyapplet_la-dynlink.lo -ldl -lz gcc -shared .libs/libckyapplet_la-cky_applet.o .libs/libckyapplet_la-cky_base.o .libs/libckyapplet_la-cky_card.o .libs/libckyapplet_la-cky_factory.o .libs/libckyapplet_la-dynlink.o -ldl -lz -m32 -march=i686 -mtune=atom -Wl,-soname -Wl,libckyapplet.so.1 -o .libs/libckyapplet.so.1.0.0 (cd .libs && rm -f libckyapplet.so.1 && ln -s libckyapplet.so.1.0.0 libckyapplet.so.1) (cd .libs && rm -f libckyapplet.so && ln -s libckyapplet.so.1.0.0 libckyapplet.so) ar cru .libs/libckyapplet.a libckyapplet_la-cky_applet.o libckyapplet_la-cky_base.o libckyapplet_la-cky_card.o libckyapplet_la-cky_factory.o libckyapplet_la-dynlink.o ranlib .libs/libckyapplet.a creating libckyapplet.la (cd .libs && rm -f libckyapplet.la && ln -s ../libckyapplet.la libckyapplet.la) make[3]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet' make[2]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet' Making all in src/coolkey make[2]: Entering directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey' make[3]: Entering directory `/root/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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-locking.lo `test -f 'locking.cpp' || echo './'`locking.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-log.lo `test -f 'log.cpp' || echo './'`log.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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-PKCS11Exception.lo `test -f 'PKCS11Exception.cpp' || echo './'`PKCS11Exception.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c -o libcoolkeypk11_la-slot.lo `test -f 'slot.cpp' || echo './'`slot.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c coolkey.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c locking.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-locking.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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c object.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-object.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c slot.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-slot.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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c dllmain.cpp -o libcoolkeypk11_la-dllmain.o >/dev/null 2>&1 grep -v ';+' coolkeypk11.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > coolkeypk11.sym coolkey.cpp:37:1: warning: "NULL" redefined In file included from /usr/include/alloca.h:25, from /usr/include/stdlib.h:497, from /usr/lib/gcc/i686-redhat-linux/4.4.6/../../../../include/c++/4.4.6/cstdlib:68, from /usr/lib/gcc/i686-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_algo.h:60, from /usr/lib/gcc/i686-redhat-linux/4.4.6/../../../../include/c++/4.4.6/algorithm:62, from slot.h:27, from coolkey.cpp:33: /usr/lib/gcc/i686-redhat-linux/4.4.6/include/stddef.h:397:1: warning: this is the location of the previous definition machdep.cpp: In static member function 'static SHMem* SHMem::initSegment(const char*, int, bool&)': machdep.cpp:294: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result machdep.cpp: At global scope: machdep.cpp:355: warning: missing braces around initializer for 'char [4]' 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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c PKCS11Exception.cpp -o libcoolkeypk11_la-PKCS11Exception.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c locking.cpp -o libcoolkeypk11_la-locking.o >/dev/null 2>&1 machdep.cpp:356: warning: 'OSLock_attr_init' defined but not used coolkey.cpp: In function 'CK_RV C_Initialize(void*)': coolkey.cpp:238: warning: deprecated conversion from string constant to 'char*' slot.cpp: In member function 'void Slot::makeLabelString(char*, int, const unsigned char*)': slot.cpp:925: warning: comparison with string literal results in unspecified behaviour slot.cpp: At global scope: slot.cpp:972: warning: deprecated conversion from string constant to 'char*' slot.cpp:972: warning: deprecated conversion from string constant to 'char*' slot.cpp:972: warning: deprecated conversion from string constant to 'char*' 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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c log.cpp -o libcoolkeypk11_la-log.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=i686 -mtune=atom -fasynchronous-unwind-tables -g -O2 -fno-strict-aliasing -c machdep.cpp -o libcoolkeypk11_la-machdep.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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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 g++ -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/4.4.6/../../../crti.o /usr/lib/gcc/i686-redhat-linux/4.4.6/crtbeginS.o .libs/libcoolkeypk11_la-coolkey.o .libs/libcoolkeypk11_la-dllmain.o .libs/libcoolkeypk11_la-locking.o .libs/libcoolkeypk11_la-log.o .libs/libcoolkeypk11_la-machdep.o .libs/libcoolkeypk11_la-object.o .libs/libcoolkeypk11_la-PKCS11Exception.o .libs/libcoolkeypk11_la-slot.o -Wl,--rpath -Wl,/root/rpmbuild/BUILD/coolkey-1.1.0/src/libckyapplet/.libs ../../src/libckyapplet/.libs/libckyapplet.so -ldl -lz -L/usr/lib/gcc/i686-redhat-linux/4.4.6 -L/usr/lib/gcc/i686-redhat-linux/4.4.6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/4.4.6/crtendS.o /usr/lib/gcc/i686-redhat-linux/4.4.6/../../../crtn.o -m32 -march=i686 -mtune=atom -Wl,-soname -Wl,libcoolkeypk11.so -Wl,-retain-symbols-file -Wl,coolkeypk11.sym -o .libs/libcoolkeypk11.so ar cru .libs/libcoolkeypk11.a libcoolkeypk11_la-coolkey.o libcoolkeypk11_la-dllmain.o libcoolkeypk11_la-locking.o libcoolkeypk11_la-log.o libcoolkeypk11_la-machdep.o libcoolkeypk11_la-object.o libcoolkeypk11_la-PKCS11Exception.o libcoolkeypk11_la-slot.o ranlib .libs/libcoolkeypk11.a creating libcoolkeypk11.la (cd .libs && rm -f libcoolkeypk11.la && ln -s ../libcoolkeypk11.la libcoolkeypk11.la) make[3]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey' make[2]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0/src/coolkey' Making all in src/install make[2]: Entering directory `/root/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=i686 -mtune=atom -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=i686 -mtune=atom -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=i686 -mtune=atom -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 `/root/rpmbuild/BUILD/coolkey-1.1.0/src/install' make[2]: Entering directory `/root/rpmbuild/BUILD/coolkey-1.1.0' make[2]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0' make[1]: Leaving directory `/root/rpmbuild/BUILD/coolkey-1.1.0' + exit 0 removed `/tmp/tmp.v20f16B1Mu' 6. Zero exit status indicates build of the package without patches is successful. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1738.html |