hello,
i am trying to cross compile our packages using xdeb. I am following
the steps from the wiki (e.g. I am using a maverick chroot where I
install xdeb and cross compiler).
I can cross compile the 'grep' example fine. However when I try to
cross compile our packages, it seems that xdeb is not able to handle
the dependencies well.
I am building new packages, e.g. that do not exist in maverick archive,
instead they are stored on a private archive within the company. I have
the following packages titiler-memmgr, tisyslink-lib and
tisyslink-d2cmap. I cannot share all sources for now, but here is the
package information for these 3 (extracted from the archive Sources
file)
Format: 1.0
Package: titiler-memmgr
Binary: titiler-memmgr, titiler-memmgr-dev, titiler-memmgr-tests
Architecture: armel
Version: 0.24.8-0ubuntu1
Standards-Version: 3.9.0
Build-Depends: cdbs, debhelper (>= 7), quilt, libtool
Format: 1.0
Package: tisyslink-lib
Binary: tisyslink-lib, tisyslink-lib-dev, tisyslink-lib-tests
Architecture: armel
Version: 0.24.8.1-0ubuntu2
Standards-Version: 3.9.0
Build-Depends: cdbs, debhelper (>= 7), libtool, titiler-memmgr-dev
(>= 0.24.8)
Format: 1.0
Package: tisyslink-d2cmap
Binary: tisyslink-d2cmap, tisyslink-d2cmap-dev, tisyslink-d2cmap-tests
Architecture: armel
Version: 0.24.8.1-0ubuntu1
Standards-Version: 3.9.0
Build-Depends: cdbs, debhelper (>= 7), libtool, titiler-memmgr-dev
(>= 0.24.7), tisyslink-lib-dev (>= 0.24.7)
So, now I am using xdeb with --sequence, here is the output:
$ xdeb -a armel --apt-source --sequence titiler-memmgr
Build sequence: titiler-memmgr
$ xdeb -a armel
--apt-source --sequence tisyslink-lib
Build sequence:
tisyslink-lib*
$ xdeb -a armel --apt-source --sequence tisyslink-d2cmap
Build sequence: tisyslink-lib* tisyslink-d2cmap*
What is quite disturbing is that xdeb is able to figure out that
tisyslink-d2cmap depends on tisyslink-lib, but it does not get that
tisyslink-lib depends on titiler-memmgr. As such the build fails.
Can something be wrong with my packages? How does xdeb figure out
dependencies? I would expect that it would use the Build-Depends from
the control file, but I am not sure.
Let me know if you need additional data to debug further.
cheers, nicolas