nssoverlay not cleaned: debuild twice fails

Bug #567104 reported by Rune Philosof on 2010-04-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Low
Unassigned

Bug Description

Errors such as this will come if you run debuild twice:

dpkg-source: error: cannot represent change to openldap-2.4.18/contrib/slapd-modules/nssov/group.o: binary file contents changed
dpkg-source: error: cannot represent change to openldap-2.4.18/contrib/slapd-modules/nssov/.libs/nssov.la:
dpkg-source: error: new version is symlink to ../nssov.la
dpkg-source: error: old version is nonexistent
dpkg-source: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b openldap-2.4.18 gave error exit status 1
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -D -us -uc failed

It seems the
 fakeroot debian/rules clean
doesn't clean up enough.

Rune Philosof (olberd) wrote :

this seems to do the trick.

rm -rf contrib/slapd-modules/nssov/{nssov.la,*.o,.libs}

Rune Philosof (olberd) wrote :

running debuild -S, I found that there was a lot of .lo files, in that same nssov directory, that also needed deleting.

Mathias Gug (mathiaz) on 2010-04-20
Changed in openldap (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - debuild twice fails
+ nssoverlay not cleaned: debuild twice fails
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers