Bug 755211 - colrm: command not found missing BuildRequires: util-linux-ng
Summary: colrm: command not found missing BuildRequires: util-linux-ng
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fetch-crl
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-19 14:56 UTC by Giam Teck Choon
Modified: 2011-12-22 11:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-30 23:18:29 UTC
Type: ---


Attachments (Terms of Use)

Description Giam Teck Choon 2011-11-19 14:56:13 UTC
Description of problem:

When try to rebuild fetch-crl-3.0.7-1 from mock, it will error out in %install due to colrm command not found and from yum whatprovides */colrm return util-linux-ng.  The following partial error for your reference:

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AgBG6I
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386
++ dirname /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386
+ cd fetch-crl-3.0.7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386
+ make install PREFIX=/builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr ETC=/builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/etc CACHE=/builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/var/cache
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
/bin/sh: colrm: command not found
egrep: write error: Broken pipe
mkdir -p /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/etc
mkdir -p /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/sbin
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/man
mkdir /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/man/man8
install -m755 fetch-crl              /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/sbin/fetch-crl
install -m644 fetch-crl-cron.cron    /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/fetch-crl-cron.cron
install -m644 fetch-crl-cron.init    /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/fetch-crl-cron.init
install -m644 fetch-crl-boot.init    /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/fetch-crl-boot.init
install -m644 fetch-crl.8            /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/man/man8/fetch-crl.8
install -m644 fetch-crl.cnf          /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/etc/fetch-crl.conf
install -m644 fetch-crl.cnf.example  /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/fetch-crl.conf.example
install -m644 README                 /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/README
install -m644 NOTICE                 /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/NOTICE
install -m644 LICENSE                /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/LICENSE
install -m644 CHANGES                /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-/CHANGES
mkdir -p /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/var/cache/fetch-crl && chmod 0700 /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/var/cache/fetch-crl
+ mkdir -p /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/etc/rc.d/init.d
+ install -p -m 755 /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-3.0.7/fetch-crl-cron.init /builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/etc/rc.d/init.d/fetch-crl-cron
install: cannot stat `/builddir/build/BUILDROOT/fetch-crl-3.0.7-1.choon.sl6.i386/usr/share/doc/fetch-crl-3.0.7/fetch-crl-cron.init': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.AgBG6I (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.AgBG6I (%install)


Version-Release number of selected component (if applicable):
fetch-crl-3.0.7-1

Additional info:

I can compile fetch-crl-3.0.7-1 if I install util-linux-ng before rebuilding.

Thanks.

Comment 1 Steve Traylen 2011-11-24 18:27:34 UTC
Hi,

I'm afraid I can't reproduce it.

http://koji.fedoraproject.org/koji/taskinfo?taskID=3538179

is a scratch build within EPEL6.

In particular I see that:

http://koji.fedoraproject.org/koji/getfile?taskID=3538180&name=root.log

contains the installation of 

util-linux-ng

This will be RHEL6 as a OS but I have also had success running mock on my machine which
is CentOS6 including the CR repository?

Steve.

Comment 2 Giam Teck Choon 2011-12-22 11:32:05 UTC
I think this is dependent in mock config which in general will depends on what are the minimal packages Requires in buildsys-build besides buildsys-macros.  If neither of them has util-linux-ng Requires in it will fail.  May I know which buildsys-build package is used in your build system?  Any URL?  Thanks.


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