ubuntu yum-builddep doesn't correclty reveal rhel macros

Bug #1522607 reported by Sergey Kulanov on 2015-12-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Sergey Kulanov

Bug Description

yum-builddep under ubuntu doesn't correctly reveal rhel macros while building fuel packages locally in chroot (fuel-main [1]) as the result wrong build dependencies are installed, for example please check the changes in spec [2], the same happens for fuel-library package [3], so we are always install rubygem-librarian-puppet-simple as build-dep, see iso build log [4]:
                         noarch 0.0.5-1.el6.mira1 mos-local-mirror 242 k
Installing for dependencies:
 MAKEDEV x86_64 3.24-6.el6 upstream 89 k
 augeas-libs x86_64 1.0.0-7.el6_6.1 upstream-updates 313 k

[1] https://github.com/openstack/fuel-main/blob/master/packages/rpm/module.mk#L61
[2] https://review.openstack.org/#/c/248128/
[3] https://github.com/openstack/fuel-library/blob/master/specs/fuel-library8.0.spec#L18

description: updated
Changed in fuel:
assignee: nobody → Sergey Kulanov (skulanov)
status: New → In Progress

Reviewed: https://review.openstack.org/252048
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=9b50139230afed0d0ce36c03763126ddac7ccf04
Submitter: Jenkins
Branch: master

commit 9b50139230afed0d0ce36c03763126ddac7ccf04
Author: Sergey Kulanov <email address hidden>
Date: Tue Dec 1 22:20:39 2015 +0200

    Use yum-builddep from chroot but not from build host

    Start using yum-builddep from chroot:
    1. Prepare chroot from upstream mirrors only for installing yum inside it
    2. Update yum.conf with mos mirrors with path related to chroot
    3. Mount local_mirror into chroot
    4. Use all yum stuff from chroot

    Closes-bug: #1522607

    Change-Id: Ifd9d7c6a35c4977e78eba10ffcd0b1a8dcfee4ca

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers