Closed dreirund closed 2 years ago
Can reproduce it, will investigate.
To be able to get a useful build, I deselected all packages that depend in libxml2
and then also deselected libxml2
.
I did make a make dirclean
before doing another make -j4
.
However, libxml
still gets build (and fails)!
Any idea why? And any idea how I coud get it compiling without libxml2
beeing tried to compile (without ignoring errors -- since there might be more errors along the way which I want to capture)?
Here my current .config
: → config.txt
,
grep -i libxml .config
:
# CONFIG_PACKAGE_libxml2-dev is not set
# CONFIG_PHP8_LIBXML is not set
# CONFIG_libstrophe-libxml2 is not set
# CONFIG_PACKAGE_libxml2 is not set
# CONFIG_ARIA2_LIBXML2 is not set
# CONFIG_PACKAGE_libxml2-utils is not set
My build succeeds when I deselect "Compile with full language support", i.e.
# CONFIG_BUILD_NLS is not set
Can you confirm?
Your report is really odd, I cannot explain why libxml2 still gets build when not selected at all. You could try so save your .config and then run a make distclean
- but in theory such a rough method should not be necessary...
@mhei wrote:
My build succeeds when I deselect "Compile with full language support", i.e.
# CONFIG_BUILD_NLS is not set
Can you confirm?
I can confirm that with unsetting CONFIG_BUILD_NLS
libxml
build fine.
So I change the title of this bug report to be more precise and edit my initial post.
@mhei wrote:
Your report is really odd, I cannot explain why libxml2 still gets build when not selected at all. You could try so save your .config and then run a
make distclean
- but in theory such a rough method should not be necessary...
I only did try make dirclean
. When I did try to compile wayland-library (from the "video" feed) explicitly, I observed that it directly wanted to compile libxml, although libxml
is not selected as dependency. I unselected all wayland-stuff but libxml2
still wants to compile. I don't know, could it be that some package depends on it but the make menuconfig
-logic is somehow broken?
Can you still reproduce this with latest 22.03 branch? I checked out a fresh copy and cannot reproduce anymore. Maybe this is fixed with last libxml2 update to 2.10.2?
No reply, closing.
No reply, closing.
Please, not so quick, I am currently not often online and at a powerful computer to check compilation. I would need 2 weeks more to be able to test.
Regards!
Ok, no problem - I just wanted to prevent dangling issues, so your feedback is welcome. Take your time and report here again - you can always reopen.
No reply, closing.
Closing, I lost my build infrastructure and have no capacity right now to re-create one.
Maintainer:
Michael Heimpold <mhei(at)heimpold.de> (According to
package/feeds/packages/libxml2/Makefile
), @mheiEnvironment:
grep ^CONFIG_TARGET .config
:openwrt-22.03
fromgit://git.openwrt.org/openwrt/openwrt.git
,git pull
and./scripts/feeds update -a && ./scripts/feeds update -a
on 2022-07-09, 18:40 UTC,git log -1 origin --format='%H | %aI | %an'
:c29b13cfa09ebb4e81d4c6f65a4d1190316126bc | 2022-07-05T15:27:52+01:00 | Kevin Darbyshire-Bryant
,packages
feed:this598bf7936a0213254dd1fb1493f418099c28d60f | 2022-06-09T15:35:40-07:00 | Rosen Penev
git log
sorting is something I do not understand. Latest action was most probably later.config.txt
.grep -i libxml2 .config
:grep CONFIG_BUILD_NLS .config
:Description:
Compilation of of
libxml2
, when the optionCONFIG_BUILD_NLS
is set, fails for me withSAX.c:22: error: expected identifier or '(' at end of input
in the above setup.When I issue
make -j1 V=sc package/feeds/packages/libxml2/compile
, I get:It was found out that this error disappears when
CONFIG_BUILD_NLS
("Compile with full language support") is unset.