Hi all, After successfully building RPMs (and SRPMs) from the openca-tools package by running rpmbuild -tb openca-tools-1.3.0.tar.gz, I tried the same on the openca-base-1.1.0.tar.gz file, but had no luck.
I eventually tried the "make rpm" target after looking for clues in the source, and the build fails as below, with reference to a hard coded user called madwolf. Can anyone confirm whether the procedure to create (s)rpms is correct? I found an old post via Google suggesting that "make srpm" would work, but this target doesn't exist. Can anyone confirm how this is done? + '[' -n /var/tmp/rpmbuild/openca-base-1.1.0 -a /var/tmp/rpmbuild/ openca-base-1.1.0 '!=' / ']' + rm -rf /var/tmp/rpmbuild/openca-base-1.1.0 + DESTDIR=/var/tmp/rpmbuild/openca-base-1.1.0 + make install-online install-offline Script dir... /usr/bin/make -s scripts SUBTARGET=install + /usr/bin/install -c -d -o madwolf -g openca -m 755 /var/tmp/rpmbuild /usr/bin/install: invalid user `madwolf' make[11]: *** [__install_dir] Error 1 + /usr/bin/install -c -d -o madwolf -g openca -m 755 /var/tmp/rpmbuild/ openca-base-1.1.0 /usr/bin/install: invalid user `madwolf' make[10]: *** [__install_dir] Error 1 + /usr/bin/install -c -d -o madwolf -g openca -m 755 /var/tmp/rpmbuild/ openca-base-1.1.0/opt /usr/bin/install: invalid user `madwolf' make[9]: *** [__install_dir] Error 1 + /usr/bin/install -c -d -o madwolf -g openca -m 755 /var/tmp/rpmbuild/ openca-base-1.1.0/opt/openca /usr/bin/install: invalid user `madwolf' make[8]: *** [__install_dir] Error 1 + /usr/bin/install -c -d -o madwolf -g openca -m 755 /var/tmp/rpmbuild/ openca-base-1.1.0/opt/openca/bin /usr/bin/install: invalid user `madwolf' make[7]: *** [__install_dir] Error 1 make[6]: *** [/var/tmp/rpmbuild/openca-base-1.1.0/opt/openca/bin] Error 2 make[5]: *** [scripts] Error 2 make[4]: *** [install-common] Error 2 make[3]: *** [src] Error 2 make[2]: *** [install-common] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.79007 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.79007 (%install) mv: cannot stat `/usr/src/redhat/RPMS/*/openca-base*.rpm': No such file or directory mv: cannot stat `/root/tmp/rpm/RPMS/*/openca-base*.rpm': No such file or directory mv: cannot stat `/root/rpmbuild/RPMS/*/openca-base*.rpm': No such file or directory mv: cannot stat `/usr/src/redhat/SRPMS/openca-base*.src.rpm': No such file or directory mv: cannot stat `/root/tmp/rpm/SRPMS/openca-base*.src.rpm': No such file or directory mv: cannot stat `/root/rpmbuild/SRPMS/openca-base*.src.rpm': No such file or directory Regards, Graham -- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users