ubuntu yum-builddep doesn't correclty reveal rhel macros

Bug #1522607 reported by Sergey Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
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]:
Installing:
 rubygem-librarian-puppet-simple
                         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
[4]

Tags: area-build
description: updated
Changed in fuel:
assignee: nobody → Sergey Kulanov (skulanov)
status: New → In Progress
Revision history for this message
Sergey Kulanov (skulanov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.