From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 2 16:10:25 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB9A16A4CF for ; Sat, 2 Oct 2004 16:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A527843D3F for ; Sat, 2 Oct 2004 16:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i92GAOR8080518 for ; Sat, 2 Oct 2004 16:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i92GAOld080517; Sat, 2 Oct 2004 16:10:24 GMT (envelope-from gnats) Resent-Date: Sat, 2 Oct 2004 16:10:24 GMT Resent-Message-Id: <200410021610.i92GAOld080517@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43F9E16A4CE; Sat, 2 Oct 2004 16:03:54 +0000 (GMT) Received: from ws90bj.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDD9843D31; Sat, 2 Oct 2004 16:03:51 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by ws90bj.pompo.net (Postfix, from userid 1001) id 0D67B22B886; Sat, 2 Oct 2004 18:03:39 +0200 (CEST) Message-Id: <20041002160339.0D67B22B886@ws90bj.pompo.net> Date: Sat, 2 Oct 2004 18:03:39 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Nakata Maho Subject: ports/72261: math/blacs: fix build after changes to make(1) on FreeBSD >= 5.x. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 16:10:26 -0000 >Number: 72261 >Category: ports >Synopsis: math/blacs: fix build after changes to make(1) on FreeBSD >= 5.x. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 02 16:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 5.3-BETA4 i386 >Organization: Kabbale Eros >Environment: System: FreeBSD ws90bj.pompo.net 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Thu Sep 16 00:17:00 CEST 2004 thierry@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-040826 i386 >Description: This port uses $ARCH to define ar(1), and this conflicts with our ${ARCH}. Since I'm there, pet portlint with %%DOCSDIR%% and pkg-message. >How-To-Repeat: cd /usr/ports/math/blacs make You should get the following error: 8< 8< 8< f77 -c -O bi_f77_get_constants.f f77 -c -O bi_f77_init.f i386 r /usr/ports/math/blacs/work/BLACS/LIB/blacs_MPI-FreeBSD-0.a BI_HypBS.o BI_HypBR.o BI_IdringBS.o BI_IdringBR.o BI_MpathBS.o BI_MpathBR.o BI_SringBS.o BI_SringBR.o BI_TreeBS.o BI_TreeBR.o BI_Ssend.o BI_Rsend.o BI_Srecv.o BI_Asend.o BI_Arecv.o BI_TreeComb.o BI_BeComb.o BI_MringComb.o BI_ArgCheck.o BI_TransDist.o BI_GetBuff.o BI_UpdateBuffs.o BI_EmergencyBuff.o BI_BlacsErr.o BI_BlacsWarn.o BI_BlacsAbort.o BI_BuffIsFree.o BI_imvcopy.o BI_smvcopy.o BI_dmvcopy.o BI_ivmcopy.o BI_svmcopy.o BI_dvmcopy.o BI_Pack.o BI_Unpack.o BI_GetMpiGeType.o BI_GetMpiTrType.o BI_ivvsum.o BI_svvsum.o BI_dvvsum.o BI_cvvsum.o BI_zvvsum.o BI_ivvamx.o BI_svvamx.o BI_dvvamx.o BI_cvvamx.o BI_zvvamx.o BI_ivvamx2.o BI_svvamx2.o BI_dvvamx2.o BI_cvvamx2.o BI_zvvamx2.o BI_ivvamn.o BI_svvamn.o BI_dvvamn.o BI_cvvamn.o BI_zvvamn.o BI_ivvamn2.o BI_svvamn2.o BI_dvvamn2.o BI_cvvamn2.o BI_zvvamn2.o BI_iMPI_amx.o BI_sMPI_amx.o BI_dMPI_amx.o BI_cMPI_amx.o BI_zMPI_amx.o BI_iMPI_amx2.o BI_sMPI_amx2.o B I_dMPI_amx2.o BI_cMPI_amx2.o BI_zMPI_amx2.o BI_iMPI_amn.o BI_sMPI_amn.o BI_dMPI_amn.o BI_cMPI_amn.o BI_zMPI_amn.o BI_iMPI_amn2.o BI_sMPI_amn2.o BI_dMPI_amn2.o BI_cMPI_amn2.o BI_zMPI_amn2.o BI_cMPI_sum.o BI_zMPI_sum.o BI_ContxtNum.o BI_GlobalVars.o BI_MPI_F77_to_c_trans_comm.o BI_MPI_C_to_f77_trans_comm.o BI_TransUserComm.o bi_f77_mpi_attr_get.o bi_f77_mpi_op_create.o bi_f77_mpi_initialized.o bi_f77_mpi_test.o bi_f77_mpi_testall.o bi_f77_get_constants.o bi_f77_init.o i386:No such file or directory *** Error code 1 Stop in /usr/ports/math/blacs/work/BLACS/SRC/MPI/INTERNAL. *** Error code 1 Stop in /usr/ports/math/blacs/work/BLACS/SRC/MPI. *** Error code 1 Stop in /usr/ports/math/blacs/work/BLACS. *** Error code 1 Stop in /usr/ports/math/blacs. >Fix: Please apply the following patch: --- blacs.diff begins here --- diff -urN math/blacs.orig/Makefile math/blacs/Makefile --- math/blacs.orig/Makefile Fri May 7 18:45:41 2004 +++ math/blacs/Makefile Sat Oct 2 17:43:10 2004 @@ -26,6 +26,8 @@ atlas:${PORTSDIR}/math/atlas BUILD_DEPENDS= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich +PKGMESSAGE= ${WRKDIR}/pkg-message + .include pre-fetch: @@ -42,7 +44,8 @@ pre-patch: (${CP} ${WRKSRC}/BMAKES/Bmake.MPI-LINUX ${WRKSRC}/Bmake.inc) post-patch: - (${REINPLACE_CMD} -e 's,@WRKSRC@,${WRKSRC},g ; s,@DEBUG_LEVEL@,${DEBUG_LEVEL},g ; s,@PREFIX@,${PREFIX},g ; s,@CC@,${CC},g ; s,@CFLAGS@,${CFLAGS},g ; s,@F77@,${F77},g ; s,@FFLAGS@,${FFLAGS},g ; s,@F77EXTRAFLAGS@,${F77EXTRAFLAGS},g' ${WRKSRC}/Bmake.inc) + (${REINPLACE_CMD} -e 's,@WRKSRC@,${WRKSRC},g ; s,@DEBUG_LEVEL@,${DEBUG_LEVEL},g ; s,@PREFIX@,${PREFIX},g ; s,@CC@,${CC},g ; s,@CFLAGS@,${CFLAGS},g ; s,@F77@,${F77},g ; s,@FFLAGS@,${FFLAGS},g ; s,@F77EXTRAFLAGS@,${F77EXTRAFLAGS},g ; s, ARCH *.= ar, ARCMD = ar,' ${WRKSRC}/Bmake.inc) + ${REINPLACE_CMD} -e 's|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/SRC/MPI/Makefile do-build: (cd ${WRKSRC}; make mpi; make tester) @@ -70,6 +73,8 @@ .endif post-install: - @${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE} + @${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/pkg-message.in \ + > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include diff -urN math/blacs.orig/files/pkg-message.in math/blacs/files/pkg-message.in --- math/blacs.orig/files/pkg-message.in Thu Jan 1 01:00:00 1970 +++ math/blacs/files/pkg-message.in Sat Oct 2 17:48:13 2004 @@ -0,0 +1,12 @@ +********************************************************************* + Please test your blacs installation + Test programs are located at /usr/local/share/BLACS/TESTING + + Example: + % cd /usr/local/share/BLACS/TESTING + % /usr/local/mpich/bin/mpirun -np 4 xCbtest_MPI-FreeBSD + % /usr/local/mpich/bin/mpirun -np 4 xFbtest_MPI-FreeBSD + +You can change -np 4 to any number to meet your local environment. +See files at /usr/local/share/doc/blacs for detail. +********************************************************************* diff -urN math/blacs.orig/pkg-message math/blacs/pkg-message --- math/blacs.orig/pkg-message Mon May 5 04:06:21 2003 +++ math/blacs/pkg-message Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ -********************************************************************* - Please test your blacs installation - Test programs are located at /usr/local/share/BLACS/TESTING - - Example: - % cd /usr/local/share/BLACS/TESTING - % mpirun -np 4 xCbtest_MPI-FreeBSD - % mpirun -np 4 xFbtest_MPI-FreeBSD - -You can change -np 4 to any number to meet your local environment. -See files at /usr/local/share/doc/blacs for detail. -********************************************************************* diff -urN math/blacs.orig/pkg-plist math/blacs/pkg-plist --- math/blacs.orig/pkg-plist Mon May 5 04:06:21 2003 +++ math/blacs/pkg-plist Sat Oct 2 17:15:17 2004 @@ -9,10 +9,10 @@ share/BLACS/TESTING/sdrv.dat @dirrm share/BLACS/TESTING @dirrm share/BLACS -%%PORTDOCS%%share/doc/blacs/blacs_install.ps.gz -%%PORTDOCS%%share/doc/blacs/f77blacsqref.ps.gz -%%PORTDOCS%%share/doc/blacs/mpi_prop.ps.gz -%%PORTDOCS%%share/doc/blacs/cblacsqref.ps.gz -%%PORTDOCS%%share/doc/blacs/lawn94.ps.gz -%%PORTDOCS%%share/doc/blacs/mpiblacs_issues.ps.gz -%%PORTDOCS%%@dirrm share/doc/blacs +%%PORTDOCS%%%%DOCSDIR%%/blacs_install.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/f77blacsqref.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/mpi_prop.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/cblacsqref.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/lawn94.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/mpiblacs_issues.ps.gz +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- blacs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: