Dne 21. 02. 24 v 18:38 Jun Aruga (he / him) napsal(a):
On Wed, Feb 21, 2024 at 6:09 PM Stephen Smoogen <ssmoo...@redhat.com> wrote:


On Wed, 21 Feb 2024 at 12:05, Miroslav Suchý <msu...@redhat.com> 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.

Usually when I see errors like this.. it is usually a mixed up rawhide cache 
stored somewhere.. aka something is pulling in something really old. `mock 
--clean fedora-rawhide-x86_64` usually fixes these but it may also need a local 
update first too.
Thanks for your help. I still see the same error after running the
`mock --clean fedora-rawhide-x86_64`.

```
$ mock --clean fedora-rawhide-x86_64

$ mock -r fedora-rawhide-x86_64 --shell
...
ERROR: Command failed:
  # /usr/bin/systemd-nspawn -q -M 46d4e94c6647468aa33584d8fb7d42ae -D
/var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a
--capability=cap_ipc_lock
--bind=/tmp/mock-resolv.0la37cbp:/etc/resolv.conf --console=pipe
--setenv=TERM=vt100 --setenv=SHELL=/bin/bash
--setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir
--setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
'--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"'
'--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8
--setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf-3
--installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever
35


Fedora 35 ^^ buildroot? Probably something to check.


Vít


  --setopt=deltarpm=False --setopt=allow_vendor_change=yes
--allowerasing --disableplugin=local --disableplugin=spacewalk
--disableplugin=versionlock install @buildsys-build
--setopt=tsflags=nocontexts
Traceback (most recent call last):
   File "/usr/bin/dnf-3", line 61, in <module>
     from dnf.cli import main
   File "/usr/lib/python3.12/site-packages/dnf/__init__.py", line 30, in 
<module>
     import dnf.base
   File "/usr/lib/python3.12/site-packages/dnf/base.py", line 29, in <module>
     import libdnf.transaction
   File "/usr/lib64/python3.12/site-packages/libdnf/__init__.py", line
14, in <module>
     from . import conf
   File "/usr/lib64/python3.12/site-packages/libdnf/conf.py", line 10,
in <module>
     from . import _conf
ImportError: /lib64/libdnf.so.2: undefined symbol: g_once_init_enter_pointer
```

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to