debian/rules clean target changes translations

Bug #8085 reported by Nathaniel McCallum
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Low
Colin Watson

Bug Description

When trying to build source packages (via debuild -S), most notably ssh and
openoffice, unintended translation changes happen.

Steps to reproduce:
1. install a clean warty system
2. install development utils: devscripts, fakeroot, others (I just installed
gnome-devel)
3. apt-get source ssh
4. cd to source dir
5. dch -i (create a test/fake changelog entry)
6. debuild -S
7. cd ..
8. debdiff ${oldver}.dsc ${newver}.dsc

Revision history for this message
Matt Zimmerman (mdz) wrote :

Does it happen when you use dpkg-buildpackage -S?

Does it happen when you run debian/rules clean?

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

(In reply to comment #1)
> Does it happen when you use dpkg-buildpackage -S?

Yes.

> Does it happen when you run debian/rules clean?
Yes. It seems to be coming from this portion of the rules file:

ifeq ($(PO2DEBCONF),yes)
        # Hack for woody compatibility. This makes sure that the
        # debian/templates file shipped in the source package doesn't
        # specify encodings, which woody's debconf can't handle. If building
        # on a system with po-debconf installed (conveniently debhelper (>=
        # 4.1.16) depends on it), the binary-arch target will generate a
        # better version for sarge.
        echo 1 > debian/po/output
        po2debconf debian/openssh-client.templates.master >
debian/openssh-client.templates
        po2debconf debian/openssh-server.templates.master >
debian/openssh-server.templates
        rm -f debian/po/output
endif

Revision history for this message
Matt Zimmerman (mdz) wrote :

I really don't think the clean target should be doing something like this; at
any rate, we don't need to support building ubuntu packages on woody.

On the other hand, I think the changes are harmless.

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

OK, no big deal. closing.

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

Colin did find a bug with po-debconf, reopening.

Revision history for this message
Colin Watson (cjwatson) wrote :

po-debconf 0.8.13 sync complete.

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

The problem is still occuring with exim4 and the newest po-debconf.

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

mgetty also...

Revision history for this message
Colin Watson (cjwatson) wrote :

The exim4 change is correct: the last Ubuntu upload was built with the older
version of po-debconf. A new upload will restore things to the correct state of
affairs. You might want to debdiff against 4.34-5 rather than 4.34-5ubuntu1 for
sanity-checking in that regard.

I can't reproduce any problem with mgetty, so I'll need to see the diff.

Revision history for this message
Nathaniel McCallum (nmccallum) wrote :

Created an attachment (id=263)
debdiff of mgetty

Revision history for this message
Colin Watson (cjwatson) wrote :

The mgetty changes are basically just po-debconf rejustifying text and making a
few other similar cosmetic changes; they're nothing to worry about. Uploading
this is safe.

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.