Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 16:07:50 -0500
From:      Attos <attos.janus@gmail.com>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   mail/dovecot fails in portupgrade
Message-ID:  <5297d6fd0612151307j2bc6bc1cs3e81699df04b0445@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 <format:bdb1_btree> 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 <format:bdb1_btree> 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


-- 
Attos Janus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5297d6fd0612151307j2bc6bc1cs3e81699df04b0445>