Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832593 - sys-apps/pcsc-lite-1.9.5: fails to build (pcscdaemon.c:(.text+0x429): undefined reference to `HPReCheckSerialReaders'))
Summary: sys-apps/pcsc-lite-1.9.5: fails to build (pcscdaemon.c:(.text+0x429): undefin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-02-02 21:11 UTC by Deep Red
Modified: 2022-02-03 07:07 UTC (History)
3 users (show)

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


Attachments
build log (build.log,50.98 KB, text/x-log)
2022-02-02 21:15 UTC, Deep Red
Details
emerge --info (info.log,35 bytes, text/x-log)
2022-02-02 21:15 UTC, Deep Red
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deep Red 2022-02-02 21:11:44 UTC
log:

Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/pcsc-lite
2.
3.
Actual Results:  
failed installation

Expected Results:  
successful installation

emerge --info
Comment 1 Deep Red 2022-02-02 21:15:19 UTC
Created attachment 764239 [details]
build log

Build log
Comment 2 Deep Red 2022-02-02 21:15:55 UTC
Created attachment 764240 [details]
emerge --info
Comment 3 Deep Red 2022-02-02 21:18:20 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -Wall -fno-common -march=native -O2 -pipe -pthread -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o pcscd pcscd-auth.o 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-prothandler.o pcscd-readerfactory.o pcscd-simclist.o pcscd-sys_unix.o pcscd-tokenparser.o pcscd-hotplug_libudev.o pcscd-hotplug_libusb.o pcscd-hotplug_macosx.o pcscd-utils.o pcscd-winscard.o pcscd-winscard_msg.o pcscd-winscard_msg_srv.o pcscd-winscard_svc.o -pthread -Wl,--export-dynamic  -lpthread -lrt -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: pcscd-pcscdaemon.o: in function `signal_thread':
pcscdaemon.c:(.text+0x429): undefined reference to `HPReCheckSerialReaders'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: pcscd-pcscdaemon.o: in function `.L72':
pcscdaemon.c:(.text.startup+0x8d8): undefined reference to `HPSearchHotPluggables'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: pcscdaemon.c:(.text.startup+0x8dd): undefined reference to `HPRegisterForHotplugEvents'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: pcscdaemon.c:(.text.startup+0xa7a): undefined reference to `HPStopHotPluggables'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:753: pcscd] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-apps/pcsc-lite-1.9.5/work/pcsc-lite-1.9.5-abi_x86_32.x86/src'
make[2]: *** [Makefile:1295: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-apps/pcsc-lite-1.9.5/work/pcsc-lite-1.9.5-abi_x86_32.x86/src'
make[1]: *** [Makefile:445: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/pcsc-lite-1.9.5/work/pcsc-lite-1.9.5-abi_x86_32.x86'
make: *** [Makefile:375: all] Error 2
Comment 5 Deep Red 2022-02-02 23:02:56 UTC
Fixed. 

Thanks a lot!
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-02 23:30:38 UTC
(In reply to PaX Team from comment #4)
> the fix:
> https://lore.kernel.org/all/0e655139-ec36-0fcb-4f39-66565bb92809@mind.be/T/

Thanks!

(In reply to Deep Red from comment #5)
> Fixed. 
> 
> Thanks a lot!

It still needs to be pulled in to Gentoo.
Comment 7 Larry the Git Cow gentoo-dev 2022-02-03 07:07:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80805d85ad317c4c9e484b68272552f6aedfc8d9

commit 80805d85ad317c4c9e484b68272552f6aedfc8d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-03 07:07:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-03 07:07:39 +0000

    sys-apps/pcsc-lite: fix build without udev/libusb
    
    Closes: https://bugs.gentoo.org/832593
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/pcsc-lite-1.9.5-no-libusb-udev.patch     | 29 ++++++++++++++++++++++
 sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild          |  1 +
 2 files changed, 30 insertions(+)