* libxml2-devel package: missing dependency libiconv-devel
@ 2019-05-19 12:21 Simon Sobisch
2019-05-19 15:17 ` Yaakov Selkowitz
0 siblings, 1 reply; 2+ messages in thread
From: Simon Sobisch @ 2019-05-19 12:21 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libxml2-devel package: missing dependency libiconv-devel
2019-05-19 12:21 libxml2-devel package: missing dependency libiconv-devel Simon Sobisch
@ 2019-05-19 15:17 ` Yaakov Selkowitz
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2019-05-19 15:17 UTC (permalink / raw)
To: cygwin
On Sun, 2019-05-19 at 14:21 +0200, Simon Sobisch wrote:
> Seen when using a fresh CI environment with only libxml2-devel added by
> cygwin setup on running a configure script:
[snip]
> 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.
Thanks; fixed in git, and soon on sourceware.
--
Yaakov
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-19 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 12:21 libxml2-devel package: missing dependency libiconv-devel Simon Sobisch
2019-05-19 15:17 ` Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).