From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122662 invoked by alias); 19 May 2019 12:21:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 122655 invoked by uid 89); 19 May 2019 12:21:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=14477, HContent-Transfer-Encoding:8bit X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 19 May 2019 12:21:25 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSKod-0003LF-44 for cygwin@cygwin.com; Sun, 19 May 2019 08:21:23 -0400 Received: from [2a02:810a:82c0:7eb8:d4ff:35b5:de3a:79f3] (port=53658) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hSKoc-0007hw-M9 for cygwin@cygwin.com; Sun, 19 May 2019 08:21:22 -0400 To: cygwin@cygwin.com From: Simon Sobisch Subject: libxml2-devel package: missing dependency libiconv-devel Openpgp: preference=signencrypt Message-ID: <76293e04-b815-dd76-4c82-562a786588ec@gnu.org> Date: Sun, 19 May 2019 12:21:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-05/txt/msg00174.txt.bz2 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 ^~~~~~~~~ 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