Re: [Dovecot-news] Dovecot v2.3.15 released
On Jun 21, 2021, at 7:20 AM, Timo Sirainen <timo@sirainen.com> wrote:
Here's a new release with some security fixes and quite a lot of other changes as well.
- Removed support for Lua 5.2. Use version 5.1 or 5.3 instead.
Looks like it doesn't want to build w/o lua now.
On my MacOS system configure says:
checking whether we will be linking in Lua... no
... but after fixing the implicit i_gettimeofday declaration, build fails with:
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -I/opt/local/include -no-undefined -L/opt/local/lib -o libdict_lua.la
libtool: link: ar cru .libs/libdict_lua.a
ar: no archive members specified
(this doesn't happen with 2.3.14.1)
Daniel J. Luke
On 21/06/2021 17:39, Daniel J. Luke wrote:
On Jun 21, 2021, at 7:20 AM, Timo Sirainen <timo@sirainen.com> wrote:
Here's a new release with some security fixes and quite a lot of other changes as well.
- Removed support for Lua 5.2. Use version 5.1 or 5.3 instead. Looks like it doesn't want to build w/o lua now.
On my MacOS system configure says:
And on OmniOS / Solaris it failed with:
libtool: link: gcc -std=gnu99 -m64 -march=x86-64 -fPIC -Os -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -m64 -o test-dict test-dict.o ./.libs/libdict.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lsocket -lnsl -lsendfile gcc: error: ./.libs/libdict_lua.a: No such file or directory gmake[3]: *** [Makefile:630: test-dict-client] Error 1
I confirm v2.3.15 has an error.
I tried combinations of --with-lua=no, --without-lua, etc, and also compiled lua and still it failed.
On 21. Jun 2021, at 18.57, James <list@xdrv.uk> wrote:
On 21/06/2021 17:39, Daniel J. Luke wrote:
On Jun 21, 2021, at 7:20 AM, Timo Sirainen <timo@sirainen.com> wrote:
Here's a new release with some security fixes and quite a lot of other changes as well.
- Removed support for Lua 5.2. Use version 5.1 or 5.3 instead. Looks like it doesn't want to build w/o lua now.
On my MacOS system configure says:
And on OmniOS / Solaris it failed with:
libtool: link: gcc -std=gnu99 -m64 -march=x86-64 -fPIC -Os -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -m64 -o test-dict test-dict.o ./.libs/libdict.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lsocket -lnsl -lsendfile gcc: error: ./.libs/libdict_lua.a: No such file or directory gmake[3]: *** [Makefile:630: test-dict-client] Error 1
Attached patch should work? You'll need to run autogen.sh again.
On 22/06/2021 12:30, Timo Sirainen wrote:
And on OmniOS / Solaris it failed with:
libtool: link: gcc -std=gnu99 -m64 -march=x86-64 -fPIC -Os -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -m64 -o test-dict test-dict.o ./.libs/libdict.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lsocket -lnsl -lsendfile gcc: error: ./.libs/libdict_lua.a: No such file or directory gmake[3]: *** [Makefile:630: test-dict-client] Error 1 Attached patch should work? You'll need to run autogen.sh again.
No, similar error, I am slowly investigating.
I didn't run autogen.sh in the first place so I can't run it again. Running for the first time it moans about missing libtool:
.... Warning: libtoolize does not appear to be available. This means that the automatic build preparation via autoreconf will probably not work. Preparing the build by running each step individually, however, should work and will be done automatically for you if autoreconf fails.
ERROR: Unable to locate GNU Libtool.
ERROR: To prepare the Dovecot build system from scratch, at least version 1.4.2 of GNU Libtool must be installed. ....
On Tue, Jun 22, 2021 at 01:30:49PM +0200, Timo Sirainen wrote:
And on OmniOS / Solaris it failed with:
libtool: link: gcc -std=gnu99 -m64 -march=x86-64 -fPIC -Os -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -m64 -o test-dict test-dict.o ./.libs/libdict.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lsocket -lnsl -lsendfile gcc: error: ./.libs/libdict_lua.a: No such file or directory gmake[3]: *** [Makefile:630: test-dict-client] Error 1
Attached patch should work? You'll need to run autogen.sh again.
This works for me on MacOS both with and without lua (ran autoconf -fi since autogen.sh isn't in the source tarball).
Thanks!
-- Daniel J. Luke
On 22/06/2021 12:30, Timo Sirainen wrote:
libtool: link: gcc -std=gnu99 -m64 -march=x86-64 -fPIC -Os -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -m64 -o test-dict test-dict.o ./.libs/libdict.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lsocket -lnsl -lsendfile gcc: error: ./.libs/libdict_lua.a: No such file or directory gmake[3]: *** [Makefile:630: test-dict-client] Error 1
Attached patch should work? You'll need to run autogen.sh again.
Patching src/lib-dict/Makefile.in did the job. I don't know what is wrong with autoconf and automake - obviously I need a suite of tools to enable portability of autoconf, automake and libtool.
I'm having hard-to-debug issues compiling 2.3.15 using Alpine; for some reasons I'd like to repeat that using buster. Where did you publish the Dockerfile for the 'official' repository?
On 22/06/2021 19:24 Jörg Faudin Schulz <js@faudin.de> wrote:
I'm having hard-to-debug issues compiling 2.3.15 using Alpine; for some reasons I'd like to repeat that using buster. Where did you publish the Dockerfile for the 'official' repository?
Hi!
We have not gotten round to publish the Dockerfiles yet.
Aki
participants (5)
-
Aki Tuomi
-
Daniel J. Luke
-
James
-
Jörg Faudin Schulz
-
Timo Sirainen