* Conflicting entries for glibmm
@ 2022-04-27 13:11 Martin Michel
2022-05-11 13:52 ` zimoun
0 siblings, 1 reply; 2+ messages in thread
From: Martin Michel @ 2022-04-27 13:11 UTC (permalink / raw)
To: help-guix
Hi Guix experts,
I have a strange problem which I cannot resolve. I wanted to install
gtksourceviewmm but it failed due to conflicting entries for glibmm.
However, glibmm seems not to be properly installed, I cannot remove it
and a `--list-installed` of `guix package` showed no results.
Can you help me how to solve this situation and properly install
gtksourceviewmm from scratch?
```
$ guix install gtksourceviewmm
The following package will be installed:
gtksourceviewmm 3.18.0
guix install: error: profile contains conflicting entries for glibmm
guix install: error: first entry: glibmm@2.70.0 /gnu/store/fpfi5y405y04rpiz7zn75gmiilwkzb4x-glibmm-2.70.0
guix install: error: ... propagated from gtksourceviewmm@3.18.0
guix install: error: second entry: glibmm@2.64.5 /gnu/store/0sl7zf5bcr1qb7yfq2wqqly1w3x0spn8-glibmm-2.64.5
guix install: error: ... propagated from pangomm@2.46.0
guix install: error: ... propagated from gtkmm@3.24.5
guix install: error: ... propagated from gtksourceviewmm@3.18.0
hint: You cannot have two different versions or variants of `gtksourceviewmm' in the same profile.
$ guix remove glibmm
guix remove: error: package 'glibmm' not found in profile
```
Thanks in advance for your hints!
Kind regards,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Conflicting entries for glibmm
2022-04-27 13:11 Conflicting entries for glibmm Martin Michel
@ 2022-05-11 13:52 ` zimoun
0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2022-05-11 13:52 UTC (permalink / raw)
To: Martin Michel, help-guix
Hi,
On mer., 27 avril 2022 at 15:11, Martin Michel <martin@famic.de> wrote:
> ```
> $ guix install gtksourceviewmm
> The following package will be installed:
> gtksourceviewmm 3.18.0
>
> guix install: error: profile contains conflicting entries for glibmm
> guix install: error: first entry: glibmm@2.70.0 /gnu/store/fpfi5y405y04rpiz7zn75gmiilwkzb4x-glibmm-2.70.0
> guix install: error: ... propagated from gtksourceviewmm@3.18.0
> guix install: error: second entry: glibmm@2.64.5 /gnu/store/0sl7zf5bcr1qb7yfq2wqqly1w3x0spn8-glibmm-2.64.5
> guix install: error: ... propagated from pangomm@2.46.0
> guix install: error: ... propagated from gtkmm@3.24.5
> guix install: error: ... propagated from gtksourceviewmm@3.18.0
> hint: You cannot have two different versions or variants of `gtksourceviewmm' in the same profile.
>
> $ guix remove glibmm
> guix remove: error: package 'glibmm' not found in profile
> ```
This issue is that ’gtksourceviewmm' propagates glibmm@2.70 when
pango@2.46 propagates glibmm@2.64.5 via gtkmm@3.24.5. It reads,
--8<---------------cut here---------------start------------->8---
(define-public gtksourceviewmm
(package
(name "gtksourceviewmm")
(version "3.18.0")
[...]
(propagated-inputs
;; In 'Requires' of gtksourceviewmm-3.0.pc.
(list glibmm gtkmm-3 gtksourceview-3))
(define glibmm
(package
(name "glibmm")
(version "2.70.0")
(define-public gtkmm-3
(package
(inherit gtkmm)
(name "gtkmm")
(version "3.24.5")
[...]
(propagated-inputs
`(("atkmm-2.28" ,atkmm-2.28)
("cairomm-1.14" ,cairomm-1.14)
("glibmm" ,glibmm)
("gtk+" ,gtk+)
("pangomm-2.42" ,pangomm-2.46)))))
(define-public pangomm-2.46
(package
(inherit pangomm)
(name "pangomm")
(version "2.46.0")
[...]
(list cairomm-1.14 glibmm-2.64 pango))))
(define-public glibmm-2.64
(package
(inherit glibmm)
(name "glibmm")
(version "2.64.5")
--8<---------------cut here---------------end--------------->8---
The easiest workaround is to downgrade glibmm to glibmm-2.64 in
gtksourceviewmm. This way, the conflict disappears but another appears:
--8<---------------cut here---------------start------------->8---
guix install: error: profile contains conflicting entries for libsigc++
guix install: error: first entry: libsigc++@3.0.6 /gnu/store/ng4k2yl94d758p5vnashd4nvyb1aw8s1-libsigc++-3.0.6
guix install: error: ... propagated from cairomm@1.14.2
guix install: error: ... propagated from gtkmm@3.24.5
guix install: error: ... propagated from gtksourceviewmm@3.18.0
guix install: error: second entry: libsigc++@2.9.3 /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3
guix install: error: ... propagated from glibmm@2.64.5
guix install: error: ... propagated from pangomm@2.46.0
guix install: error: ... propagated from gtkmm@3.24.5
guix install: error: ... propagated from gtksourceviewmm@3.18.0
--8<---------------cut here---------------end--------------->8---
Well, this package gtksourceviewmm seems old and I do not know what is
the best solution. Maybe extract a complete stack without any conflict
(if such existed ;-))) and maintain this old package in a separated
channel.
Or update gtksourceviewmm to a more recent 4.x stack, if such wrapper
exists.
Or give a look if all these propagation are mandatory and maybe remove
the unnecessary ones.
Cheers,
simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-11 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 13:11 Conflicting entries for glibmm Martin Michel
2022-05-11 13:52 ` zimoun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).