GNU bug report logs - #25484
QEMU depends on two different version of libjpeg

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 19 Jan 2017 13:20:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25484 in the body.
You can then email your comments to 25484 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Thu, 19 Jan 2017 13:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 19 Jan 2017 13:20:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: David Craven <david <at> craven.ch>
Cc: bug-guix <at> gnu.org
Subject: QEMU depends on two different version of libjpeg
Date: Thu, 19 Jan 2017 14:19:04 +0100
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?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Thu, 19 Jan 2017 14:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 25484 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: David Craven <david <at> craven.ch>, 25484 <at> debbugs.gnu.org
Subject: Re: bug#25484: QEMU depends on two different version of libjpeg
Date: Thu, 19 Jan 2017 15:00:35 +0100
Ludovic Courtès <ludo <at> gnu.org> 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.

~~ Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Thu, 19 Jan 2017 14:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 25484 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 25484 <at> debbugs.gnu.org
Subject: Re: bug#25484: QEMU depends on two different version of libjpeg
Date: Thu, 19 Jan 2017 15:24:25 +0100
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> writes:

> Ludovic Courtès <ludo <at> gnu.org> 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.

[0001-gnu-spice-Build-with-libjpeg-8.patch (text/x-patch, inline)]
From b277b1a282a91ab236f8a5ed7c7a47a46c8de279 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
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 <david <at> craven.ch>
+;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;;
 ;;; 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


Information forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Thu, 19 Jan 2017 16:12:01 GMT) Full text and rfc822 format available.

Message #14 received at 25484 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: David Craven <david <at> craven.ch>, 25484 <at> debbugs.gnu.org
Subject: Re: bug#25484: QEMU depends on two different version of libjpeg
Date: Thu, 19 Jan 2017 17:11:35 +0100
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> skribis:

> Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> writes:
>
>> Ludovic Courtès <ludo <at> gnu.org> 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.
>
> From b277b1a282a91ab236f8a5ed7c7a47a46c8de279 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
> 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.

LGTM.  David: are you OK with this change?

Thanks for the quick testing, Ricardo!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Tue, 28 Apr 2020 07:29:01 GMT) Full text and rfc822 format available.

Message #17 received at 25484 <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: 25484 <at> debbugs.gnu.org
Cc: ludo <at> gnu.org, ricardo.wurmus <at> mdc-berlin.de
Subject: Closing #25484?
Date: Tue, 28 Apr 2020 07:28:25 +0000
Hello Guix,

I think this 3 year old bug is fixed, even though Ricardo's patch wasn't
applied. I can't find any “may conflict with “ in the build log of a 
recent
build of qemu[0] and qemu now depends on 'libjpeg-turbo' instead of
'libjpeg' since 513885b54e5a6abd46cb02b04ebab51b879150c0.

Should we close this issue?

[0]: http://ci.guix.gnu.org/build/2599861/details

- Brice




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 28 Apr 2020 12:20:02 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Tue, 28 Apr 2020 12:20:02 GMT) Full text and rfc822 format available.

Message #22 received at 25484-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brice Waegeneire <brice <at> waegenei.re>, 25484-done <at> debbugs.gnu.org
Cc: ricardo.wurmus <at> mdc-berlin.de
Subject: Re: bug#25484: Closing #25484?
Date: Tue, 28 Apr 2020 14:19:18 +0200
[Message part 1 (text/plain, inline)]
Brice Waegeneire <brice <at> waegenei.re> writes:

> Hello Guix,
>
> I think this 3 year old bug is fixed, even though Ricardo's patch wasn't
> applied. I can't find any “may conflict with “ in the build log of a 
> recent
> build of qemu[0] and qemu now depends on 'libjpeg-turbo' instead of
> 'libjpeg' since 513885b54e5a6abd46cb02b04ebab51b879150c0.
>
> Should we close this issue?

Indeed.  On the 'core-updates' branch, _all_ packages are now using
exclusively libjpeg-turbo.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#25484; Package guix. (Tue, 28 Apr 2020 20:47:01 GMT) Full text and rfc822 format available.

Message #25 received at 25484-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Brice Waegeneire <brice <at> waegenei.re>
Cc: ricardo.wurmus <at> mdc-berlin.de, 25484-done <at> debbugs.gnu.org
Subject: Re: Closing #25484?
Date: Tue, 28 Apr 2020 22:46:20 +0200
Hi,

Brice Waegeneire <brice <at> waegenei.re> skribis:

> I think this 3 year old bug is fixed, even though Ricardo's patch wasn't
> applied. I can't find any “may conflict with “ in the build log of a
> recent
> build of qemu[0] and qemu now depends on 'libjpeg-turbo' instead of
> 'libjpeg' since 513885b54e5a6abd46cb02b04ebab51b879150c0.
>
> Should we close this issue?

Yup, done with this message.

Thanks for helping out with bug triage!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 May 2020 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 87 days ago.

Previous Next


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