Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658680 - dev-python/lxml-4.2.0 should DEPEND on virtual/pkgconfig: ERROR: /bin/sh: 1: pkg-config: not found, src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
Summary: dev-python/lxml-4.2.0 should DEPEND on virtual/pkgconfig: ERROR: /bin/sh: 1: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-21 18:57 UTC by Alex Xu (Hello71)
Modified: 2018-06-26 03:39 UTC (History)
0 users

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 Alex Xu (Hello71) 2018-06-21 18:57:27 UTC
* python2_7: running distutils-r1_run_phase python_compile
python2.7 setup.py build
Building lxml version 4.2.0.
Building without Cython.
ERROR: /bin/sh: 1: pkg-config: not found

** make sure the development packages of libxml2 and libxslt are installed **

running build
[ ... ]
In file included from src/lxml/etree.c:660:
src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
 #include "libxml/xmlversion.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compile failed: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
[ ... ]
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * ERROR: dev-python/lxml-4.2.0::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Larry the Git Cow gentoo-dev 2018-06-26 03:39:23 UTC
The bug has been closed via the following commit(s):

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

commit fb118eae367f2bd9d4951c574c859bbd99a76929
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2018-06-26 03:35:51 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2018-06-26 03:38:33 +0000

    dev-python/lxml: version bump to 4.2.2
    
    Closes: https://bugs.gentoo.org/658680

 dev-python/lxml/Manifest          |  1 +
 dev-python/lxml/lxml-4.2.2.ebuild | 73 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)