From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#28261: libfreeimage has undefined references Date: Sun, 22 Apr 2018 09:53:02 +0300 Message-ID: <20180422065302.GK30951@macbook41> References: <87lgdkrwl3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YZQs1kEQY307C4ut" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fA8sw-0001iu-86 for bug-guix@gnu.org; Sun, 22 Apr 2018 02:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fA8ss-0000Vo-An for bug-guix@gnu.org; Sun, 22 Apr 2018 02:54:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fA8ss-0000Vc-7L for bug-guix@gnu.org; Sun, 22 Apr 2018 02:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fA8ss-00010S-0Z for bug-guix@gnu.org; Sun, 22 Apr 2018 02:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87lgdkrwl3.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28261@debbugs.gnu.org --YZQs1kEQY307C4ut Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 19, 2018 at 12:14:32AM +0200, Ludovic Court=C3=A8s wrote: > Hello Efraim, >=20 > It seems that commit a5d4c96b8d90b8bb87e07bd6a7be78991db91bc9 left > libfreeimage with some undefined references. For instance, the > =E2=80=98configure=E2=80=99 script of =E2=80=98guile-sly=E2=80=99 fails l= ike this: >=20 > --8<---------------cut here---------------start------------->8--- > configure:3888: checking for FreeImage_GetVersion in -lfreeimage > configure:3913: gcc -o conftest -g -O2 conftest.c -lfreeimage >&5 > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PixelFormatLookup' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat16bppRGB555' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat16bppGray' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat24bppRGB' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKFormatConverter_Release' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat8bppGray' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageDecode_Create_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKAllocAligned' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageEncode_Create_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat24bppBGR' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormatDontCare' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat96bppRGBFloat' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageEncode_SetGPSInfoMetadata_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKFormatConverter_EnumConversions' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat48bppRGB' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKFreeAligned' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormatBlackWhite' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat32bppBGRA' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat32bppRGB' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat64bppRGBA' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKCodecFactory_CreateFormatConverter' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageEncode_SetEXIFMetadata_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageEncode_SetXMPMetadata_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat128bppRGBAFloat' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat32bppGrayFloat' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `PKImageEncode_SetIPTCNAAMetadata_WMP' > /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreei= mage.so: undefined reference to `GUID_PKPixelFormat16bppRGB565' > collect2: error: ld returned 1 exit status > configure:3913: $? =3D 1 > --8<---------------cut here---------------end--------------->8--- >=20 > Any ideas? >=20 > Thanks, > Ludo=E2=80=99. Interestingly guile-sly on aarch64 doesn't find freeimage at all. In any case, the same issue happens with emulation-station, and from this not-related-at-all bug https://github.com/openframeworks/openFrameworks/issues/4993 it looks like they're all related to libjxr. `guix gc --references $(guix build --no-grafts freeimage)' doesn't list libjxr, and adding it as a propagated input doesn't magically fix it. libjxr seems to be abandoned upstream. The easiest option might be to use the bundled libjxr but I'm still looking at it. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --YZQs1kEQY307C4ut Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlrcMUsACgkQQarn3Mo9 g1GNOw/+KvGDE9GzAU4SOoWpL/STqNgJ1mDtNhdZx5QNtZ/rGeWxcUlQtakuoHWr C7qRDaa+TCQ0mRM9J5oZkUfb76QY5q5CXCwN0+3Fa/WQzmoUVXVv7+bq0IlC4HSX uuxyAM8dwcLTT4wEDwyX9ITLHKSBj3LZzTb5BA5ocjLuh4CjiqkLgEjxsFhaLHpR Re7mOg+hC2itjWa64UOT9bFfEsRizl6ZDgB5a2aohOL2Q6kya1lxyOYoJckxsO8G BpOotz4Nm8Zs27HJ9CXALw3h10YAr+BJrEEwJ72rhWXHzL0xtnVkcT+eOlJKGEGo 8QKk7eXhzMTn7nga5KWaiwrv32gDH09Zx3nm4NVIWCRBp1cWoFZqY3Od0DimocBN NkDA3FOGBrFWbvbz7IopbT2J5YKAaO6J4mV45VcWRMq9kaVx900s6yVpZIWVJrrI q7Sl/omauHefFd+BtWen6uLuVXbUMfUREMK6AgIFtQ/nP1jzweBHeobeH620rg6d gYtt1aUSzI3JawYrKqsuswsOt4dGL9IMWrZcmPpDX81r6Cb9Yh1Yymv90ilG0SCR 4qRZCXMXoBUrkzft1edMSPdPS/cXesq9XegS+fZ2EzCaJK7qbt+trEIbc5Eftp4W RigXypOyF9CHvUkx6YdtJsuuQR7MgeUgx4zBs4zS7aPWNAYytaM= =o/Qg -----END PGP SIGNATURE----- --YZQs1kEQY307C4ut--