Bug#1035627: libpcsclite-dev: Multiarch doesn't work for libpcsclite-dev (needed by current wine git)

2023-05-10 Thread Patrick Hibbs
--no-install-recommends does work. I was able to get both i386 and 
x86_64 versions of libpcsclite-dev installed.


Thanks.

On 5/8/23 12:34, Ludovic Rousseau wrote:

Le 08/05/2023 à 13:27, Patrick Hibbs a écrit :

Hello,

Yes, I have. That works for wine's 64bit build, but wine's 32bit 
build will not recognize it.


I just installed a new Debian 11 (stable) system amd64 with multiarch 
for i386.

I have no problem installing libpcsclite-dev for both amd64 and i386.

$ LANG=C dpkg -l libpcsc*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture Description
+++-=---===> 

ii  libpcsclite-dev:amd64 1.9.1-1  amd64    Middleware to 
access a smar>
ii  libpcsclite-dev:i386  1.9.1-1  i386 Middleware to 
access a smar>
ii  libpcsclite1:amd64    1.9.1-1  amd64    Middleware to 
access a smar>
ii  libpcsclite1:i386 1.9.1-1  i386 Middleware to 
access a smar>


I am also able to build a sample PC/SC code for i386 on this system:
$ /usr/bin/i586-linux-gnu-gcc `pkg-config libpcsclite --cflags` 
sample.c  `pkg-config libpcsclite --libs` -o sample


$ file sample
sample: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), 
dynamically linked, interpreter /lib/ld-linux.so.2, 
BuildID[sha1]=435a71bbacb507f1e61c30ca3943da130490796c, for GNU/Linux 
3.2.0, not stripped


$ ldd sample
linux-gate.so.1 (0xf7fa2000)
libpcsclite.so.1 => /lib/i386-linux-gnu/libpcsclite.so.1 (0xf7f83000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d9b000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7d79000)
/lib/ld-linux.so.2 (0xf7fa4000)

I guess the problem is because libpcsclite-dev declares:
Recommends: python3

Use:
$ apt install --no-install-recommends libpcsclite-dev:i386

Bye





Bug#1035627: libpcsclite-dev: Multiarch doesn't work for libpcsclite-dev (needed by current wine git)

2023-05-08 Thread Ludovic Rousseau

Le 08/05/2023 à 13:27, Patrick Hibbs a écrit :

Hello,

Yes, I have. That works for wine's 64bit build, but wine's 32bit build will not 
recognize it.


I just installed a new Debian 11 (stable) system amd64 with multiarch for i386.
I have no problem installing libpcsclite-dev for both amd64 and i386.

$ LANG=C dpkg -l libpcsc*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture Description
+++-=---===>
ii  libpcsclite-dev:amd64 1.9.1-1  amd64Middleware to access a smar>
ii  libpcsclite-dev:i386  1.9.1-1  i386 Middleware to access a smar>
ii  libpcsclite1:amd641.9.1-1  amd64Middleware to access a smar>
ii  libpcsclite1:i386 1.9.1-1  i386 Middleware to access a smar>

I am also able to build a sample PC/SC code for i386 on this system:
$ /usr/bin/i586-linux-gnu-gcc `pkg-config libpcsclite --cflags`sample.c  
`pkg-config libpcsclite --libs` -o sample

$ file sample
sample: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), 
dynamically linked, interpreter /lib/ld-linux.so.2, 
BuildID[sha1]=435a71bbacb507f1e61c30ca3943da130490796c, for GNU/Linux 3.2.0, 
not stripped

$ ldd sample
linux-gate.so.1 (0xf7fa2000)
libpcsclite.so.1 => /lib/i386-linux-gnu/libpcsclite.so.1 (0xf7f83000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d9b000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7d79000)
/lib/ld-linux.so.2 (0xf7fa4000)

I guess the problem is because libpcsclite-dev declares:
Recommends: python3

Use:
$ apt install --no-install-recommends libpcsclite-dev:i386

Bye

--
Dr. Ludovic Rousseau



Bug#1035627: libpcsclite-dev: Multiarch doesn't work for libpcsclite-dev (needed by current wine git)

2023-05-08 Thread Patrick Hibbs

Hello,

Yes, I have. That works for wine's 64bit build, but wine's 32bit build 
will not recognize it.


Have a good Day.

On 5/7/23 09:02, Ludovic Rousseau wrote:

