Failing: guix package -i gtkmm@3

  • Open
  • quality assurance status badge
Details
2 participants
  • Dale Mellor
  • Leo Famulari
Owner
unassigned
Submitted by
Dale Mellor
Severity
normal
D
D
Dale Mellor wrote on 26 Jan 2022 23:24
(name . bug-guix)(address . bug-guix@gnu.org)
5c45a856b27d319076357888e40d6c1cf5fc4271.camel@rdmp.org
The above command produces

The following package will be installed:
gtkmm 3.24.5

guix package: error: profile contains conflicting entries for libsigc++
guix package: error: first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
guix package: error: ... propagated from cairomm@1.14.2
guix package: error: ... propagated from gtkmm@3.24.5
guix package: error: second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
guix package: error: ... propagated from glibmm@2.64.5
guix package: error: ... propagated from pangomm@2.46.0
guix package: error: ... propagated from gtkmm@3.24.5
hint: You cannot have two different versions or variants of `gtkmm' in the same profile.
L
L
Leo Famulari wrote on 29 Jan 2022 19:42
(name . Dale Mellor)(address . guix-devel-0brg6a@rdmp.org)(address . 53561@debbugs.gnu.org)
YfWKhlKvxnzNOu5C@jasmine.lan
On Wed, Jan 26, 2022 at 10:24:01PM +0000, Dale Mellor wrote:
Toggle quote (15 lines)
> The above command produces
>
> The following package will be installed:
> gtkmm 3.24.5
>
> guix package: error: profile contains conflicting entries for libsigc++
> guix package: error: first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
> guix package: error: ... propagated from cairomm@1.14.2
> guix package: error: ... propagated from gtkmm@3.24.5
> guix package: error: second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
> guix package: error: ... propagated from glibmm@2.64.5
> guix package: error: ... propagated from pangomm@2.46.0
> guix package: error: ... propagated from gtkmm@3.24.5
> hint: You cannot have two different versions or variants of `gtkmm' in the same profile.

To clarify, what is the bug that you are reporting?

Are you reporting that `guix package -i gtkmm@3` did not work?

Or are you reporting that the hint mentions the wrong package? (I think
it should talk about libsigc++, not gtkmm)
L
L
Leo Famulari wrote on 30 Jan 2022 01:55
(name . Dale Mellor)(address . guix-devel-0brg6a@rdmp.org)(address . 53561@debbugs.gnu.org)
YfXiHnVlWcijMBHJ@jasmine.lan
On Sun, Jan 30, 2022 at 12:37:06AM +0000, Dale Mellor wrote:
Toggle quote (15 lines)
> > > The following package will be installed:
> > > �� gtkmm 3.24.5
> > >
> > > guix package: error: profile contains conflicting entries for libsigc++
> > > guix package: error:�� first entry: libsigc++@3.0.6�/gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
> > > guix package: error:��� ... propagated from cairomm@1.14.2
> > > guix package: error:��� ... propagated from gtkmm@3.24.5
> > > guix package: error:�� second entry: libsigc++@2.9.3�/gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
> > > guix package: error:��� ... propagated from glibmm@2.64.5
> > > guix package: error:��� ... propagated from pangomm@2.46.0
> > > guix package: error:��� ... propagated from gtkmm@3.24.5
> > > hint: You cannot have two different versions or variants of `gtkmm' in the same profile.
>
> I'm reporting that it did not work.

Okay. Is the hint unclear?

The hint is saying that you are trying to install a package that would
conflict with packages that are already installed.

Specifically, you already have installed a package that "propagates"
libsigc++. That means that the package installs libsigc++ alongside
itself.

Now, you are trying to install another package that propagates a
different version of libsigc++. They cannot both be installed in the
same profile.

Guix includes two versions of libsigc++, but you cannot install both of
them in the same generation of a profile.

In general, I think that installing gtkmm is unusual. Gtkmm seems like
something that is used by other programs internally rather than directly
by users. What are you trying to accomplish by installing gtkmm?

I'm very interesting in your experience with this situation, because
other Guix users have expressed confusion with it. I'm planning to
improve the documentation about these "conflicting entries" errors.
D
D
Dale Mellor wrote on 30 Jan 2022 01:37
1531652819c02abe9e095816895679a6d6719fe8.camel@rdmp.org
On Sat, 2022-01-29 at 13:42 -0500, Leo Famulari wrote:
Toggle quote (23 lines)
> On Wed, Jan 26, 2022 at 10:24:01PM +0000, Dale Mellor wrote:
> > The above command produces
> >
> > The following package will be installed:
> >    gtkmm 3.24.5
> >
> > guix package: error: profile contains conflicting entries for libsigc++
> > guix package: error:   first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
> > guix package: error:    ... propagated from cairomm@1.14.2
> > guix package: error:    ... propagated from gtkmm@3.24.5
> > guix package: error:   second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
> > guix package: error:    ... propagated from glibmm@2.64.5
> > guix package: error:    ... propagated from pangomm@2.46.0
> > guix package: error:    ... propagated from gtkmm@3.24.5
> > hint: You cannot have two different versions or variants of `gtkmm' in the same profile.
>
> To clarify, what is the bug that you are reporting?
>
> Are you reporting that `guix package -i gtkmm@3` did not work?
>
> Or are you reporting that the hint mentions the wrong package? (I think
> it should talk about libsigc++, not gtkmm)

