Hi,
I've just discovered the OpenPKG group, and its purposes are very congruent
with our own (albeit our audience is limited to the University community and
we are supporting fewer platforms).
In checking out the OpenPKG rpm tool, I have built it successfully on one
RedHat 9 machine and one Solaris 9 machine. However, the bootstrap shell
bails out early when building on another seemingly identically configured
Solaris 9 machine.
The final output from the build is:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
++ cleaning up
+ rm -rf /tmp/openpkg-1.3.0-root
+ rm -rf /tmp/openpkg-1.3.0
+ rm -f /tmp/rpm /tmp/rpm.1 /tmp/rpm.2 /tmp/rpm.3 /tmp/.popt /tmp/rpm.pre
+ rm -f /tmp/openpkg.boot.prolog.sh
+ set +x
++ resulting files (placed into ..):
openpkg-1.3.0-1.3.0.-vlu.rpm: No such file or directory
openpkg-1.3.0-1.3.0.src.rpm: No such file or directory
-rw-r--r-- 1 dmcr pustaff 29778 Sep 23 11:40
openpkg-1.3.0-1.3.0.-vlu.sh
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So it doesn't ever get to the final cleanup in the master shell script, and
the phase 2 shell script above fails when executed (at least in part because
it doesn't have the uuencoded data in it).
Looking earlier in the bootstrap output, I see that, while it appears that
rpm was built without any errors, whenever it is executed (as below) it
seems to get killed. This includes when it is being used to create the
source and binary RPMs. So I suspect this is closer to the root of the
problem. But I have no idea why it is getting killed. This did not show up
in either of the other two successful build outputs.
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
...
+ export HOME
+ echo ++ initializing RPM database
++ initializing RPM database
+ /tmp/rpm --initdb
Killed
+ echo ++ re-iterating over RPM specification procedures
++ re-iterating over RPM specification procedures
OPENPKG_BOOT=1
+ export OPENPKG_BOOT
+ /tmp/rpm -bb openpkg.spec
Killed
...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Has anyone seen this before or have any idea what might be causing this?
Here is the output of uname -a:
SunOS verges.Princeton.EDU 5.9 Generic_112233-07 sun4u sparc
SUNW,Sun-Blade-100
Thanks,
Dennis
Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]