Hi

thank you very much for your efforts.

Gottfried


Am 06.09.25 um 16:05 schrieb Rutherther:
Gottfried <[email protected]> writes:

Am 04.09.25 um 20:40 schrieb David Lecompte:
Hi Guix,

I just ran `guix pull` and when running `sudo guix system reconfigure
/etc/config.scm` I get:

guix system: error: profile contains conflicting entries for libxml2
guix system: error:   first entry: [email protected]
/gnu/store/z44pnpm4b85rcdmqa0nkn4lwbcxc3gnk-libxml2-2.9.14
guix system: error:    ... propagated from [email protected]
guix system: error:    ... propagated from [email protected]
guix system: error:    ... propagated from [email protected]
guix system: error:   second entry: [email protected]
/gnu/store/ynq2bc7js81kdwi2h7anrknfb5l7bbm4-libxml2-2.14.5
guix system: error:    ... propagated from [email protected]
guix system: error:    ... propagated from [email protected]
hint: You cannot have two different versions or variants of `mate' in the
same profile.

I did not change my system configuration and it was ok before. Is it that
there was an issue in my configuration or is there some bug?

This is a bug. It's caused by https://codeberg.org/guix/guix/pulls/2319
+ the fact that propagated-inputs do not get grafted when propagated to
profiles (see https://codeberg.org/guix/guix/pulls/2501 and
https://codeberg.org/guix/guix/pulls/2527).

To workaround on your side, you could use
```
(use-modules
  (guix packages)
  (gnu packages mate)
  (gnu packages gnome))

((package-input-rewriting
   `((,libmateweather . ,(package/inherit libmateweather
                           (propagated-inputs
                            (modify-inputs
                                (package-propagated-inputs libmateweather)
                              (replace "libsoup-minimal" 
libsoup-minimal-2/fixed)))))))
  mate)
```
as the mate-package field in your mate-desktop-configuration of your
mate-desktop-service-type,
ie.
```
(service mate-desktop-service-type
   (mate-desktop-configuration
     (mate-package
       ((package-input-rewriting
         `((,libmateweather . ,(package/inherit libmateweather
                                 (propagated-inputs
                                 (modify-inputs
                                     (package-propagated-inputs libmateweather)
                                   (replace "libsoup-minimal" 
libsoup-minimal-2/fixed)))))))
       mate))))

```

This will build something like 10 packages, but afterwards you will not
have conflicting entries as the libsoup is replaced with the fixed
variant with [email protected] in propagated inputs. It took less than half
an hour for me, with --cores=4 --max-jobs=10.

I've also created this issue https://codeberg.org/guix/guix/issues/2533
asking for clarification why this libmateweather is propagated in the first
place.

Rutherther



Hi Guix,

I am getting the same message, already twice.
Now I guess I know, why my MATE Desktop does not work.

What can I do to get rid of this mistake?

thanks

Gottfried

Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to