GNU bug report logs

#28261 freeimage uses bundled libraries

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #18 received at 28261@debbugs.gnu.org (full text, mbox, reply):

Received: (at 28261) by debbugs.gnu.org; 22 Apr 2018 06:53:11 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 02:53:11 2018
Received: from localhost ([127.0.0.1]:35388 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1fA8s2-0000zC-Kd
	for submit@debbugs.gnu.org; Sun, 22 Apr 2018 02:53:10 -0400
Received: from flashner.co.il ([178.62.234.194]:46246)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@flashner.co.il>) id 1fA8s1-0000yy-Id
 for 28261@debbugs.gnu.org; Sun, 22 Apr 2018 02:53:10 -0400
Received: from localhost (46-117-130-5.bb.netvision.net.il [46.117.130.5])
 by flashner.co.il (Postfix) with ESMTPSA id A47CF40479;
 Sun, 22 Apr 2018 06:53:03 +0000 (UTC)
Date: Sun, 22 Apr 2018 09:53:02 +0300
From: Efraim Flashner <efraim@flashner.co.il>
To: Ludovic Courtès <ludo@gnu.org>
Subject: Re: libfreeimage has undefined references
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"
Content-Disposition: inline
In-Reply-To: <87lgdkrwl3.fsf@gnu.org>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 28261
Cc: 28261@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
[Message part 1 (text/plain, inline)]
On Thu, Apr 19, 2018 at 12:14:32AM +0200, Ludovic Courtès wrote:
> Hello Efraim,
> 
> It seems that commit a5d4c96b8d90b8bb87e07bd6a7be78991db91bc9 left
> libfreeimage with some undefined references.  For instance, the
> ‘configure’ script of ‘guile-sly’ fails like this:
> 
> --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/libfreeimage.so: undefined reference to `PixelFormatLookup'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppRGB555'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppGray'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat24bppRGB'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFormatConverter_Release'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat8bppGray'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageDecode_Create_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKAllocAligned'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_Create_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat24bppBGR'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormatDontCare'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat96bppRGBFloat'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetGPSInfoMetadata_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFormatConverter_EnumConversions'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat48bppRGB'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKFreeAligned'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormatBlackWhite'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppBGRA'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppRGB'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat64bppRGBA'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKCodecFactory_CreateFormatConverter'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetEXIFMetadata_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetXMPMetadata_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat128bppRGBAFloat'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat32bppGrayFloat'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `PKImageEncode_SetIPTCNAAMetadata_WMP'
> /gnu/store/lsbwqzbl17xvbp4clv2mlxmly2xkz219-freeimage-3.17.0/lib/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppRGB565'
> collect2: error: ld returned 1 exit status
> configure:3913: $? = 1
> --8<---------------cut here---------------end--------------->8---
> 
> Any ideas?
> 
> Thanks,
> Ludo’.

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.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sat Dec 21 16:47:49 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.