ksh93 port
Derek Tattersall
dlt at mebtel.net
Sun Feb 13 15:25:51 UTC 2011
* Sunpoet Po-Chuan Hsieh <sunpoet at 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 at mebtel.net dlt666 at yahoo.com dtatters at 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 at mebtel.net dlt666 at yahoo.com dtatters at gmail.com
More information about the freebsd-ports-bugs
mailing list