Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2009 01:53:57 GMT
From:      Rikiya YONEMOTO <fbsd-send-pr.AT.lackaday.org@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/132379: ports/lang/gcc33: fix build failure
Message-ID:  <200903070153.n271rvLL014850@www.freebsd.org>
Resent-Message-ID: <200903070200.n2720B0S011978@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132379
>Category:       ports
>Synopsis:       ports/lang/gcc33: fix build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 07 02:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Rikiya YONEMOTO
>Release:        6.4-RELEASE
>Organization:
>Environment:
FreeBSD dryad 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The ports/lang/gcc33 is marked as DEPRECATED becauseof build failure.
I verified the build process fails indeed.
I investigated a bit it. Then, I have got a workaround.

Additional infomation of verifying build-failure/fix:
dryad# ls -1 /var/db/pkg
autoconf-2.62
autoconf-wrapper-20071109
bison-2.3_4,1
gmake-3.81_3
help2man-1.36.4_2
libtool-1.5.26
m4-1.4.12,1
perl-5.8.9_2
dryad# tail -1 /usr/ports/UPDATING
$FreeBSD: ports/UPDATING,v 1.783 2009/03/05 05:45:02 oliver Exp $
dryad# grep '\$FreeBSD:' /usr/ports/lang/gcc33/Makefile
# $FreeBSD: ports/lang/gcc33/Makefile,v 1.220 2009/02/03 00:29:45 gerald Exp $

>How-To-Repeat:
# cd /usr/ports/lang/gcc33
# make

>Fix:
modify /usr/ports/lang/gcc33/Makefile as like this patch.


BTW, 
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/lang/gcc3/patches/patch-ac?rev=1.5&content-type=text/plain&only_with_tag=MAIN
would be a good extra(other than this problem) patch for f77.


Patch attached with submission follows:

diff -ru gcc33.orig/Makefile gcc33/Makefile
--- gcc33.orig/Makefile	2009-02-03 10:09:04.000000000 +0900
+++ gcc33/Makefile	2009-03-07 09:00:00.000000000 +0900
@@ -54,6 +54,7 @@
 TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${PORTVERSION}
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--disable-nls \
+		--host=${CONFIGURE_TARGET} --target=${CONFIGURE_TARGET} \
 		--with-system-zlib \
 		--program-suffix=${SUFFIX} \
 		--libdir=${TARGLIB} \


>Release-Note:
>Audit-Trail:
>Unformatted:



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