Re: mock: ImportError: /lib64/libdnf.so.2: undefined symbol: g_once_init_enter_pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 21, 2024 at 6:05 PM Miroslav Suchý <msuchy@xxxxxxxxxx> wrote:
>
> Dne 21. 02. 24 v 17:38 Jun Aruga (he / him) napsal(a):
>
> $ mock -r fedora-rawhide-x86_64 --shell
>
> ....
>
> --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf-3
> --disableplugin=versionlock install @buildsys-build
>
> This is suspicious. It should use DNF5 now.
>
> What is
>
>   rpm -qf /etc/mock/fedora-rawhide-x86_64.cfg
> Since mock-core-configs-40.2-1 it should use DNF5.
>
> That said, DNF3 should work too. But instead of hunting this bug it may be easier to update configs and use DNF5 that should be used anyway.

Thanks for your help!

The result is below.

```
$ rpm -qf /etc/mock/fedora-rawhide-x86_64.cfg
mock-core-configs-40.1-1.fc39.noarch
```

But I am afraid I am customizing the file
/etc/mock/fedora-rawhide-x86_64.cfg . It's not the original one from
the RPM any more.

I should use the original one and it's better to manage my own custom
setting in the `~/.config/mock.cfg`?
Which config option is related to the DNF 3 or DNF 5?

Below is my setting about the dnf.

```
config_opts['package_manager'] = 'dnf'
```

-- 
Jun | He - Him | Timezone: UTC+1 or 2, Czech Republic
See <https://www.worldtimebuddy.com/czech-republic-prague-to-utc> for
the timezone.
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux