courier version 0.65.0-3ubuntu4 failed to build on i386

Bug #803176 reported by Stefano Rivera
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
courier (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

courier version 0.65.0-3ubuntu4 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+source/courier/0.65.0-3ubuntu4/+build/2500354

Direct link to the build log: https://launchpad.net/ubuntu/+source/courier/0.65.0-3ubuntu4/+build/2500354/+files/buildlog_ubuntu-oneiric-i386.courier_0.65.0-3ubuntu4_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 6029 lines into the build log:

gcc -DHAVE_CONFIG_H -I. -I./.. -I.. -Wall -g -O2 -MT starttls.o -MD -MP -MF .deps/starttls.Tpo -c -o starttls.o starttls.c
mv -f .deps/starttls.Tpo .deps/starttls.Po
/usr/bin/libtool --tag=CC --mode=link gcc -I./.. -I.. -Wall -g -O2 -static -lcrypt -o couriertls starttls.o argparse.o libcouriertls.la libspipe.la ../rfc1035/librfc1035.a ../md5/libmd5.la ../random128/librandom128.la ../numlib/libnumlib.la ../liblock/liblock.la ../soxwrap/libsoxwrap.a
libtool: link: gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o ./.libs/libcouriertls.a -lssl -lcrypto ./.libs/libspipe.a ../rfc1035/librfc1035.a ../md5/.libs/libmd5.a ../random128/.libs/librandom128.a ../numlib/.libs/libnumlib.a ../liblock/.libs/liblock.a -lcrypt ../soxwrap/libsoxwrap.a
./.libs/libcouriertls.a(libcouriertls.o): In function `tls_create':
/build/buildd/courier-0.65.0/tcpd/libcouriertls.c:555: undefined reference to `SSLv2_method'
collect2: ld returned 1 exit status
make[3]: *** [couriertls] Error 1
make[3]: Leaving directory `/build/buildd/courier-0.65.0/tcpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/courier-0.65.0/tcpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/courier-0.65.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110512-0839
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/courier-0.65.0

Tags: ftbfs oneiric

Related branches

Changed in courier (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

We better merge the newest version instead of fixing the FTBFS.

Attached a proposed Merge debdiff

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package courier - 0.66.1-1ubuntu1

---------------
courier (0.66.1-1ubuntu1) oneiric; urgency=low

  * Merge from debian unstable. (LP: #803176) Remaining changes:
    - debian/control:
      + Build-depend on chrpath
      + Changed Build-Depend libgamin-dev instead libfam-dev
      + Changed Depends to default-mta instead exim4
      + Added Depends debconf to courier-mta, sqwebmail, courier-imap,
        courier-webadmin, courier-pop, courier-ssl
      + Added Depends lsb-base to courier-mta, sqwebmail, courier-imap,
        courier-pcp, courier-ldap, courier-mta-ssl, courier-pop-ssl,
        courier-imap-ssl
    - debian/courier-imap.init, debian/courier-imap-ssl.init,
      debian/courier-ldap.init, debian/courier-mta.init,
      debian/courier-mta-ssl.init, debian/courier-pcp.init,
      debian/courier-pop-.init, debian/courier-pop-ssl.init, sqwebmail.init:
      + Added LSB sections
      + Make use of /lib/lsb/init-functions
      + Use log_*_msg instead of echo
    - debian/courier-imap-ssl.postinst, debian/courier-mta-ssl.postinst,
      debian/courier-mta.postinst, debian/courier-pop-ssl.postinst: If
      /etc/courier for some reason does not exist, some of the
      postinst scripts could die horribly. Make sure that it does.

courier (0.66.1-1) unstable; urgency=low

  * new upstream release (Closes: #622014, fixes FTBFS due to removed
    SSLv2 support in recent OpenSSL versions)
  * fix line length of description for courier-mta package

courier (0.65.3-2) unstable; urgency=medium

  * fix tests for SSL certificates in postinst scripts
    (Closes: #619008, #619009, thanks to Holger Levsen
    <email address hidden> for the report)

courier (0.65.3-1) unstable; urgency=low

  * new upstream release
  * double ULIMIT value in esmtpd configuration file to avoid allocation
    failures on startup of SMTP/SSL server (Closes: #601443, thanks to
    Buford Sanchez <email address hidden> for the report)
  * fix accidentally removed symbolic links to SSL certificates in
    postinst scripts (Closes: #592092, thanks to Thibault Richard
    <email address hidden> for the report)

courier (0.65.2.20110123-1) experimental; urgency=low

  * new upstream snapshot release (Closes: #561264, fixes problem with bindv6only)
  * add missing dependencies on debconf (Closes: #582412, thanks to
    أحمد المحمودي <email address hidden> for the patch)
  * lintian fixes
    - adjust description of courier-imap package to fit within 80 characters.
  * add status action to IMAP, POP and SqWebMail init scripts.
  * fix FTBFS with ld --as-needed (Closes: #607103, thanks to Matthias
    Klose <email address hidden> for the patch)
  * fix bashism in filterctl script (Closes: #530058)
  * remove LDFLAGS=-lcrypt from build options (Closes: #607124, thanks to Matthias
    Klose <email address hidden> for the report)

courier (0.65.2-1) experimental; urgency=low

  * new upstream release (Closes: #576249, thanks to Helge Kreutzmann
    <email address hidden> for the report)
 -- Jean-Louis Dupond <email address hidden> Tue, 17 May 2011 02:59:29 +0100

Changed in courier (Ubuntu):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Reopening, now it fails due to a different issue:

h_testdir
if [ ! -x /usr/bin/openssl ]; then \
  echo "You need to install openssl first"; \
  exit 1; \
 fi
if [ `umask` != "0022" ]; then echo "You need to set umask to 022 in order to compile/build courier"; exit 1; fi
You need to set umask to 022 in order to compile/build courier
make: *** [check] Error 1

I'm not sure whether that's a buildd specific issue?

Unsubscribing sponsors team, as there is no patch for the new issue.

Changed in courier (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package courier - 0.66.1-1ubuntu2

---------------
courier (0.66.1-1ubuntu2) oneiric; urgency=low

  * Fix umask to fix FTBFS. (LP: #803176)
 -- Jean-Louis Dupond <email address hidden> Wed, 06 Jul 2011 11:57:03 +0200

Changed in courier (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.