Bug 1312633 - dnf builddep wont install 32bit versions when specified
Summary: dnf builddep wont install 32bit versions when specified
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 22
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2016-02-28 10:35 UTC by Sam Tygier
Modified: 2018-08-13 15:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-19 18:44:45 UTC
Type: Bug

Attachments (Terms of Use)

Description Sam Tygier 2016-02-28 10:35:08 UTC
Description of problem:
I am trying to build 32bit mesa from git on a 64bit F23 system and so need the 32bit build dependencies (i think).

If I run
dnf builddep mesa-libGL.i686
it tells me that the 64bit versions are all still installed.

There are some suggestions at https://unix.stackexchange.com/questions/226127/how-can-i-install-32-bit-dependencies-on-a-64-bit-machine-using-dnf-builddep but none of them work for me.

Comment 1 Honza Silhan 2016-02-29 12:54:44 UTC
Thanks for the report. We'll fix this.

Comment 2 Igor Gnatenko 2016-04-25 11:50:36 UTC
Would be great to see what it tries to install and what is the problem.

P.S. if you need to build mesa 32bit on 64bit machine you probably want to use mock.

[ignatenko@ignatenko SPECS]$ sudo setarch i686 dnf builddep --best --allowerasing mesa-libGL.i686
enabling fedora-source repository
enabling updates-testing-source repository
enabling updates-source repository
Last metadata expiration check: 0:00:29 ago on Mon Apr 25 13:48:53 2016.
Package gettext-0.19.7-4.fc24.x86_64 is already installed, skipping.
Package libtool-2.4.6-10.fc24.x86_64 is already installed, skipping.
Package zlib-devel-1.2.8-10.fc24.x86_64 is already installed, skipping.
Package automake-1.15-6.fc24.noarch is already installed, skipping.
Package autoconf-2.69-22.fc24.noarch is already installed, skipping.
Package pkgconfig-1:0.29-2.fc24.x86_64 is already installed, skipping.
Package expat-devel-2.1.1-1.fc24.x86_64 is already installed, skipping.
Package python-2.7.11-4.fc24.x86_64 is already installed, skipping.
Package libselinux-devel-2.5-3.fc24.x86_64 is already installed, skipping.
Package git-core-2.7.4-1.fc24.x86_64 is already installed, skipping.
Package elfutils-0.166-2.fc24.x86_64 is already installed, skipping.
Package kernel-headers-4.5.2-300.fc24.x86_64 is already installed, skipping.
Package python-mako-1.0.3-2.fc24.noarch is already installed, skipping.
Dependencies resolved.
 Package                   Arch     Version                  Repository         Size
 audit-libs                i686     2.5.1-1.fc24             fedora             96 k
 bison                     i686     3.0.4-4.fc24             fedora            683 k
 bzip2-libs                i686     1.0.6-20.fc24            fedora             46 k
 cracklib                  i686     2.9.6-2.fc24             fedora             85 k
 cyrus-sasl-lib            i686     2.1.26-26.2.fc24         fedora            161 k
 dbus-libs                 i686     1:1.11.2-1.fc24          fedora            177 k
 elfutils                  i686     0.166-2.fc24             fedora            312 k
 elfutils-libelf           i686     0.166-2.fc24             fedora            221 k
 elfutils-libelf-devel     i686     0.166-2.fc24             fedora             45 k
 elfutils-libs             i686     0.166-2.fc24             fedora            298 k
 expat                     i686     2.1.1-1.fc24             updates-testing    94 k
 expat-devel               i686     2.1.1-1.fc24             updates-testing    62 k
 flex                      i686     2.5.39-4.fc24            fedora            313 k
 gdbm                      i686     1.11-7.fc24              fedora            139 k
 gettext                   i686     0.19.7-4.fc24            fedora            1.0 M
 gettext-libs              i686     0.19.7-4.fc24            fedora            514 k
 git-core                  i686     2.7.4-1.fc24             updates-testing   3.5 M
 gl-manpages               noarch   1.1-11.20140424.fc24     fedora            1.0 M
 glib2                     i686     2.48.0-1.fc24            fedora            2.2 M
 glibc                     i686     2.23.1-5.fc24            fedora            4.3 M
 imake                     i686     1.0.7-6.fc24             fedora            265 k
 keyutils-libs             i686     1.5.9-8.fc24             fedora             45 k
 krb5-libs                 i686     1.14.1-5.fc24            fedora            861 k
 libICE                    i686     1.0.9-5.fc24             fedora             70 k
 libICE-devel              i686     1.0.9-5.fc24             fedora             54 k
 libSM                     i686     1.2.2-4.fc24             fedora             43 k
 libSM-devel               i686     1.2.2-4.fc24             fedora             17 k
 libX11                    i686     1.6.3-3.fc24             fedora            616 k
 libX11-devel              i686     1.6.3-3.fc24             fedora            984 k
 libXau                    i686     1.0.8-6.fc24             fedora             34 k
 libXau-devel              i686     1.0.8-6.fc24             fedora             19 k
 libXdamage                i686     1.1.4-8.fc24             fedora             25 k
 libXdamage-devel          i686     1.1.4-8.fc24             fedora             14 k
 libXext                   i686     1.3.3-4.fc24             fedora             43 k
 libXext-devel             i686     1.3.3-4.fc24             fedora             79 k
 libXfixes                 i686     5.0.1-6.fc24             fedora             23 k
 libXfixes-devel           i686     5.0.1-6.fc24             fedora             18 k
 libXi                     i686     1.7.6-2.fc24             fedora             46 k
 libXi-devel               i686     1.7.6-2.fc24             fedora            109 k
 libXmu                    i686     1.1.2-4.fc24             fedora             75 k
 libXmu-devel              i686     1.1.2-4.fc24             fedora             28 k
 libXt                     i686     1.1.5-3.fc24             fedora            175 k
 libXt-devel               i686     1.1.5-3.fc24             fedora            450 k
 libXxf86vm                i686     1.1.4-3.fc24             fedora             22 k
 libXxf86vm-devel          i686     1.1.4-3.fc24             fedora             23 k
 libacl                    i686     2.2.52-11.fc24           fedora             32 k
 libattr                   i686     2.4.47-16.fc24           fedora             24 k
 libcap                    i686     2.24-9.fc24              fedora             53 k
 libcom_err                i686     1.42.13-4.fc24           fedora             45 k
 libcroco                  i686     0.6.11-2.fc24            fedora            110 k
 libcurl                   i686     7.47.1-4.fc24            fedora            270 k
 libdb                     i686     5.3.28-14.fc24           fedora            770 k
 libdrm                    i686     2.4.67-4.fc24            fedora            153 k
 libdrm-devel              i686     2.4.67-4.fc24            fedora            119 k
 libffi                    i686     3.1-9.fc24               fedora             34 k
 libgcc                    i686     6.0.0-0.20.fc24          fedora             90 k
 libgcrypt                 i686     1.6.4-2.fc24             fedora            355 k
 libgnome-keyring          i686     3.12.0-6.fc24            fedora            113 k
 libgomp                   i686     6.0.0-0.20.fc24          fedora            185 k
 libgpg-error              i686     1.21-2.fc24              fedora            159 k
 libidn                    i686     1.32-2.fc24              fedora            233 k
 libnghttp2                i686     1.7.1-1.fc24             fedora             70 k
 libomxil-bellagio         i686     0.9.3-12.fc24            fedora             83 k
 libomxil-bellagio-devel   i686     0.9.3-12.fc24            fedora             82 k
 libpciaccess              i686     0.13.4-3.fc24            fedora             32 k
 libpciaccess-devel        i686     0.13.4-3.fc24            fedora             18 k
 libpsl                    i686     0.13.0-1.fc24            fedora             45 k
 libseccomp                i686     2.3.1-0.fc24             updates-testing    58 k
 libselinux                i686     2.5-3.fc24               fedora            164 k
 libselinux-devel          i686     2.5-3.fc24               fedora            192 k
 libsepol                  i686     2.5-3.fc24               fedora            295 k
 libsepol-devel            i686     2.5-3.fc24               fedora             79 k
 libssh2                   i686     1.7.0-5.fc24             fedora             99 k
 libstdc++                 i686     6.0.0-0.20.fc24          fedora            455 k
 libstdc++-static          i686     6.0.0-0.20.fc24          fedora            623 k
 libtool                   i686     2.4.6-10.fc24            fedora            707 k
 libunistring              i686     0.9.4-3.fc24             fedora            324 k
 libuuid                   i686     2.28-1.fc24              fedora             80 k
 libva                     i686     1.7.0-1.fc24             fedora             85 k
 libva-devel               i686     1.7.0-1.fc24             fedora             74 k
 libvdpau                  i686     1.1.1-3.fc24             fedora             35 k
 libvdpau-devel            i686     1.1.1-3.fc24             fedora             46 k
 libverto                  i686     0.2.6-6.fc24             fedora             21 k
 libwayland-client         i686     1.10.0-1.fc24            fedora             33 k
 libwayland-client-devel   i686     1.10.0-1.fc24            fedora             35 k
 libwayland-server         i686     1.10.0-1.fc24            fedora             38 k
 libwayland-server-devel   i686     1.10.0-1.fc24            fedora             38 k
 libxcb                    i686     1.11.1-2.fc24            fedora            205 k
 libxcb-devel              i686     1.11.1-2.fc24            fedora            1.1 M
 libxml2                   i686     2.9.3-3.fc24             fedora            694 k
 libxshmfence              i686     1.2-3.fc24               fedora             12 k
 libxshmfence-devel        i686     1.2-3.fc24               fedora            9.8 k
 llvm                      i686     3.8.0-1.fc24             fedora            1.9 M
 llvm-devel                i686     3.8.0-1.fc24             fedora             13 M
 llvm-libs                 i686     3.8.0-1.fc24             fedora             11 M
 lz4                       i686     r131-2.fc24              fedora             86 k
 mesa-libEGL               i686     11.2.0-1.20160414.fc24   fedora            114 k
 mesa-libGL                i686     11.2.0-1.20160414.fc24   fedora            187 k
 mesa-libGL-devel          i686     11.2.0-1.20160414.fc24   fedora            165 k
 mesa-libgbm               i686     11.2.0-1.20160414.fc24   fedora             58 k
 mesa-libglapi             i686     11.2.0-1.20160414.fc24   fedora             75 k
 ncurses-libs              i686     6.0-5.20160116.fc24      fedora            306 k
 nspr                      i686     4.12.0-1.fc24            fedora            139 k
 nss                       i686     3.23.0-1.2.fc24          fedora            886 k
 nss-softokn               i686     3.23.0-1.0.fc24          fedora            334 k
 nss-softokn-freebl        i686     3.23.0-1.0.fc24          fedora            200 k
 nss-util                  i686     3.23.0-1.0.fc24          fedora             82 k
 openldap                  i686     2.4.43-3.fc24            fedora            347 k
 openssl-libs              i686     1:1.0.2g-3.fc24          fedora            1.0 M
 pam                       i686     1.2.1-5.fc24             fedora            734 k
 pcre                      i686     8.38-11.fc24             fedora            403 k
 pixman                    i686     0.34.0-2.fc24            fedora            264 k
 pixman-devel              i686     0.34.0-2.fc24            fedora             19 k
 pkgconfig                 i686     1:0.29-2.fc24            fedora             63 k
 python                    i686     2.7.11-4.fc24            fedora             96 k
 python-libs               i686     2.7.11-4.fc24            fedora            5.8 M
 python-libxml2            i686     2.9.3-3.fc24             fedora            225 k
 readline                  i686     6.3-8.fc24               fedora            202 k
 sqlite-libs               i686     3.11.0-3.fc24            fedora            468 k
 systemd-compat-libs       i686     229-7.fc24               fedora            157 k
 systemd-devel             i686     229-7.fc24               fedora            286 k
 systemd-libs              i686     229-7.fc24               fedora            481 k
 wayland-devel             i686     1.10.0-1.fc24            fedora             95 k
 xorg-x11-proto-devel      noarch   7.7-19.fc24              fedora            287 k
 xorg-x11-server-devel     i686     1.18.3-1.fc24            fedora            243 k
 xorg-x11-util-macros      noarch   1.19.0-5.fc24            fedora             55 k
 xz-libs                   i686     5.2.2-2.fc24             fedora             98 k
 zlib                      i686     1.2.8-10.fc24            fedora             98 k
 zlib-devel                i686     1.2.8-10.fc24            fedora             55 k
 kernel-headers            i686     4.5.2-301.fc24           fedora            1.0 M

