pkgsrc-Users archive

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

Re: pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3




To: Steven Drake <sbd%netbsd.org@localhost>, pkgsrc-users%netbsd.org@localhost

Subject: Re: pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3

From: J Raynor <jxraynor%gmail.com@localhost>

Date: Wed, 19 Jan 2011 13:01:17 -0600


The problem is in pkgsrc/mk/bsd.prefs.mk.  Backslashes are not needed to do the regex grouping.  The following patch fixes the problem:


--- bsd.prefs.mk.orig   2011-01-19 12:42:26.000000000 -0600
+++ bsd.prefs.mk        2011-01-19 12:42:50.000000000 -0600
@@ -115,7 +115,7 @@
 .  else
 _OS_VERSION!=          echo `${UNAME} -v`.`${UNAME} -r`
 .  endif
-OS_VERSION=            ${_OS_VERSION:C/\([0-9]*\.[0-9]*\).*/\1/}
+OS_VERSION=            ${_OS_VERSION:C/([0-9]*\.[0-9]*).*/\1/}
 LOWER_OPSYS_VERSUFFIX= ${_OS_VERSION}
 LOWER_OPSYS?=          aix
 LOWER_VENDOR?=         ibm





On Wed, Jan 19, 2011 at 3:34 AM, Steven Drake <sbd%netbsd.org@localhost>wrote:

On Tue, 18 Jan 2011, J Raynor wrote:

> ===> Installing for osabi-AIX-5.3.0.0
> => Running PRE-INSTALL script actions
> The Operating System version (5.3) does not match 5.3.0.0
> *** Error code 1


This is due to a fault in the way OS_VERSION is set, it is suppose to be
5.3 not 5.3.0.0.

--
Steven



References:

pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3
From: J Raynor

Re: pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3
From: Steven Drake




Prev by Date: Re: pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3

Next by Date: Re: wip/chromium

Previous by Thread: Re: pkgtools/osabi from pkgsrc-2010Q4 fails to install on aix 5.3

Next by Thread: Dear Nmsu.edu User

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index