delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/19/08:21:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=GQf
93bVXcoMN9wyrdA+T0YBVrk9opYtSlwDjGPhN/cx/Ai+SEph8yvpjyvehGnMN1kh
QG/IO45Vp9V3f2QCdvJXkq7GUeAfrGDinNEqOZvopiNN1Uyw7tuIsuDVKSWwL9qM
Ot0A+uJmNX7qOufAAyrLjXNZST96cf0U8Du3HrNI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=R+lUIRNdP
2LCzJfGGAfrYs5Ouh8=; b=rT355sgT9TUw6Kpyg77z8qwQMjUgXShKpmDSP5nY/
9Ibbf2Ox2Pdyz3P5cKtph6enlaFITbQEPP6vyJy7PCVbSyE4eSof6C5MC2LeXCGY
u3N+srm+tnyrcZEpqP+O4wj17599zGycCrkqGXifSbiRQjKiOkqcEd4TEH0nVoFB
X0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
To: cygwin AT cygwin DOT com
From: Simon Sobisch <simonsobisch AT gnu DOT org>
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 14:21:18 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019