From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#36951: guile-sly will not build Date: Tue, 06 Aug 2019 22:20:48 -0600 Message-ID: <62c23d2b715b64697b1e928fb754f26a5b778831.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35633) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvDRh-0005Uh-8n for bug-guix@gnu.org; Wed, 07 Aug 2019 00:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvDRe-00080c-P9 for bug-guix@gnu.org; Wed, 07 Aug 2019 00:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvDRe-00080W-LG for bug-guix@gnu.org; Wed, 07 Aug 2019 00:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hvDRe-0001i5-GN for bug-guix@gnu.org; Wed, 07 Aug 2019 00:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35621) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvDRZ-0005UU-94 for bug-guix@gnu.org; Wed, 07 Aug 2019 00:20:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvDRY-0007yR-67 for bug-guix@gnu.org; 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 ) id 1hvDRX-0007xo-UF for bug-guix@gnu.org; Wed, 07 Aug 2019 00:20:56 -0400 Received: by mail-pl1-x636.google.com with SMTP id c2so38724228plz.13 for ; Tue, 06 Aug 2019 21:20:55 -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 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 21:20:53 -0700 (PDT) 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: 36951@debbugs.gnu.org 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