From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 26 16:00:32 2003 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 F08EA16A4B3 for ; Fri, 26 Sep 2003 16:00:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26DE743FB1 for ; Fri, 26 Sep 2003 16:00:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8QN0TFY008941 for ; Fri, 26 Sep 2003 16:00:29 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8QN0T1P008940; Fri, 26 Sep 2003 16:00:29 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 26 Sep 2003 16:00:29 -0700 (PDT) Resent-Message-Id: <200309262300.h8QN0T1P008940@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, Marius Strobl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2626616A4B3; Fri, 26 Sep 2003 15:54:19 -0700 (PDT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D6244003; Fri, 26 Sep 2003 15:54:15 -0700 (PDT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) h8QMsEYq086072; Sat, 27 Sep 2003 00:54:14 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id h8QMs9Hh086071; Sat, 27 Sep 2003 00:54:09 +0200 (CEST) (envelope-from marius) Message-Id: <200309262254.h8QMs9Hh086071@newtrinity.zeist.de> Date: Sat, 27 Sep 2003 00:54:09 +0200 (CEST) From: Marius Strobl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: jdp@FreeBSD.org Subject: ports/57265: lang/ezm3 endianess bug in PLIST X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marius Strobl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 23:00:32 -0000 >Number: 57265 >Category: ports >Synopsis: lang/ezm3 endianess bug in PLIST >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 26 16:00:29 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Marius Strobl >Release: >Organization: >Environment: >Description: Ezm3 installs lib/m3/pkg/m3core/src/float/IEEE- depending on the endianess of the platform it is built for. However, the PLIST of the lang/ezm3 port currently lists that directory hardcoded for little-endian. This causes packges builds on sparc64 to fail. See also the very end of the bento build logs at: http://bento.freebsd.org/errorlogs/sparc64-5-full-logs/ezm3-1.1.log.bz2 http://bento.freebsd.org/errorlogs/sparc64-5-latest-logs/ezm3-1.1.log.bz2 >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /usr/data/bsd/cvs/fbsd/ports/lang/ezm3/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 16 Apr 2003 02:05:19 -0000 1.6 +++ Makefile 18 Sep 2003 01:45:44 -0000 @@ -20,7 +20,8 @@ INSTALL_TARGET= all MAKE_ARGS+= M3OPTIONS="-DBUILD_ALL -DSHIP_ALL" MAN1= m3bundle.1 -PLIST_SUB+= ARCH=${ARCH} TARGET=${TARGET} WORDSIZE=${WORDSIZE} +PLIST_SUB+= ARCH=${ARCH} TARGET=${TARGET} WORDSIZE=${WORDSIZE} \ + ENDIANESS=${ENDIANESS} SCRIPTS_ENV+= TARGET=${TARGET} USE_BZIP2= yes USE_GMAKE= yes @@ -41,14 +42,17 @@ .if ${ARCH} == "alpha" TARGET= FBSD_ALPHA WORDSIZE= 64 +ENDIANESS= le BOOTSTRAP= ezm3-${PORTVERSION}a-${TARGET}-boot.tar.bz2 .elif ${ARCH} == "i386" TARGET= FreeBSD4 WORDSIZE= 32 +ENDIANESS= le BOOTSTRAP= ezm3-${PORTVERSION}-${TARGET}-boot.tar.bz2 .elif ${ARCH} == "sparc64" TARGET= FBSD_SPARC64 WORDSIZE= 64 +ENDIANESS= be BOOTSTRAP= ezm3-${PORTVERSION}-${TARGET}-boot.tar.bz2 .endif Index: pkg-plist =================================================================== RCS file: /usr/data/bsd/cvs/fbsd/ports/lang/ezm3/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 15 Apr 2003 19:04:39 -0000 1.2 +++ pkg-plist 18 Sep 2003 01:41:36 -0000 @@ -299,8 +299,8 @@ lib/m3/pkg/m3core/src/float/Common/RealFloat.i3 lib/m3/pkg/m3core/src/float/IEEE-default/FPU.i3 lib/m3/pkg/m3core/src/float/IEEE-default/FloatMode.i3 -lib/m3/pkg/m3core/src/float/IEEE-le/LongRealRep.i3 -lib/m3/pkg/m3core/src/float/IEEE-le/RealRep.i3 +lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%%/LongRealRep.i3 +lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%%/RealRep.i3 lib/m3/pkg/m3core/src/float/IEEE/Extended.i3 lib/m3/pkg/m3core/src/float/IEEE/LongReal.i3 lib/m3/pkg/m3core/src/float/IEEE/Real.i3 @@ -971,7 +971,7 @@ @dirrm lib/m3/pkg/m3core/src/C @dirrm lib/m3/pkg/m3core/src/float/IEEE-default @dirrm lib/m3/pkg/m3core/src/float/IEEE -@dirrm lib/m3/pkg/m3core/src/float/IEEE-le +@dirrm lib/m3/pkg/m3core/src/float/IEEE-%%ENDIANESS%% @dirrm lib/m3/pkg/m3core/src/float/Common @dirrm lib/m3/pkg/m3core/src/float @dirrm lib/m3/pkg/m3core/src/convert >Release-Note: >Audit-Trail: >Unformatted: