Re: Build failure for 2.0.0
Sam Varshavchik <[email protected]> Sun, 21 Jun 2026 06:51:00 -0400
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--===============5183424728852076892==
Content-Type: multipart/signed;
boundary="=_ripper.email-scan.com-34846-1782039060-0001";
micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 8bit
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_ripper.email-scan.com-34846-1782039060-0001
Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
courier--- via courier-users writes:
> I have the following error during build of the latest version:
>
> /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../lib/
> Scrt1.o: in function `_start':
> (.text+0x1b): undefined reference to `main'
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:790: testispell] Error 1
> make[3]: Leaving directory '/home/aur/courier-mta/src/courier-2.0.0/libs/
> sqwebmail'
> make[2]: *** [Makefile:987: all-recursive] Error 1
> make[2]: Leaving directory '/home/aur/courier-mta/src/courier-2.0.0/libs/
> sqwebmail'
> make[1]: *** [Makefile:645: all] Error 2
> make[1]: Leaving directory '/home/aur/courier-mta/src/courier-2.0.0/libs/
> sqwebmail'
> make: *** [Makefile:475: all-recursive] Error 1
> ==> ERROR: A failure occurred in build().
> Aborting...
>
> Running Arch linux with gcc 16.1.1
Need to see a little bit more to get the full picture. Here, for reference,
are the relevant logs from Github's build on Arch:
2026-06-20T02:47:28.2277605Z g++ -std=c++17 -DHAVE_CONFIG_H -I. -I..
-I./.. -I../.. -I./../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-
security -fstack-clash-protection -fcf-protection -fno-omit-
frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -Wall
-MT testispell.o -MD -MP -MF .deps/testispell.Tpo -c -o testispell.o
testispell.C
2026-06-20T02:47:29.1387116Z mv -f .deps/testispell.Tpo .deps/testispell.Po
2026-06-20T02:47:29.1416701Z /bin/sh ./libtool --tag=CXX --mode=link g++
-std=c++17 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-
security -fstack-clash-protection -fcf-protection -fno-omit-
frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -Wall
-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
-Wl,-z,pack-relative-relocs -o testispell testispell.o ../pcp/libpcp.la ../
maildir/libmaildir.la ../cgi/libcgi.la ../rfc2045/libencode.la ../gpglib/
libgpg.la ../rfc2045/librfc2045.la ../rfc822/librfc822.la ../liblock/
liblock.la ../http11/libhttp11.la ../ldapaddressbook/libaddressbook.la ../
random128/librandom128.la ../md5/libmd5.la ../numlib/libnumlib.la ../../libs/
gdbmobj/libgdbmobj.la `cat ../pcp/pcp.libs` -lcourier-unicode -lpthread
-lcrypt
That's it. This part is actually pretty boring. The full logs from Arch
latest: https://tinyurl.com/3bx4seyv
--=_ripper.email-scan.com-34846-1782039060-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCajfCFAAKCRCKYPgoojZS
4tCIAQDVOa/qdp9Rn3LtcBKf3He632FSEoFNx8BlmBq8peeGCgD+IwX7uhXpGCBb
3Uzpdm/m1fbP8wZI4VQzRfFJA022vwU=
=xHkP
-----END PGP SIGNATURE-----
--=_ripper.email-scan.com-34846-1782039060-0001--
--===============5183424728852076892==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5183424728852076892==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--===============5183424728852076892==--