python-pam contains NO PYTHON!

Bug #69967 reported by Christian Holtje
8
Affects Status Importance Assigned to Milestone
python-pam (Ubuntu)
Fix Released
Medium
Matthias Klose
Declined for Breezy by Matthias Klose
Declined for Dapper by Matthias Klose
Edgy
Invalid
Medium
Matthias Klose

Bug Description

Binary package hint: python-pam

The python-pam .deb seems empty:
$ dlocate -L python-pam
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-pam
/usr/share/doc/python-pam/AUTHORS
/usr/share/doc/python-pam/README
/usr/share/doc/python-pam/README.Debian
/usr/share/doc/python-pam/copyright
/usr/share/doc/python-pam/examples
/usr/share/doc/python-pam/examples/pamexample.c
/usr/share/doc/python-pam/examples/pamtest.py
/usr/share/doc/python-pam/changelog.gz
/usr/share/doc/python-pam/changelog.Debian.gz
$ python
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named PAM

Details:
OS: Edgy
Package: python-pam
Architecture: i386
Version: 0.4.2-10.4

Revision history for this message
Christian Holtje (docwhat) wrote :

I got the source (the .dsc and tar) from us.archives and built it myself. I installed that .deb and it caused an error....

The resulting .deb file contained two .so files, one for 2.4 and one fore 2.5. The 2.4 one had a size of zero.

I then poked around and rebuilt the .deb *again* and this time got a .deb with both .so files having contents. I installed it and now 'import PAM' works again.

Weird. I think something is broken in the buildtools or the build-rules for this .deb. But I don't know much about .deb building anymore.

Ciao!

Changed in python-pam:
status: Unconfirmed → Confirmed
Revision history for this message
Laurent Bigonville (bigon) wrote :

I can confirm this too

Revision history for this message
Michael Bienia (geser) wrote :

Here is a debdiff to fix it.

python-pam (0.4.2-10.4ubuntu1) feisty; urgency=low

  * debian/control: add python-central to build-depends
  * debian/rules: call dh_pycentral instead of dh_python to get the depends in
    the binary right.
  * This upload fixes also the problem with empty packages. (LP: #69967)
  * Modified Maintainer values to match Debian-Maintainer-Field spec.

Revision history for this message
Laurent Bigonville (bigon) wrote :

0.4.2-10.4build1 is now in feisty

Revision history for this message
Laurent Bigonville (bigon) wrote :

Only affect edgy (sorry)

SRU request bug #84732

Revision history for this message
Laurent Bigonville (bigon) wrote :

Fixed in feisty

Changed in python-pam:
status: Confirmed → Fix Released
Revision history for this message
Christian Holtje (docwhat) wrote :

I'm confused. Is this bug or is bug #84732 the bug for Edgy? The problem is that **edgy** has a totally useless python-pam package.

Ciao!

Matthias Klose (doko)
Changed in python-pam:
status: Fix Released → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

needs a rebuild in edgy, breezy and dapper are ok.

Changed in python-pam:
assignee: nobody → doko
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

didn't see this, duplicate is bug #84732

Changed in python-pam:
status: Confirmed → Rejected
assignee: nobody → doko
importance: Undecided → Medium
status: In Progress → 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.