GNU bug report logs - #54418
[PATCH] cairomm@1.14 propagates both libsigc++@2 and libsigc++@3

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 16 Mar 2022 10:56:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 54418 AT debbugs.gnu.org.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#54418; Package guix-patches. (Wed, 16 Mar 2022 10:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 16 Mar 2022 10:56:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Subject: [PATCH] cairomm <at> 1.14 propagates both libsigc++@2 and libsigc++@3
Date: Wed, 16 Mar 2022 11:55:27 +0100
[Message part 1 (text/plain, inline)]
Hi,

cairomm-1.14 is defined as:

(define-public cairomm-1.14
  (package
    (inherit cairomm)
    [...]
    (propagated-inputs
     (modify-inputs (package-propagated-inputs cairomm)
       (prepend libsigc++-2)))))

Because cairomm already has a libsigc++ (@3), and 'prepend' is used
instead of 'replace', this causes cairomm <at> 1.14 to have both versions
of libsigc++ as inputs.  It appears to be introduced with commit
736c5df29ac380413ec45b496c63dcf80672712d.

Unfortunately, according to "guix refresh -l", fixing this will cause
1980 rebuilds (staging branch?).

The attached patch (currently targetting master) fixes it (cairomm 
builds).  I'll try to compile an application with the new cairomm
and report if it works.

Greetings,
Maxime.
[0001-gnu-cairomm-1.14-Don-t-have-multiple-variants-of-lib.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54418; Package guix-patches. (Wed, 16 Mar 2022 11:51:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 54418 <at> debbugs.gnu.org
Subject: Re: [bug#54418] [PATCH] cairomm <at> 1.14 propagates both libsigc++@2
 and libsigc++@3
Date: Wed, 16 Mar 2022 12:50:40 +0100
[Message part 1 (text/plain, inline)]
Maxime Devos schreef op wo 16-03-2022 om 11:55 [+0100]:
> The attached patch (currently targetting master) fixes it (cairomm 
> builds).  I'll try to compile an application with the new cairomm
> and report if it works.

The dependent 'gnote' builds and appears to work.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54418; Package guix-patches. (Wed, 16 Mar 2022 12:39:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 54418 <at> debbugs.gnu.org
Subject: Re: [bug#54418] [PATCH] cairomm <at> 1.14 propagates both libsigc++@2
 and libsigc++@3
Date: Wed, 16 Mar 2022 13:38:51 +0100
[Message part 1 (text/plain, inline)]
Maxime Devos schreef op wo 16-03-2022 om 11:55 [+0100]:
> This solves a propagation issue reported in
> <https://issues.guix.gnu.org/54350>.

Looks like this is not sufficient:

$ ./pre-inst-env guix graph --path inkscape libsigc++
inkscape <at> 1.1.1
gtkmm <at> 3.24.5
glibmm <at> 2.70.0
libsigc++@3.0.6
$ ./pre-inst-env guix graph --path inkscape libsigc++@2
inkscape <at> 1.1.1
gtkmm <at> 3.24.5
cairomm <at> 1.14.2
libsigc++@2.9.3

Still seems an improvement to me though.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 49 days ago.

Previous Next


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