From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 18 22:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C116379D for ; Mon, 18 Mar 2013 22:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB8E1DC for ; Mon, 18 Mar 2013 22:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2IMe0NH033184 for ; Mon, 18 Mar 2013 22:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2IMe04D033183; Mon, 18 Mar 2013 22:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 18 Mar 2013 22:40:00 GMT Resent-Message-Id: <201303182240.r2IMe04D033183@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, John Marino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7F01A5CF for ; Mon, 18 Mar 2013 22:35:58 +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 6FC5F1AF for ; Mon, 18 Mar 2013 22:35:58 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2IMZvaw007753 for ; Mon, 18 Mar 2013 22:35:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2IMZvJL007752; Mon, 18 Mar 2013 22:35:57 GMT (envelope-from nobody) Message-Id: <201303182235.r2IMZvJL007752@red.freebsd.org> Date: Mon, 18 Mar 2013 22:35:57 GMT From: John Marino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177091: www/npm: Attempts to install files at /root X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 22:40:00 -0000 >Number: 177091 >Category: ports >Synopsis: www/npm: Attempts to install files at /root >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: Mon Mar 18 22:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Marino >Release: >Organization: >Environment: >Description: The DragonFly version poudriere sets up most of the jail as "read-only" which makes it obvious when ports are trying to install files outside of $LOCALBASE. In this case, www/npm is trying to write to /root and it fails at the install phase: ===> Installing for npm-1.2.12 ===> npm-1.2.12 depends on package: node>=0.8.0 - found ===> Generating temporary packing list ===> Checking if www/npm already installed node cli.js install -g -f npm WARN using --force I sure hope you know what you are doing. npm ERR! addLocal Could not install . npm ERR! Error: EROFS, mkdir '/root/.npm' npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System DragonFly 3.3-DEVELOPMENT npm ERR! command "node" "/wrkdirs/www/npm/work/npm-1.2.12/cli.js" "install" "-g" "-f" npm ERR! cwd /wrkdirs/www/npm/work/npm-1.2.12 npm ERR! node -v v0.10.0 npm ERR! npm -v 1.2.12 npm ERR! path /root/.npm npm ERR! code EROFS npm ERR! errno 56 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /wrkdirs/www/npm/work/npm-1.2.12/npm-debug.log npm ERR! not ok code 0 *** Error code 56 Stop. make: stopped in /wrkdirs/www/npm/work/npm-1.2.12 >How-To-Repeat: >Fix: I suspect the makefile needs patching to prevent mkdir at $HOME >Release-Note: >Audit-Trail: >Unformatted: