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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




hello greg,

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

mark@gecko3 rpm > pwd;find
/home/mark/rpm
.
./BUILDROOT
./BUILDROOT/maximus-2.0.0-1.i386
./SRPMS
./BUILD
./BUILD/%{BUILDROOT}
./BUILD/%{BUILDROOT}/home
./BUILD/%{BUILDROOT}/home/mark
./BUILD/%{BUILDROOT}/home/mark/PWMP-EJB.jar
./SOURCES
./SOURCES/PWMP-EJB.jar
./RPMS
./SPECS
./SPECS/maximus-2.0.0.spec
./SPECS/greg.spec
mark@gecko3 rpm >



then i ran the command (see below).

looks like i am getting the same failure.





mark@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
 
 
%description
Maximus utility for handling everything - just leave it to Max.
 
%build
 
%prep
 
%install
mkdir -p %{BUILDROOT}/home/mark/
cp %{SOURCE0} %{BUILDROOT}/home/mark/
 
%clean
rm -rf %{BUILDROOT}
 
%post
 
%postrun
echo -e "i am in postrun \n"
 
 
%files
/home/mark/PWMP-EJB.jar
mark@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
+ export RPM_BUILD_ROOT
+ 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
        /tmp/Check.perms.vhQH9Q
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


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux