heads up: libcitygml build failure in raspbian may indicate issue in debian.

peter green plugwash-urgent at p10link.net
Thu Oct 16 00:48:07 UTC 2014


libcitygml failed to build on the raspbian autobuilders in the following 
way.

dpkg-deb: building package `openscenegraph-plugin-citygml-shared' in `../openscenegraph-plugin-citygml-shared_0.14+svn134-2+3p2p1_armhf.deb'.
	dpkg-deb --build debian/openscenegraph-plugin-citygml-static ..
dpkg-deb: error: parsing file 'debian/openscenegraph-plugin-citygml-static/DEBIAN/control' near line 7 package 'openscenegraph-plugin-citygml-static':
 'Depends' field, reference to 'libopenscenegraph-dev': error in version: version string is empty
dh_builddeb: dpkg-deb --build debian/openscenegraph-plugin-citygml-static .. returned exit code 2
make: *** [binary-arch] Error 1
debian/rules:10: recipe for target 'binary-arch' failed

Strangely when I tried to reproduce it manually in a test chroot it 
failed in a different way. It seems that osgPlugins-3.2.1 ended up in 
debian/tmp/usr/lib/arm-linux-gnueabihf rather than debian/tmp/usr/lib . 
I added a hack to debian/rules to move it back to the place the 
packaging expected it.

I then ran into an error about an invalid number from debian/gencontrol. 
Further investigation showed that it couldn't cope with dpkg 
--get-selections returning libopenscenegraph100:armhf. Again a quick 
hack was added.

I have not tested this in debian but I don't think we have changed 
anything relavent to this in raspbian so I doubt the undelying issues 
are raspbian specific.

I strongly suspect this is related to the recent multiarching of 
openscenegraph.

A very hacky patch I whipped up to get a transition to go through in 
raspbian is attatched, the patch is definately not suitable for 
inclusion in debian in it's current form but I included it to give 
indications of what places need attention.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libcitygml.debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20141016/76a5fb65/attachment-0001.ksh>


More information about the Pkg-grass-devel mailing list