On Sun, Oct 29, 2006, Vinod Kutty wrote: > [...] > /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) > [...] > 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?
If the error doesn't occur for you when you do it manually, I guess it is some sort of a permission problem. I guess you tried as root and the files cmq*.h are not readable by the management user under which the RPM package is rebuilt, right? BTW, on my Solaris 8 installation the cmq*.h files not even exists, so I cannot check the permissions issue myself. But I'm sure your files /usr/include/cmq*.h are not world-readable... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org