Re: QtWebEngine build fails
Hi Sandro, On Tue, Jan 10, 2017 at 04:03:33PM +0100, Sandro Knauß wrote: > Hey, > > Your patch should fix this for indep+arch builds. > But the patch break indep only builds, because we need also for indep build a > dh_auto_install call. to install the files for examples. Only docs are created > by dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs > > I see two possibilities: > * moving deletion of the files to override_dh_install-arch > * copy the part to indep too > > Any other solutions? How about the now attached patch then? (Also not tested.) Also note that -i flag to dh_auto_install does not make any sense. -- Dmitry Shachnev diff --git a/debian/rules b/debian/rules index 1ca6979..5e8b7db 100755 --- a/debian/rules +++ b/debian/rules @@ -159,8 +159,7 @@ override_dh_auto_install-arch: # Remove libtool-like files rm -fv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la -override_dh_auto_install-indep: - dh_auto_install -i +override_dh_auto_install-indep: override_dh_auto_install-arch dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs override_dh_install-arch: signature.asc Description: PGP signature -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk
Re: QtWebEngine build fails
On 2017-01-08 00:59, Sandro Knauß wrote: > Hi, > > Thanks for all your input till now. > > I now managed it to get it build on i386 successfully on buildds > (5.7.1+dfsg-2) [0] so it uses less RAM but still it needs around 15GB disk > space to build. It actually also used to much RAM for an successfull amd64 > build on buildds. The fix I did was to disable all debug symbols for all > archs > (including amd64), because all buildds do not have more than 4GB of RAM :( So > QtWebEngine can't be rebuild at porterboxes with this limit and debug symbols > activated. Can this be improved somehow, so I still can push source only > uploads? > > mipsel and armhf builds still look like they are not happy with the amount of > build space. It looks like their buildd disk space limit is 8GB. Are there > buildds with bigger disks? It doesn't seem to be a disk space issue, but rather a virtual memory issue. It's limited to 3GB on armhf, and 2GB on mipsel. For mipsel, you might want to try to add --param ggc-min-expand=20 to the CFLAGS/CXXFLAGS to lower the memory consumption in GCC. For armhf, there is probably similar kind of options for ld.gold. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net signature.asc Description: PGP signature -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk
Re: QtWebEngine build fails
Hi, Thanks for all your input till now. I now managed it to get it build on i386 successfully on buildds (5.7.1+dfsg-2) [0] so it uses less RAM but still it needs around 15GB disk space to build. It actually also used to much RAM for an successfull amd64 build on buildds. The fix I did was to disable all debug symbols for all archs (including amd64), because all buildds do not have more than 4GB of RAM :( So QtWebEngine can't be rebuild at porterboxes with this limit and debug symbols activated. Can this be improved somehow, so I still can push source only uploads? mipsel and armhf builds still look like they are not happy with the amount of build space. It looks like their buildd disk space limit is 8GB. Are there buildds with bigger disks? Never the less QtWebEngine is a NEW package and only amd64 is RC for now, so you may have more important tasks to do... Best Regards, sandro [0] https://buildd.debian.org/status/logs.php?pkg=qtwebengine-opensource-src=i386 signature.asc Description: This is a digitally signed message part. -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk
Re: QtWebEngine build fails
Hi Sandro! On Sun, Dec 25, 2016 at 02:14:12AM +0100, Sandro Knauß wrote: > Hey, > > qtwebengine [0] entered sid today and unfortunately it failed for some archs. > well it is one of those packages, that needs more than 4GB RAM/space for > building. IMO I think the i386 build failed just because the buildd has not > enough ram/space for the build. [1] In qtwebkit we are using -Wl,--no-keep-memory [1]. Maybe it will help you too? (Honestly I don't know why it is a patch and not a line in debian/rules.) > For armel[2] i'm not sure what package I should add to build-deps: > libc6-dev-armel-cross, libc6-dev-armhf-cross or libc6-dev, can you give me a > suggestion what to select? You should not add any of these packages. The compiler flags of the failing command -mfloat-abi=hard. It is a bug in qtwebengine build system: on armel the float abi is soft, not hard. [1] https://anonscm.debian.org/cgit/pkg-kde/qt/qt5webkit.git/tree/debian/patches/reduce_memory_usage.patch -- Dmitry Shachnev signature.asc Description: PGP signature -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk
Re: QtWebEngine build fails
Hi Unfortunately the build logs does not show the compiler invocations, so it is a bit hard to guess what's going on. But at least with webkit, we had to forcefully disable debug symbols to get stuff to build. dwarf2 is huge. and webengine is huge. So start by checking that - and please make the build logs verbose. /Sune On Sunday, December 25, 2016 3:41:29 PM CET Sandro Knauß wrote: > Hey, > > it looks like QtWebEngine[0] fails on armhf because there is too less ram/ > space for building [1]: > /usr/bin/ld.gold: fatal error: libQt5WebEngineCore.so.5.7.1: Cannot allocate > memory > > Best Regards, > > sandro > > [0] https://tracker.debian.org/pkg/qtwebengine-opensource-src > [1] > https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src > rch=armhf=5.7.1%2Bdfsg-1=1482632568 > > -- > > Am Sonntag, 25. Dezember 2016, 02:14:12 CET schrieb Sandro Knauß: > > Hey, > > > > qtwebengine [0] entered sid today and unfortunately it failed for some > > archs. well it is one of those packages, that needs more than 4GB > > RAM/space > > for building. IMO I think the i386 build failed just because the buildd > > has > > not enough ram/space for the build. [1] > > For armel[2] i'm not sure what package I should add to build-deps: > > libc6-dev-armel-cross, libc6-dev-armhf-cross or libc6-dev, can you give me > > a suggestion what to select? > > > > Best Regards, > > > > sandro > > > > -- > > [0] https://tracker.debian.org/pkg/qtwebengine-opensource-src > > [1] > > https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src; > > a > > rch=i386=5.7.1%2Bdfsg-1=1482612327 [2] > > https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src; > > a > > rch=armel=5.7.1%2Bdfsg-1=1482604118 -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk
Re: QtWebEngine build fails
Hey, it looks like QtWebEngine[0] fails on armhf because there is too less ram/ space for building [1]: /usr/bin/ld.gold: fatal error: libQt5WebEngineCore.so.5.7.1: Cannot allocate memory Best Regards, sandro [0] https://tracker.debian.org/pkg/qtwebengine-opensource-src [1] https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src=armhf=5.7.1%2Bdfsg-1=1482632568 -- Am Sonntag, 25. Dezember 2016, 02:14:12 CET schrieb Sandro Knauß: > Hey, > > qtwebengine [0] entered sid today and unfortunately it failed for some > archs. well it is one of those packages, that needs more than 4GB RAM/space > for building. IMO I think the i386 build failed just because the buildd has > not enough ram/space for the build. [1] > For armel[2] i'm not sure what package I should add to build-deps: > libc6-dev-armel-cross, libc6-dev-armhf-cross or libc6-dev, can you give me a > suggestion what to select? > > Best Regards, > > sandro > > -- > [0] https://tracker.debian.org/pkg/qtwebengine-opensource-src > [1] > https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src > rch=i386=5.7.1%2Bdfsg-1=1482612327 [2] > https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src > rch=armel=5.7.1%2Bdfsg-1=1482604118 signature.asc Description: This is a digitally signed message part. -- http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk