user/onlyoffice-document-server: new aport #264

Closed
ayakael wants to merge 21 commits from onlyoffice/initial into edge
ayakael commented 2023-09-05 22:27:06 +00:00 (Migrated from lab.ilot.io)
No description provided.
ayakael commented 2023-09-05 22:28:04 +00:00 (Migrated from lab.ilot.io)
added 1 commit <ul><li>d6101173 - fix</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2692&start_sha=07d9405eacac1fd9320c78e64318185fae655382)
ayakael commented 2023-09-05 22:30:43 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>1ff7f6fb - add missing make</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2694&start_sha=d6101173b1558e2ab9fad99c52b64a4ce4595e17)
ayakael commented 2023-09-05 22:53:21 +00:00 (Migrated from lab.ilot.io)

added 2 commits

Compare with previous version

added 2 commits <ul><li>fec9ff29 - no test suite</li><li>5a1894d5 - add missing depends</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2696&start_sha=1ff7f6fb5c590d848d2497eab3c092e54b200977)
ayakael commented 2023-09-05 23:22:17 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>4210ec4a - Fix build</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2698&start_sha=5a1894d553f77e801fa5a081b5ccf72bf68c458f)
ayakael commented 2023-09-05 23:46:09 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>511b829e - mv build_tools instead of ln</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2700&start_sha=4210ec4a39319cee587c0bad3d7685b2076ac816)
ayakael commented 2023-09-06 00:26:08 +00:00 (Migrated from lab.ilot.io)

I am currently stuck at building what's in core. For one, first it wants to build core/common/3dparty, which has a bunch of components that already provided by alpine (openssl). It thus tries to rebuild the world. While I can use make.py to fetch all of the missing sources, that's not cool. I can see how it builds the whole world and then after looks for system versions (in server/Makefile) but its kind of stupid.

I am currently stuck at building what's in core. For one, first it wants to build core/common/3dparty, which has a bunch of components that already provided by alpine (openssl). It thus tries to rebuild the world. While I can use make.py to fetch all of the missing sources, that's not cool. I can see how it builds the whole world and then *after* looks for system versions (in server/Makefile) but its kind of stupid.
ayakael commented 2023-09-06 02:16:04 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>411a576e - Add core build</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2703&start_sha=511b829e034d99d26ce4e4eb02e46f11d7686ae5)
ayakael commented 2023-09-06 02:48:50 +00:00 (Migrated from lab.ilot.io)

sigh Now stuck on libv8 build. Of course, its broken because Google likes build systems that imports a distribution to build a library...

*sigh* Now stuck on libv8 build. Of course, its broken because Google likes build systems that imports a distribution to build a library...
ayakael commented 2023-09-06 03:01:33 +00:00 (Migrated from lab.ilot.io)

added 1 commit

  • 067de788 - override build for openssl, v8 and icu

Compare with previous version

added 1 commit <ul><li>067de788 - override build for openssl, v8 and icu</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2705&start_sha=411a576e7e6b87467c39e1c3fa921be93a1db01d)
ayakael commented 2023-09-06 03:43:17 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>e33fa8a9 - added boost</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2707&start_sha=067de7880a9538595a42e8c8ad9e9dffbb7408cc)
ayakael commented 2023-09-06 03:44:39 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>2ef1bf10 - merge</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2709&start_sha=e33fa8a90cd604f9f4bdab3f7aae16b5aa25fd7f)
ayakael commented 2023-09-06 04:02:07 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>ef0fa981 - Fix prepare</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2711&start_sha=2ef1bf102961632752962c1bca7be26123791490)
ayakael commented 2023-09-06 04:16:29 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>7d688b7c - Untarget pkg</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2713&start_sha=ef0fa981e0c8f5b411a76baf900fff6beab9f5b5)
ayakael commented 2023-09-06 04:35:11 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>fd41656b - only build server</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2716&start_sha=7d688b7cc1e5d2b20ef8cbeeb87d78521f3f2253)
ayakael commented 2023-09-06 04:37:08 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>5cf90ebb - move default_prepare</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2718&start_sha=fd41656ba9a31fb7e2dadf6839206326930d7330)
ayakael commented 2023-09-06 04:38:04 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>18a6d9e4 - move default_prepare</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2720&start_sha=5cf90ebb454aaccf23ce3c76b83c5f62f25adac7)
ayakael commented 2023-09-06 13:58:06 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>28d6f149 - build core 3d party</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2724&start_sha=18a6d9e48891d60719ea22c16a9e81f2d9216eae)
ayakael commented 2023-09-06 14:57:16 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>ed94a57d - Build server</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2726&start_sha=28d6f149eef7d8e600d0b4d41b19fe116114d25c)
ayakael commented 2023-09-06 15:11:59 +00:00 (Migrated from lab.ilot.io)

