My build worked on a fresh and updated xenial container. Also with a ton of ugly warnings, but no failure. log attached.
A quick glance didn't show compiler flags being different, or different plugins enabled. Aha, found something: -/usr/local/include/openssl/hmac.h:39:16: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ +/usr/include/openssl/hmac.h:98:16: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ You seem to be using an openssl version from /usr/local, and not the one provided by ubuntu in xenial. Can you confirm/verify? ** Changed in: cyrus-sasl2 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cyrus-sasl2 in Ubuntu. https://bugs.launchpad.net/bugs/1803009 Title: cyrus-sasl2 source fails to build Status in cyrus-sasl2 package in Ubuntu: Incomplete Bug description: apt source cyrus-sasl2 cd cyrus-sasl2-2.1.26.dfsg1 dpkg-buildpackage -rfakeroot -b In amoungst hundreds of warnings, we get this: otp.c:755:17: error: storage size of ‘mdctx’ isn’t known EVP_MD_CTX mdctx; Full Outputs: hacksaw@hacksaw:~/src$ apt source cyrus-sasl2 Reading package lists... Done NOTICE: 'cyrus-sasl2' packaging is maintained in the 'Git' version control system at: git://anonscm.debian.org/pkg-cyrus-sasl2/cyrus-sasl2.git Please use: git clone git://anonscm.debian.org/pkg-cyrus-sasl2/cyrus-sasl2.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 1,592 kB of source archives. Get:1 http://archive.ubuntu.com/ubuntu xenial/main cyrus-sasl2 2.1.26.dfsg1-14build1 (dsc) [3,327 B] Get:2 http://archive.ubuntu.com/ubuntu xenial/main cyrus-sasl2 2.1.26.dfsg1-14build1 (tar) [1,494 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial/main cyrus-sasl2 2.1.26.dfsg1-14build1 (diff) [94.6 kB] Fetched 1,592 kB in 0s (11.6 MB/s) gpgv: Signature made Tue 05 Apr 2016 09:12:33 AM EDT using RSA key ID 75BDD52E gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./cyrus-sasl2_2.1.26.dfsg1-14build1.dsc dpkg-source: info: extracting cyrus-sasl2 in cyrus-sasl2-2.1.26.dfsg1 dpkg-source: info: unpacking cyrus-sasl2_2.1.26.dfsg1.orig.tar.gz dpkg-source: info: unpacking cyrus-sasl2_2.1.26.dfsg1-14build1.debian.tar.xz dpkg-source: info: applying 0001_versioned_symbols.patch dpkg-source: info: applying 0002_testsuite.patch dpkg-source: info: applying 0003_saslauthd_mdoc.patch dpkg-source: info: applying 0005_dbconverter.patch dpkg-source: info: applying 0006_library_mutexes.patch dpkg-source: info: applying 0009_sasldb_al.patch dpkg-source: info: applying 0010_maintainer_mode.patch dpkg-source: info: applying 0011_saslauthd_ac_prog_libtool.patch dpkg-source: info: applying 0012_xopen_crypt_prototype.patch dpkg-source: info: applying 0014_avoid_pic_overwrite.patch dpkg-source: info: applying 0017_db4.8.patch dpkg-source: info: applying 0025_ld_as_needed.patch dpkg-source: info: applying 0026_drop_krb5support_dependency.patch dpkg-source: info: applying 0028_autotools_fixes.patch dpkg-source: info: applying 0029_ldap_fixes.patch dpkg-source: info: applying 0030_dont_use_la_files_for_opening_plugins.patch dpkg-source: info: applying 0031_dont_use_-R_when_search_for_sqlite_libraries.patch dpkg-source: info: applying 0032_revert_1.103_revision_to_unbreak_GSSAPI.patch dpkg-source: info: applying 0033_fix_segfault_in_GSSAPI.patch dpkg-source: info: applying 0034_fix_dovecot_authentication.patch dpkg-source: info: applying 0035_temporary_multiarch_fixes.patch dpkg-source: info: applying 0036_add_reference_to_LDAP_SASLAUTHD_file.patch dpkg-source: info: applying 0038_send_imap_logout.patch dpkg-source: info: applying 0039_fix_canonuser_ldapdb_garbage_in_out_buffer.patch dpkg-source: info: applying 0041_fix_keytab_option_for_MIT_kerberos.patch dpkg-source: info: applying 0042_release_server_creds.patch dpkg-source: info: applying 0043_types_h.patch dpkg-source: info: applying 0044_debug_log_typo_fix.patch dpkg-source: info: applying 0045_revert_upstream_soname_bump.patch dpkg-source: info: applying 0046_fix_void_return.patch dpkg-source: info: applying properly-create-libsasl2.pc.patch dpkg-source: info: applying bug715040.patch dpkg-source: info: applying early-hangup.patch dpkg-source: info: applying CVE-2013-4122.patch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1803009/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp