Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595114 - app-crypt/gpgme-1.7.0[python] fails to be built due to swig requirement
Summary: app-crypt/gpgme-1.7.0[python] fails to be built due to swig requirement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-25 17:57 UTC by Nikolaj Šujskij
Modified: 2016-09-25 18:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2016-09-25 17:57:17 UTC
% emerge -pqv gpgme
[ebuild   R   ] app-crypt/gpgme-1.7.0  USE="cxx python%* -common-lisp (-qt5) -static-libs {-test}" PYTHON_TARGETS="python2_7%* python3_4%* (-python3_3)"

Fails with:

 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
Building pyme3 using ../../src/gpgme.h and /usr/include/gpg-error.h.
running build
running build_ext
building 'pyme._gpgme' extension
swigging gpgme.i to gpgme_wrap.c
swig -python -py3 -builtin -threads -outdir pyme -DIN_TREE_BUILD=1 -DHAVE_DATA_H=1 -o gpgme_wrap.c gpgme.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1

I have no 'swig' installed, indeed.  So, it probably should be added to $BDEPEND if USE="python"
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2016-09-25 18:27:30 UTC
Thanks!
Added.