Tips
1: The AUR package compilation needs to manually apply https://github.com/XmacsLabs/lolly/pull/346.
2: mogan/xmake.lua needs to be improved. https://github.com/XmacsLabs/mogan/issues/2261
| Git Clone URL: | https://aur.archlinux.org/mogan.git (read-only, click to copy) |
|---|---|
| Package Base: | mogan |
| Description: | A structured wysiwyg scientific text editor |
| Upstream URL: | https://github.com/XmacsLabs/mogan |
| Licenses: | GPL3 |
| Submitter: | luozhiya |
| Maintainer: | luozhiya |
| Last Packager: | luozhiya |
| Votes: | 4 |
| Popularity: | 0.000001 |
| First Submitted: | 2022-10-02 07:00 (UTC) |
| Last Updated: | 2025-10-21 14:57 (UTC) |
1: The AUR package compilation needs to manually apply https://github.com/XmacsLabs/lolly/pull/346.
2: mogan/xmake.lua needs to be improved. https://github.com/XmacsLabs/mogan/issues/2261
@sinofine Thank you for your feedback. I will double check.
Dear maintainer,
The package seems to introduce libgit2 dependency in 1.2.3-rc3.
@Jack_Li bump to v1.2.0
Could you update this package to 1.2.0? The current version is out-dated.
mogan 1.1.6-1 build fails:
[ 96%]: linking.release keyword_parser_test
/usr/bin/g++ -o build/linux/x86_64/release/keyword_parser_test build/.objs/keyword_parser_test/linux/x86_64/release/tests/Base/base.cpp.o build/.objs/keyword_parser_test/linux/x86_64/release/tests/Data/Parser/keyword_parser_test.cpp.o -m64 -L/usr/lib -Lbuild/linux/x86_64/release -Wl,-rpath=$ORIGIN -Wl,-rpath=/usr/lib -s -lmogan -lQt5Gui -lQt5Widgets -lQt5PrintSupport -lQt5Svg -lQt5Test -lQt5Core -lpthread
/usr/bin/ld: build/.objs/mogan/linux/x86_64/release/src/Texmacs/Texmacs/texmacs.cpp.o: in function `immediate_options(int, char**)':
texmacs.cpp:(.text+0x58d4): undefined reference to `get_tm_cache_path()'
/usr/bin/ld: texmacs.cpp:(.text+0x5c40): undefined reference to `get_tm_cache_path()'
/usr/bin/ld: texmacs.cpp:(.text+0x5de8): undefined reference to `get_tm_cache_path()'
/usr/bin/ld: texmacs.cpp:(.text+0x6018): undefined reference to `get_tm_cache_path()'
/usr/bin/ld: texmacs.cpp:(.text+0x6230): undefined reference to `get_tm_cache_path()'
/usr/bin/ld: build/.objs/mogan/linux/x86_64/release/src/Texmacs/Texmacs/texmacs.cpp.o:texmacs.cpp:(.text+0x62a5): more undefined references to `get_tm_cache_path()' follow
collect2: error: ld returned 1 exit status
error: @programdir/modules/async/runjobs.lua:256: @programdir/actions/build/kinds/binary.lua:74: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/bin/g++ -o build/linux/x86_64/release/mogan build/.objs/mogan/linux/x86_64/release/src/Texmacs/Texmacs/texmacs.cpp.o -m64 -L/usr/lib -Lbuild/linux/x86_64/release -Wl,-rpath=$ORIGIN/../lib -Wl,-rpath=$ORIGIN -Wl,-rpath=/usr/lib -s -lmogan -lQt5PrintSupport -lQt5Svg -lQt5Gui -lQt5Widgets -lQt5Core -lpthread) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:923]:
[@programdir/core/sandbox/modules/os.lua:378]: in function 'execv'
[@programdir/modules/core/tools/gcc.lua:487]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:280]:
[@programdir/core/tool/linker.lua:224]: in function 'link'
[@programdir/actions/build/kinds/binary.lua:74]: in function 'callback'
[@programdir/modules/core/project/depend.lua:191]: in function 'on_changed'
[@programdir/actions/build/kinds/binary.lua:55]: in function '_do_link_target'
[@programdir/actions/build/kinds/binary.lua:105]:
[@programdir/actions/build/kinds/binary.lua:132]: in function '_link_target'
[@programdir/actions/build/kinds/binary.lua:160]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:232]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:280]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/async/runjobs.lua:218]: in function 'cotask'
[@programdir/core/base/scheduler.lua:404]:
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:923: in function 'base/os.raiselevel'
(...tail calls...)
@programdir/modules/async/runjobs.lua:256: in field 'catch'
@programdir/core/sandbox/modules/try.lua:123: in global 'try'
@programdir/modules/async/runjobs.lua:218: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:404: in function <@programdir/core/base/scheduler.lua:397>
==> ERROR: A failure occurred in build().
Aborting...
-> error making: mogan-exit status 4
-> Failed to install the following packages. Manual intervention is required:
mogan - exit status 4
FAIL
@taoky This issue was discussed in upstream, see https://github.com/XmacsLabs/mogan/pull/328#issuecomment-1602562869
Pinned Comments
luozhiya commented on 2025-06-27 11:32 (UTC) (edited on 2025-10-21 15:35 (UTC) by luozhiya)
Tips
1: The AUR package compilation needs to manually apply https://github.com/XmacsLabs/lolly/pull/346.
2:
mogan/xmake.luaneeds to be improved. https://github.com/XmacsLabs/mogan/issues/2261