Bug 1483864 - Cannot build packages with old-chroot
Summary: Cannot build packages with old-chroot
Keywords:
Status: CLOSED DUPLICATE of bug 1483342
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-22 07:24 UTC by Lukas Slebodnik
Modified: 2017-08-23 11:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-23 11:21:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2017-08-22 07:24:55 UTC
Description of problem:
I tried to rebuild some packages in mock on rawhide and it failed
due to missing package dnf-plugins-core

Version-Release number of selected component (if applicable):
sh#  rpm -q dnf dnf-plugins-core mock
dnf-2.6.3-2.fc28.noarch
dnf-plugins-core-2.1.3-2.fc27.noarch
mock-1.4.3-1.fc27.noarch


How reproducible:
Deterministic

Steps to Reproduce:
1. docker run -ti --rm --privileged docker.io/fedora:rawhide bash
   //rest run within  rawhide container
2. dnf install --nogpgcheck --best -y mock
3. curl -O https://kojipkgs.fedoraproject.org//packages/lftp/4.8.0/3.fc27/src/lftp-4.8.0-3.fc27.src.rpm
4. mock --old-chroot --resultdir . --rebuild ./lftp-4.8.0-3.fc27.src.rpm

Actual results:
...

Complete!
Finish: dnf install
Start: creating root cache
Finish: creating root cache
Finish: chroot init
INFO: Installed packages:
Start: build phase for lftp-4.8.0-3.fc27.src.rpm
Start: build setup for lftp-4.8.0-3.fc27.src.rpm
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/lftp-4.8.0-3.fc28.src.rpm
No such command: builddep. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(builddep)'"
ERROR: Exception(./lftp-4.8.0-3.fc27.src.rpm) Config(fedora-rawhide-x86_64) 2 minutes 0 seconds
INFO: Results and/or logs in: .
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: builddep command missing.
Please install package dnf-plugins-core.


Expected results:
src.rpm pacakge rebuilt without any problem.

Comment 1 Lukas Slebodnik 2017-08-22 08:14:30 UTC
It is the same problem as in https://bugzilla.redhat.com/show_bug.cgi?id=1483342

It works well with following packages:
dnf-2.6.3-3.fc28.noarch
dnf-plugins-core-2.1.3-2.fc27.noarch
mock-1.4.3-1.fc27.noarch

Comment 2 Miroslav Suchý 2017-08-23 11:21:00 UTC

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


Note You need to log in before you can comment on or make changes to this bug.