glibmm-2.64 propagates two different versions of libsigc++

  • Done
  • quality assurance status badge
Details
2 participants
  • Leo Famulari
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Leo Famulari
Severity
normal
L
L
Leo Famulari wrote on 15 Dec 2021 19:40
(address . bug-guix@gnu.org)
Ybo2ieHhhDLa5/WD@jasmine.lan
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 glibmm@2.64 | grep libsigc
dependencies: doxygen@1.9.1 glib@2.70.0 graphviz@2.49.0 libsigc++@2.9.3
+ libsigc++@3.0.6 libxslt@1.1.34 m4@1.4.18 mm-common@1.0.3 perl@5.34.0
------

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.
M
M
Maxim Cournoyer wrote on 18 Dec 2021 05:31
(name . Leo Famulari)(address . leo@famulari.name)(address . 52519@debbugs.gnu.org)
87v8zm4jqk.fsf@gmail.com
Hi Leo,

Leo Famulari <leo@famulari.name> writes:

Toggle quote (24 lines)
> 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 glibmm@2.64 | grep libsigc
> dependencies: doxygen@1.9.1 glib@2.70.0 graphviz@2.49.0 libsigc++@2.9.3
> + libsigc++@3.0.6 libxslt@1.1.34 m4@1.4.18 mm-common@1.0.3 perl@5.34.0
> ------
>
> 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;

Toggle snippet (11 lines)
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.

Thank you,

Maxim
M
M
Maxim Cournoyer wrote on 17 Jan 2022 18:10
(name . Leo Famulari)(address . leo@famulari.name)(address . 52519-done@debbugs.gnu.org)
87y23ei8yl.fsf@gmail.com
Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (42 lines)
> Hi Leo,
>
> Leo Famulari <leo@famulari.name> 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 glibmm@2.64 | grep libsigc
>> dependencies: doxygen@1.9.1 glib@2.70.0 graphviz@2.49.0 libsigc++@2.9.3
>> + libsigc++@3.0.6 libxslt@1.1.34 m4@1.4.18 mm-common@1.0.3 perl@5.34.0
>> ------
>>
>> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 52519@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52519
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch