Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2011 10:25:49 -0500
From:      Derek Tattersall <dlt@mebtel.net>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ksh93 port
Message-ID:  <20110213152548.GA3176@oriental.arm.org>
In-Reply-To: <20110213032851.GB33213@bonjour.sunpoet.net>
References:  <20110212152314.GA322@oriental.arm.org> <20110213032851.GB33213@bonjour.sunpoet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> [110213 06:37]:
> On Sat, Feb 12, 2011 at 10:23:14AM -0500, Derek Tattersall wrote:
> > Building ksh93-2011-02-08 on 8 Stable has a failure in the installation
> > step.  I'm sorry I couldn't untangle it, but it is a very complicated
> > makefile.
> > 
> > The problem is :
> > install  -s -o root -g wheel -m 555 /usr/home/ports/usr/ports/shells/ksh93/work/arch/freebsd.amd64/bin/ksh /usr/local/bin/ksh93
> > *** Error code 71
> > 
> > Stop in /usr/ports/shells/ksh93.
> > 
> > ===>>> Installation of ksh93-20110208 (shells/ksh93) failed
> > ===>>> Aborting update
> > 
> > The problem is that the directory .../freebsd.amd64 doesn't exist,
> > instead the build created .../freebsd8.amd64.  A similar failure exists
> > for the i386 build.
> > -- 
> > Best regards,
> > Derek Tattersall
> > dlt@mebtel.net		dlt666@yahoo.com		 dtatters@gmail.com
> 
> Hi Derek,
> 
>   The path is determined by ${WRKSRC}/bin/package. I've made a patch.
>   Would you please check if it works for you? Thanks.
> 
> Regards,
> -- 
>    Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
>            4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
> 	                     http://people.FreeBSD.org/~sunpoet/pgpkeys.txt

> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/shells/ksh93/Makefile,v
> retrieving revision 1.60
> diff -u -r1.60 Makefile
> --- Makefile	11 Feb 2011 14:43:15 -0000	1.60
> +++ Makefile	13 Feb 2011 00:05:34 -0000
> @@ -43,6 +43,9 @@
>  
>  INSTALLROOT=	${WRKSRC}/arch/freebsd.${ARCH}
>  
> +post-patch:
> +	@${REINPLACE_CMD} -e '1825 D' ${WRKSRC}/bin/package
> +
>  do-build:
>  	@cd ${WRKSRC} && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package make
>  
Your fix works for both x86-64 and i386 stable systems.  Thanks very
much for your quick response to my report.

-- 
Best regards,
Derek Tattersall
dlt@mebtel.net		dlt666@yahoo.com		 dtatters@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110213152548.GA3176>