On Tue, Oct 01, 2002, Joerg Lehrke wrote:
> One of the problems is, that the IRIX chmod does not support the "-f"-flag.
> Therefore I removed this flag from all entries in 
> %{_topdir}/lib/openpkg/macros.
>
I assume that you mean entries like the following:

  %_fixperms      %{__chmod} -Rf a+rX,g-w,o-w
  %__chown_Rhf        %{__chown} -Rhf
  %__chgrp_Rhf        %{__chgrp} -Rhf

It seems to me that this 'macros' file is part of the RedHat RPM
implementation used by OpenPKG. I'll look into how we could fix this, but
there is of course a portability issue if we just remove the '-r' flag for all
operating systems. That's probably not the fix we are looking for.

> The next problem is the rpmtool. The pure sh-implementation works, but the 
> perl-implementation needs the quotes around the $cmd in the eval line (What 
> a Borne shell on IRIX?).
> Find attached a patch, which fixes this problem and includes additional 
> support for IRIX.
>
Your patch is in the build, and I just made a new bootstrapper. If you try it
out then please let me know how it goes. I don't have a SGI machine available
for testing.

> Finally I was able to compile some of the basic packets and stumbled with 
> perl again. Attached my perl.spec to fix these issues.
>
I added your IRIX condition in the perl specfile, so I hope that works too
now. I left out your change of PERL5LIB=..., because I'm not sure why you did
that. If the PERL5LIB variable must be referenced outside of its block (or
there is some other reason for moving the declaration), then let me know.

> The project is ongoing and so I'm sure to find more traps an IRIX :-(
>
Thanks, and keep up the good work. Please keep in mind that the new packages
are in the current section on the ftp server. You installed a OpenPKG
'release' 1.1 instance on your machine, and not a 'current' grade one. Small
hassles can result from mixing the two when testing or upgrading.

  ftp://ftp.openpkg.org/current/SRC/openpkg-20021002-20021002.src.sh
  ftp://ftp.openpkg.org/current/SRC/perl-5.6.1-20021002.src.rpm

Regards,
Michael

-- 
[EMAIL PROTECTED]
Development Team, Application Services
Cable & Wireless Deutschland GmbH

Attachment: msg00147/pgp00000.pgp
Description: PGP signature

Reply via email to