rpmbuild fails on a different machine with - wrong owner/group mark:users

mark meyer geeky2 at hotmail.com
Thu Mar 3 18:41:25 UTC 2011

hello greg,

ok - i put the jar file in the sources directory and used your spec file.

mark at gecko3 rpm > pwd;find
mark at gecko3 rpm > 

then i ran the command (see below).

looks like i am getting the same failure.

mark at gecko3 rpm > cat ./SPECS/greg.spec
Summary: Maximus utility for handling everything
Name: maximus
Version: 2.0.0
Release: 1
License: GPL
Source0: PWMP-EJB.jar
Group: Development/Tools
Maximus utility for handling everything - just leave it to Max.
mkdir -p %{BUILDROOT}/home/mark/
cp %{SOURCE0} %{BUILDROOT}/home/mark/
rm -rf %{BUILDROOT}
echo -e "i am in postrun \n"
mark at gecko3 rpm > rpmbuild -ba --clean ./SPECS/greg.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ejt0KD
+ umask 022
+ cd /home/mark/rpm/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9yCGPe
+ umask 022
+ cd /home/mark/rpm/BUILD
+ /bin/rm -rf /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386
++ dirname /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386
+ /bin/mkdir -p /home/mark/rpm/BUILDROOT
+ /bin/mkdir /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o9vtVP
+ umask 022
+ cd /home/mark/rpm/BUILD
+ mkdir -p '%{BUILDROOT}/home/mark/'
+ cp /home/mark/rpm/SOURCES/PWMP-EJB.jar '%{BUILDROOT}/home/mark/'
+ RPM_BUILD_ROOT=/home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386
+ test -x /usr/sbin/Check -a 1000 = 0 -o -x /usr/sbin/Check -a '!' -z /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
Checking permissions and ownerships - using the permissions files
setting /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386/ to root:root 0755. (wrong owner/group mark:users)
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: maximus-2.0.0-1.i586
error: File not found: /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386/home/mark/PWMP-EJB.jar

RPM build errors:
    File not found: /home/mark/rpm/BUILDROOT/maximus-2.0.0-1.i386/home/mark/PWMP-EJB.jar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20110303/d0226f91/attachment-0001.html>

More information about the Rpm-list mailing list