| Summary: | dev-libs/libxml2-2.9.4 ABI_X86=32 USE=-lzma - .../work/libxml2-2.9.4/xmlIO.c:1454:52: error: ‘LZMA_OK’ undeclared (first use in this function) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jonathan Lovelace <kingjon3377> |
| Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | InVCS |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Jonathan Lovelace
2017-01-01 00:49:25 UTC
I have just checked that libxml2-2.9.4 builds fine with USE=lzma, once xz-utils is built for both ABIs, but USE=-lzma continues to error out with "error: ‘LZMA_OK’ undeclared" The code guarding feature activation looks ok. Could you attach the include/libxml/xmlversion.h from your build directory ? it should not contain the line #define LIBXML_LZMA_ENABLED. According to your report here is what I did to reproduce the problem: # ABI_X86="64" emerge --nodeps =xz-utils-5.2.3 # ABI_X86="64 32" USE="-lzma" FEATURES="ccache" emerge -1 libxml2 # ABI_X86="64 32" USE="lzma" FEATURES="ccache" emerge -1 libxml2 The two first builds went through just fine. The third triggered a rebuild of xz-utils to enable abi_x86_32 as expressed by the dependency in RDEPEND. However looking closely at the ebuild revealed a typo that DEPEND does not correctly inherit RDEPEND so this is probably the root of the problem here. commit ce23f389d7d3bdbf3e7b23d493674484bdad60cf
Date: Wed Aug 30 09:32:30 2017 +0200
dev-libs/libxml2: fix DEPEND issue preventing build, bug #604292
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Thanks for reporting.
|