I'm reporting that it did not work.
D
D
Dale Mellor wrote on 30 Jan 2022 11:01
(name . Leo Famulari)(address . leo@famulari.name)(address . 53561@debbugs.gnu.org)
81cbc842d9eebb9ee95044d37d97fc0d47ff9ea5.camel@rdmp.org
On Sat, 2022-01-29 at 19:55 -0500, Leo Famulari wrote:
Toggle quote (18 lines)
> On Sun, Jan 30, 2022 at 12:37:06AM +0000, Dale Mellor wrote:
> > > > The following package will be installed:
> > > >    gtkmm 3.24.5
> > > >
> > > > guix package: error: profile contains conflicting entries for libsigc++
> > > > guix package: error:   first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
> > > > guix package: error:    ... propagated from cairomm@1.14.2
> > > > guix package: error:    ... propagated from gtkmm@3.24.5
> > > > guix package: error:   second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
> > > > guix package: error:    ... propagated from glibmm@2.64.5
> > > > guix package: error:    ... propagated from pangomm@2.46.0
> > > > guix package: error:    ... propagated from gtkmm@3.24.5
> > > > hint: You cannot have two different versions or variants of `gtkmm' in the same profile.
> >
> >   I'm reporting that it did not work.
>
> Okay. Is the hint unclear?

Not to me it's not. You however don't seem to get it...

Toggle quote (3 lines)
> The hint is saying that you are trying to install a package that would
> conflict with packages that are already installed.

No it isn't. It is saying that the package definitions for gtkmm and its dependencies are inconsistent.

Toggle quote (4 lines)
> Specifically, you already have installed a package that "propagates"
> libsigc++. That means that the package installs libsigc++ alongside
> itself.

I haven't. Please try to get your head around this.

Toggle quote (4 lines)
> Now, you are trying to install another package that propagates a
> different version of libsigc++. They cannot both be installed in the
> same profile.

I am trying to install a package, defined right there in the GUIX repo, which propagates two different versions of
libsigc++. Please try to get your head around this.

Toggle quote (3 lines)
> Guix includes two versions of libsigc++, but you cannot install both of
> them in the same generation of a profile.

I agree with you here.

Toggle quote (4 lines)
> In general, I think that installing gtkmm is unusual. Gtkmm seems like
> something that is used by other programs internally rather than directly
> by users. What are you trying to accomplish by installing gtkmm?

My software builds against it.

Toggle quote (4 lines)
> I'm very interesting in your experience with this situation, because
> other Guix users have expressed confusion with it. I'm planning to
> improve the documentation about these "conflicting entries" errors.

I would suggest asking someone else to write the documentation; you don't seem to understand it well enough.
D
D
Dale Mellor wrote on 30 Jan 2022 12:55
Re: bug#53561: I APOLOGIZE
(name . Leo Famulari)(address . leo@famulari.name)(address . 53561@debbugs.gnu.org)
f043b5184fc9fbb1d95ecf17e59a378bfd1df150.camel@rdmp.org
I take back everything that I said in the previous message; I sent it quicker than I should have, I'm sorry.

I still don't think the documentation needs changing, just those error messages need to be made clearer.

This issue can be closed now, thank you.
L
L
Leo Famulari wrote on 30 Jan 2022 19:25
Re: bug#53561: Failing: guix package -i gtkmm@3
(name . Dale Mellor)(address . guix-devel-0brg6a@rdmp.org)(address . 53561@debbugs.gnu.org)
YfbX/UV4u7zXs6Lc@jasmine.lan
On Sun, Jan 30, 2022 at 10:01:41AM +0000, Dale Mellor wrote:
Toggle quote (3 lines)
> I am trying to install a package, defined right there in the GUIX repo, which propagates two different versions of
> libsigc++.

I see. That should be fixed.

It's true that my earlier reply was kind of dense, but you didn't put
any effort into your initial report, and thus you did not communicate
the problem effectively. You have to understand that we triage bug
reports from people with all levels of skill and experience.
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 53561
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