From owner-freebsd-ports@FreeBSD.ORG Fri Dec 15 22:20:50 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C69416A407 for ; Fri, 15 Dec 2006 22:20:50 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp107.sbc.mail.re2.yahoo.com (smtp107.sbc.mail.re2.yahoo.com [68.142.229.98]) by mx1.FreeBSD.org (Postfix) with SMTP id 6998543CBE for ; Fri, 15 Dec 2006 22:19:00 +0000 (GMT) (envelope-from heli@mikestammer.com) Received: (qmail 26524 invoked from network); 15 Dec 2006 22:20:43 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@70.142.210.121 with login) by smtp107.sbc.mail.re2.yahoo.com with SMTP; 15 Dec 2006 22:20:42 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 4288A1146C; Fri, 15 Dec 2006 16:20:42 -0600 (CST) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LibVhal7kWZq; Fri, 15 Dec 2006 16:20:36 -0600 (CST) Received: from [192.168.0.21] (adsl-70-142-210-121.dsl.emhril.sbcglobal.net [70.142.210.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id 434F91146B; Fri, 15 Dec 2006 16:20:36 -0600 (CST) Message-ID: <45831FB4.5050908@mikestammer.com> Date: Fri, 15 Dec 2006 16:20:36 -0600 From: Eric User-Agent: Thunderbird 2.0b1 (Windows/20061206) MIME-Version: 1.0 To: Attos References: <5297d6fd0612151307j2bc6bc1cs3e81699df04b0445@mail.gmail.com> In-Reply-To: <5297d6fd0612151307j2bc6bc1cs3e81699df04b0445@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports Subject: Re: mail/dovecot fails in portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 22:20:50 -0000 Attos wrote: > Hi, > I've been trying to upgrade mail/dovecot and portupgrade fails. > The last lines of the output are: > > : > : > cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib > -I../../../src/lib-mail -I../../../src/lib-index > -I../../../src/lib-storage -I../../../src/lib-storage/index > -I/usr/local/include -std=gnu99 -O2 -fno-strict-aliasing -pipe -Wall > -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith > -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT zlib-plugin.lo > -MD -MP -MF .deps/zlib-plugin.Tpo -c zlib-plugin.c -o zlib-plugin.o >> /dev/null 2>&1 > /bin/sh ../../../libtool --tag=CC --mode=link cc -std=gnu99 -O2 > -fno-strict-aliasing -pipe -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -L/usr/local/lib -o lib01_zlib_plugin.la -rpath > /usr/local/lib/dovecot/imap -module -avoid-version istream-zlib.lo > zlib-plugin.lo -lz > cc -shared .libs/istream-zlib.o .libs/zlib-plugin.o -L/usr/local/lib > -lz -Wl,-soname -Wl,lib01_zlib_plugin.so -o > .libs/lib01_zlib_plugin.so > ar cru .libs/lib01_zlib_plugin.a istream-zlib.o zlib-plugin.o > ranlib .libs/lib01_zlib_plugin.a > creating lib01_zlib_plugin.la > (cd .libs && rm -f lib01_zlib_plugin.la && ln -s > ../lib01_zlib_plugin.la lib01_zlib_plugin.la) > Making all in doc > cat dovecot-config.in|sed > "s|moduledir=|moduledir=/usr/local/lib/dovecot|" > dovecot-config > ---> Backing up the old version > ---> Uninstalling the old version > ---> Deinstalling 'dovecot-1.0.r13' > Dovecot is still running. Shall I stop it? [y]? y > Do you want me to remove user "dovecot" [n]? > Cleaning up "/var/run/dovecot". > [Updating the pkgdb in /var/db/pkg ... - 415 > packages found (-1 +0) (...) done] > ---> Installing the new version via the port > ===> Installing for dovecot-1.0.r15 > ===> dovecot-1.0.r15 depends on shared library: iconv.3 - found > ===> dovecot-1.0.r15 depends on shared library: mysqlclient.15 - found > Dovecot has reserved the groupname 'dovecot' and gid '143': > ERROR: groupname 'dovecot' already in use by gid '1013' > Please resolve these issues and try again. > *** Error code 1 > > Stop in /usr/ports/mail/dovecot. > *** Error code 1 > > Stop in /usr/ports/mail/dovecot. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade.25451.0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=dovecot-1.0.r13 UPGRADE_PORT_VER=1.0.r13 make reinstall > egrep: /var/db/pkg/dovecot-1.0.r13/+CONTENTS: No such file or directory > ---> Restoring the old version > You already have a group "dovecot", so I will use it. > You already have a user "dovecot", so I will use it. > Fixing ownerships and modes in "/var/run/dovecot". > ** Fix the installation problem and try again. > [Updating the pkgdb in /var/db/pkg ... - 416 > packages found (-0 +1) . done] > ** Listing the failed packages (*:skipped / !:failed) > ! mail/dovecot (dovecot-1.0.r13) (install error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > ** Could not clean up temporary directory: Directory not empty - > /var/tmp/portupgradeSFv3auzs > c3p0# less /tmp/portupgrade.25451.0 > /tmp/portupgrade.25451.0: No such file or directory > > remove the dovecot user and group and try again. i ran into the same. i dont know why this was not in the ports UPGRADING file, but it stopped me initially as well.