[Dovecot] v1.1.rc6 released won't compile
I got a compile error with rc6, rc5 works fine.
amd64:dovecot-1.1.rc6# uname -a FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri Apr 18 02:18:13 EDT 2008
./configure
--prefix=/opt1/dovecot
--localstatedir=/var
--without-shadow
--without-cyrus-sasl2
--without-pop3d
--without-gssapi
--disable-ipv6
--disable-debug
--with-ioloop=kqueue
--with-ssl=openssl
make
[trimmed]
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-view-sync.o -MD -MP -MF .deps/mail-index-view-sync.Tpo -c -o mail-index-view-sync.o mail-index-view-sync.c mv -f .deps/mail-index-view-sync.Tpo .deps/mail-index-view-sync.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP -MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c mail-index-write.c: In function 'mail_index_write': mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6.
On Thu, May 29, 2008 at 11:16:55PM -0400, webbie wrote:
I got a compile error with rc6, rc5 works fine.
Exactly the same on NetBSD:
mail-index-write.c: In function mail_index_write': mail-index-write.c:179: error: structure has no member named
st_ctim'
mail-index-write.c:179: error: structure has no member named `st_ctim'
*** Error code 1
Geert
amd64:dovecot-1.1.rc6# uname -a FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri Apr 18 02:18:13 EDT 2008
./configure
--prefix=/opt1/dovecot
--localstatedir=/var
--without-shadow
--without-cyrus-sasl2
--without-pop3d
--without-gssapi
--disable-ipv6
--disable-debug
--with-ioloop=kqueue
--with-ssl=opensslmake
[trimmed]
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-view-sync.o -MD -MP -MF .deps/mail-index-view-sync.Tpo -c -o mail-index-view-sync.o mail-index-view-sync.c mv -f .deps/mail-index-view-sync.Tpo .deps/mail-index-view-sync.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP -MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c mail-index-write.c: In function 'mail_index_write': mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6.
On 2008. May 30. 08:12:39 Geert Hendrickx wrote:
On Thu, May 29, 2008 at 11:16:55PM -0400, webbie wrote:
I got a compile error with rc6, rc5 works fine.
Exactly the same on NetBSD:
mail-index-write.c: In function
mail_index_write': mail-index-write.c:179: error: structure has no member named
st_ctim' mail-index-write.c:179: error: structure has no member named `st_ctim' *** Error code 1Geert
amd64:dovecot-1.1.rc6# uname -a FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri Apr 18 02:18:13 EDT 2008
./configure
--prefix=/opt1/dovecot
--localstatedir=/var
--without-shadow
--without-cyrus-sasl2
--without-pop3d
--without-gssapi
--disable-ipv6
--disable-debug
--with-ioloop=kqueue
--with-ssl=opensslmake
[trimmed]
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-view-sync.o -MD -MP -MF .deps/mail-index-view-sync.Tpo -c -o mail-index-view-sync.o mail-index-view-sync.c mv -f .deps/mail-index-view-sync.Tpo .deps/mail-index-view-sync.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP -MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c mail-index-write.c: In function 'mail_index_write': mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6/src. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6. *** Error code 1
Stop in /opt1/source/dovecot-1.1.rc6.
Same here; OpenBSD 4.3.
Daniel
-- LEVAI Dániel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1
On Fri, May 30, 2008 at 9:12 AM, Geert Hendrickx ghen@telenet.be wrote:
On Thu, May 29, 2008 at 11:16:55PM -0400, webbie wrote:
I got a compile error with rc6, rc5 works fine.
Exactly the same on NetBSD:
mail-index-write.c: In function
mail_index_write': mail-index-write.c:179: error: structure has no member named
st_ctim' mail-index-write.c:179: error: structure has no member named `st_ctim' *** Error code 1
Same on FreeBSD 6.3-STABLE, not just FreeBSD-7.x
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"Oh My God! They killed init! You Bastards!" --from a /. post
On Friday 30 May 2008 02:34:56 Odhiambo Washington wrote:
On Fri, May 30, 2008 at 9:12 AM, Geert Hendrickx ghen@telenet.be wrote:
On Thu, May 29, 2008 at 11:16:55PM -0400, webbie wrote:
I got a compile error with rc6, rc5 works fine.
Exactly the same on NetBSD:
mail-index-write.c: In function
mail_index_write': mail-index-write.c:179: error: structure has no member named
st_ctim' mail-index-write.c:179: error: structure has no member named `st_ctim' *** Error code 1Same on FreeBSD 6.3-STABLE, not just FreeBSD-7.x
The version does not matter. It'll fail to compile on any BSD OS of any revision.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Thu, 2008-05-29 at 23:16 -0400, webbie wrote:
mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim'
Whops, I guess I'll make a rc7 release later today for you BSD people. For now these patches help (messed up the first one):
http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838 http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275
Thanks Timo. It works.
Timo Sirainen wrote:
On Thu, 2008-05-29 at 23:16 -0400, webbie wrote:
mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim'
Whops, I guess I'll make a rc7 release later today for you BSD people. For now these patches help (messed up the first one):
http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838 http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275
On Fri, May 30, 2008 at 12:01:30PM +0300, Timo Sirainen wrote:
Whops, I guess I'll make a rc7 release later today for you BSD people. For now these patches help (messed up the first one):
http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838 http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275
Confirmed (on NetBSD).
Geert
participants (6)
-
Brad
-
Geert Hendrickx
-
LÉVAI Dániel
-
Odhiambo Washington
-
Timo Sirainen
-
webbie