For last few days, "dnf builddep SPEC_FILE" crashes with with this python traceback: # dnf builddep ~test/fedora/perl-Test-NeedsDisplay/perl-Test-NeedsDisplay.spec Last metadata expiration check performed 1:54:16 ago on Fri Jul 31 08:24:49 2015. Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 190, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 139, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1076, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 71, in inner return func(*args, **kwds) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 128, in run self._spec_deps(pkgspec) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 176, in _spec_deps spec = rpm.spec(spec_fn) AttributeError: 'module' object has no attribute 'spec' I have python3-dnf-plugins-core-0.1.9-1.fc23.noarch. I don't know which package update caused it. Here is full listing all binary packages whose file is opened during the "dnf builddep" run. It happens on any spec file. # strace -f -e open -- dnf builddep ~test/fedora/perl-Test-NeedsDisplay/perl-Test-NeedsDisplay.spec 2>&1 |grep '^open(.*) = [0-9]' | sed -e 's/.*"\([^"]*\)".*/\1/' | LANG=en_US.UTF-8 xargs -- rpm -qf |sort -u error: file /tmp/zqlhpdrq: No such file or directory error: file /tmp/tmp8ym1l4rq: No such file or directory error: file /tmp/tmpc4pfl1va: No such file or directory error: file /tmp/tmpy79ps2vw: No such file or directory error: file /tmp/tmprv7cmcmn: No such file or directory error: file /tmp/tmp2onkr9ky: No such file or directory error: file /tmp/tmpr0q85qz6: No such file or directory error: file /tmp/tmpfj9hm021: No such file or directory error: file /tmp/tmpbtsz6__w: No such file or directory error: file /tmp/tmpz85hm2ke: No such file or directory error: file /var/cache/dnf/metadata_lock.pid: No such file or directory bzip2-libs-1.0.6-16.fc23.x86_64 cmake-3.3.0-1.fc24.x86_64 cyrus-sasl-lib-2.1.26-25.2.fc24.x86_64 dnf-conf-1.0.2-2.fc24.1.noarch dnf-1.0.2-2.fc24.1.noarch elfutils-libelf-0.163-1.fc23.x86_64 expat-2.1.0-12.fc23.x86_64 fedora-release-24-0.1.noarch fedora-repos-rawhide-24-0.1.noarch fedora-repos-24-0.1.noarch file /dev/null is not owned by any package file /dev/urandom is not owned by any package file /etc/resolv.conf is not owned by any package file /etc/yum.repos.d/beaker-distro1.repo is not owned by any package file /etc/yum.repos.d/devel.repo is not owned by any package file /etc/yum.repos.d/koji.repo is not owned by any package file-libs-5.22-5.fc23.x86_64 file /proc/meminfo is not owned by any package file /sys/devices/system/cpu/online is not owned by any package filesystem-3.2-34.fc23.x86_64 file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/builddep.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/config_manager.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/copr.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/debuginfo-install.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/download.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/generate_completion_cache.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/needs_restarting.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/noroot.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/protected_packages.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/repoquery.cpython-34.pyo is not owned by any package file /usr/lib/python3.4/site-packages/dnf-plugins/__pycache__/reposync.cpython-34.pyo is not owned by any package file /usr/lib64/python3.4/site-packages/hawkey/__pycache__/__init__.cpython-34.pyo is not owned by any package file /var/cache/dnf/expired_repos.json is not owned by any package file /var/cache/dnf/rawhide-d097a5257e9c6d89/repodata/a0c1789a3b877d915288cb07938443e43f4d4767e5aa04832e41fb67f07d3c3e-prestodelta.xml.xz is not owned by any package file /var/cache/dnf/rawhide-d097a5257e9c6d89/repodata/repomd.xml is not owned by any package file /var/cache/dnf/rawhide-d097a5257e9c6d89/repodata/0d4c48991615b536334a4581014da444adba290dc67c3a7007e0f4c99278eb13-comps-rawhide.xml.xz is not owned by any package file /var/cache/dnf/rawhide-d097a5257e9c6d89/repodata/2ef50ce4ddd936776100242f030fc4d500f47e3fb19034104287e610e1c4b8a8-filelists.xml.gz is not owned by any package file /var/cache/dnf/rawhide-d097a5257e9c6d89/repodata/297ce02dce211f37d038655b67ef55572931d584cbc04cd681adec9fc050a05b-primary.xml.gz is not owned by any package file /var/cache/dnf/rawhide-filenames.solvx is not owned by any package file /var/cache/dnf/rawhide-presto.solvx is not owned by any package file /var/cache/dnf/rawhide.solv is not owned by any package file /var/cache/dnf/@System.solv is not owned by any package file /var/lib/rpm/.dbenv.lock is not owned by any package ghc-srpm-macros-1.4.2-2.fc23.noarch glibc-common-2.21.90-20.fc24.x86_64 glibc-2.21.90-20.fc24.x86_64 glib2-2.45.4-1.fc24.x86_64 gnat-srpm-macros-2-1.fc23.noarch go-srpm-macros-1-1.fc24.noarch gpgme-1.4.3-6.fc23.x86_64 hawkey-0.5.9-3.fc24.x86_64 info-6.0-1.fc23.x86_64 keyutils-libs-1.5.9-6.fc23.x86_64 krb5-libs-1.13.2-6.fc23.x86_64 libacl-2.2.52-9.fc23.x86_64 libassuan-2.2.0-2.fc23.x86_64 libattr-2.4.47-12.fc23.x86_64 libcap-2.24-8.fc23.x86_64 libcom_err-1.42.13-3.fc23.x86_64 libcomps-0.1.6-14.fc22.x86_64 libcurl-7.43.0-3.fc24.x86_64 libdb-5.3.28-13.fc23.x86_64 libgcc-5.1.1-4.fc23.x86_64 libgpg-error-1.19-2.fc23.x86_64 libidn-1.31-1.fc23.x86_64 libnghttp2-1.1.1-1.fc24.x86_64 librepo-1.7.16-2.fc23.x86_64 libselinux-2.4-1.fc24.1.x86_64 libsolv-0.6.11-1.fc23.x86_64 libssh2-1.6.0-2.fc23.x86_64 libxml2-2.9.2-5.fc23.x86_64 lua-5.3.0-4.fc23.x86_64 ncurses-libs-5.9-21.20150214.fc23.x86_64 nspr-4.10.8-2.fc23.x86_64 nss-softokn-freebl-3.19.2-2.fc23.x86_64 nss-softokn-3.19.2-2.fc23.x86_64 nss-util-3.19.2-2.fc23.x86_64 nss-3.19.2-3.fc23.x86_64 ocaml-srpm-macros-2-3.fc23.noarch openldap-2.4.41-1.fc24.x86_64 openssl-libs-1.0.2d-1.fc23.x86_64 pcre-8.37-2.fc23.x86_64 perl-generators-1.04-1.fc24.noarch perl-macros-5.22.0-349.fc24.x86_64 perl-srpm-macros-1-17.fc23.noarch pesign-0.108-4.fc22.x86_64 popt-1.16-6.fc23.x86_64 python-devel-2.7.10-6.fc24.x86_64 python-macros-2.7.10-6.fc24.noarch python3-dnf-plugins-core-0.1.9-1.fc23.noarch python3-dnf-1.0.2-2.fc24.1.noarch python3-hawkey-0.5.9-3.fc24.x86_64 python3-iniparse-0.4-16.fc23.noarch python3-libcomps-0.1.6-14.fc22.x86_64 python3-librepo-1.7.16-2.fc23.x86_64 python3-libs-3.4.3-5.fc23.x86_64 python3-pygpgme-0.3-12.fc22.x86_64 python3-six-1.9.0-3.fc23.noarch redhat-rpm-config-36-1.fc24.noarch rpm-build-libs-4.12.90-4.fc24.x86_64 rpm-build-4.12.90-4.fc24.x86_64 rpm-libs-4.12.90-4.fc24.x86_64 rpm-python3-4.12.90-4.fc24.x86_64 rpm-4.12.90-4.fc24.x86_64 selinux-policy-3.13.1-138.fc24.noarch setup-2.9.8-2.fc23.noarch sqlite-3.8.11-1.fc24.x86_64 systemd-223-2.git65c85ef.fc24.x86_64 xz-libs-5.2.1-3.fc23.x86_64 yum-3.4.3-507.fc23.noarch zlib-1.2.8-8.fc23.x86_64
This is actually bug in rpm-4.12.90-6 (see blocker).
So, the RPM bug has been fixed and builddep apparently does not do anything wrong so I guess we can close this as NOTABUG.