Dennis,
I suspect I just need a few hours doing something else (like sleeping), but I hit a small bump configuring mock.
I can see that you use several repos - including on i386 for group deps (cool). However, my mock refuses to recognize the Scotland armv7hl repo. I will look at it in a few hours, should be easy to fix but just annoying. If you have something I don't, like a patch to mock, let me know.
Jon.
On Friday, July 29, 2011 06:27:51 AM Jonathan Masters wrote:
Dennis,
I suspect I just need a few hours doing something else (like sleeping), but I hit a small bump configuring mock.
I can see that you use several repos - including on i386 for group deps (cool). However, my mock refuses to recognize the Scotland armv7hl repo. I will look at it in a few hours, should be easy to fix but just annoying. If you have something I don't, like a patch to mock, let me know.
Jon.
yum needs some slight patching to work correctly its all in /usr/lib/python2.7/site-packages/rpmUtils/arch.py
the attached patch gets it working, but is an ugly hack, i proposed to seth a propper fix but he did not like it, he really wanted rpms python module to be able to tell us if we are on a hard or soft float system.
Dennis
On Fri, 2011-07-29 at 10:42 -0500, Dennis Gilmore wrote:
On Friday, July 29, 2011 06:27:51 AM Jonathan Masters wrote:
Dennis,
I suspect I just need a few hours doing something else (like sleeping), but I hit a small bump configuring mock.
I can see that you use several repos - including on i386 for group deps (cool). However, my mock refuses to recognize the Scotland armv7hl repo. I will look at it in a few hours, should be easy to fix but just annoying. If you have something I don't, like a patch to mock, let me know.
Jon.
yum needs some slight patching to work correctly its all in /usr/lib/python2.7/site-packages/rpmUtils/arch.py
the attached patch gets it working, but is an ugly hack, i proposed to seth a propper fix but he did not like it, he really wanted rpms python module to be able to tell us if we are on a hard or soft float system.
I recall you mentioned this now. But of course I didn't have this. Fixing it at the moment. Can you perhaps build a yum RPM with this sometime? (if it will take Seth a while to get to a solution).
Jon.
On Fri, 2011-07-29 at 07:27 -0400, Jonathan Masters wrote:
I suspect I just need a few hours doing something else (like sleeping), but I hit a small bump configuring mock.
So packing for the UK took priority, etc. but I've gotten the rootfs in git further. It now fails with that silly FileCaps problem from before, so clearly either rpm of glibc-common need updating. Part of the problem is that we didn't bump the release on packages that were built by different people or at different points in time, so e.g. perl had broken deps in the rootfs but not in the version from ausil.us I switched to.
Here's the output running as "build" within the rootfs via su:
-bash-4.2$ mock --init INFO: mock.py version 1.1.11 starting... State Changed: init plugins INFO: selinux disabled State Changed: start State Changed: lock buildroot State Changed: clean State Changed: unlock buildroot State Changed: init State Changed: lock buildroot Mock Version: 1.1.11 INFO: Mock Version: 1.1.11 State Changed: running yum ERROR: Command failed: # ['/usr/bin/yum', '--installroot', '/var/lib/mock/fedora-15-arm/root/', 'groupinstall', 'buildsys-build'] Ignored option -c (probably due to merging -yc != -y -c)
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bash armv7hl 4.2.10-2 stage3 943 k bzip2 armv7hl 1.0.6-3 stage3 49 k coreutils armv7hl 8.10-2.fc15 stage3 3.0 M cpio armv7hl 2.11-3.fc15 stage3 194 k diffutils armv7hl 2.8.1-30.fc15 stage3 201 k fedora-release noarch 15-3 stage3 24 k findutils armv7hl 1:4.5.9-3 stage3 418 k gawk armv7hl 3.1.8-3 stage3 761 k gcc armv7hl 4.6.0-6.fc15 stage3 9.7 M gcc-c++ armv7hl 4.6.0-6.fc15 stage3 4.6 M grep armv7hl 2.7-5.fc15 stage3 248 k gzip armv7hl 1.4-3 stage3 113 k info armv7hl 4.13a-15.fc15 stage3 172 k make armv7hl 1:3.82-4.fc15 stage3 409 k patch armv7hl 2.6.1-9.fc15 stage3 104 k redhat-rpm-config noarch 9.1.0-5.fc14 primary-arch 63 k rpm-build armv7hl 4.9.0-9arm2.fc15 stage3 131 k sed armv7hl 4.2.1-6 stage3 214 k shadow-utils armv7hl 2:4.1.4.2-11.fc15 stage3 952 k tar armv7hl 2:1.25-6.fc15 stage3 816 k unzip armv7hl 6.0-4 stage3 154 k util-linux armv7hl 2.19.1-1 stage3 1.6 M which armv7hl 2.20-2.fc15 stage3 38 k xz armv7hl 5.0.1-2 stage3 181 k Installing for dependencies: audit-libs armv7hl 2.1.1-0.1.fc15.noprelude stage3 132 k basesystem noarch 10.0-3 primary-arch 4.2 k binutils armv7hl 2.21.51.0.6-7.fc15 stage3 3.1 M bzip2-libs armv7hl 1.0.6-3 stage3 72 k ca-certificates noarch 2011.70-2.fc15 primary-arch 350 k chkconfig armv7hl 1.3.52-1.fc15 stage3 154 k cloog-ppl armv7hl 0.15.9-3.fc15 stage3 81 k coreutils-libs armv7hl 8.10-2.fc15 stage3 48 k cpp armv7hl 4.6.0-6.fc15 stage3 3.7 M cracklib armv7hl 2.8.18-2 stage3 84 k cracklib-dicts armv7hl 2.8.18-2 stage3 3.5 M curl armv7hl 7.21.3-6.fc15 stage3 226 k cyrus-sasl-lib armv7hl 2.1.23-16.fc15 stage3 232 k db4 armv7hl 4.8.30-3.fc15 stage3 1.6 M db4-utils armv7hl 4.8.30-3.fc15 stage3 120 k elfutils armv7hl 0.152-1.fc15 stage3 195 k elfutils-libelf armv7hl 0.152-1.fc15 stage3 169 k elfutils-libs armv7hl 0.152-1.fc15 stage3 168 k expat armv7hl 2.0.1-11 stage3 138 k file armv7hl 5.05-3.fc15 stage3 47 k file-libs armv7hl 5.05-3.fc15 stage3 379 k filesystem armv7hl 2.4.40-1 stage3 1.0 M gdb armv7hl 7.2.90.20110429-36.fc15 stage3 1.6 M gdbm armv7hl 1.8.3-9 stage3 48 k glibc armv7hl 2.13.90-9 stage3 3.2 M glibc-common armv7hl 2.13.90-9 stage3 10 M glibc-devel armv7hl 2.13.90-9 stage3 968 k glibc-headers armv7hl 2.13.90-9 stage3 584 k gmp armv7hl 1:4.3.2-3 stage3 488 k gnupg2 armv7hl 2.0.17-1.fc15 stage3 1.2 M kernel-headers armv7hl 2.6.38.8-36.fc15 stage3 715 k keyutils-libs armv7hl 1.2-7 stage3 21 k krb5-libs armv7hl 1.9-0.7.fc15.bootstrap stage3 1.9 M libacl armv7hl 2.2.49-9.fc15 stage3 20 k libassuan armv7hl 2.0.0-4.fc15 stage3 51 k libattr armv7hl 2.4.44-7.fc15 stage3 13 k libblkid armv7hl 2.19.1-1 stage3 252 k libcap armv7hl 2.17-2.fc15 stage3 42 k libcom_err armv7hl 1.41.14-2 stage3 39 k libcurl armv7hl 7.21.3-6.fc15 stage3 635 k libffi armv7hl 3.0.9-2 stage3 44 k libgcc armv7hl 4.6.0-6.fc15 stage3 258 k libgcrypt armv7hl 1.4.6-1 stage3 498 k libgomp armv7hl 4.6.0-6.fc15 stage3 134 k libgpg-error armv7hl 1.9-2 stage3 80 k libidn armv7hl 1.19-2 stage3 231 k libmount armv7hl 2.19.1-1 stage3 189 k libmpc armv7hl 0.8.3-0.3.svn855 stage3 78 k libselinux armv7hl 2.0.99-4.fc15 stage3 102 k libsepol armv7hl 2.0.42-2.fc15 stage3 114 k libssh2 armv7hl 1.2.7-1 stage3 173 k libstdc++ armv7hl 4.6.0-6.fc15 stage3 1.3 M libstdc++-devel armv7hl 4.6.0-6.fc15 stage3 1.3 M libutempter armv7hl 1.1.5-5 stage3 28 k libuuid armv7hl 2.19.1-1 stage3 79 k lua armv7hl 5.1.4-8.fc15 stage3 161 k mpfr armv7hl 3.0.0-4 stage3 342 k ncurses armv7hl 5.8-2.20110319 stage3 285 k ncurses-base armv7hl 5.8-2.20110319 stage3 65 k ncurses-libs armv7hl 5.8-2.20110319 stage3 597 k nspr armv7hl 4.8.8-1.fc15 stage3 90 k nss armv7hl 3.12.9-15.fc15 stage3 2.7 M nss-softokn armv7hl 3.12.9-7.fc15 stage3 566 k nss-softokn-freebl armv7hl 3.12.9-7.fc15 stage3 345 k nss-sysinit armv7hl 3.12.9-15.fc15 stage3 36 k nss-util armv7hl 3.12.9-2.fc15 stage3 135 k openldap armv7hl 2.4.24-2.fc15 stage3 568 k openssl armv7hl 1.0.0d-1.fc15 stage3 2.4 M pam armv7hl 1.1.3-8.fc15.armhack stage3 855 k pcre armv7hl 8.12-2 stage3 363 k perl armv7hl 4:5.12.3-157.fc15 stage3 10 M perl-Module-Pluggable noarch 1:3.90-157.fc15 primary-arch 40 k perl-PathTools armv7hl 3.31-157.fc15 stage3 96 k perl-Pod-Escapes noarch 1:1.04-157.fc15 primary-arch 32 k perl-Pod-Simple noarch 1:3.13-157.fc15 primary-arch 210 k perl-Scalar-List-Utils armv7hl 1.22-157.fc15 stage3 50 k perl-libs armv7hl 4:5.12.3-157.fc15 stage3 503 k perl-threads armv7hl 1.75-157.fc15 stage3 59 k perl-threads-shared armv7hl 1.32-157.fc15 stage3 49 k pinentry armv7hl 0.8.1-0.3.fc15.noqt4 stage3 64 k pkgconfig armv7hl 1:0.25-3 stage3 49 k popt armv7hl 1.13-8.fc15 stage3 35 k ppl armv7hl 0.11.2-1.fc15 stage3 7.4 M ppl-pwl armv7hl 0.11.2-1.fc15 stage3 55 k pth armv7hl 2.0.7-10 stage3 146 k python-libs armv7hl 2.7.1-0.7.fc15.notest stage3 5.3 M readline armv7hl 6.2-2 stage3 290 k rpm armv7hl 4.9.0-9arm2.fc15 stage3 976 k rpm-build-libs armv7hl 4.9.0-9arm2.fc15 stage3 188 k rpm-libs armv7hl 4.9.0-9arm2.fc15 stage3 622 k setup noarch 2.8.31-2.fc15 primary-arch 152 k sqlite armv7hl 3.7.5-3 stage3 746 k tzdata noarch 2011d-3.fc15 primary-arch 430 k xz-libs armv7hl 5.0.1-2 stage3 194 k zlib armv7hl 1.2.5-3.fc15 stage3 78 k
Transaction Summary ================================================================================ Install 119 Package(s)
Total download size: 104 M Installed size: 421 M RPM needs to be updated ERROR You need to update rpm to handle: rpmlib(FileCaps) <= 4.6.1-1 is needed by glibc-common-2.13.90-9.armv7hl You could try running: rpm -Va --nofiles --nodigest Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2011-07-30-04-55smmRmk.yumtx
I'll look into it later on. I suspect it won't be long before the rootfs in git is able to run mock properly, too. At least I've moved things along today with fixed perl, yum, etc.
Jon.
On Sat, 2011-07-30 at 05:05 -0400, Jon Masters wrote:
I'll look into it later on. I suspect it won't be long before the rootfs in git is able to run mock properly, too. At least I've moved things along today with fixed perl, yum, etc.
If someone wants to pull down the latest rootfs and send me a pull request to fix this, that would be even more awesome as I'm traveling over the weekend. I'd love it if we had the git history of getting to the point of a working mock, which is the reason for this exercise.
Jon.
On Monday, August 01, 2011 12:40:41 PM DJ Delorie wrote:
It now fails with that silly FileCaps problem from before, so clearly either rpm of glibc-common need updating.
That's an rpm feature that glibc.spec needs:
%attr(755,root,root) %caps(cap_chown,cap_fowner=pe) %{_prefix}/libexec/pt_chown
it needs a rpm thats been built with a stage3 built elfutils, it gives rpm the correct provides.
Dennis