all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25484: QEMU depends on two different version of libjpeg
@ 2017-01-19 13:19 Ludovic Courtès
  2017-01-19 14:00 ` Ricardo Wurmus
  2020-04-28  7:28 ` bug#25484: Closing #25484? Brice Waegeneire
  0 siblings, 2 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-01-19 13:19 UTC (permalink / raw)
  To: David Craven; +Cc: 25484

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’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#25484: QEMU depends on two different version of libjpeg
  2017-01-19 13:19 bug#25484: QEMU depends on two different version of libjpeg Ludovic Courtès
@ 2017-01-19 14:00 ` Ricardo Wurmus
  2017-01-19 14:24   ` Ricardo Wurmus
  2020-04-28  7:28 ` bug#25484: Closing #25484? Brice Waegeneire
  1 sibling, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2017-01-19 14:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 25484


Ludovic Courtès <ludo@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#25484: QEMU depends on two different version of libjpeg
  2017-01-19 14:00 ` Ricardo Wurmus
@ 2017-01-19 14:24   ` Ricardo Wurmus
  2017-01-19 16:11     ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2017-01-19 14:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 25484

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]


Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> Ludovic Courtès <ludo@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.


[-- Attachment #2: 0001-gnu-spice-Build-with-libjpeg-8.patch --]
[-- Type: text/x-patch, Size: 1075 bytes --]

From b277b1a282a91ab236f8a5ed7c7a47a46c8de279 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@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@craven.ch>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#25484: QEMU depends on two different version of libjpeg
  2017-01-19 14:24   ` Ricardo Wurmus
@ 2017-01-19 16:11     ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-01-19 16:11 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 25484

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
>
>> Ludovic Courtès <ludo@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@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’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#25484: Closing #25484?
  2017-01-19 13:19 bug#25484: QEMU depends on two different version of libjpeg Ludovic Courtès
  2017-01-19 14:00 ` Ricardo Wurmus
@ 2020-04-28  7:28 ` Brice Waegeneire
  2020-04-28 12:19   ` Marius Bakke
  2020-04-28 20:46   ` Ludovic Courtès
  1 sibling, 2 replies; 7+ messages in thread
From: Brice Waegeneire @ 2020-04-28  7:28 UTC (permalink / raw)
  To: 25484; +Cc: ricardo.wurmus

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#25484: Closing #25484?
  2020-04-28  7:28 ` bug#25484: Closing #25484? Brice Waegeneire
@ 2020-04-28 12:19   ` Marius Bakke
  2020-04-28 20:46   ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Marius Bakke @ 2020-04-28 12:19 UTC (permalink / raw)
  To: Brice Waegeneire, 25484-done; +Cc: ricardo.wurmus

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

Brice Waegeneire <brice@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#25484: Closing #25484?
  2020-04-28  7:28 ` bug#25484: Closing #25484? Brice Waegeneire
  2020-04-28 12:19   ` Marius Bakke
@ 2020-04-28 20:46   ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-04-28 20:46 UTC (permalink / raw)
  To: Brice Waegeneire; +Cc: ricardo.wurmus, 25484-done

Hi,

Brice Waegeneire <brice@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’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-28 20:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 13:19 bug#25484: QEMU depends on two different version of libjpeg Ludovic Courtès
2017-01-19 14:00 ` Ricardo Wurmus
2017-01-19 14:24   ` Ricardo Wurmus
2017-01-19 16:11     ` Ludovic Courtès
2020-04-28  7:28 ` bug#25484: Closing #25484? Brice Waegeneire
2020-04-28 12:19   ` Marius Bakke
2020-04-28 20:46   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.