Just downloaded the latest release 2.2.30.2, ran ./configure with all defaults and make ... and it fails to build .. error somewhere whilst running Makefile in lib-http libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,--as-needed -o test-http-server-errors test-http-server-errors.o -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a ../lib-ssl-iostream/.libs/libssl_iostream.a ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl collect2: error: ld returned 1 exit status make[3]: *** [test-http-server-errors] Error 1 make[3]: Leaving directory `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src/lib-http' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2' make: *** [all] Error 2 any ideas ?? 2.2.30.1 built ok ... rgds Matt
On 07/06/17 10:52, Matt Bryant wrote:> Just downloaded the latest release 2.2.30.2, ran ./configure with all > defaults and make ... > > and it fails to build .. error somewhere whilst running Makefile in lib-httpJust built fine for me. I'll give you a link once I get it pushed out to GhettoForge.> libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 > -Wl,--as-needed -o test-http-server-errors test-http-server-errors.o > -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a > ../lib-ssl-iostream/.libs/libssl_iostream.a > ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a > ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl > collect2: error: ld returned 1 exit statuslibtool: link: gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict -aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,--as-needed -Wl, -z -Wl,relro -o test-http-server-errors test-http-server-errors.o -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a ../lib-ssl-iostream/.libs/libssl_iostream.a ../lib-master/ .libs/libmaster.a ../lib-settings/.libs/libsettings.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl make[3]: Leaving directory `/builddir/build/BUILD/dovecot-2.2.30.2/src/lib-http'> make[3]: Leaving directory > `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src/lib-http'I suggest that you don't use rpmbuild directly, but use mock to build it instead. That ensures you have a clean build environment every time. Peter
It compiled fine for me using rpmbuild on CentOS 7 On 6/6/2017 6:39 PM, Peter wrote:> On 07/06/17 10:52, Matt Bryant wrote: >> Just downloaded the latest release 2.2.30.2, ran ./configure with all >> defaults and make ... >> >> and it fails to build .. error somewhere whilst running Makefile in lib-http > Just built fine for me. I'll give you a link once I get it pushed out > to GhettoForge. > >> libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes >> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 >> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 >> -Wl,--as-needed -o test-http-server-errors test-http-server-errors.o >> -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a >> ../lib-ssl-iostream/.libs/libssl_iostream.a >> ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a >> ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl >> collect2: error: ld returned 1 exit status > libtool: link: gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -m64 -mtune=generic -fno-strict > -aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations > -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast > -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,--as-needed -Wl, > -z -Wl,relro -o test-http-server-errors test-http-server-errors.o > -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a > ../lib-ssl-iostream/.libs/libssl_iostream.a ../lib-master/ > .libs/libmaster.a ../lib-settings/.libs/libsettings.a > ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl > make[3]: Leaving directory > `/builddir/build/BUILD/dovecot-2.2.30.2/src/lib-http' > >> make[3]: Leaving directory >> `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src/lib-http' > I suggest that you don't use rpmbuild directly, but use mock to build it > instead. That ensures you have a clean build environment every time. > > > Peter
On 07/06/17 12:39, Peter wrote:> I'll give you a link once I get it pushed out to GhettoForge.Packages are pushed out to gf-testing now. You can find the CentOS 7 binary RPMs in: http://mirror.ghettoforge.org/distributions/gf/el/7/testing/x86_64/ The SRPM is at: http://mirror.ghettoforge.org/distributions/gf/el/7/testing/SRPMS/dovecot22-2.2.30.2-1.gf.el7.src.rpm Peter
thx my actual RPM failed at the same place .. the below was actually not the result of an rpmbuild command .. cleared out the BUILD directory, untar'd, configure and ran make manually - failed at the same spot as the RPM package .. given 2.2.30.1 built ok saw no reason why 2.2.30.2 should suddenly stop .. rgds Matt> Peter <mailto:peter at pajamian.dhs.org> > 7 June 2017 at 10:39 am > On 07/06/17 10:52, Matt Bryant wrote: >> Just downloaded the latest release 2.2.30.2, ran ./configure with all >> defaults and make ... >> >> and it fails to build .. error somewhere whilst running Makefile in lib-http > > Just built fine for me. I'll give you a link once I get it pushed out > to GhettoForge. > >> libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes >> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 >> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 >> -Wl,--as-needed -o test-http-server-errors test-http-server-errors.o >> -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a >> ../lib-ssl-iostream/.libs/libssl_iostream.a >> ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a >> ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl >> collect2: error: ld returned 1 exit status > > libtool: link: gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -m64 -mtune=generic -fno-strict > -aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations > -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast > -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,--as-needed -Wl, > -z -Wl,relro -o test-http-server-errors test-http-server-errors.o > -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a > ../lib-ssl-iostream/.libs/libssl_iostream.a ../lib-master/ > .libs/libmaster.a ../lib-settings/.libs/libsettings.a > ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl > make[3]: Leaving directory > `/builddir/build/BUILD/dovecot-2.2.30.2/src/lib-http' > >> make[3]: Leaving directory >> `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src/lib-http' > > I suggest that you don't use rpmbuild directly, but use mock to build it > instead. That ensures you have a clean build environment every time. > > > Peter > Matt Bryant <mailto:devops at atmail.com> > 7 June 2017 at 8:52 am > Just downloaded the latest release 2.2.30.2, ran ./configure with all > defaults and make ... > > and it fails to build .. error somewhere whilst running Makefile in > lib-http > > libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 > -Wl,--as-needed -o test-http-server-errors test-http-server-errors.o > -Wl,--export-dynamic ./.libs/libhttp.a ../lib-dns/.libs/libdns.a > ../lib-ssl-iostream/.libs/libssl_iostream.a > ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a > ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -ldl > collect2: error: ld returned 1 exit status > make[3]: *** [test-http-server-errors] Error 1 > make[3]: Leaving directory > `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src/lib-http' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/rpmbuild/rpmbuild/BUILD/dovecot-2.2.30.2' > make: *** [all] Error 2 > > any ideas ?? 2.2.30.1 built ok ... > > rgds > > Matt
Maybe Matching Threads
- 2.2.30.2 fails to compile on centos 7
- 2.2.30.2 fails to compile on centos 7
- 2.2.30.2 fails to compile on centos 7
- [PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()
- a bit further along - OpenSSL - Re: trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!