tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bootstrap on AIX 7.1



On 3/16/20 5:25 PM, Louis Guillaume wrote:
Hi!

Trying to bootstrap pkgsrc-2019Q4


I was able to get a successful bootstrap! The one fix I had to make was in sysutils/install-sh.

I'm not sure how to get this fix back into pkgsrc but here's the working patch...


============ %< ============
--- sysutils/install-sh/files/install-sh.in.orig 2020-03-27 17:34:38.000000000 -0400 +++ sysutils/install-sh/files/install-sh.in 2020-03-27 16:39:02.000000000 -0400
@@ -281,7 +281,7 @@

if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripflags "$dsttmp"; else true;fi && + if [ x"$stripcmd" != x ]; then OBJECT_MODE=64 $doit $stripcmd $stripflags "$dsttmp"; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else true;fi &&

  # Now rename the file to the real destination.
@@ -294,7 +294,6 @@
                fi &&
                $doit $mvcmd "$dsttmp" "$dstfinal"
        fi
-
  done &&
============ %< ============


I will need to figure out how to apply this patch only for AIX and only if ABI=64.

Louis


Home | Main Index | Thread Index | Old Index