Subject: Re: bug#52519: glibmm-2.64 propagates two different versions of libsigc++
From: Maxim Cournoyer <[email-masked]>
To: Leo Famulari <[email-masked]>
Cc: [email-masked]
Date: Mon, 17 Jan 2022 12:10:58 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Maxim Cournoyer <[email-masked]> writes:

> Hi Leo,
>
> Leo Famulari <[email-masked]> writes:
>
>> glibmm-2.64 has this:
>>
>> ------
>>      (propagated-inputs
>>       (modify-inputs (package-propagated-inputs glibmm)
>>         (prepend libsigc++-2)))))
>> ------
>>
>> And, the glibmm package also propagates libsigc++.
>>
>> So:
>>
>> ------
>> $ guix show [email-masked] | grep libsigc
>> dependencies: [email-masked] [email-masked] [email-masked] [email-masked]
>> + [email-masked] [email-masked] [email-masked] [email-masked] [email-masked]
>> ------
>>
>> It propagates both versions of libsigc++, and thus cannot be installed
>> into a profile. 1785 packages depend on glibmm-2.64.
>>
>> This breaks synfig, which propagates glibmm, as requested in its 'synfig.pc'
>> pkg-config file.
>
> I've fixed this with;
>
> modified   gnu/packages/glib.scm
> @@ -814,7 +814,7 @@ (define-public glibmm-2.64
>          (base32 "11m37sbx0i18cl17d0fkq0bik4bbzlb5n8kcl651jhci5ipci3sh"))))
>       (propagated-inputs
>        (modify-inputs (package-propagated-inputs glibmm)
> -        (prepend libsigc++-2)))))
> +        (replace "libsigc++" libsigc++-2)))))
>  
>  (define-public python2-pygobject-2
>
> It will have to be built on the version-1.4.0 branch first.

Which has now been merged back into master.

Closing!

Maxim