Re: [voidlinux/void-packages] sigil: add necessary python3 dependency (#5650)

Jannis Christ at Sun, 05 Feb 2017 18:30:01 -0800
@jannisch pushed 1 commit. 60b6fe5 Update template
Jannis Christ at Sun, 05 Feb 2017 18:41:13 -0800
Thanks for the info, hope it builds now!
Jürgen Buchmüller at Sun, 05 Feb 2017 21:12:05 -0800
For cross builds you probably need to add a statement like this: ``` if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel" hostmakedepends+=" qt5-webkit-devel qt5-xmlpatterns-devel qt5-multimedia-devel" hostmakedepends+=" qt5-sensors-devel qt5-declarative-devel qt5-location-devel" hostmakedepends+=" qt5-webchannel-devel" fi ```
Jannis Christ at Mon, 06 Feb 2017 14:23:51 -0800
Really didn't expect those issues, will need some time...
Jürgen Buchmüller at Mon, 06 Feb 2017 14:50:15 -0800
Wild guess: The linker giving errors for missing symbols when cross compiling may be a case of `gcc-6.3.0` eliminating unused code. You could try, if `CXXFLAGS="-fno-lifetime-dse"` in the global section helps.
Jannis Christ at Wed, 08 Feb 2017 08:20:02 -0800
Unfortunately that does not work (I hope _global_ means at the end of the t= emplate, tried it in `configure_args` as well) I could not find anything similar in the [Arch PKGBUILD](https://git.archli= nux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=3Dpackages/sigil) or i= n the [Gentoo ebuild](https://gitweb.gentoo.org/repo/gentoo.git/tree/app-te= xt/sigil/sigil-0.9.6.ebuild) as well =F0=9F=98=9E=20 --=20 You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/voidlinux/void-packages/pull/5650#issuecomment-278375802=
Jürgen Buchmüller at Wed, 08 Feb 2017 09:44:01 -0800
Arch doesn't try to cross compile sigil, neither does gentoo AFAICT. I'll take a closer look and come back to you.
Jannis Christ at Wed, 08 Feb 2017 15:09:17 -0800
Oops that's obvious for Arch... Thank you!
Jürgen Buchmüller at Wed, 08 Feb 2017 15:53:04 -0800
Just adding `python3-devel` to the list of `hostmakedepends+=3D"=E2=80=A6"`= inside the `if` statement solves cross building, i.e. ``` if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=3D" qt5-host-tools qt5-tools-devel qt5-svg-devel" hostmakedepends+=3D" qt5-webkit-devel qt5-xmlpatterns-devel qt5-mul= timedia-devel" hostmakedepends+=3D" qt5-sensors-devel qt5-declarative-devel qt5-lo= cation-devel" hostmakedepends+=3D" qt5-webchannel-devel python3-devel" fi ``` --=20 You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/voidlinux/void-packages/pull/5650#issuecomment-278501743=
Jannis Christ at Thu, 09 Feb 2017 09:21:58 -0800
That's it =F0=9F=98=83 = -- = You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/voidlinux/void-packages/pull/5650#issuecomment-2787106= 18=
Jürgen Buchmüller at Thu, 09 Feb 2017 13:20:52 -0800
Merged #5650.