Control: clone -1 -2 Control: reassign -2 src:s6 On Sun, Dec 30, 2018 at 10:45:37PM +0100, Helmut Grohne wrote: > execline fails to cross build from source for multiple reason. The > apparent failure is a failure to find skanet. This is due to > debian/rules confusing build and host. Refer to man dpkg-architecture > for what they mean. This confusion is fixed by the attached > build_host.patch. Then we get a failure to find -lskarnet from make. > This is due to package/deps.mak listing -lskarnet as a makefile > dependency. This is one of the few areas where make is > architecture-dependent. It will look up the library on the (build > architecture) library search path. However, skalibs-dev is (correctly) > requested for the host architecture and thus make fails. The correct > solution is to move -lskarnet from a makefile dependency to EXTRA_LIBS. > The second cross.patch implements that by changing the generator for > package/deps.mak. Unfortunately, it isn't run during build, so just > patching the generator is insufficient. You either need to run it once > before uploading or run it during build. After applying both patches, > execline cross builds successfully.
The same issues reside in s6 to the point where the same patches can be used. Helmut