Le 06/05/2023 à 22:58, Patrick Hibbs a écrit :

Package: libpcsclite-dev
Version: 1.9.1-1
Severity: normal
X-Debbugs-Cc: hibbsncc1...@gmail.com

Dear Maintainer,


Hello,

Attempting to install the i386 version of the libpcsclite-dev package 
causes

apt to try and remove most of the installed desktop managers and
python3-minimal on x86_64.
As of this bugreport, Wine's git master branch has a new dependancy 
on this
package for smartcard support. Without multiarch working, smartcard 
support in

32bit wine is disabled.
It would be nice to have this working in Debian.



Have you tried to install libpcsclite-dev for x86_64 instead?
Bye





Bug#1035627: libpcsclite-dev: Multiarch doesn't work for libpcsclite-dev (needed by current wine git)

2023-05-06 Thread Patrick Hibbs
Package: libpcsclite-dev
Version: 1.9.1-1
Severity: normal
X-Debbugs-Cc: hibbsncc1...@gmail.com

Dear Maintainer,

Attempting to install the i386 version of the libpcsclite-dev package causes
apt to try and remove most of the installed desktop managers and
python3-minimal on x86_64.
As of this bugreport, Wine's git master branch has a new dependancy on this
package for smartcard support. Without multiarch working, smartcard support in
32bit wine is disabled.
It would be nice to have this working in Debian.

wine git (222d20a585c454cb591e3dc539f3bd52427ea30c) configure output:
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... yes
checking for the directory containing the Wine tools...
/local_data/BUILDAREA/codebase/wine/wine32-tools
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... bison
checking whether bison is recent enough... yes
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ldconfig... /sbin/ldconfig
checking for msgfmt... msgfmt
checking for pkg-config... pkg-config
checking whether msgfmt supports contexts... yes
checking for i386_set_ldt in -li386... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for CL/cl.h... yes
checking for EGL/egl.h... yes
checking for OpenCL/opencl.h... no
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for asm/types.h... yes
checking for asm/user.h... no
checking for elf.h... yes
checking for float.h... yes
checking for gettext-po.h... yes
checking for libproc.h... no
checking for link.h... yes
checking for linux/cdrom.h... yes
checking for linux/filter.h... yes
checking for linux/hdreg.h... yes
checking for linux/hidraw.h... yes
checking for linux/input.h... yes
checking for linux/ioctl.h... yes
checking for linux/major.h... yes
checking for linux/param.h... yes
checking for linux/serial.h... yes
checking for linux/types.h... yes
checking for linux/ucdrom.h... no
checking for lwp.h... no
checking for mach-o/loader.h... no
checking for mach/mach.h... no
checking for machine/cpu.h... no
checking for machine/sysarch.h... no
checking for mntent.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/tcp.h... yes
checking for netinet/tcp_fsm.h... no
checking for pcap/pcap.h... yes
checking for port.h... no
checking for pthread.h... yes
checking for pwd.h... yes
checking for sched.h... yes
checking for scsi/scsi.h... yes
checking for scsi/scsi_ioctl.h... yes
checking for scsi/sg.h... yes
checking for stdint.h... (cached) yes
checking for sys/attr.h... no
checking for sys/auxv.h... yes
checking for sys/cdio.h... no
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for sys/extattr.h... no
checking for sys/filio.h... no
checking for sys/ipc.h... yes
checking for sys/link.h... no
checking for sys/modem.h... no
checking for sys/mtio.h... yes
checking for sys/param.h... yes
checking for sys/prctl.h... yes
checking for sys/ptrace.h... yes
checking for sys/queue.h... yes
checking for sys/random.h... yes
checking for sys/resource.h... yes
checking for sys/scsiio.h... no
checking for sys/shm.h... yes
checking for sys/signal.h... yes
checking for sys/socketvar.h... yes
checking for sys/sockio.h... no
checking for sys/statvfs.h... yes
checking for sys/strtio.h... no
checking for sys/syscall.h... yes
checking for sys/sysinfo.h... yes
checking for sys/times.h... yes
checking for sys/uio.h... yes
checking for sys/user.h... yes
checking for sys/utsname.h... yes
checking for sys/vnode.h... no
checking for sys/xattr.h... yes
checking for syscall.h... yes
checking for utime.h... yes
checking for valgrind/memcheck.h... yes
checking for valgrind/va