I managed to nuke the libv8 build and have the build system link to the system library. Things sitll don't work. DocumentServer/bin is refusing to be built, for some reason. I'm putting this one to bed for now, and come back to it at a later date.

I managed to nuke the libv8 build and have the build system link to the system library. Things sitll don't work. DocumentServer/bin is refusing to be built, for some reason. I'm putting this one to bed for now, and come back to it at a later date.
ayakael commented 2023-09-06 17:32:37 +00:00 (Migrated from lab.ilot.io)

added 1 commit

  • 62d26790 - Properly setup system_qt link

Compare with previous version

added 1 commit <ul><li>62d26790 - Properly setup system_qt link</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2730&start_sha=ed94a57db313bb39c7d2fbac3e67e520e39da271)
ayakael commented 2023-09-06 17:48:25 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>fc868834 - Add harfbuzz</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2732&start_sha=62d267907c506b2bdb1f362c819ba68daa60668d)
ayakael commented 2023-09-06 18:34:29 +00:00 (Migrated from lab.ilot.io)

added 1 commit

Compare with previous version

added 1 commit <ul><li>d74b2c3f - Attempt musl build fix</li></ul> [Compare with previous version](/ayakael/user-aports/-/merge_requests/237/diffs?diff_id=2734&start_sha=fc868834167b4b417fa8d9091ad0e5bf7b7fb62c)
ayakael commented 2023-09-06 18:50:44 +00:00 (Migrated from lab.ilot.io)

Okay, looks like we're getting core to build. Musl support isn't there. Did a few patches here and there, but the currently error seems to be related to libv8 again:

make[1]: *** [/var/lib/gitlab-runner/builds/ayakael/user-aports/user/onlyoffice-document-server/src/onlyoffice-document-server-v7.3.3/build_tools/../core/DesktopEditor/doctrenderer/Makefile.doctrendererlinux_64:942: core_build/linux_64/release/obj/js_internal/v8/v8_base.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from embed/v8/v8_Zip.cpp:2:
embed/v8/../../js_internal/v8/v8_base.h:22:10: fatal error: src/base/sys-info.h: No such file or directory
   22 | #include "src/base/sys-info.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
Okay, looks like we're getting core to build. Musl support isn't there. Did a few patches here and there, but the currently error seems to be related to libv8 again: ``` make[1]: *** [/var/lib/gitlab-runner/builds/ayakael/user-aports/user/onlyoffice-document-server/src/onlyoffice-document-server-v7.3.3/build_tools/../core/DesktopEditor/doctrenderer/Makefile.doctrendererlinux_64:942: core_build/linux_64/release/obj/js_internal/v8/v8_base.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from embed/v8/v8_Zip.cpp:2: embed/v8/../../js_internal/v8/v8_base.h:22:10: fatal error: src/base/sys-info.h: No such file or directory 22 | #include "src/base/sys-info.h" | ^~~~~~~~~~~~~~~~~~~~~ ```
ayakael commented 2023-09-07 15:32:13 +00:00 (Migrated from lab.ilot.io)

Despite downgrading to nodejs14, the build still doesn't care for the libv8 version provided in nodejs. Indeed, per https://github.com/ONLYOFFICE/build_tools/issues/401, the dependencies are even patched by the build system. I'm not quite sure how to go about fixing this. Ideally, it would involve fixing their libv8 builder, but it depends on google build binaries. I don't think I feel like delving into this more.

Despite downgrading to nodejs14, the build still doesn't care for the libv8 version provided in nodejs. Indeed, per https://github.com/ONLYOFFICE/build_tools/issues/401, the dependencies are even patched by the build system. I'm not quite sure how to go about fixing this. Ideally, it would involve fixing their libv8 builder, but it depends on google build binaries. I don't think I feel like delving into this more.
ayakael commented 2023-11-29 01:11:11 +00:00 (Migrated from lab.ilot.io)

Closing due to being impossible.

Closing due to being impossible.
ayakael (Migrated from lab.ilot.io) closed this pull request 2023-11-29 01:11:12 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: forge/ayaports#264
No description provided.