Transaction Summary
Install  129 Packages
Upgrade    1 Package

Total download size: 69 M
Is this ok [y/N]: ^COperation aborted.

Comment 3 Fedora End Of Life 2016-07-19 18:44:45 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 David Auer 2018-08-13 15:04:29 UTC
This is not fixed in 28:

$ sudo dnf builddep wine.i686
enabling fedora-spotify-source repository
enabling updates-source repository
enabling fedora-source repository
enabling rpmfusion-free-updates-source repository
enabling rpmfusion-free-source repository
enabling rpmfusion-nonfree-updates-source repository
enabling rpmfusion-nonfree-source repository
Last metadata expiration check: 0:41:24 ago on Mo 13 Aug 2018 16:16:12 CEST.
Package gcc-8.1.1-5.fc28.x86_64 is already installed, skipping.
Package desktop-file-utils-0.23-8.fc28.x86_64 is already installed, skipping.
Package zlib-devel-1.2.11-8.fc28.x86_64 is already installed, skipping.
Package autoconf-2.69-27.fc28.noarch is already installed, skipping.
Package perl-generators-1.10-7.fc28.noarch is already installed, skipping.
Package libxml2-devel-2.9.8-4.fc28.x86_64 is already installed, skipping.
Package bison-3.0.4-9.fc28.x86_64 is already installed, skipping.
Package libX11-devel-1.6.5-7.fc28.x86_64 is already installed, skipping.
Package libpng-devel-2:1.6.34-6.fc28.x86_64 is already installed, skipping.
Package freetype-devel-2.8-10.fc28.x86_64 is already installed, skipping.
Package mesa-libGL-devel-18.0.5-3.fc28.x86_64 is already installed, skipping.
Package libXext-devel-1.3.3-8.fc28.x86_64 is already installed, skipping.
Package fontconfig-devel-2.13.0-4.fc28.x86_64 is already installed, skipping.
Package libXinerama-devel-1.1.3-10.fc28.x86_64 is already installed, skipping.
Package mesa-libGLU-devel-9.0.0-14.fc28.x86_64 is already installed, skipping.
Package libXrender-devel-0.9.10-5.fc28.x86_64 is already installed, skipping.
Package libxslt-devel-1.1.32-2.fc28.x86_64 is already installed, skipping.
Package libstdc++-devel-8.1.1-5.fc28.x86_64 is already installed, skipping.
Package freeglut-devel-3.0.0-7.fc28.x86_64 is already installed, skipping.
Package libXxf86vm-devel-1.1.4-7.fc28.x86_64 is already installed, skipping.
Package icoutils-0.32.3-2.fc28.x86_64 is already installed, skipping.
Package librsvg2-2.42.3-1.fc28.x86_64 is already installed, skipping.
Dependencies resolved.
 Package                     Arch   Version                       Repository
 SDL2-devel                  x86_64 2.0.8-5.fc28                  updates 255 k
 alsa-lib-devel              x86_64 1.1.6-2.fc28                  fedora  988 k
 audiofile-devel             x86_64 1:0.3.6-17.fc28               fedora   66 k
 chrpath                     x86_64 0.16-7.fc28                   fedora   32 k
 cups-devel                  x86_64 1:2.2.6-18.fc28               updates 145 k
 dbus-devel                  x86_64 1:1.12.10-1.fc28              updates  65 k
 flex                        x86_64 2.6.1-7.fc28                  fedora  318 k
 fontforge                   x86_64 20170731-5.fc28               fedora  5.4 M
 fontpackages-devel          noarch 1.44-21.fc28                  fedora   29 k
 gettext-devel               x86_64              fedora  330 k
 giflib-devel                x86_64 5.1.4-1.fc28                  fedora  183 k
 gnutls-devel                x86_64 3.6.3-3.fc28                  updates 2.1 M
 gsm-devel                   x86_64 1.0.17-5.fc28                 fedora   19 k
 gstreamer1-devel            x86_64 1.14.1-2.fc28                 updates 472 k
                             x86_64 1.14.1-3.fc28                 updates 402 k
 gtk3-devel                  x86_64 3.22.30-1.fc28                fedora  4.4 M
 isdn4k-utils-devel          x86_64 3.27-11.fc28                  fedora   36 k
 lcms2-devel                 x86_64 2.9-2.fc28                    fedora  6.3 M
 libXcomposite-devel         x86_64 0.4.4-12.fc28                 fedora   21 k
 libXcursor-devel            x86_64 1.1.15-1.fc28                 fedora   28 k
 libXi-devel                 x86_64 1.7.9-6.fc28                  fedora  110 k
 libXmu-devel                x86_64 1.1.2-8.fc28                  fedora   28 k
 libXrandr-devel             x86_64 1.5.1-5.fc28                  fedora   25 k
 libXxf86dga-devel           x86_64 1.1.4-10.fc28                 fedora   22 k
 libattr-devel               x86_64 2.4.48-3.fc28                 updates  33 k
 libgphoto2-devel            x86_64 2.5.16-3.fc28                 fedora  200 k
 libieee1284-devel           x86_64 0.2.11-27.fc28                fedora   48 k
 libjpeg-turbo-devel         x86_64 1.5.3-6.fc28                  updates 108 k
 libpcap-devel               x86_64 14:1.9.0-1.fc28               updates 139 k
 librsvg2-devel              x86_64 2.42.3-1.fc28                 fedora   54 k
 libtiff-devel               x86_64 4.0.9-10.fc28                 updates 509 k
 libusb-devel                x86_64 1:0.1.5-12.fc28               fedora   19 k
 libv4l-devel                x86_64 1.14.2-2.fc28                 updates  25 k
 libva-devel                 x86_64 2.1.0-1.fc28                  fedora  101 k
 libvkd3d-devel              x86_64 1.0-1.fc28                    updates  35 k
 mesa-libOSMesa-devel        x86_64 18.0.5-3.fc28                 updates  33 k
 mpg123-devel                x86_64 1.25.6-2.fc28                 fedora  243 k
 ncurses-devel               x86_64 6.1-5.20180224.fc28           updates 527 k
 ocl-icd-devel               x86_64 2.2.12-1.fc28                 fedora   18 k
 openal-soft-devel           x86_64 1.18.2-5.fc28                 fedora   58 k
 opencl-headers              noarch 2.2-1.20180306gite986688.fc28 fedora   87 k
 openldap-devel              x86_64 2.4.46-2.fc28                 updates 809 k
 pulseaudio-libs-devel       x86_64 12.2-1.fc28                   updates 453 k
 sane-backends-devel         x86_64 1.0.27-17.fc28                updates  45 k
 systemd-devel               x86_64 238-9.git0e0aa59.fc28         updates 330 k
 unixODBC-devel              x86_64 2.3.5-3.fc28                  fedora   62 k
 vulkan-loader-devel         x86_64               updates  12 k
