From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#25484: QEMU depends on two different version of libjpeg Date: Thu, 19 Jan 2017 15:24:25 +0100 Message-ID: References: <871svzxk53.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUDeD-00053f-Fz for bug-guix@gnu.org; Thu, 19 Jan 2017 09:25:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUDeA-00056d-Ba for bug-guix@gnu.org; Thu, 19 Jan 2017 09:25:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUDeA-00056Z-8e for bug-guix@gnu.org; Thu, 19 Jan 2017 09:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cUDeA-0003qL-3m for bug-guix@gnu.org; Thu, 19 Jan 2017 09:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: 25484@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Ricardo Wurmus writes: > Ludovic Courtès writes: > >> While building ‘qemu’ as of 840f38ba37af1d09eb1e896a6350d6ab7f6532d0, we >> see: >> >> --8<---------------cut here---------------start------------->8--- >> ld: warning: libjpeg.so.62, needed by /gnu/store/9a3r8wjnfyxfc912i6inlw8k6pw3rlxy-spice-0.12.8/lib/libspice-server.so, may conflict with libjpeg.so.8 >> --8<---------------cut here---------------end--------------->8--- >> >> Indeed, ‘guix graph -t references qemu’ shows ‘libjpeg’ and >> ‘libjpeg-turbo’ as indirect dependencies. >> >> Any idea how to fix that? > > “libjpeg-turbo” is used by “spice” but I just built “spice” successfully > with “libjpeg-8” instead of “libjpeg-turbo”. This seems to be okay. Attached is a patch. I successfully built “spice” and “qemu” and confirmed with “guix graph -t references qemu -b d3js > graph.html” that libjpeg-turbo has disappeared. --=-=-= Content-Type: text/x-patch; charset="utf-8" Content-Disposition: inline; filename="0001-gnu-spice-Build-with-libjpeg-8.patch" Content-Transfer-Encoding: 8bit >From b277b1a282a91ab236f8a5ed7c7a47a46c8de279 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 19 Jan 2017 15:22:06 +0100 Subject: [PATCH] gnu: spice: Build with libjpeg-8. * gnu/packages/spice.scm (spice)[inputs]: Replace libjpeg-turbo with libjpeg-8. --- gnu/packages/spice.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 805f47a60..4d7c96e53 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 David Craven +;;; Copyright © 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -217,7 +218,7 @@ which allows users to view a desktop computing environment.") (inputs `(("cyrus-sasl" ,cyrus-sasl) ("glib" ,glib) - ("libjpeg-turbo" ,libjpeg-turbo) + ("libjpeg" ,libjpeg-8) ("lz4" ,lz4) ("opus" ,opus) ("zlib" ,zlib))) -- 2.11.0 --=-=-=--