mergerepos of f10 x86_64 release and updates does not contain perl or some other packages?
Mike Bonnet
mikeb at redhat.com
Tue Mar 17 16:08:43 UTC 2009
Steve Traylen wrote:
> Hi,
>
> Merging works fine for i386 f10 repositories but for x86_64 the
> following happens.
>
> The merged repository of f10's "Everything" and "updates" is created
> and then using
> this new repo mock tries to create and installroot.
>
> The problem is that this new repository is unable to provide
> some items, perl, /bin/bash and so the install root fails.
>
> Here are the details.
>
> The "blocklist" file following here is empty.
>
> $ /usr/libexec/kojid/mergerepos -a x86_64 \
> -b /mnt/koji/repos/dist-f10-build/671/x86_64/blocklist \
> -o /tmp/koji/tasks/2021/2021/repo \
> -g /mnt/koji/repos/dist-f10-build/671/groups/comps.xml \
> -r http://mirror.switch.ch/ftp/mirror/fedora/linux/updates/10/x86_64/ \
> -r http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/10/Everything/x86_64/os/
>
> Adding repo: http://mirror.switch.ch/ftp/mirror/fedora/linux/updates/10/x86_64/
> Adding repo: http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/10/Everything/x86_64/os/
> 1/12364 - openswan-doc-2.6.19-1.fc10.x86_64
> 2/12364 - ssm-0.1-12.fc10.x86_64
> ...
> ...
> 1112/12364 - 4:perl-5.10.0-56.fc10.x86_64
> ...
> ...
> 12363/12364 - libextractor-plugins-exiv2-0.5.20b-2.fc10.x86_64
> 12364/12364 - lwp-devel-2.4-1.fc10.x86_64
>
> Saving Primary metadata
> Saving file lists metadata
> Saving other metadata
> Generating sqlite DBs
> Starting other db creation: Tue Mar 17 14:49:44 2009
> Ending other db creation: Tue Mar 17 14:50:50 2009
> Starting filelists db creation: Tue Mar 17 14:51:03 2009
> Ending filelists db creation: Tue Mar 17 14:55:37 2009
> Starting primary db creation: Tue Mar 17 14:55:40 2009
> Ending primary db creation: Tue Mar 17 14:58:28 2009
> Sqlite DBs complete
>
> The following is then tried from within mock. The chroot's yum.conf is
> definitely
> referencing the repository I just created (I've checked carefully and have
> recreated the repo a few times just to check this is consistent. )
>
> /usr/bin/yum --installroot /var/lib/mock/dist-f10-build-13-671/root/ \
> groupinstall build
>
> this results in
>
> EBUG util.py:256: redhat-rpm-config-9.0.3-3.fc10.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: /usr/bin/perl is needed
> by package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: redhat-rpm-config-9.0.3-3.fc10.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: perl(Getopt::Long) is
> needed by package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: redhat-rpm-config-9.0.3-3.fc10.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: /bin/sh is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: redhat-rpm-config-9.0.3-3.fc10.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: mktemp is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: fedora-release-notes-10.0.0-1.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: /bin/sh is needed by
> package fedora-release-notes-10.0.0-1.noarch (build)
> DEBUG util.py:256: redhat-rpm-config-9.0.3-3.fc10.noarch from build
> has depsolving problems
> DEBUG util.py:256: --> Missing Dependency: /bin/bash is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: /bin/bash is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: mktemp is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: /bin/sh is needed by
> package fedora-release-notes-10.0.0-1.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: /usr/bin/perl is needed
> by package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: /bin/sh is needed by
> package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
> DEBUG util.py:256: Error: Missing Dependency: perl(Getopt::Long) is
> needed by package redhat-rpm-config-9.0.3-3.fc10.noarch (build)
>
> And indeed.
>
> /usr/bin/yum --installroot /var/lib/mock/dist-f10-build-13-671/root list perl
> Error: No matching Packages to list
>
> There are lots of packages in this repository, but no perl it seems.
>
> /usr/bin/yum --installroot /var/lib/mock/dist-f10-build-13-671/root
> list | wc -l
> shows 3483 packages.
>
> Note the main box I am working on is 32 bit F10 box which may be relevant and
> the reason why only subsequently the i386 build works?
You can't use a x86_64 chroot on a i386 box, nothing in the chroot will
run. I suspect rpm is preventing installation of x86_64 packages on a
i386 host.
More information about the Fedora-buildsys-list
mailing list