Bug 182585 - mail/dovecot2 won't install on FreeBSD 9.2-RELEASE
Summary: mail/dovecot2 won't install on FreeBSD 9.2-RELEASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 23:50 UTC by xendon
Modified: 2013-10-14 18:50 UTC (History)
0 users

See Also:


Attachments
smime.p7s (4.18 KB, application/pkcs7-signature)
2013-10-03 10:21 UTC, Ralf.vanderEnden
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xendon 2013-10-02 23:50:00 UTC
After upgrading from FreeBSD 9.1-p7 to 9.2-p0 mail/dovecot2 won't install anymore. After I ran "make" successful "make install" failed with:

====> Compressing man pages
===> Staging rc.d startup script(s)
===>   Installing ldconfig configuration file
===> Correct pkg-plist sequence to create group(s) and user(s)
===>  Installing for dovecot-2.2.6
===>  Checking if mail/dovecot2 already installed
===>   Registering installation for dovecot-2.2.6
pkg-static: unknown keyword stopdaemon, ignoring @stopdaemon
pkg-static: lstat(/usr/ports/mail/dovecot2/work/stage/usr/local/etc/dovecot/): No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/mail/dovecot2.
*** [install] Error code 1

Stop in /usr/ports/mail/dovecot2.


PS: I've found a post that is similar to my report. Please see here: http://forums.freebsd.org/showthread.php?p=234867

I think about a bug because the error happed on i386, too. As described on the forum.

How-To-Repeat: Just upgrade to 9.2-RELEASE and try installing mail/dovecot2 via ports collection.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-03 00:31:52 UTC
Maintainer of mail/dovecot2,

Please note that PR ports/182585 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182585

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-03 00:31:53 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 William Grzybowski 2013-10-03 02:40:30 UTC
Hi,

Try updating ports-mgmt/pkg before installing dovecot.

-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 4 Ralf.vanderEnden 2013-10-03 10:21:32 UTC
Hi,

This has nothing to do with 9.2-RELEASE, but everything with the removal 
of NO_STAGING=yes from the Makefile.

I'm also running into this issue. Upgrading pkg is not possible, since I 
already have the latest available one installed.

BR,

Ralf
Comment 5 Kevin Zheng 2013-10-05 23:28:34 UTC
Hi there,

I've managed to reproduce this failure in a poudriere clean room build
environment. I believe that this error has nothing to do with FreeBSD
9.2, but rather the new STAGE support in the ports framework.

You can find the full build log here:
http://quasarp.dyndns.org:8080/logs/bulk/9-i386-default/latest/logs/errors/dovecot-2.2.6.log

Also, this PR seems to be a duplicate of ports/182584. Please have a
committer with PR access delete one of the two and rename this to
something that reflects the actual nature of the problem.

Thanks,
Kevin Zheng
Comment 6 nagy.attila 2013-10-07 06:07:34 UTC
Hi,

Please fix this.

r329007 | wg | 2013-10-02 01:23:07 +0200 (Wed, 02 Oct 2013) | 10 lines

mail/dovecot2: update to 2.2.6

- Update to 2.2.6 [1]
- Convert lib depends to new format
- Allow staging
- Bump antispam plugin (pigenhole update comming next)

PR:             ports/182543 [1]
Submitted by:   Attila Nagy <bra fsn.hu> (maintainer) [1]
Comment 7 William Grzybowski 2013-10-07 11:56:45 UTC
What is there to fix?

Where is the patch?

On Mon, Oct 7, 2013 at 2:07 AM, Attila Nagy <bra@fsn.hu> wrote:
> Hi,
>
> Please fix this.
>
> r329007 | wg | 2013-10-02 01:23:07 +0200 (Wed, 02 Oct 2013) | 10 lines
>
> mail/dovecot2: update to 2.2.6
>
> - Update to 2.2.6 [1]
> - Convert lib depends to new format
> - Allow staging
> - Bump antispam plugin (pigenhole update comming next)
>
> PR:             ports/182543 [1]
> Submitted by:   Attila Nagy <bra fsn.hu> (maintainer) [1]
>



-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 8 nagy.attila 2013-10-07 13:56:08 UTC
Hi,

According to this bug report, the fix is undoing the removal of this line:
--- Makefile    (revision 329006)
+++ Makefile    (revision 329007)
[...]
-NO_STAGE=      yes


On 10/07/13 12:56, William Grzybowski wrote:
> What is there to fix?
>
> Where is the patch?
>
> On Mon, Oct 7, 2013 at 2:07 AM, Attila Nagy <bra@fsn.hu> wrote:
>> Hi,
>>
>> Please fix this.
>>
>> r329007 | wg | 2013-10-02 01:23:07 +0200 (Wed, 02 Oct 2013) | 10 lines
>>
>> mail/dovecot2: update to 2.2.6
>>
>> - Update to 2.2.6 [1]
>> - Convert lib depends to new format
>> - Allow staging
>> - Bump antispam plugin (pigenhole update comming next)
>>
>> PR:             ports/182543 [1]
>> Submitted by:   Attila Nagy <bra fsn.hu> (maintainer) [1]
>>
>
>
Comment 9 William Grzybowski 2013-10-07 13:57:20 UTC
Thats not a fix, ports should support staging. It builds just fine in
my machine and on redports.

Update your ports-mgmt/pkg.

