From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 25 23:50:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BC8106566C for ; Sat, 25 Feb 2012 23:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CA7788FC12 for ; Sat, 25 Feb 2012 23:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1PNoAHJ053964 for ; Sat, 25 Feb 2012 23:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1PNoAKq053963; Sat, 25 Feb 2012 23:50:10 GMT (envelope-from gnats) Resent-Date: Sat, 25 Feb 2012 23:50:10 GMT Resent-Message-Id: <201202252350.q1PNoAKq053963@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, Olivier Cochard-Labbe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70AB1065673 for ; Sat, 25 Feb 2012 23:48:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id B29528FC0C for ; Sat, 25 Feb 2012 23:48:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1PNm2PC062445 for ; Sat, 25 Feb 2012 23:48:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1PNm1Pu062444; Sat, 25 Feb 2012 23:48:02 GMT (envelope-from nobody) Message-Id: <201202252348.q1PNm1Pu062444@red.freebsd.org> Date: Sat, 25 Feb 2012 23:48:02 GMT From: Olivier Cochard-Labbe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/165480: [sysutils/fusefs-ext4fuse]: set TARGET_ARCH variable prevent to compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 23:50:11 -0000 >Number: 165480 >Category: ports >Synopsis: [sysutils/fusefs-ext4fuse]: set TARGET_ARCH variable prevent to compile >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 Feb 25 23:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: 9.0-Release >Organization: BSD Router Project >Environment: FreeBSD bigdev.bsdrp.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sat Jan 7 19:32:30 CET 2012 root@bigdev.bsdrp.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When setting TARGET_ARCH by using this make command line: env TARGET_ARCH=amd64 make or this command line: env TARGET_ARCH=i386 make The make process generate a bad compilation line and failed by displaying this message: cc -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -I/usr/local/include -L/usr/local/lib amd64 -c -o extents.o extents.c cc: amd64: No such file or directory cc -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -I/usr/local/include -L/usr/local/lib amd64 -c -o disk.o disk.c extents.c: In function 'extent_get_pblock': extents.c:77: warning: 'ret' may be used uninitialized in this function gmake: *** [logging.o] Error 1 >How-To-Repeat: Compile by setting TARGET_ARCH: env TARGET_ARCH=amd64 make or: env TARGET_ARCH=i386 make >Fix: Same solution than with PR/147853 and PR/151224: Add this line to the Makefile: MAKE_ENV+= TARGET_ARCH= (patch included)) Patch attached with submission follows: diff -ruN sysutils/fusefs-ext4fuse.orig/Makefile sysutils/fusefs-ext4fuse/Makefile --- sysutils/fusefs-ext4fuse.orig/Makefile 2012-02-26 00:36:20.000000000 +0100 +++ sysutils/fusefs-ext4fuse/Makefile 2012-02-26 00:37:30.000000000 +0100 @@ -22,6 +22,7 @@ RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod USE_GMAKE= yes +MAKE_ENV+= TARGET_ARCH= MAKE_JOBS_SAFE= yes >Release-Note: >Audit-Trail: >Unformatted: