Bug 468827

Summary: mock -r fedora-rawhide-i386 init fails
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: mockAssignee: David Cantrell <dcantrell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, mebrown, pmatilai, rc040203, williams
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-28 21:19:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Corsepius 2008-10-28 09:53:59 UTC
Description of problem:

mock -r fedora-rawhide-i386 init

fails.

Version-Release number of selected component (if applicable):
mock-0.9.12-1.fc10.noarch rsp. mock-0.9.9-1.fc9.noarch

How reproducible:
Always.

Steps to Reproduce:
1. run 
mock -r fedora-rawhide-i386 init

  
Actual results:

# mock -r fedora-rawhide-i386 init
INFO: mock.py version 0.9.9 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
INFO: enabled root cache
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled ccache
State Changed: running yum
ERROR: Command failed: 
 # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-i386/root/  groupinstall buildsys-build

================================================================================
 Package                   Arch       Version                  Repository Size 
================================================================================
Installing:
 bash                      i386       3.2-28.fc10              fedora     1.8 M
 bzip2                     i386       1.0.5-3.fc10             fedora      49 k
 coreutils                 i386       6.12-16.fc10             fedora     4.5 M
 cpio                      i386       2.9.90-2.fc10            fedora     184 k
 diffutils                 i386       2.8.1-21.fc9             fedora     213 k
 fedora-release            noarch     9.92-1                   fedora      31 k
 findutils                 i386       1:4.4.0-1.fc10           fedora     495 k
 gawk                      i386       3.1.5-18.fc10            fedora     961 k
 gcc                       i386       4.3.2-6                  fedora     8.1 M
 gcc-c++                   i386       4.3.2-6                  fedora     3.9 M
 grep                      i386       2.5.1a-61.fc10           fedora     182 k
 gzip                      i386       1.3.12-7.fc10            fedora     113 k
 info                      i386       4.12-4.fc10              fedora     178 k
 make                      i386       1:3.81-14.fc10           fedora     480 k
 patch                     i386       2.5.4-35.fc10            fedora      67 k
 redhat-rpm-config         noarch     9.0.3-3.fc10             fedora      54 k
 rpm-build                 i386       4.6.0-0.rc1.5            fedora     118 k
 sed                       i386       4.1.5-10.fc9             fedora     188 k
 shadow-utils              i386       2:4.1.2-8.fc10           fedora     1.2 M
 tar                       i386       2:1.20-3.fc10            fedora     941 k
 unzip                     i386       5.52-9.fc9               fedora     143 k
 util-linux-ng             i386       2.14.1-3.fc10            fedora     2.0 M
 which                     i386       2.19-3.fc9               fedora      39 k
Installing for dependencies:
 ConsoleKit-libs           i386       0.3.0-2.fc10             fedora      15 k
 audit-libs                i386       1.7.8-4.fc10             fedora      79 k
 basesystem                noarch     10.0-1                   fedora     2.7 k
 binutils                  i386       2.18.50.0.9-5.fc10       fedora     3.1 M
 bzip2-libs                i386       1.0.5-3.fc10             fedora      38 k
 ca-certificates           noarch     2008-7                   fedora     306 k
 chkconfig                 i386       1.3.37-2                 fedora     156 k
 compat-db45               i386       4.5.20-5.fc10            fedora     1.2 M
 cpp                       i386       4.3.2-6                  fedora     3.1 M
 cracklib                  i386       2.8.12-2                 fedora      47 k
 cracklib-dicts            i386       2.8.12-2                 fedora     3.7 M
 crontabs                  noarch     1.10-23.fc10             fedora     6.7 k
 curl                      i386       7.18.2-7.fc10            fedora     155 k
 cyrus-sasl-lib            i386       2.1.22-19.fc10           fedora     142 k
 db4                       i386       4.7.25-5.fc10            fedora     652 k
 dbus                      i386       1.2.4-1.fc10             fedora     226 k
 dbus-libs                 i386       1.2.4-1.fc10             fedora     128 k
 e2fsprogs-libs            i386       1.41.3-1.fc10            fedora     151 k
 elfutils                  i386       0.137-3.fc10             fedora     226 k
 elfutils-libelf           i386       0.137-3.fc10             fedora      58 k
 elfutils-libs             i386       0.137-3.fc10             fedora     193 k
 expat                     i386       2.0.1-5                  fedora      83 k
 fedora-release-notes      noarch     8.92-2                   fedora     3.3 M
 file                      i386       4.26-3.fc10              fedora      38 k
 file-libs                 i386       4.26-3.fc10              fedora     333 k
 filesystem                i386       2.4.19-1.fc10            fedora     119 k
 gdbm                      i386       1.8.0-29.fc10            fedora      28 k
 glibc                     i686       2.8.90-14                fedora     5.3 M
 glibc-common              i386       2.8.90-14                fedora      22 M
 glibc-devel               i386       2.8.90-14                fedora     2.1 M
 glibc-headers             i386       2.8.90-14                fedora     615 k
 gmp                       i386       4.2.2-8.fc10             fedora     392 k
 kernel-headers            i386       2.6.27.4-51.fc10         fedora     738 k
 keyutils-libs             i386       1.2-3.fc9                fedora      18 k
 krb5-libs                 i386       1.6.3-16.fc10            fedora     721 k
 less                      i386       424-1.fc10               fedora     109 k
 libacl                    i386       2.2.47-3.fc10            fedora      22 k
 libattr                   i386       2.4.43-1.fc10            fedora      13 k
 libcap                    i386       2.10-2.fc10              fedora      30 k
 libcurl                   i386       7.18.2-7.fc10            fedora     156 k
 libgcc                    i386       4.3.2-6                  fedora      52 k
 libgomp                   i386       4.3.2-6                  fedora      79 k
 libidn                    i386       0.6.14-8                 fedora     211 k
 libselinux                i386       2.0.73-1.fc10            fedora      98 k
 libsepol                  i386       2.0.33-1.fc10            fedora     130 k
 libssh2                   i386       0.18-7.fc9               fedora      89 k
 libstdc++                 i386       4.3.2-6                  fedora     324 k
 libstdc++-devel           i386       4.3.2-6                  fedora     3.8 M
 logrotate                 i386       3.7.7-1.fc10             fedora      52 k
 lua                       i386       5.1.4-1.fc10             fedora     230 k
 lzma                      i386       4.32.7-1.fc10            fedora      91 k
 lzma-libs                 i386       4.32.7-1.fc10            fedora      36 k
 mpfr                      i386       2.3.2-1.fc10             fedora     149 k
 ncurses-base              i386       5.6-20.20080927.fc10     fedora      62 k
 ncurses-libs              i386       5.6-20.20080927.fc10     fedora     326 k
 nspr                      i386       4.7.2-2.fc10             fedora     122 k
 nss                       i386       3.12.2.0-3.fc10          fedora     1.2 M
 openldap                  i386       2.4.12-1.fc10            fedora     316 k
 openssl                   i686       0.9.8g-11.fc10           fedora     1.3 M
 pam                       i386       1.0.2-2.fc10             fedora     654 k
 pcre                      i386       7.8-1.fc10               fedora     213 k
 perl                      i386       4:5.10.0-49.fc10         fedora      14 M
 perl-Module-Pluggable     i386       1:3.60-49.fc10           fedora      26 k
 perl-Pod-Escapes          i386       1:1.04-49.fc10           fedora      19 k
 perl-Pod-Simple           i386       1:3.07-49.fc10           fedora     185 k
 perl-libs                 i386       4:5.10.0-49.fc10         fedora     900 k
 perl-version              i386       3:0.74-49.fc10           fedora      29 k
 popt                      i386       1.13-4.fc10              fedora      39 k
 readline                  i386       5.2-13.fc9               fedora     184 k
 rpm                       i386       4.6.0-0.rc1.5            fedora     1.1 M
 rpm-libs                  i386       4.6.0-0.rc1.5            fedora     346 k
 setup                     noarch     2.7.4-1.fc10             fedora     140 k
 sqlite                    i386       3.5.9-2.fc10             fedora     246 k
 tzdata                    noarch     2008h-1.fc10             fedora     753 k
 zlib                      i386       1.2.3-18.fc9             fedora      74 k

Transaction Summary
================================================================================
Install     98 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total size: 102 M
/bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
error: %post(bash-3.2-28.fc10.i386) scriptlet failed, exit status 127

Installed: bash.i386 0:3.2-28.fc10 bzip2.i386 0:1.0.5-3.fc10 coreutils.i386 0:6.12-16.fc10 cpio.i386 0:2.9.90-2.fc10 diffutils.i386 0:2.8.1-21.fc9 fedora-release.noarch 0:9.92-1 findutils.i386 1:4.4.0-1.fc10 gawk.i386 0:3.1.5-18.fc10 gcc.i386 0:4.3.2-6 gcc-c++.i386 0:4.3.2-6 grep.i386 0:2.5.1a-61.fc10 gzip.i386 0:1.3.12-7.fc10 info.i386 0:4.12-4.fc10 make.i386 1:3.81-14.fc10 patch.i386 0:2.5.4-35.fc10 redhat-rpm-config.noarch 0:9.0.3-3.fc10 rpm-build.i386 0:4.6.0-0.rc1.5 sed.i386 0:4.1.5-10.fc9 shadow-utils.i386 2:4.1.2-8.fc10 tar.i386 2:1.20-3.fc10 unzip.i386 0:5.52-9.fc9 util-linux-ng.i386 0:2.14.1-3.fc10 which.i386 0:2.19-3.fc9
Dependency Installed: ConsoleKit-libs.i386 0:0.3.0-2.fc10 audit-libs.i386 0:1.7.8-4.fc10 basesystem.noarch 0:10.0-1 binutils.i386 0:2.18.50.0.9-5.fc10 bzip2-libs.i386 0:1.0.5-3.fc10 ca-certificates.noarch 0:2008-7 chkconfig.i386 0:1.3.37-2 compat-db45.i386 0:4.5.20-5.fc10 cpp.i386 0:4.3.2-6 cracklib.i386 0:2.8.12-2 cracklib-dicts.i386 0:2.8.12-2 crontabs.noarch 0:1.10-23.fc10 curl.i386 0:7.18.2-7.fc10 cyrus-sasl-lib.i386 0:2.1.22-19.fc10 db4.i386 0:4.7.25-5.fc10 dbus.i386 0:1.2.4-1.fc10 dbus-libs.i386 0:1.2.4-1.fc10 e2fsprogs-libs.i386 0:1.41.3-1.fc10 elfutils.i386 0:0.137-3.fc10 elfutils-libelf.i386 0:0.137-3.fc10 elfutils-libs.i386 0:0.137-3.fc10 expat.i386 0:2.0.1-5 fedora-release-notes.noarch 0:8.92-2 file.i386 0:4.26-3.fc10 file-libs.i386 0:4.26-3.fc10 filesystem.i386 0:2.4.19-1.fc10 gdbm.i386 0:1.8.0-29.fc10 glibc.i686 0:2.8.90-14 glibc-common.i386 0:2.8.90-14 glibc-devel.i386 0:2.8.90-14 glibc-headers.i386 0:2.8.90-14 gmp.i386 0:4.2.2-8.fc10 kernel-headers.i386 0:2.6.27.4-51.fc10 keyutils-libs.i386 0:1.2-3.fc9 krb5-libs.i386 0:1.6.3-16.fc10 less.i386 0:424-1.fc10 libacl.i386 0:2.2.47-3.fc10 libattr.i386 0:2.4.43-1.fc10 libcap.i386 0:2.10-2.fc10 libcurl.i386 0:7.18.2-7.fc10 libgcc.i386 0:4.3.2-6 libgomp.i386 0:4.3.2-6 libidn.i386 0:0.6.14-8 libselinux.i386 0:2.0.73-1.fc10 libsepol.i386 0:2.0.33-1.fc10 libssh2.i386 0:0.18-7.fc9 libstdc++.i386 0:4.3.2-6 libstdc++-devel.i386 0:4.3.2-6 logrotate.i386 0:3.7.7-1.fc10 lua.i386 0:5.1.4-1.fc10 lzma.i386 0:4.32.7-1.fc10 lzma-libs.i386 0:4.32.7-1.fc10 mpfr.i386 0:2.3.2-1.fc10 ncurses-base.i386 0:5.6-20.20080927.fc10 ncurses-libs.i386 0:5.6-20.20080927.fc10 nspr.i386 0:4.7.2-2.fc10 nss.i386 0:3.12.2.0-3.fc10 openldap.i386 0:2.4.12-1.fc10 openssl.i686 0:0.9.8g-11.fc10 pam.i386 0:1.0.2-2.fc10 pcre.i386 0:7.8-1.fc10 perl.i386 4:5.10.0-49.fc10 perl-Module-Pluggable.i386 1:3.60-49.fc10 perl-Pod-Escapes.i386 1:1.04-49.fc10 perl-Pod-Simple.i386 1:3.07-49.fc10 perl-libs.i386 4:5.10.0-49.fc10 perl-version.i386 3:0.74-49.fc10 popt.i386 0:1.13-4.fc10 readline.i386 0:5.2-13.fc9 rpm.i386 0:4.6.0-0.rc1.5 rpm-libs.i386 0:4.6.0-0.rc1.5 setup.noarch 0:2.7.4-1.fc10 sqlite.i386 0:3.5.9-2.fc10 tzdata.noarch 0:2008h-1.fc10 zlib.i386 0:1.2.3-18.fc9

