hello all, environment: openSuSE 11.1 and 11.3 i put together a VERY simple rpmbuild example (for learning purposes) on one of my older development boxes (gecko2). my example seems to be working fine on gecko2, and builds my very simple rpm ;) however - when i moved my example, over to my newer development box (gecko3) - it fails to build, giving me the following message. can someone tell me what i am missing in the other development environment (gecko3) that is causing this issue ? thank you, mark // snipped from rpmbuild output mark@gecko3 rpm > rpmbuild -ba --clean ./SPECS/maximus-2.0.0.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nnknJz + umask 022 + cd /home/mark/rpm/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O3nszN + 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.2MvDq1 + umask 022 + cd /home/mark/rpm/BUILD + 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.hY2Krs 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 // end snip both machines are set up identically for the build environemt and users. here is my directory structure - which is identical on both machines: mark@gecko2 rpm> pwd;find /home/mark/rpm . ./RPMS ./RPMS/i386 ./RPMS/i586 ./RPMS/i586/maximus-2.0.0-1.i586.rpm ./BUILD ./SPECS ./SPECS/maximus-2.0.0.spec ./SRPMS ./SRPMS/maximus-2.0.0-1.src.rpm ./SOURCES mark@gecko2 rpm> here is my the script: mark@gecko2 rpm> cat ./SPECS/maximus-2.0.0.spec Summary: Maximus utility for handling everything Name: maximus Version: 2.0.0 Release: 1 License: GPL Group: Development/Tools %description Maximus utility for handling everything - just leave it to Max. %build %prep %install %clean %post %postrun echo -e "i am in postrun \n" mkdir /home/mark/foobar %files /home/mark/PWMP-EJB.jar here is my .rpmmacros file mark@gecko2 ~> pwd;cat .rpmmacros /home/mark %packager mark meyer <mmeyer@xxxxxxxxxxxxx> %vendor Primex Wireless %_topdir /home/mark/rpm |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list