GNU bug report logs - #36951
guile-sly will not build

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Jesse Gibbons <jgibbons2357@HIDDEN>; dated Wed, 7 Aug 2019 04:21:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Aug 2019 04:21:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 00:21:01 2019
Received: from localhost ([127.0.0.1]:38020 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvDRc-0001hQ-Rf
	for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 00:21:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:35606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgibbons2357@HIDDEN>) id 1hvDRa-0001hG-Iy
 for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 00:20:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35621)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <jgibbons2357@HIDDEN>) id 1hvDRZ-0005UU-94
 for bug-guix@HIDDEN; Wed, 07 Aug 2019 00:20:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jgibbons2357@HIDDEN>) id 1hvDRY-0007yR-67
 for bug-guix@HIDDEN; Wed, 07 Aug 2019 00:20:57 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:46299)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <jgibbons2357@HIDDEN>)
 id 1hvDRX-0007xo-UF
 for bug-guix@HIDDEN; Wed, 07 Aug 2019 00:20:56 -0400
Received: by mail-pl1-x636.google.com with SMTP id c2so38724228plz.13
 for <bug-guix@HIDDEN>; Tue, 06 Aug 2019 21:20:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=message-id:subject:from:to:date:mime-version
 :content-transfer-encoding;
 bh=z0S9l0E/oNz3ceC8zJYdmJ928IMAVT9MMQ8x2RglFik=;
 b=DuaSUGHa6uH1jBB7mhVeu1YN7E/ciVfegE/j5tW3Q5zx/T9tE8PtbW4AIxlkxnN5qV
 tRUqskY5EoNaS59nsLgObNBXc39o2J91YCOLrB4YU9IUrArnSuP5A5p57aOGemGwbpAI
 lURiSH1gCDTOGpgQQY/Py9KZ3wob3UYTWHSQP4xj2CgRinupoI8cvq7OB7UAt/RX+Wwd
 Ejt+04peT3Dd8aF4n+4jgMtjVXcAlVMf+ZsrZBJ3re0Zf5pagXpNKDECDu6tiCAT79nu
 vaNkXBcPdRRTVDDx4PEjzOwWLGMwh+1Rd+apd9S+upLbBvXsa62qIlAcGjOpj50LCRqk
 qclw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:date:mime-version
 :content-transfer-encoding;
 bh=z0S9l0E/oNz3ceC8zJYdmJ928IMAVT9MMQ8x2RglFik=;
 b=MSwT+Upt/UEa60Jq+WgbhyTC2Men3IGXw06Eixj/sS9Vm8RchoMJNiYYjVxNHoRyoS
 RpYCqr6cGEETeHBqzzsL7avwNIi+CC3fpLY3wyzUNOdE37hHGz80aLi331hOmSivTiwC
 KM7kh1AorZKEYGk8ZDLOktF8otg1ik5OV49qiBJLbO075/8pxgKI9tLWru4mxLg2mNp3
 1LOW0RpT59Kz3MJTpdmW8mdWZzuLOWghJN58+U+SWvaG/xAAP7h7etBcPGcLs8SjZAXt
 /GoaS822i/h69LwNOlapxfQe2K9l555nfD71Eh/T4MjvzyZmIRxFOaRyAptDYnNDx+HF
 Fp7w==
X-Gm-Message-State: APjAAAUxunJ2URhl4kMjaU0VVODUlNG2X35e7qAbvgL5yw6+RvmBHzcg
 6Vo0UTP8FYdkXY5AcaUgQYf9ddf+Yrw=
X-Google-Smtp-Source: APXvYqzXTJIxrnkKs+3WVwrLDDGEHDQdqjTv+XPCoFInv1dm5PdYolNEphTU+JkSqboMhUbKnFyHiw==
X-Received: by 2002:a17:902:6b86:: with SMTP id
 p6mr6528617plk.14.1565151653889; 
 Tue, 06 Aug 2019 21:20:53 -0700 (PDT)
Received: from piranhaplant.local ([199.68.53.171])
 by smtp.googlemail.com with ESMTPSA id
 bo20sm18580712pjb.23.2019.08.06.21.20.51 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Tue, 06 Aug 2019 21:20:53 -0700 (PDT)
Message-ID: <62c23d2b715b64697b1e928fb754f26a5b778831.camel@HIDDEN>
Subject: guile-sly will not build
From: Jesse Gibbons <jgibbons2357@HIDDEN>
To: bug-guix mailing list <bug-guix@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Date: Tue, 06 Aug 2019 22:20:48 -0600
Mime-Version: 1.0
X-Mailer: Evolution 3.28.1 
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::636
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

When I try `guix build guile-sly` it gives the error "configure: error:
freeimage not found."

When I try to manually build guile-sly, I get additional information:
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to `PerfTimerStart'
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to
`PerfTimerCopyStartTime'
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to
`PerfTimerGetResults'
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to `PerfTimerStop'
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to `PerfTimerDelete'
ld: /gnu/store/86mrl4m1i90wirwzxrri7xybk5nki7hc-
profile/lib/libfreeimage.so: undefined reference to `PerfTimerNew'
collect2: error: ld returned 1 exit status


I looked into freeimage. The missing function reference should be
defined in the libjxr bundled with freeimage.

Some related history:
- commit a5d4c96b8d90b8bb87e07bd6a7be78991db91bc9 (http://git.savannah.
gnu.org/cgit/guix.git/commit/gnu/packages/image.scm?id=a5d4c96b8d90b8bb
87e07bd6a7be78991db91bc9) gnu: freeimage: Remove bundled libraries.
- commit f347c24acc14e080dc2801561edca0d525a90257 (http://git.savannah.
gnu.org/cgit/guix.git/commit/gnu/packages/image.scm?id=f347c24acc14e080
dc2801561edca0d525a90257) gnu: freeimage: Use bundled libjxr.

- bug #28261 (https://issues.guix.gnu.org/issue/28261) freeimage uses
bundled libraries

- commit 37dc29200c44adc0474476b8df46ed44e8a1d41a (http://git.savannah.
gnu.org/cgit/guix.git/commit/gnu/packages/maths.scm?id=37dc29200c44adc0
474476b8df46ed44e8a1d41a) gnu: Add opencascade-occt.

- bug #34013 (https://issues.guix.gnu.org/issue/34013) [PATCH 1/2] gnu:
libjxr: Build and install shared library.

It seems commit f347c24acc14e080dc2801561edca0d525a90257 was an attempt
to fix guile-sly, but it looks like it was unsuccessful.

Commit 37dc29200c44adc0474476b8df46ed44e8a1d41a mentions a similar
issue and has a work-around. I do not think the configure script will
be as cooperative with this work-around because it checks for FreeImage
unconditionally.

- bug #34013 was a patch submitted in January but nobody has responded
to it. I don't know if it will fix this issue, but it's worth
reviewing.

-- 
-Jesse




Acknowledgement sent to Jesse Gibbons <jgibbons2357@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36951; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.