Expected results:
Function.

Additional info:
* mock -r fedora-rawhide-x86_64
on fedora-9-x86_64 (so far) doesn't seem to be affected
* I don't see any apparent packaging bug in bash.spec which would explain this issue.
* Wild guesses:
- broken createrepo having been used
- rpm and/or yum, rsp. their infrastructure are broken in current rawhide 
(Seth's "filtering redundant provides/requires"? campaign)

This bug renders using Fedora 9 and rawhide as development platform for FC10 impossible.

Comment 1 Panu Matilainen 2008-10-28 15:31:47 UTC
It's a dependency loop in the packaging:
warning: LOOP:
warning:     ncurses-libs-5.6-20.20080927.fc10.i386   Requires(post): /sbin/ldconfig
warning: removing glibc-2.8.90-14.i686 "Requires: glibc-common = 2.8.90-14" from tsort relations.
warning:     glibc-2.8.90-14.i686                     Requires: glibc-common = 2.8.90-14
warning: removing glibc-common-2.8.90-14.i386 "Requires(auto): /bin/bash" from tsort relations.
warning:     glibc-common-2.8.90-14.i386              Requires(auto): /bin/bash
warning: removing bash-3.2-28.fc10.i386 "Requires(auto): libtinfo.so.5" from tsort relations.
warning:     bash-3.2-28.fc10.i386                    Requires(auto): libtinfo.so.5

Comment 2 Ralf Corsepius 2008-10-28 15:49:38 UTC
(In reply to comment #1)
> It's a dependency loop in the packaging:
Ah! Any solution? Which package to file a bug against?

And why is x86_64 not affected?

Comment 3 Panu Matilainen 2008-10-28 21:19:10 UTC
x86_64 is affected too, but this (like is typical for ordering issues) showing up depends on the exact involved package set.

*** This bug has been marked as a duplicate of bug 433579 ***