From owner-freebsd-ports@FreeBSD.ORG Sat Mar 15 15:47:23 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E90988E4 for ; Sat, 15 Mar 2014 15:47:23 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA9286E3 for ; Sat, 15 Mar 2014 15:47:23 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id rd18so3819659iec.35 for ; Sat, 15 Mar 2014 08:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XgtGtGpz7JOP8jZxkEJ910Vw8Ch4bPf1GDfq0Fra0Xs=; b=BZcjQ0QSbfuUySrZ7C1JOB51F+PSndxj5U28t1e7mxYt96kaPcrDNXQ24ysyLg9l9K Xz23nJ+ADzfif6KG9D/Ng1WZsoZG2pBTCrRMr4L9GN0q2KMKTUdvDl2ikz9CliauTwHg ukktzpoJHpnKxet4CH3WabSF6RAdbKb/RRZmgdQdpaNBi8GnsQp2QVoglCe8vSikRDt+ rvKCP+KdDvOZglkwoVXb9mqbMBHLlt0rKfvMGqPlHCSLT4wseJoaiG2LTZFsu8G5mXn+ jhriCuTf/D2meCYA7uP3kqB3Krhi7ZEOSCAcJI/iSyLj8Xx9SY/m6rtr2WcRM5BHhay1 v69g== MIME-Version: 1.0 X-Received: by 10.50.66.180 with SMTP id g20mr3792621igt.44.1394898443248; Sat, 15 Mar 2014 08:47:23 -0700 (PDT) Received: by 10.50.164.227 with HTTP; Sat, 15 Mar 2014 08:47:23 -0700 (PDT) In-Reply-To: <1394852101.4088.94721153.6A3EC0B2@webmail.messagingengine.com> References: <1394852101.4088.94721153.6A3EC0B2@webmail.messagingengine.com> Date: Sat, 15 Mar 2014 10:47:23 -0500 Message-ID: Subject: Re: net-im/prosody post install error From: Scot Hetzel To: Ross Penner Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 15:47:24 -0000 On Fri, Mar 14, 2014 at 9:55 PM, Ross Penner wrote: > When I try to build prosody (on FreeBSD 9.2-RELEASE-p3), I get the > following error once it gets to the installation phase. The error > references already having a prosody user and group. They were created > the first time I tried to install and this message is from my second > attempt. > > ===> Installing for prosody-0.9.3 > /bin/sh /usr/ports/net-im/prosody/work/pkg-install prosody-0.9.3 > PRE-INSTALL > prosody:*:242: > You already have a group "prosody", so I will use it. > pw: user 'prosody' already exists > Adding user "prosody" failed... > *** [pre-install] Error code 1 > > > Thanks for any help or insight you can provide. The pkg-install script should be detecting the user, what does the following command show? /usr/sbin/pw user show prosody ; echo $? On my system with no prosody user it returns with: pw: no such user `prosody` 67 It should return with a value of zero, when the port is installed: # /usr/sbin/pw user show prosody ; echo $? prosody:*:242:1::0:0:Prosody XMMP Server:/nonexistent:/usr/sbin/nologin 0 I have tried installing/deinstalling/re-installing the port, and don't get the prosody user already exists error. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.