i think problem in this part of tacacs.spec
# post-adjust installation
mv $RPM_BUILD_ROOT%{l_prefix}/bin/generate_passwd \
$RPM_BUILD_ROOT%{l_prefix}/bin/tacas_generate_passwd
mv $RPM_BUILD_ROOT%{l_prefix}/etc/tacacs/sample-tac_plus.cfg \
$RPM_BUILD_ROOT%{l_prefix}/etc/tacacs/tac_plus.cfg
Now better, but not perfect :)
+ mv /openpkg/RPM/TMP/tacacs-4.4b2-root/openpkg/bin/generate_passwd
/openpkg/RPM/TMP/tacacs-4.4b2-root/openpkg/bin/tacas_generate_passwd
mv: cannot access
/openpkg/RPM/TMP/tacacs-4.4b2-root/openpkg/bin/generate_passwd
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.15791 (%install)
Ralf S. Engelschall wrote:
On Wed, May 30, 2007, Victor G. Bolshakov wrote:
While trying to build tacacs-4.4b2-20061013.src.rpm from current i
got error
on final stages of build process:
./install-sh -c generate_passwd
/openpkg/RPM/TMP/tacacs-4.4b2-root/openpkg/bin/generate_passwd
/bin/sh: ./install-sh: cannot execute
make[1]: *** [install-binPROGRAMS] Error 1
make: *** [install-am] Error 2
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.20660 (%install)
As i understand install-sh in tac_plus-4.4beta2.tar.gz is stub for
future...
so are there known ways to build this package?
Yes, the permissions of the script were wrong in the upstream tarball.
Should be now fixed. Please retry with the latest OpenPKG-CURRENT
"tacacs" package as of today.
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org