[FTBFS] scim-bridge (0.4.14-1) fails to build in hardy

Bug #181029 reported by Marco Rodrigues
12
Affects Status Importance Assigned to Milestone
scim-bridge (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: scim-bridge

http://launchpadlibrarian.net/11150791/buildlog_ubuntu-hardy-i386.scim-bridge_0.4.14-1_FAILEDTOBUILD.txt.gz

Error:

pkgstriptranslations: processing control file: ./debian/scim-bridge-agent-dbgsym/DEBIAN/control, package scim-bridge-agent-dbgsym, directory ./debian/scim-bridge-agent-dbgsym
pkgstriptranslations: scim-bridge-agent-dbgsym does not contain translations, skipping
pkgstriptranslations: The following PO/POT files are empty. This is known to
cause trouble in the translation importer and generally indicates a package
bug:

./po/scim.pot
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2

It needs a cleanup of empty files in po/ directory.

Tags: ftbfs
Changed in scim-bridge:
importance: Undecided → Medium
Revision history for this message
Ming Hua (minghua) wrote :

The analysis is correct. However the POT file is intentionally left empty by upstream. Maybe the whole po/ directory should be removed.

Changed in scim-bridge:
status: New → Confirmed
Revision history for this message
Marco Rodrigues (gothicx) wrote :

Could someone test this fix ?

I can't active pkgbinarymangler (striptranslations) in my hardy pbuilder.

grep: debian/control: No such file or directory
/usr/bin/pkgstriptranslations: Error: not in source package directory

After I set it "true" at striptranslations.conf

Thanks

Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :

I don't know how to fix this bug now, and I've read your patch, you just remove the empty po files, I don't know whether it can work, and also it will change the upstream source tarball. Anyway, we may upload this fix for testing. :)

Revision history for this message
Ming Hua (minghua) wrote :

ZhengPeng Hou wrote:
> and also it will change the upstream source tarball

What is this referring to? Deleting empty files in po/ at build time (clean target in debian/rules) won't change the *.orig.tar.gz upstream tarball at all.

Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :

To Ming Hua,
my mistake.

and I upload it, now its built well. so close this bug.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Nice. It will be closed when this problem was fixed and it built fine in Hardy.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

The Launchpad didn't close the bug automatically. It's been published and built fine in all ubuntu archs.

Changed in scim-bridge:
status: Confirmed → 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.