From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 6 00:40:08 2011 Return-Path: Delivered-To: freebsd-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 46A5B106566B for ; Tue, 6 Dec 2011 00:40:07 +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 2198A8FC16 for ; Tue, 6 Dec 2011 00:40:07 +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 pB60e7SU037499 for ; Tue, 6 Dec 2011 00:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB60e6ms037498; Tue, 6 Dec 2011 00:40:06 GMT (envelope-from gnats) Resent-Date: Tue, 6 Dec 2011 00:40:06 GMT Resent-Message-Id: <201112060040.pB60e6ms037498@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, George Dinolt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CDDE106566C for ; Tue, 6 Dec 2011 00:39:29 +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 7CF338FC0A for ; Tue, 6 Dec 2011 00:39:29 +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 pB60dTbl031601 for ; Tue, 6 Dec 2011 00:39:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pB60dTV8031600; Tue, 6 Dec 2011 00:39:29 GMT (envelope-from nobody) Message-Id: <201112060039.pB60dTV8031600@red.freebsd.org> Date: Tue, 6 Dec 2011 00:39:29 GMT From: George Dinolt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/163088: m4 installed on FreeBSD 10 (Current) does not build port nettle X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 00:40:08 -0000 >Number: 163088 >Category: misc >Synopsis: m4 installed on FreeBSD 10 (Current) does not build port nettle >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 06 00:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: George Dinolt >Release: FreeBSD 10 (Current as of Dec. 5) >Organization: N/A >Environment: FreeBSD dinolt-fbsd10 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Mon Dec 5 11:03:52 PST 2011 toor@dinolt-fbsd10:/usr/obj/usr/src/sys/DINOLT-AMD64 amd64 >Description: In the process of compiling /usr/ports/security/nettle, m4 is required to translate aes-decrypt-internal.asm into aes-decrypt-internal.s. The port seems to be configured to use the system installed m4 checking for m4... /usr/bin/m4 The translation fails with the error: m4: syntax error in expr 2 ** 4 m4: syntax error in expr 2 ** 4 and the assembly of the output fails with error return: aes-decrypt-internal.s: Assembler messages: aes-decrypt-internal.s:102: Error: alignment not a power of 2 aes-decrypt-internal.s:140: Error: alignment not a power of 2 gmake[1]: *** [aes-decrypt-internal.o] Error 1 I finagled things to use the gm4 from the ports collection. Nettle builds and installs without problems using that version of m4. I have not investigated to determine where the differences in the two implementations of m4 lie. I suspect there may be issues with other ports that use m4. >How-To-Repeat: Build the /usr/ports/security/nettle port on a version of FreeBSD Current (as of Dec. 5). >Fix: For building nettle, reconfigure nettle to use gm4. >Release-Note: >Audit-Trail: >Unformatted: