This is the mail archive of the
cygwin
mailing list for the Cygwin project.
libxml2-devel package: missing dependency libiconv-devel
- From: Simon Sobisch <simonsobisch at gnu dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 19 May 2019 14:21:18 +0200
- Subject: libxml2-devel package: missing dependency libiconv-devel
Seen when using a fresh CI environment with only libxml2-devel added by
cygwin setup on running a configure script:
configure:14477: checking for pkg-config
configure:14495: found /usr/bin/pkg-config
configure:14507: result: /usr/bin/pkg-config
configure:14532: checking pkg-config is at least version 0.9.0
configure:14535: result: yes
configure:14833: checking for libxml-2.0
configure:14840: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:14843: $? = 0
configure:14857: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:14860: $? = 0
configure:14992: result: yes
configure:15007: checking libxml/xmlversion.h usability
configure:15007: gcc -c -O2 -I/usr/include/libxml2 conftest.c >&5
configure:15007: $? = 0
configure:15007: result: yes
configure:15007: checking libxml/xmlversion.h presence
configure:15007: gcc -E -I/usr/include/libxml2 conftest.c
configure:15007: $? = 0
configure:15007: result: yes
configure:15007: checking for libxml/xmlversion.h
configure:15007: result: yes
configure:15013: checking for LIBXML_WRITER_ENABLED defined in
libxml/xmlwriter.h
configure:15036: gcc -c -O2 -I/usr/include/libxml2 conftest.c >&5
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/xmlIO.h:117,
from /usr/include/libxml2/libxml/xmlwriter.h:18,
from conftest.c:69:
/usr/include/libxml2/libxml/encoding.h:28:10: fatal error: iconv.h: No
such file or directory
#include <iconv.h>
^~~~~~~~~
As libxml2-devel provides a header that has a hard dependency on iconv.h
it should also include a dependency libiconv-devel in its "requires"
attribute of the package-version-release.hint (I did not found the
actual hint file when looking at the package list[1]) and likely also
include the necessary options in the shipped pkg-config file.
1: https://cygwin.com/packages/package_list.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple