On Tue, 2007-04-24 at 21:54 +0200, Ralf S. Engelschall wrote: > On Tue, Apr 24, 2007, Dan Nuffer wrote: > > > On Tue, 2007-04-24 at 19:49 +0200, Ralf S. Engelschall wrote: > > > No, at least not without seeing the complete build output. I guess the > > > building failed at some sub stages and unfortunately continued. Look > > > at the output of the build process. There has to be an error there > > > somewhere. If you wish just post the complete output here or place it > > > onto a webserver and tell us the URL. > > > > > > > http://nuffer.name/openpkg-solaris-build.txt > > > > I didn't think to look at the build since it said it completed > > successfully. Now that I'm looking at it, there's a bunch of errors like > > this: > > > > bash: Cannot find ELF > > Killed > > > > It's amazing the build still thought it succeeded with all those errors! > > > > googling for "Cannot find ELF" indicates this may be a problem caused by > > using GNU strip, which I did have installed and was first in my path. > > > > I've renamed strip so that the one from /usr/ccs/bin will be used > > instead, and I'll try the build again. > > Yes, I went through your complete logfile in detail and everything > really build fine. But once the programs were _installed_ (into the > temporary area) the programs immediately start to fail with the "Cannot > find ELF" error. Between the build and the install mainly just is > the "strip" step, so this has to be the problem. Usually AFAIK GNU > strip is not broken under Solaris, but I don't know what particular > version your /usr/local/bin/strip is. Perhaps it is an ancient one and > hence it fails. But I'm sure with this GNU strip deinstalled the build > will now succeed as OpenPKG works fine under all Solaris versions and > architectures.
GNU strip was the cause of that error. You're right I don't have the newest one available, it came from sunfreeware.com from about 2 years ago. With strip out of the way, I got a successful build and install. I went to build the tools, but got this error: [EMAIL PROTECTED] ~]$ /openpkg/bin/openpkg build openpkg-tools # operating with OpenPKG instance /openpkg # operating with OpenPKG RPM /openpkg/bin/openpkg rpm # fetching XML/RDF index from URL ftp://ftp.openpkg.org/stable/2/00INDEX.rdf # using internal XML/RDF parser openpkg:build:FATAL: an I/O error occured Here is the end of the truss output of openpkg: write(1, " # u s i n g i n t e".., 32) = 32 fstat64(4, 0xFFBFD660) = 0 d=0x048C0000 i=360849 m=0010000 l=0 u=1000 g=1000 sz=0 at = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] mt = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] ct = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] bsz=5120 blks=0 fs=fifofs fstat64(4, 0xFFBFD508) = 0 d=0x048C0000 i=360849 m=0010000 l=0 u=1000 g=1000 sz=0 at = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] mt = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] ct = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] bsz=5120 blks=0 fs=fifofs ioctl(4, TCGETA, 0xFFBFD5EC) Err#22 EINVAL read(4, 0x00239CDC, 5120) = 0 llseek(4, 0, SEEK_CUR) Err#29 ESPIPE close(4) = 0 sigaction(SIGHUP, 0xFFBFF718, 0xFFBFF88C) = 0 new: hand = 0x00000001 mask = 0 0 0 0 flags = 0x0000 old: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 sigaction(SIGINT, 0xFFBFF718, 0xFFBFF86C) = 0 new: hand = 0x00000001 mask = 0 0 0 0 flags = 0x0000 old: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 sigaction(SIGQUIT, 0xFFBFF718, 0xFFBFF84C) = 0 new: hand = 0x00000001 mask = 0 0 0 0 flags = 0x0000 old: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 waitid(P_PID, 15867, 0xFFBFF698, WEXITED|WTRAPPED) = 0 siginfo: SIGCLD CLD_EXITED pid=15867 status=0x0043 sigaction(SIGHUP, 0xFFBFF7A8, 0x00000000) = 0 new: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 sigaction(SIGINT, 0xFFBFF7A8, 0x00000000) = 0 new: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 sigaction(SIGQUIT, 0xFFBFF7A8, 0x00000000) = 0 new: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000 fstat64(2, 0xFFBFF3D8) = 0 d=0x046C0000 i=12582918 m=0020620 l=1 u=100 g=7 rdev=0x00600001 at = Apr 24 15:09:22 MDT 2007 [ 1177448962 ] mt = Apr 24 15:09:38 MDT 2007 [ 1177448978 ] ct = Apr 23 18:19:13 MDT 2007 [ 1177373953 ] bsz=8192 blks=0 fs=devfs write(2, " o p e n p k g : b u i l".., 42) = 42 schedctl() = 0xFF346000 setcontext(0xFFBFF378) llseek(3, 0xFFFFFFFFFFFFE913, SEEK_CUR) = 84243 close(3) = 0 _exit(67) ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org