[hardy-backports] Rebuild msmtp against new libgsasl7-dev (was: [hardy] libgsasl7-dev missing dependencies on libntlm0-dev, libkrb5-dev)

Bug #348865 reported by Anders Kaseorg
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hardy Backports
Fix Released
Undecided
Unassigned
anubis (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
gsasl (Debian)
Fix Released
Unknown
gsasl (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned
libvmime (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
mailutils (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
mpop (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
msmtp (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gsasl

Note: This bug is marked as affecting msmtp, anubis, libvmime, mailutils, and mpop because they will need to be rebuilt once the SRU verification is complete. msmtp in hardy-backports will similarly need to be rebuilt.

In Hardy’s libgsasl7-dev, /usr/lib/libgsasl.la contains
  dependency_libs=' -L/usr/lib /usr/lib/libidn.la /usr/lib/libntlm.la -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err'
but libgsasl7-dev is missing a dependency on libntlm0-dev and libkrb5-dev. This is already fixed in Intrepid.

The impact is that packages which build-depend libgsasl7-dev but don’t otherwise build-depend libntlm0-dev and libkrb5-dev to fail to configure with gsasl support. One such package was msmtp 1.4.16-1~hardy1 in hardy-backports:
http://launchpadlibrarian.net/23914800/buildlog_ubuntu-hardy-i386.msmtp_1.4.16-1~hardy1_FULLYBUILT.txt.gz
  checking for libgsasl... no
  configure: WARNING: Cannot find GNU SASL, disabling
  …
  GNU SASL support ..... : no
As a result, msmtp in hardy-backports no longer works with --auth=gssapi, a regression over msmtp in hardy:
  msmtp: support for authentication method GSSAPI is not compiled in

Revision history for this message
Anders Kaseorg (andersk) wrote :
Changed in gsasl:
status: Unknown → Fix Released
Revision history for this message
Anders Kaseorg (andersk) wrote :

I have built and tested the fixed gsasl in my PPA. I also built the hardy-backports msmtp against it with no source changes, and successfully tested it with --auth=gssapi.
https://launchpad.net/~anders-kaseorg/+archive/ppa

Revision history for this message
Evan Broder (broder) wrote :

In the Hardy release, msmtp, anubis, libvmime, mailutils, and mpop should be rebuilt once this change is uploaded, as they build-dep on libgsasl7-dev

Also, msmtp in hardy-backports

Revision history for this message
John Dong (jdong) wrote :

Approved SRU against Hardy; and I will upload the supplied debdiff.

Changed in gsasl (Ubuntu Hardy):
status: New → Confirmed
Revision history for this message
John Dong (jdong) wrote :

(already fixed in Jaunty)

Changed in gsasl (Ubuntu):
status: New → Fix Released
Revision history for this message
John Dong (jdong) wrote :

Uploaded Anders's debdiff with a slight modification -- changed the maintainer to MOTU according to the maintainer spec.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gsasl (Ubuntu Hardy):
status: Confirmed → Fix Committed
tags: added: verification-needed
Evan Broder (broder)
description: updated
Revision history for this message
Evan Broder (broder) wrote : Re: [hardy] libgsasl7-dev missing dependencies on libntlm0-dev, libkrb5-dev

I uploaded a no-change rebuild of msmtp to my PPA and had it build against -proposed (https://launchpad.net/%7Ebroder/+archive/ppa/+sourcepub/538848/+listing-archive-extra). I then installed that package and the gsasl in -proposed on my machine, and was able to send GSSAPI-authenticated e-mail.

I'm not sure of what other testing I could do.

Revision history for this message
Anders Kaseorg (andersk) wrote :

All the packages other than msmtp successfully configured with gsasl in spite of this bug, because they don’t use AC_LIB_HAVE_LINKFLAGS to find dependencies of -lgsasl.

Changed in anubis:
status: New → Invalid
status: New → Invalid
Changed in libvmime:
status: New → Invalid
status: New → Invalid
Changed in mailutils:
status: New → Invalid
status: New → Invalid
Changed in mpop:
status: New → Invalid
status: New → Invalid
Changed in msmtp:
status: New → Invalid
Revision history for this message
Anders Kaseorg (andersk) wrote :

And the current msmtp in hardy release was built against libgsasl7-dev 0.2.12-1build1, which was before ntlm support was added, so it also successfully configured with gsasl. The msmtp in hardy-backports seems to be the only affected package.

Changed in msmtp:
status: New → Invalid
Revision history for this message
Anders Kaseorg (andersk) wrote :

I rebuilt the hardy-backports msmtp in my PPA against the hardy-proposed gsasl:
https://launchpad.net/~anders-kaseorg/+archive/ppa
http://launchpadlibrarian.net/24640768/buildlog_ubuntu-hardy-i386.msmtp_1.4.16-1~hardy2~andersk3_FULLYBUILT.txt.gz
and verified that I can successfully send authenticated mail with --auth=gssapi. This verifies the gsasl update.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Anders, can you please attach a debdiff for msmtp hardy-backports? Or is it a no-change rebuild?

Revision history for this message
Anders Kaseorg (andersk) wrote :

It is a no-change rebuild. Here’s my debdiff anyway, in case that’s useful.

Anders Kaseorg (andersk)
summary: - [hardy] libgsasl7-dev missing dependencies on libntlm0-dev, libkrb5-dev
+ [hardy-backports] Rebuild msmtp against new libgsasl7-dev (was: [hardy]
+ libgsasl7-dev missing dependencies on libntlm0-dev, libkrb5-dev)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gsasl - 0.2.21-1ubuntu0.1

---------------
gsasl (0.2.21-1ubuntu0.1) hardy-proposed; urgency=low

  [Anders Kaseorg <email address hidden>]
  * Add missing dependencies of libgsasl7-dev on libntlm0-dev,
    libkrb5-dev. (LP: #348865)

  [John Dong]
  * Change maintainer to MOTU

 -- John Dong <email address hidden> Sun, 29 Mar 2009 14:15:32 -0400

Changed in gsasl (Ubuntu Hardy):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded; will accept once the SRU is published to hardy-updates.

Changed in hardy-backports:
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

hardy-backports rebuild accepted

Changed in hardy-backports:
status: Fix Committed → Fix Released
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.