{"action":"created","issue":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1008","repository_url":"https://api.github.com/repos/postmarketOS/pmbootstrap","labels_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1008/labels{/name}","comments_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1008/comments","events_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1008/events","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1008","id":282236650,"number":1008,"title":"qt5-qtwebengine for aarch64 and armhf isn't in the binary repo","user":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"labels":[{"id":613960555,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/bug","name":"bug","color":"ee0701","default":true},{"id":725196840,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/good%20first%20issue","name":"good first issue","color":"b95dd8","default":true},{"id":613960558,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":651651048,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/infrastructure","name":"infrastructure","color":"d4c5f9","default":false},{"id":640640781,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/packaging","name":"packaging","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"assignees":[{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-12-14T20:57:58Z","updated_at":"2017-12-17T20:34:24Z","closed_at":null,"author_association":"OWNER","body":"`qt5-qtwebengine` is the whole `chromium` browser, with a bit of `QT` glue. It takes hours to compile, even with a fast CPU. I've tried to compile it for `x86_64`, `armhf` and `aarch64`.\r\n\r\n### Status\r\n* `x86_64`: compiled, and is available in the repo now (I did not test using it, that would be helpful)\r\n* `armhf` failed at the very end when linking `libQt5WebEngineCore`\r\n```\r\nlinking ..../lib/libQt5WebEngineCore.so.5.9.3\r\ncollect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped\r\ncompilation terminated\r\ndistcc[12345] ERROR: compile (null) on localhost failed\r\n```\r\n* `aarch64`: hangs forever (left it there for hours) on `[327/237] LINK gn` fairly early for some reason.\r\n\r\n**NOTE:** I gave it 50 GB of SWAP just in case, so running out of memory shouldn't be the problem (and that would have gotten other output).\r\n\r\n### How to help\r\nTry to compile it on your own PC for foreign arches. Especially for `aarch64` it fails early for me, so it would be good to know if it's just me or not. If it's possible, trying to compile on a native device (e.g. @opendata26 with his Shield TV) would also be helpful (does it run through there?).\r\n\r\nTo build it, change `arch=\"x86_64\"` back to `arch=\"all\"` in `aports/main/qt5-qtwebengine/APKBUILD`, then run either:\r\n* `pmbootstrap build --arch=aarch64 qt5-qtwebengine`\r\n* `pmbootstrap build --arch=armhf qt5-qtwebengine`"},"comment":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/comments/352283323","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1008#issuecomment-352283323","issue_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1008","id":352283323,"user":{"login":"z3ntu","id":3768500,"avatar_url":"https://avatars3.githubusercontent.com/u/3768500?v=4","gravatar_id":"","url":"https://api.github.com/users/z3ntu","html_url":"https://github.com/z3ntu","followers_url":"https://api.github.com/users/z3ntu/followers","following_url":"https://api.github.com/users/z3ntu/following{/other_user}","gists_url":"https://api.github.com/users/z3ntu/gists{/gist_id}","starred_url":"https://api.github.com/users/z3ntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3ntu/subscriptions","organizations_url":"https://api.github.com/users/z3ntu/orgs","repos_url":"https://api.github.com/users/z3ntu/repos","events_url":"https://api.github.com/users/z3ntu/events{/privacy}","received_events_url":"https://api.github.com/users/z3ntu/received_events","type":"User","site_admin":false},"created_at":"2017-12-17T20:34:24Z","updated_at":"2017-12-17T20:34:24Z","author_association":"MEMBER","body":"And I can reproduce the armhf issue with cross-compilation from x86_64, so it's not because of your computer 😉 \r\n```\r\nar cqs Release/libqtwebenginecoreapi.a .obj/qtwebenginecoreglobal.o .obj/qwebenginecookiestore.o .obj/qwebenginehttprequest.o .obj/qwebengineurlrequestinfo.o .obj/qwebengineurlrequestjob.o .obj/qwebengineurlschemehandler.o .obj/qtbug-60565.o .obj/qtbug-61521.o .obj/moc_qwebenginecookiestore.o .obj/moc_qwebengineurlrequestinterceptor.o .obj/moc_qwebengineurlrequestjob.o .obj/moc_qwebengineurlschemehandler.o\r\nmake[3]: Leaving directory '/home/pmos/build/src/build/src/core/api'\r\n( test -e Makefile.core_module || /usr/bin/qmake-qt5 -o Makefile.core_module /home/pmos/build/src/qtwebengine-opensource-src-5.9.3/src/core/core_module.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile.core_module \r\nmake[3]: Entering directory '/home/pmos/build/src/build/src/core'\r\ncreating linker version script QtWebEngineCore.version\r\nrm -f libQt5WebEngineCore.so.5.9.3 libQt5WebEngineCore.so libQt5WebEngineCore.so.5 libQt5WebEngineCore.so.5.9\r\nlinking ../../lib/libQt5WebEngineCore.so.5.9.3\r\ncollect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped\r\ncompilation terminated.\r\ndistcc[3560] ERROR: compile (null) on localhost failed\r\nmake[3]: *** [Makefile.core_module:77: ../../lib/libQt5WebEngineCore.so.5.9.3] Error 1\r\nmake[3]: Leaving directory '/home/pmos/build/src/build/src/core'\r\nmake[2]: *** [Makefile:122: sub-core_module-pro-make_first] Error 2\r\nmake[2]: Leaving directory '/home/pmos/build/src/build/src/core'\r\nmake[1]: *** [Makefile:79: sub-core-make_first] Error 2\r\nmake[1]: Leaving directory '/home/pmos/build/src/build/src'\r\nmake: *** [Makefile:47: sub-src-make_first] Error 2\r\n>>> ERROR: qt5-qtwebengine: all failed\r\n```"}}
{"actor":{"display_login":"z3ntu"}}