Installing dependencies:
 at-spi2-atk-devel           x86_64 2.26.2-1.fc28                 fedora   18 k
 at-spi2-core-devel          x86_64 2.28.0-1.fc28                 fedora  142 k
 atk-devel                   x86_64 2.28.1-1.fc28                 fedora  191 k
 audiofile                   x86_64 1:0.3.6-17.fc28               fedora  140 k
 autotrace                   x86_64 0.31.1-50.fc28                fedora  147 k
 cairo-devel                 x86_64 1.15.12-2.fc28                updates 271 k
 cairo-gobject-devel         x86_64 1.15.12-2.fc28                updates  24 k
 check-devel                 x86_64 0.12.0-1.fc28                 fedora   34 k
 cyrus-sasl-devel            x86_64 2.1.27-0.2rc7.fc28            updates 123 k
 fribidi-devel               x86_64 1.0.2-1.fc28                  updates  30 k
 gdk-pixbuf2-devel           x86_64 2.36.12-1.fc28                fedora  221 k
 gettext-common-devel        noarch              fedora  418 k
 gmp-c++                     x86_64 1:6.1.2-7.fc28                fedora   31 k
 gmp-devel                   x86_64 1:6.1.2-7.fc28                fedora  187 k
 gnutls-c++                  x86_64 3.6.3-3.fc28                  updates  43 k
 graphite2-devel             x86_64 1.3.10-5.fc28                 fedora   44 k
 harfbuzz-devel              x86_64 1.7.5-3.fc28                  fedora  180 k
 libEMF                      x86_64 1.0.9-5.fc28                  fedora   88 k
 libICE-devel                x86_64 1.0.9-12.fc28                 fedora   54 k
 libSM-devel                 x86_64 1.2.2-8.fc28                  fedora   17 k
 libXt-devel                 x86_64 1.1.5-7.fc28                  fedora  450 k
 libepoxy-devel              x86_64 1.5.2-1.fc28                  updates 141 k
 libexif-devel               x86_64 0.6.21-16.fc28                fedora   25 k
 libtasn1-devel              x86_64 4.13-2.fc28                   fedora  334 k
 libuninameslist             x86_64 20170701-4.fc28               fedora  383 k
 libusbx-devel               x86_64 1.0.22-1.fc28                 updates  28 k
 libxkbcommon-devel          x86_64 0.8.0-5.fc28                  updates  59 k
 mesa-libGLES-devel          x86_64 18.0.5-3.fc28                 updates  71 k
 ncurses-c++-libs            x86_64 6.1-5.20180224.fc28           updates  54 k
 nettle-devel                x86_64 3.4-2.fc28                    fedora  634 k
 orc-compiler                x86_64 0.4.28-2.fc28                 fedora   28 k
 orc-devel                   x86_64 0.4.28-2.fc28                 fedora   49 k
 p11-kit-devel               x86_64 0.23.12-1.fc28                updates  84 k
 pango-devel                 x86_64 1.42.3-1.fc28                 updates 320 k
 pixman-devel                x86_64 0.34.0-8.fc28                 updates  19 k
 plotutils                   x86_64 2.6-20.fc28                   fedora  1.2 M
 pstoedit                    x86_64 3.70-10.fc28                  updates 468 k
 subunit-devel               x86_64 1.2.0-18.fc28                 fedora   13 k
 vulkan-headers              noarch               updates 377 k
 wayland-devel               x86_64 1.15.0-1.fc28                 fedora  145 k
 wayland-protocols-devel     noarch 1.14-1.fc28                   updates  69 k

Transaction Summary
Install  88 Packages

Total download size: 33 M
Installed size: 137 M
Is this ok [y/N]:

Note You need to log in before you can comment on or make changes to this bug.