From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3103 invoked by alias); 31 Oct 2017 23:59:18 -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 3095 invoked by uid 89); 31 Oct 2017 23:59:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, 3.6 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 31 Oct 2017 23:59:16 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7F8B57E425 for ; Tue, 31 Oct 2017 23:59:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7F8B57E425 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz@cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7F8B57E425 Received: from [10.10.125.104] (ovpn-125-104.rdu2.redhat.com [10.10.125.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 28F6260C98 for ; Tue, 31 Oct 2017 23:59:14 +0000 (UTC) Subject: Re: why python3 depends on libintl-devel ? To: cygwin@cygwin.com References: From: Yaakov Selkowitz Message-ID: <56b38fb9-722a-aedd-130a-cab4c9ce336a@cygwin.com> Date: Tue, 31 Oct 2017 23:59:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R8kSaCe5GCKwlwggIg05x4cIK7QHTP21f" X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00385.txt.bz2 --R8kSaCe5GCKwlwggIg05x4cIK7QHTP21f Content-Type: multipart/mixed; boundary="6XG8RXSK0OrOoAGbi0PAopLIPE1lTTnRM"; protected-headers="v1" From: Yaakov Selkowitz To: cygwin@cygwin.com Message-ID: <56b38fb9-722a-aedd-130a-cab4c9ce336a@cygwin.com> Subject: Re: why python3 depends on libintl-devel ? References: In-Reply-To: --6XG8RXSK0OrOoAGbi0PAopLIPE1lTTnRM Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: quoted-printable Content-length: 893 On 2017-10-31 16:10, J=C3=A9r=C3=B4me Bouat wrote: > I noticed that the python3 package depends on the libintl-devel package. Only indirectly. > Why python3 depends on a development package ? ctypes.util.find_library()[1] uses dlltool from binutils to derive the name of the DLL from the given import library name. This might sound odd, but on ELF platforms gcc is also a requirement, as a small program is compiled and linked just in order to figure out the SONAME of a given library name. The binutils package includes both the programs and the (static) libbfd, libiberty, and libopcodes libraries; it is for those that libintl-devel is a dependency of binutils. Perhaps we could consider splitting out these libraries and their headers into a separate package (libbfd-devel?) to avoid this. [1] https://docs.python.org/3.6/library/ctypes.html#finding-shared-libraries --=20 Yaakov --6XG8RXSK0OrOoAGbi0PAopLIPE1lTTnRM-- --R8kSaCe5GCKwlwggIg05x4cIK7QHTP21f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 228 -----BEGIN PGP SIGNATURE----- iHQEARECADQWIQRFYAu5jKh4qpenARn/IK+aZu4flAUCWfkOTxYceXNlbGtvd2l0 ekBjeWd3aW4uY29tAAoJEP8gr5pm7h+UF0MAn12CCjhwdon1r/V4DOfsDlI4K3om AJ9s3QU6Sx2mhHHWQbkmI64rw4o3eg== =5XCa -----END PGP SIGNATURE----- --R8kSaCe5GCKwlwggIg05x4cIK7QHTP21f--