On Mon, Oct 7, 2013 at 9:56 AM, Attila Nagy <bra@fsn.hu> wrote:
> Hi,
>
> According to this bug report, the fix is undoing the removal of this line:
> --- Makefile    (revision 329006)
> +++ Makefile    (revision 329007)
> [...]
> -NO_STAGE=      yes
>
>
>
> On 10/07/13 12:56, William Grzybowski wrote:
>>
>> What is there to fix?
>>
>> Where is the patch?
>>
>> On Mon, Oct 7, 2013 at 2:07 AM, Attila Nagy <bra@fsn.hu> wrote:
>>>
>>> Hi,
>>>
>>> Please fix this.
>>>
>>> r329007 | wg | 2013-10-02 01:23:07 +0200 (Wed, 02 Oct 2013) | 10 lines
>>>
>>> mail/dovecot2: update to 2.2.6
>>>
>>> - Update to 2.2.6 [1]
>>> - Convert lib depends to new format
>>> - Allow staging
>>> - Bump antispam plugin (pigenhole update comming next)
>>>
>>> PR:             ports/182543 [1]
>>> Submitted by:   Attila Nagy <bra fsn.hu> (maintainer) [1]
>>>
>>
>>
>



-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 10 nagy.attila 2013-10-07 14:03:44 UTC
I don't use pkg myself. If you say upgrading pkg solves this, I'm fine 
with it (previous commenter Ralf doesn't seem to agree though).

On 10/07/13 14:57, William Grzybowski wrote:
> Thats not a fix, ports should support staging. It builds just fine in
> my machine and on redports.
>
> Update your ports-mgmt/pkg.
>
> On Mon, Oct 7, 2013 at 9:56 AM, Attila Nagy <bra@fsn.hu> wrote:
>> Hi,
>>
>> According to this bug report, the fix is undoing the removal of this line:
>> --- Makefile    (revision 329006)
>> +++ Makefile    (revision 329007)
>> [...]
>> -NO_STAGE=      yes
>>
>>
>>
>> On 10/07/13 12:56, William Grzybowski wrote:
>>> What is there to fix?
>>>
>>> Where is the patch?
>>>
>>> On Mon, Oct 7, 2013 at 2:07 AM, Attila Nagy <bra@fsn.hu> wrote:
>>>> Hi,
>>>>
>>>> Please fix this.
>>>>
>>>> r329007 | wg | 2013-10-02 01:23:07 +0200 (Wed, 02 Oct 2013) | 10 lines
>>>>
>>>> mail/dovecot2: update to 2.2.6
>>>>
>>>> - Update to 2.2.6 [1]
>>>> - Convert lib depends to new format
>>>> - Allow staging
>>>> - Bump antispam plugin (pigenhole update comming next)
>>>>
>>>> PR:             ports/182543 [1]
>>>> Submitted by:   Attila Nagy <bra fsn.hu> (maintainer) [1]
>>>>
>>>
>
>
Comment 11 garrych 2013-10-08 13:04:02 UTC
According the forum post here: http://forums.freebsd.org/showpost.php?p=235050&postcount=8, the directory can be created manually for the workaround.
" mkdir /usr/ports/mail/dovecot2/work/stage/usr/local/etc/dovecot/ "
Comment 12 dfilter service freebsd_committer freebsd_triage 2013-10-14 18:49:33 UTC
Author: wg
Date: Mon Oct 14 17:49:26 2013
New Revision: 330339
URL: http://svnweb.freebsd.org/changeset/ports/330339

Log:
  mail/dovecot2: fix package without DOCS option
  
  - Fix package without DOCS option
  
  PR:		ports/182585

Modified:
  head/mail/dovecot2/Makefile
  head/mail/dovecot2/pkg-plist

Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile	Mon Oct 14 17:45:14 2013	(r330338)
+++ head/mail/dovecot2/Makefile	Mon Oct 14 17:49:26 2013	(r330339)
@@ -73,10 +73,8 @@ REINPLACE=	s!%%PROTOCOLS%%!${PROTOCOLS}!
 .if ${PORT_OPTIONS:MDOCS}
 DOCS=		AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README
 PORTDOCS=	*
-PLIST_SUB+=	PORT=""
 .else
 CONFIGURE_ARGS+=	--without-docs
-PLIST_SUB+=	PORT="@comment "
 .endif
 
 PORTEXAMPLES=	*

Modified: head/mail/dovecot2/pkg-plist
==============================================================================
--- head/mail/dovecot2/pkg-plist	Mon Oct 14 17:45:14 2013	(r330338)
+++ head/mail/dovecot2/pkg-plist	Mon Oct 14 17:49:26 2013	(r330339)
@@ -1,8 +1,7 @@
-@stopdaemon dovecot
 bin/doveadm
 bin/doveconf
 bin/dsync
-%%PORT%%%%ETCDIR%%/README
+%%PORTDOCS%%%%ETCDIR%%/README
 include/dovecot/abspath.h
 include/dovecot/access-lookup.h
 include/dovecot/anvil-client.h
@@ -616,4 +615,4 @@ share/aclocal/dovecot.m4
 @dirrmtry lib/dovecot/auth
 @dirrm lib/dovecot
 @dirrm include/dovecot
-@dirrmtry %%ETCDIR%%
+%%PORTDOCS%%@dirrmtry %%ETCDIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 13 William Grzybowski freebsd_committer freebsd_triage 2013-10-14 18:50:49 UTC
State Changed
From-To: feedback->closed

Should be fixed in r330339