It's been a couple of years since I touched openpkg ... just tried building a basic setup with perl on a Solaris 8/SPARC system and ran into the following:
-------------------------------------------
# openpkg rpmbuild --rebuild ./perl-5.8.8-2.20061018.src.rpm
Installing ./perl-5.8.8-2.20061018.src.rpm
Executing(%prep): env -i /export/apps/opkg/2.x/lib/openpkg/bash --norc --noprofile --posix -e /export/apps/opkg/2.x/RPM/TMP/rpm-tmp.1439
+ cd /export/apps/opkg/2.x/RPM/TMP
  .
  .
  .
         Making DynaLoader (static)
make[2]: [extras.install] Error 1 (ignored)
./perl installman --destdir=/export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root
WARNING: You've never run 'make test'!!!  (Installing anyway.)
   /export/apps/opkg/2.x/man/man1/perl.1
   /export/apps/opkg/2.x/man/man1/perl5004delta.1
   /export/apps/opkg/2.x/man/man1/perl5005delta.1
        .
        .
        .
   /export/apps/opkg/2.x/man/man1/splain.1
   /export/apps/opkg/2.x/man/man1/xsubpp.1
   /export/apps/opkg/2.x/man/man1/a2p.1
   /export/apps/opkg/2.x/man/man1/find2perl.1
   /export/apps/opkg/2.x/man/man1/s2p.1
+ case "sun4u-sunos5.8" in
+ cd /usr/include
+ PERL5LIB=/export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/lib/perl
+ export PERL5LIB
++ /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/bin/perl -V:installarchlib + eval 'installarchlib='\''/export/apps/opkg/2.x/lib/perl/5.8.8/sun4-solaris'\'';'
++ installarchlib=/export/apps/opkg/2.x/lib/perl/5.8.8/sun4-solaris
+ xargs /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/bin/perl /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/bin/h2ph -h -d /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/lib/perl/5.8.8/sun4-solaris + echo aio.h alloca.h apptrace.h apptrace_impl.h ar.h archives.h arm.h assert.h auth_attr.h bzlib.h cmqbc.h cmqc.h cmqcfc.h cmqpsc.h cmqxc.h cmqzc.h config_admin.h cpio.h crypt.h ctype.h curses.h deflt.h demangle.h devid.h devmgmt.h devpoll.h dial.h dirent.h dlfcn.h door.h elf.h errno.h eti.h euc.h exacct.h exacct_impl.h exec_attr.h fatal.h fcntl.h float.h floatingpoint.h fmtmsg.h fnmatch.h form.h ftw.h gelf.h ...... sys/xti_osi.h sys/xti_xtiopt.h sys/zsdev.h
aio.h -> aio.ph
alloca.h -> alloca.ph
apptrace.h -> apptrace.ph
apptrace_impl.h -> apptrace_impl.ph
ar.h -> ar.ph
archives.h -> archives.ph
arm.h -> arm.ph
  .
  .
  .
assert.h -> assert.ph
auth_attr.h -> auth_attr.ph
bzlib.h -> bzlib.ph
cmqbc.h -> cmqbc.ph
Can't open cmqbc.h: No such file or directory
cmqc.h -> cmqc.ph
Can't open cmqc.h: No such file or directory
cmqcfc.h -> cmqcfc.ph
Can't open cmqcfc.h: No such file or directory
cmqpsc.h -> cmqpsc.ph
Can't open cmqpsc.h: No such file or directory
cmqxc.h -> cmqxc.ph
Can't open cmqxc.h: No such file or directory
cmqzc.h -> cmqzc.ph
Can't open cmqzc.h: No such file or directory
config_admin.h -> config_admin.ph
cpio.h -> cpio.ph
crypt.h -> crypt.ph
  .
  .
  .
sys/xti_inet.h -> sys/xti_inet.ph
sys/xti_osi.h -> sys/xti_osi.ph
sys/xti_xtiopt.h -> sys/xti_xtiopt.ph
sys/zsdev.h -> sys/zsdev.ph
+ exit 1
error: Bad exit status from /export/apps/opkg/2.x/RPM/TMP/rpm-tmp.32719 (%install)


RPM build errors:
Bad exit status from /export/apps/opkg/2.x/RPM/TMP/rpm-tmp.32719 (%install)
-------------------------------------------

I tried manually running h2ph but it looks OK at first glance. ------------------------------------------- # cd /usr/include # PERL5LIB=/export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/lib/perl # export PERL5LIB # /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/bin/perl /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/bin/h2ph -h -d /export/apps/opkg/2.x/RPM/TMP/perl-5.8.8-root/export/apps/opkg/2.x/lib/perl/5.8.8/sun4-sol aris sys/zsdev.h
# echo $?
0
#
-------------------------------------------


Any ideas?

Thanks,
VK
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to