Subject: pkg/35260: Dovecot compilation 1.0.rc15 error
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <info@sicurezzarete.com>
List: pkgsrc-bugs
Date: 12/15/2006 15:55:02
>Number:         35260
>Category:       pkg
>Synopsis:       Dovecot compilation 1.0.rc15 error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 15 15:55:02 +0000 2006
>Originator:     Matteo
>Release:        Linux 2.4.33.3 (voltalinux)
>Organization:
Sicurezzarete
>Environment:
Linux teo 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686 pentium4 i386 GNU/Linux

>Description:
...
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib  -I../../src/lib-dict  -                     I../../src/lib-mail  -I../../src/lib-imap  -I../../src/lib-storage  -DMODULEDIR=                     \""/usr/pkg/lib/dovecot"\"  -I/usr/include -I/usr/pkg/include  -std=gnu99 -O2 -I                     /usr/include -I/usr/pkg/include -Wall -W -Wmissing-prototypes -Wmissing-declarat                     ions -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ../lib                     /mountpoint.o -MD -MP -MF ".deps/../lib/mountpoint.Tpo" -c -o ../lib/mountpoint.                     o ../lib/mountpoint.c;  then mv -f ".deps/../lib/mountpoint.Tpo" ".deps/../lib/m                     ountpoint.Po"; else rm -f ".deps/../lib/mountpoint.Tpo"; exit 1; fi
../lib/mountpoint.c:138: fatal error: opening dependency file .deps/../lib/mount                     point.Tpo: No such file or directory
compilation terminated.

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/mail/dovecot/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../s                     rc/lib -I../../src/lib-dict -I../../src/lib-mail -I../../src/lib-imap -I../../sr                     c/lib-storage -DMODULEDIR=\"/usr/pkg/lib/dovecot\" -I/usr/pkgsrc/mail/dovecot/wo                     rk/.buildlink/include -std=gnu99 -O2 -Wall -W -Wmissing-prototypes -Wmissing-dec                     larations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT .                     ./lib/mountpoint.o -MD -MP -MF .deps/../lib/mountpoint.Tpo -c -o ../lib/mountpoi                     nt.o ../lib/mountpoint.c -L/usr/pkgsrc/mail/dovecot/work/.buildlink/lib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/dovecot/work/dovecot-1.0.rc15/src/imap
*** Error code 1
...

>How-To-Repeat:
bmake package
>Fix:
The source dovecot 1.0.rc15 outside pkgsrc but in the same environment compile properly

the error seems in:
fatal error: opening dependency file .deps/../lib/mount

No solution by now.

thanks for the attention.