Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528996 - sys-apps/pcsc-lite-1.8.13-r1: Multiple problems in multilib support
Summary: sys-apps/pcsc-lite-1.8.13-r1: Multiple problems in multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 01:47 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2014-11-12 18:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pcsc-lite.patch (pcsc-lite.patch,1.24 KB, patch)
2014-11-12 01:58 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2014-11-12 01:47:01 UTC
On amd64 with ABI_X86="32 64":

1. Ebuild passes --enable-usbdropdir=/usr/lib64/readers/usb on all ABIs.
2. Building with USE="policykit" fails always, because ebuild passes --enable-polkit on all ABIs:

checking for POLKIT... no
configure: error: 
***
*** polkit >= 0.111 was not found. Access control will be disabled.
*** You may get it from http://www.freedesktop.org/software/polkit/
***

 * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase):
 *   econf failed


3. Building with USE="udev -libusb" fails when 32-bit udev libraries are not installed, because ebuild passes --enable-libudev on all ABIs:

checking for LIBUDEV... yes
checking libudev.h usability... yes
checking libudev.h presence... yes
checking for libudev.h... yes
checking for udev_monitor_unref... configure: error: udev_monitor_unref not found, use ./configure LIBUDEV_LIBS=...

 * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase):
 *   econf failed


4. Building with USE="libusb -udev" fails when 32-bit libusb libraries are not installed, because ebuild passes --enable-libusb on all ABIs:

checking for LIBUSB... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...

 * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase):
 *   econf failed
Comment 1 Arfrever Frehtes Taifersar Arahesis 2014-11-12 01:58:37 UTC
Created attachment 389154 [details, diff]
pcsc-lite.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2014-11-12 06:14:14 UTC
1. should be irrelevant as the usbdropdir is used by the daemon which is only supposed to be built for the main ABIs.

2/3/4. I was afraid of something like those, thanks for the pointer on the right function to use.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2014-11-12 06:59:36 UTC
Changes made in r1.3 of pcsc-lite-1.8.13-r1.ebuild are insufficient.
Try:
ABI_X86="32 64" MAKEOPTS="" USE="policykit" ebuild pcsc-lite-1.8.13-r1.ebuild install
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2014-11-12 18:10:59 UTC
Okay now it works for real :)