0.
bash-2.05a# uname -a
HP-UX c180 B.11.11 U 9000/780 2004318593 unlimited-user license
bash-2.05a#
1. Getting real close ;)
bash-2.05a# rpm -qa
openpkg-20020718-20020718
bash-2.05a#
2. I was thinking of building gcc package which require
the make package be built first and found out the
my rpm setup was for a solaris machine not for HP-UX.
bash-2.05a# rpm -ba make.spec
Executing(%prep): env -i /cw2/lib/openpkg/bash --norc --noprofile
--posix -e /cw2/RPM/TMP/rpm-tmp.19643
+ cd /cw2/RPM/TMP
+ cd /cw2/RPM/TMP
+ rm -rf make-3.79.1
+ /cw2/lib/openpkg/gzip -dc /cw2/RPM/SRC/make/make-3.79.1.tar.gz
+ /cw2/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd make-3.79.1
++ id -u
+ '[' 0 = 0 ']'
+ chown -Rhf root .
chown: illegal option -- f
++ id -u
+ '[' 0 = 0 ']'
+ chgrp -Rhf sys .
chgrp: illegal option -- f
+ chmod -Rf a+rX,g-w,o-w .
chmod: invalid mode
error: Bad exit status from /cw2/RPM/TMP/rpm-tmp.19643 (%prep)
RPM build errors:
Bad exit status from /cw2/RPM/TMP/rpm-tmp.19643 (%prep)
bash-2.05a#
3. chown Rhf is ok with solaris. HP-UX's chmod don't know about f option
bash-2.05a# rpm --showrc | grep chown
-14: __chown chown
-14: __chown_Rhf %{__chown} -Rhf
-14: _fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
bash-2.05a# rpm --showrc | egrep 'chown|chgrp'
-14: __chgrp chgrp
-14: __chgrp_Rhf %{__chgrp} -Rhf
-14: __chown chown
-14: __chown_Rhf %{__chown} -Rhf
-14: _fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} sys
-14: _fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
4. I tried to correct problem myself after look through the configure
and configure.in(know not much). if I set ac_cv_func_lchown to yes.
it will include regular -R option instead of -Rhf option.
in openpkg.spec
( echo 'ac_cv_path_MSGFMT=${ac_cv_path_MSGFMT=no}'
echo 'ac_cv_path_GMSGFMT=${ac_cv_path_GMSGFMT=no}'
echo 'ac_cv_func_lchown=${ac_cv_func_lchown=yes}'
) >config.cache
5. after a long rebuilt it the %setup in %prep section still
using chown -Rhf option so still break on a HP-UX.
6. Is there a way to set __chgrp_rhf using -Rhf to use -Rf
in rpmrc file ?
7. HP-UX 10.20 shown as fully suppported. where can I
find the binaries sh?
Thanks for your pointer
tj
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]