- Package:
- src:openfortivpn
- Source:
- openfortivpn
- Submitter:
- Helmut Grohne
- Date:
- 2018-12-29 22:21:03 UTC
- Severity:
- wishlist
Thank you for including my patch. The package in unstable now cross builds given sufficient cache variables. The required variables include ac_cv_file__usr_sbin_pppd and ac_cv_file__usr_sbin_ppp. Even though configure requires them, they end up not being used as the packaging gives --with-pppd. Their values don't matter and still the build fails in their absence. This is a little inconvenience (thus wishlist). The attached patch changes the logic to only require them when neither --with-pppd nor --with-ppp is given. The semantics remain unchanged even though the implementation is quite a bit shorter. What do you think about the patch? Helmut
Hi Helmut! El vie., 28 de dic. de 2018 a la(s) 15:37, Helmut Grohne (helmut@subdivi.de) escribió: Thanks for your reply, I was trying build this new version with pbuilder --host-arch=... but doesn't build fine (please log attached), However I will upload this new version to unstable. Feel free to sent me the new patch and I will apply it in a new revision and forward to the upstream. Thank you! Regards
Hi Daniel, openfortivpn is one of the packages that need extra information about the host architecture. For autotools this is done using "cache variables". So for cross building openfortivpn to linux-any (we don't have non-linux release architectures at the moment), you need to provide the following value: ac_cv_file__proc_net_route=yes The easiest way of doing so is passing it as an environment variable to the build. If the patch from bug #915424 got applied upstream, you should no longer need other cache variables. So you can easily tell whether that is the case. Thank you for trying Helmut