Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 415301

Summary: dev-python/pyscard-1.6.12 missing dependency on dev-lang/swig
Product: Gentoo Linux Reporter: Kristian <kbx>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kristian 2012-05-09 20:51:57 UTC
pyscard fails to build when swig isn't installed.

Reproducible: Always

Steps to Reproduce:
1.emerge -avt pyscard
2.
3.
Actual Results:  
>>> Unpacking source...
>>> Unpacking pyscard-1.6.12.tar.gz to /var/tmp/portage/dev-python/pyscard-1.6.12/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyscard-1.6.12/work
>>> Preparing source in /var/tmp/portage/dev-python/pyscard-1.6.12/work/pyscard-1.6.12 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pyscard-1.6.12/work/pyscard-1.6.12 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pyscard-1.6.12/work/pyscard-1.6.12 ...
 * Building of dev-python/pyscard-1.6.12 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib.linux-x86_64-2.7
creating build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardConnectionEvent.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardType.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/Card.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardMonitoring.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardConnectionDecorator.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ulist.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/guid.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ExclusiveConnectCardConnection.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/AbstractCardRequest.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ATR.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/Observer.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/Synchronization.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardNames.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/PassThruCardService.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardService.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ReaderMonitoring.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/Session.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/System.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/Exceptions.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardConnectionObserver.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardConnection.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/CardRequest.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ExclusiveTransmitCardConnection.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ClassLoader.py -> build-2.7/lib.linux-x86_64-2.7/smartcard
creating build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCExceptions.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCCardRequest.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCReaderGroups.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCReader.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCContext.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCCardConnection.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
copying ./smartcard/pcsc/PCSCPart10.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/pcsc
creating build-2.7/lib.linux-x86_64-2.7/smartcard/reader
copying ./smartcard/reader/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/reader
copying ./smartcard/reader/ReaderGroups.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/reader
copying ./smartcard/reader/ReaderFactory.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/reader
copying ./smartcard/reader/Reader.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/reader
creating build-2.7/lib.linux-x86_64-2.7/smartcard/scard
copying ./smartcard/scard/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/scard
copying ./smartcard/scard/scard.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/scard
creating build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/op21_ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ISO7816_4_SW1ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ISO7816_9ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ISO7816_4ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/SWExceptions.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ISO7816_8ErrorChecker.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
copying ./smartcard/sw/ErrorCheckingChain.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/sw
creating build-2.7/lib.linux-x86_64-2.7/smartcard/util
copying ./smartcard/util/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/util
creating build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/SimpleSCardApp.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/SimpleSCardAppFrame.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/__init__.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/CardAndReaderTreePanel.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/APDUHexValidator.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/APDUTracerPanel.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/SimpleSCardAppEventObserver.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/wx/ReaderToolbar.py -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx
copying ./smartcard/ACKS -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/ChangeLog -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/LICENSE -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/README -> build-2.7/lib.linux-x86_64-2.7/smartcard
copying ./smartcard/TODO -> build-2.7/lib.linux-x86_64-2.7/smartcard
creating build-2.7/lib.linux-x86_64-2.7/smartcard/wx/resources
copying ./smartcard/wx/resources/smartcard.ico -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx/resources
copying ./smartcard/wx/resources/reader.ico -> build-2.7/lib.linux-x86_64-2.7/smartcard/wx/resources
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'smartcard.scard._scard' extension
swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c
swig -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i
unable to execute swig: No such file or directory
error: command 'swig' failed with exit status 1

Expected Results:  
it should have installed

after installing swig manually pyscard compiled and installed.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-21 23:06:47 UTC
Fixed, thanks!