[Sugar-devel] Problem packaging toolkit

James Cameron quozl at laptop.org
Mon Jun 10 04:58:31 EDT 2019


I've checked, and po/LINGUAS does contain ach.  The problem is caused
by bzr builddeb running the check-po target of the Makefile, which
currently fails like this;

host:sugar-toolkit-gtk3$ make check-po
*** ach missing from po/LINGUAS ***
Makefile:859: recipe for target 'check-po' failed
make: *** [check-po] Error 1

You're welcome to fix this target.  See Makefile.am.  The failure is
unrelated to packaging and can be reproduced easily.  I don't plan to
fix it before the next release.

The guide you refer to is for packaging new software for
Ubuntu, whereas the Toolkit is existing software from Debian that
Ubuntu has adopted without change.

Use the Debian source package instead.  You can get it from Ubuntu as
a source package using `apt source`, or `dget` the dsc from
packages.ubuntu.com.  Change the version in debian/changelog and
substitute the new source tar.xz file.

See also sugar/docs/debian-packaging-example.md

On Mon, Jun 10, 2019 at 01:06:00PM +0530, ANIKET MATHUR wrote:
> Hello everyone.
> I was trying to package sugar-toolkit-gtk3 v 0.114 following the [1]
> documentation.
> I successfully followed till 4.2, but on running the first command in 4.3
> 
> bzr builddeb -- -us -uc
> 
> The build failed with
> 
> `
> make[1]: Entering directory '/home/aniket21/toolkit/build-area/sugar-toolkit-gtk3-0.114'
> *** ach missing from po/LINGUAS ***
> Makefile:859: recipe for target 'check-po' failed
> make[1]: *** [check-po] Error 1
> make[1]: Leaving directory '/home/aniket21/toolkit/build-area/sugar-toolkit-gtk3-0.114'
> dh_auto_test: make -j1 test VERBOSE=1 returned exit code 2
> debian/rules:18: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> debuild: fatal error at line 1152:
> dpkg-buildpackage -rfakeroot -us -uc -ui failed
> bzr: ERROR: The build failed.
> 
> `
> 
> in the terminal. Need help.
> 
> Thanks!
> 
>  
> 
> References:
> 
> [1] http://packaging.ubuntu.com/html/packaging-new-software.html

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list