Alle martedì 10 maggio 2011, Ludovic Rousseau ha scritto:
> Le 10/05/11 21:32, Pino Toscano a écrit :
> > Alle martedì 10 maggio 2011, Ludovic Rousseau ha scritto:
> >> Can you send me:
> >> - the output generated by "configure --enable-libusb=no" on hurd
> > 
> > Attached there is the whole log dpkg-buildpackage with my patch
> > applied already. (I replaced the path of the current directory
> > with BASEDIR to make it more readable.)
> > 
> >> - the output of the command "pcscd -v" when generated on hurd
> > 
> > Running it from the build directory of the package:
> > $ src/pcscd -v
> > pcsc-lite version 1.7.2.
> > Copyright (C) 1999-2002 by David Corcoran<corco...@linuxnet.com>.
> > Copyright (C) 2001-2010 by Ludovic
> > Rousseau<ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by
> > Damien Sauveron<sauve...@labri.fr>. Report bugs
> > to<mus...@lists.musclecard.com>.
> > Enabled features: GNU i486-pc-gnu serial usb
> > usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd
> > configdir=/etc/reader.conf.d
> > 
> > If should be run from an installed pcscd, I can do that of course.
> 
> pcscd is then compiled using the (very) old hotplug_linux.c to detect
> USB readers insertion/removal. This system detects USB devices using
> /proc/bus/usb directory. I would be surprised if hurd has a USB layer
> compatible with that.

I see. (Shoudn't that be enabled only on Linux, then?)

>  From [1] I read:
> "The Universal Serial Bus (USB) and all USB devices are NOT
> supported."
> 
> So I don't think we should invest much time in USB support for hurd.
> What you can do instead is to use "./configure --disable-usb" to
> remove the USB support. pcscd will then still have support for
> serial readers.

Right; I updated the porting patch, adding --disable-usb to the 
configure flags.
Given the above, I had to patch src/winscard_svc.c as 
RFWaitForReaderInit() is compiled only if ENABLE_USB is defined, as 
otherwise I would get an undefined reference about that function when 
linking pcscd.

Also, attached there is the new build log, and:
$ src/pcscd -v
pcsc-lite version 1.7.2.
Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>.
Copyright (C) 2001-2010 by Ludovic Rousseau <ludovic.rouss...@free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>.
Report bugs to <mus...@lists.musclecard.com>.
Enabled features: GNU i486-pc-gnu serial 
usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d

-- 
Pino Toscano
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Maintainer: Ludovic Rousseau <rouss...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), flex, autotools-dev, libudev-dev [linux-any], libusb2-dev [!linux-any], pkg-config
+Build-Depends: debhelper (>= 7.0.50~), flex, autotools-dev, libudev-dev [linux-any], libusb2-dev [kfreebsd-any], pkg-config
 Standards-Version: 3.9.1
 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/pcsc-lite/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/pcsc-lite/trunk/
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,13 @@
 #!/usr/bin/make -f
+
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+  EXTRA_CONFIGURE_ARGS += --enable-libusb=no --disable-usb
+endif
+
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS)
+
--- a/src/winscard_svc.c
+++ b/src/winscard_svc.c
@@ -352,8 +352,10 @@
 			{
 				/* nothing to read */
 
+#ifdef USE_USB
 				/* wait until all readers are ready */
 				RFWaitForReaderInit();
+#endif
 
 				/* dump the readers state */
 				ret = MessageSend(readerStates, sizeof(readerStates), filedes);
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package pcsc-lite
dpkg-buildpackage: source version 1.7.2-2
dpkg-buildpackage: source changed by Ludovic Rousseau <rouss...@debian.org>
 dpkg-source --before-build pcsc-lite-1.7.2
dpkg-buildpackage: host architecture hurd-i386
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `BASEDIR'
dh_auto_configure -- --enable-libusb=no --disable-usb
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 build system type... i486-pc-gnu
checking host system type... i486-pc-gnu
checking for gcc... 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 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 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 whether byte ordering is bigendian... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc and cc understand -c and -o together... yes
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 pthread_cancel... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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 the maximum length of command line arguments... -1
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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 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 ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for daemon... yes
checking for flock... yes
checking for getopt_long... yes
checking for nanosleep... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for inline... inline
checking for -fvisibility=hidden... yes
checking for dlopen in -ldl... yes
checking for socket in -lsocket... no
plateform endianess           : little endian

PC/SC lite has been configured with following options:

Version:             1.7.2
System binaries:     /usr/sbin
Configuration dir:   /etc/reader.conf.d


Host:                i486-pc-gnu
Compiler:            gcc
Preprocessor flags:  -I${top_srcdir}/src 
Compiler flags:      -Wall -fno-common -g -O2
Preprocessor flags:  -I${top_srcdir}/src 
Linker flags:        
Libraries:           

PTHREAD_CFLAGS:      -pthread
PTHREAD_LIBS:        
PCSC_ARCH:           GNU

pcscd binary          /usr/sbin/pcscd
libudev support:      no
libusb support:       no
USB drop directory:   /usr/lib/pcsc/drivers
ATR parsing messages: false
ipcdir:               /var/run/pcscd
use serial:           yes
use usb:              no

PCSCLITE_FEATURES:     GNU i486-pc-gnu serial usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d

configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.conf
config.status: creating doc/pcscd.8
config.status: creating doc/reader.conf.5
config.status: creating doc/example/Makefile
config.status: creating src/Makefile
config.status: creating src/libpcsclite.pc
config.status: creating src/pcscd.h
config.status: creating src/PCSC/pcsclite.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory `BASEDIR'
   dh_auto_build
make[1]: Entering directory `BASEDIR'
make  all-recursive
make[2]: Entering directory `BASEDIR'
Making all in m4
make[3]: Entering directory `BASEDIR/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `BASEDIR/m4'
Making all in src
make[3]: Entering directory `BASEDIR/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-debug.lo `test -f 'debug.c' || echo './'`debug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c debug.c  -fPIC -DPIC -o .libs/libpcsclite_la-debug.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-error.lo `test -f 'error.c' || echo './'`error.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c error.c  -fPIC -DPIC -o .libs/libpcsclite_la-error.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-winscard_clnt.lo `test -f 'winscard_clnt.c' || echo './'`winscard_clnt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c winscard_clnt.c  -fPIC -DPIC -o .libs/libpcsclite_la-winscard_clnt.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-simclist.lo `test -f 'simclist.c' || echo './'`simclist.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c simclist.c  -fPIC -DPIC -o .libs/libpcsclite_la-simclist.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-strlcat.lo `test -f 'strlcat.c' || echo './'`strlcat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c strlcat.c  -fPIC -DPIC -o .libs/libpcsclite_la-strlcat.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-strlcpy.lo `test -f 'strlcpy.c' || echo './'`strlcpy.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c strlcpy.c  -fPIC -DPIC -o .libs/libpcsclite_la-strlcpy.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-sys_unix.lo `test -f 'sys_unix.c' || echo './'`sys_unix.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c sys_unix.c  -fPIC -DPIC -o .libs/libpcsclite_la-sys_unix.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-utils.lo `test -f 'utils.c' || echo './'`utils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c utils.c  -fPIC -DPIC -o .libs/libpcsclite_la-utils.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o libpcsclite_la-winscard_msg.lo `test -f 'winscard_msg.c' || echo './'`winscard_msg.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c winscard_msg.c  -fPIC -DPIC -o .libs/libpcsclite_la-winscard_msg.o
/bin/bash ../libtool --tag=CC   --mode=link gcc -Wall -fno-common -g -O2 -pthread -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -version-info 1:0:0  -o libpcsclite.la -rpath /usr/lib libpcsclite_la-debug.lo libpcsclite_la-error.lo libpcsclite_la-winscard_clnt.lo libpcsclite_la-simclist.lo libpcsclite_la-strlcat.lo libpcsclite_la-strlcpy.lo libpcsclite_la-sys_unix.lo libpcsclite_la-utils.lo libpcsclite_la-winscard_msg.lo -pthread  
libtool: link: gcc -shared  .libs/libpcsclite_la-debug.o .libs/libpcsclite_la-error.o .libs/libpcsclite_la-winscard_clnt.o .libs/libpcsclite_la-simclist.o .libs/libpcsclite_la-strlcat.o .libs/libpcsclite_la-strlcpy.o .libs/libpcsclite_la-sys_unix.o .libs/libpcsclite_la-utils.o .libs/libpcsclite_la-winscard_msg.o    -pthread -pthread   -pthread -Wl,-soname -Wl,libpcsclite.so.1 -o .libs/libpcsclite.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libpcsclite.so.1" && ln -s "libpcsclite.so.1.0.0" "libpcsclite.so.1")
libtool: link: (cd ".libs" && rm -f "libpcsclite.so" && ln -s "libpcsclite.so.1.0.0" "libpcsclite.so")
libtool: link: ( cd ".libs" && rm -f "libpcsclite.la" && ln -s "../libpcsclite.la" "libpcsclite.la" )
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src   -Wall -fno-common -g -O2 -c testpcsc.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -Wall -fno-common -g -O2   -o testpcsc testpcsc.o libpcsclite.la 
libtool: link: gcc -Wall -fno-common -g -O2 -o .libs/testpcsc testpcsc.o  ./.libs/libpcsclite.so -pthread
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src   -Wall -fno-common -g -O2 -c pcsc-wirecheck-gen.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -Wall -fno-common -g -O2   -o pcsc-wirecheck-gen pcsc-wirecheck-gen.o  
libtool: link: gcc -Wall -fno-common -g -O2 -o pcsc-wirecheck-gen pcsc-wirecheck-gen.o 
touch pcsc-wirecheck-dist.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src   -Wall -fno-common -g -O2 -c pcsc-wirecheck-dist.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src   -Wall -fno-common -g -O2 -c pcsc-wirecheck-main.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -Wall -fno-common -g -O2   -o pcsc-wirecheck pcsc-wirecheck-dist.o pcsc-wirecheck-main.o  
libtool: link: gcc -Wall -fno-common -g -O2 -o pcsc-wirecheck pcsc-wirecheck-dist.o pcsc-wirecheck-main.o 
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-atrhandler.o `test -f 'atrhandler.c' || echo './'`atrhandler.c
atrhandler.c: In function ‘ATRDecodeAtr’:
atrhandler.c:106:19: warning: variable ‘TCi’ set but not used [-Wunused-but-set-variable]
atrhandler.c:106:14: warning: variable ‘TBi’ set but not used [-Wunused-but-set-variable]
atrhandler.c:48:11: warning: variable ‘TCK’ set but not used [-Wunused-but-set-variable]
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-configfile.o `test -f 'configfile.c' || echo './'`configfile.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-debuglog.o `test -f 'debuglog.c' || echo './'`debuglog.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-dyn_hpux.o `test -f 'dyn_hpux.c' || echo './'`dyn_hpux.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-dyn_macosx.o `test -f 'dyn_macosx.c' || echo './'`dyn_macosx.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-dyn_unix.o `test -f 'dyn_unix.c' || echo './'`dyn_unix.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-eventhandler.o `test -f 'eventhandler.c' || echo './'`eventhandler.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-hotplug_generic.o `test -f 'hotplug_generic.c' || echo './'`hotplug_generic.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-ifdwrapper.o `test -f 'ifdwrapper.c' || echo './'`ifdwrapper.c
ifdwrapper.c: In function ‘IFDSetPTS’:
ifdwrapper.c:50:8: warning: variable ‘ucValue’ set but not used [-Wunused-but-set-variable]
ifdwrapper.c: In function ‘IFDPowerICC’:
ifdwrapper.c:252:8: warning: variable ‘ucValue’ set but not used [-Wunused-but-set-variable]
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-pcscdaemon.o `test -f 'pcscdaemon.c' || echo './'`pcscdaemon.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-powermgt_generic.o `test -f 'powermgt_generic.c' || echo './'`powermgt_generic.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-prothandler.o `test -f 'prothandler.c' || echo './'`prothandler.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-readerfactory.o `test -f 'readerfactory.c' || echo './'`readerfactory.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-simclist.o `test -f 'simclist.c' || echo './'`simclist.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-strlcat.o `test -f 'strlcat.c' || echo './'`strlcat.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-strlcpy.o `test -f 'strlcpy.c' || echo './'`strlcpy.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-sys_unix.o `test -f 'sys_unix.c' || echo './'`sys_unix.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-utils.o `test -f 'utils.c' || echo './'`utils.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-winscard.o `test -f 'winscard.c' || echo './'`winscard.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-winscard_msg.o `test -f 'winscard_msg.c' || echo './'`winscard_msg.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-winscard_msg_srv.o `test -f 'winscard_msg_srv.c' || echo './'`winscard_msg_srv.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC -fvisibility=hidden -I../src  -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -c -o pcscd-winscard_svc.o `test -f 'winscard_svc.c' || echo './'`winscard_svc.c
/bin/bash ../libtool --tag=CC   --mode=link gcc -Wall -fno-common -g -O2 -pthread   -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2  -export-dynamic  -o pcscd pcscd-atrhandler.o pcscd-configfile.o pcscd-debuglog.o pcscd-dyn_hpux.o pcscd-dyn_macosx.o pcscd-dyn_unix.o pcscd-eventhandler.o pcscd-hotplug_generic.o pcscd-ifdwrapper.o pcscd-pcscdaemon.o pcscd-powermgt_generic.o pcscd-prothandler.o pcscd-readerfactory.o pcscd-simclist.o pcscd-strlcat.o pcscd-strlcpy.o pcscd-sys_unix.o  pcscd-utils.o pcscd-winscard.o pcscd-winscard_msg.o pcscd-winscard_msg_srv.o pcscd-winscard_svc.o    -ldl    -pthread 
libtool: link: gcc -Wall -fno-common -g -O2 -pthread -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -o pcscd pcscd-atrhandler.o pcscd-configfile.o pcscd-debuglog.o pcscd-dyn_hpux.o pcscd-dyn_macosx.o pcscd-dyn_unix.o pcscd-eventhandler.o pcscd-hotplug_generic.o pcscd-ifdwrapper.o pcscd-pcscdaemon.o pcscd-powermgt_generic.o pcscd-prothandler.o pcscd-readerfactory.o pcscd-simclist.o pcscd-strlcat.o pcscd-strlcpy.o pcscd-sys_unix.o pcscd-utils.o pcscd-winscard.o pcscd-winscard_msg.o pcscd-winscard_msg_srv.o pcscd-winscard_svc.o -pthread -Wl,--export-dynamic  -ldl -pthread
make[3]: Leaving directory `BASEDIR/src'
Making all in doc
make[3]: Entering directory `BASEDIR/doc'
Making all in .
make[4]: Entering directory `BASEDIR/doc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `BASEDIR/doc'
Making all in example
make[4]: Entering directory `BASEDIR/doc/example'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../src  -I../../src/PCSC -I../../src/PCSC -Wall -fno-common -g -O2 -c -o pcsc_demo-pcsc_demo.o `test -f 'pcsc_demo.c' || echo './'`pcsc_demo.c
/bin/bash ../../libtool --tag=CC   --mode=link gcc -I../../src/PCSC -I../../src/PCSC -Wall -fno-common -g -O2   -o pcsc_demo pcsc_demo-pcsc_demo.o ../../src/libpcsclite.la 
libtool: link: gcc -I../../src/PCSC -I../../src/PCSC -Wall -fno-common -g -O2 -o .libs/pcsc_demo pcsc_demo-pcsc_demo.o  ../../src/.libs/libpcsclite.so -pthread
make[4]: Leaving directory `BASEDIR/doc/example'
make[3]: Leaving directory `BASEDIR/doc'
make[3]: Entering directory `BASEDIR'
make[3]: Leaving directory `BASEDIR'
make[2]: Leaving directory `BASEDIR'
make[1]: Leaving directory `BASEDIR'
   dh_auto_test
make[1]: Entering directory `BASEDIR'
Making check in m4
make[2]: Entering directory `BASEDIR/m4'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `BASEDIR/m4'
Making check in src
make[2]: Entering directory `BASEDIR/src'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `BASEDIR/src'
Making check in doc
make[2]: Entering directory `BASEDIR/doc'
Making check in .
make[3]: Entering directory `BASEDIR/doc'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `BASEDIR/doc'
Making check in example
make[3]: Entering directory `BASEDIR/doc/example'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `BASEDIR/doc/example'
make[2]: Leaving directory `BASEDIR/doc'
make[2]: Entering directory `BASEDIR'
make[2]: Leaving directory `BASEDIR'
make[1]: Leaving directory `BASEDIR'
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
make[1]: Entering directory `BASEDIR'
Making install in m4
make[2]: Entering directory `BASEDIR/m4'
make[3]: Entering directory `BASEDIR/m4'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `BASEDIR/m4'
make[2]: Leaving directory `BASEDIR/m4'
Making install in src
make[2]: Entering directory `BASEDIR/src'
make[3]: Entering directory `BASEDIR/src'
test -z "/usr/lib" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/lib"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libpcsclite.la 'BASEDIR/debian/tmp/usr/lib'
libtool: install: /usr/bin/install -c .libs/libpcsclite.so.1.0.0 BASEDIR/debian/tmp/usr/lib/libpcsclite.so.1.0.0
libtool: install: (cd BASEDIR/debian/tmp/usr/lib && { ln -s -f libpcsclite.so.1.0.0 libpcsclite.so.1 || { rm -f libpcsclite.so.1 && ln -s libpcsclite.so.1.0.0 libpcsclite.so.1; }; })
libtool: install: (cd BASEDIR/debian/tmp/usr/lib && { ln -s -f libpcsclite.so.1.0.0 libpcsclite.so || { rm -f libpcsclite.so && ln -s libpcsclite.so.1.0.0 libpcsclite.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcsclite.lai BASEDIR/debian/tmp/usr/lib/libpcsclite.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/sbin" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/sbin"
  /bin/bash ../libtool   --mode=install /usr/bin/install -c pcscd 'BASEDIR/debian/tmp/usr/sbin'
libtool: install: /usr/bin/install -c pcscd BASEDIR/debian/tmp/usr/sbin/pcscd
test -z "/usr/include" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/include"
/bin/mkdir -p 'BASEDIR/debian/tmp/usr/include/PCSC'
 /usr/bin/install -c -m 644  PCSC/debuglog.h PCSC/ifdhandler.h PCSC/reader.h PCSC/winscard.h PCSC/wintypes.h 'BASEDIR/debian/tmp/usr/include/PCSC'
test -z "/usr/include/PCSC" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/include/PCSC"
 /usr/bin/install -c -m 644 PCSC/pcsclite.h 'BASEDIR/debian/tmp/usr/include/PCSC'
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/lib/pkgconfig"
 /usr/bin/install -c -m 644 libpcsclite.pc 'BASEDIR/debian/tmp/usr/lib/pkgconfig'
make[3]: Leaving directory `BASEDIR/src'
make[2]: Leaving directory `BASEDIR/src'
Making install in doc
make[2]: Entering directory `BASEDIR/doc'
Making install in .
make[3]: Entering directory `BASEDIR/doc'
make[4]: Entering directory `BASEDIR/doc'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/pcsc-lite" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/share/doc/pcsc-lite"
 /usr/bin/install -c -m 644 README.DAEMON 'BASEDIR/debian/tmp/usr/share/doc/pcsc-lite'
test -z "/usr/share/man/man5" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/share/man/man5"
 /usr/bin/install -c -m 644 reader.conf.5 'BASEDIR/debian/tmp/usr/share/man/man5'
test -z "/usr/share/man/man8" || /bin/mkdir -p "BASEDIR/debian/tmp/usr/share/man/man8"
 /usr/bin/install -c -m 644 pcscd.8 'BASEDIR/debian/tmp/usr/share/man/man8'
make[4]: Leaving directory `BASEDIR/doc'
make[3]: Leaving directory `BASEDIR/doc'
Making install in example
make[3]: Entering directory `BASEDIR/doc/example'
make[4]: Entering directory `BASEDIR/doc/example'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `BASEDIR/doc/example'
make[3]: Leaving directory `BASEDIR/doc/example'
make[2]: Leaving directory `BASEDIR/doc'
make[2]: Entering directory `BASEDIR'
make[3]: Entering directory `BASEDIR'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `BASEDIR'
make[2]: Leaving directory `BASEDIR'
make[1]: Leaving directory `BASEDIR'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_installcatalogs
   dh_installcron
   dh_installdebconf
   dh_installemacsen
   dh_installifupdown
   dh_installinfo
   dh_pysupport
   dh_installinit
   dh_installmenu
   dh_installmime
   dh_installmodules
   dh_installlogcheck
   dh_installlogrotate
   dh_installpam
   dh_installppp
   dh_installudev
   dh_installwm
   dh_installxfonts
   dh_installgsettings
   dh_bugfiles
   dh_ucf
   dh_lintian
   dh_gconf
   dh_icons
   dh_perl
   dh_usrlocal
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package `pcscd' in `../pcscd_1.7.2-2_hurd-i386.deb'.
dpkg-deb: building package `libpcsclite-dev' in `../libpcsclite-dev_1.7.2-2_hurd-i386.deb'.
dpkg-deb: building package `libpcsclite1' in `../libpcsclite1_1.7.2-2_hurd-i386.deb'.
 dpkg-genchanges  >../pcsc-lite_1.7.2-2_hurd-i386.changes
dpkg-genchanges: not including original source code in upload
 dpkg-source --after-build pcsc-lite-1.7.2
dpkg-buildpackage: binary and diff upload (original source NOT included)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to