From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 29 23:37:56 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37391876 for ; Thu, 29 Jan 2015 23:37:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03896B56 for ; Thu, 29 Jan 2015 23:37:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0TNbtuX046456 for ; Thu, 29 Jan 2015 23:37:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197188] lang/erlang: configure fails when dtrace is enabled on 10.1R-amd64 Date: Thu, 29 Jan 2015 23:37:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@skunkwerks.at X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 23:37:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197188 Bug ID: 197188 Summary: lang/erlang: configure fails when dtrace is enabled on 10.1R-amd64 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: dch@skunkwerks.at Assignee: olgeni@FreeBSD.org Flags: maintainer-feedback?(olgeni@FreeBSD.org) CC: Created attachment 152355 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152355&action=edit erl 17.3 config failre Building either in local ports tree, or via poudriere: checking for 1-stage DTrace precompilation... dtrace: failed to compile script emulator/beam/erlang_dtrace.d: "/usr/lib/dtrace/io.d", line 43: operator -> cannot be applied to a forward declaration: no struct devstat definition is available configure: error: Could not precompile erlang_dtrace.d: dtrace -h failed configure: error: /bin/sh '/wrkdirs/usr/ports/lang/erlang-runtime17/work/otp_src_17.4/erts/configure' failed for erts ===> Script "configure" failed unexpectedly. I believe that `dtrace -h` requires root privileges to run, not sure how that can work within poudriere etc, viz https://github.com/jj1bdx/erlang-freebsd-port#dtrace-support Adding ``` diff --git i/lang/erlang/Makefile w/lang/erlang/Makefile index 1094185..cc8e776 100644 --- i/lang/erlang/Makefile +++ w/lang/erlang/Makefile @@ -92,6 +92,7 @@ USE_GCC?= yes .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--with-dynamic-trace=dtrace +NEED_ROOT=yes .else CONFIGURE_ARGS+=--without-dynamic-trace .endif ``` I'm not clear how to apply this to my poudriere setup for testing, but I guess it would work fine as well there. DTrace + OTP is a wonderful combo, I hope we can find a fix for this! --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer olgeni@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.