View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005986 | SOGo | SOPE | public | 2024-06-25 12:36 | 2024-09-18 10:45 |
Reporter | Artim | Assigned To | qhivert | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | amd64 | OS | Debian | OS Version | 12.5 |
Summary | 0005986: Failing to compile with error in SaxAttributeList.m | ||||
Description | For Bug # 5976 I'm trying to compile the latest SOPE and SOGo nightlies. I followed this guide: https://www.sogo.nu/support/faq/how-do-i-compile-sogo.html the ./configure line does succeeds. This is its output: Configuration: creating: /opt/sope/config.make But "make" fails with these messages: | ||||
Steps To Reproduce |
| ||||
Tags | compilation error, Debian | ||||
Did you installed :
? |
|
libgnustep-base-dev was missing, thanks. Would it be possible to improve the guide for compilation to not just say "install GNUstep", but be more specific? Because I don't see any way to tell from the error messages that this package is missing. |
|
Also a more specific guide may be able to prevent the next issue I now face with compiling sogo. For make I get a very long output ending in Compiling file MSExchangeFreeBusy.m ... |
|
I'm currently trying to compile 5.11 which still fails with the same error. Something weird I found was the content of SoObjects/SOGo/SOGo.framework/Versions/Current/sogo/. It's a symlink called SOGo pointing at libSOGo.so, which doesn't exist: Is it possible that this is confusing gcc? ld is clearly trying to find some SOGo library that doesn't exist (yet). So what is tripping up its creation? |
|
What is the debian version (still 12) ? |
|
Yes, still stable. Running ldconfig has no output and no change in the result. PS: the same error message has just been posted to the SOGo mailing list. |
|
Do you have a dockerfile with your environment to provide ? |
|
I don't compile inside a docker environment. |
|
Hi, Dockerfile (684 bytes)
FROM ubuntu:latest RUN apt-get update RUN apt-get install -y git make gnustep gnustep-make gnustep-devel gnustep-base-runtime libgnustep-base-dev libxml2-dev libmemcached-dev libssl-dev libldap-dev libldap2-dev libpq-dev libz-dev libsodium-dev pkg-config libzip-dev libcurl4-openssl-dev WORKDIR /tmp RUN git clone --depth 1 --branch SOPE-5.11.0 https://github.com/Alinto/sope SOPE WORKDIR /tmp/SOPE RUN ./configure --with-gnustep --enable-debug --disable-strip RUN make RUN make install RUN ldconfig WORKDIR /tmp RUN git clone --depth 1 --branch SOGo-5.11.0 https://github.com/Alinto/SOGo WORKDIR /tmp/SOGo RUN ./configure --enable-debug --disable-strip RUN make RUN make install |
|
Hello,
After installing it (on rhel/centos the package is called libytnef-devel )
the build works. Could you all try it ? For now I don't quite understand if this is normal or a regression and why the build doesn't stop directly there |
|
You need to add Sebastien |
|
Whoops, I didn't see the ytnef error. Thanks ;) |
|
Installing libytnef0-dev seems to have solved this for me too. So again, could you please have someone put a full list of required dependencies into the compilation guide, or at least give a guide on how to figure out what's missing? Because I did not see any "cannot find -lytnef" in that wall of text. |
|
It seems while compilation went through without any issues I could see, executing the new sogod binary (by changing the existing systemd service file to point to /usr/local/sbin/sogod instead of /usr/sbin/sogod, whith everything else left the same) results in this error message: /usr/local/sbin/sogod: symbol lookup error: /usr/local/sbin/sogod: undefined symbol: SOGoBuildDate followed by a message from systemd: sogo.service: Control process exited, code=exited, status=127/n/a Attached is the part of the sogo log refering to the same time stamp. Parts of it seem to be cut off. PS: this is the content of the systemd service file, if that's of any help: [Service] [Install] Question is, if switching to the self-compiled sogod binary, is the correct RuntimeDirectory used? sogo-log.txt (4,153 bytes)
Sep 18 12:32:41 sogod [5135]: <0x0x55a56d9938a0[WOWatchDog]> Terminating with SIGINT or SIGTERM ^ <data>:55: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:57: element a: validity error : ID LPNoLP already defined <a href="https://domain.tld/ew" class="OWAAutoLink" id="LPNoLP">https://rwth ^ <data>:59: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:62: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ QL4 connection dropped 0x0x55a572468c70 (channel=0x0x55a572464530) ^ <data>:59: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:62: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ MySQL4 connection dropped 0x0x55a571805070 (channel=0x0x55a571222360) MySQL4 connection dropped 0x0x55a571b3c5f0 (channel=0x0x55a57193e5e0) <data>:19: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:51: element a: validity error : ID LPNoLP already defined family:"Courier New",serif,EmojiFont; font-size:13.3333px" id="LPNoLP" ^ <data>:55: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:57: element a: validity error : ID LPNoLP already defined <a href="https://domain.tld/ew" class="OWAAutoLink" id="LPNoLP">https://domain ^ <data>:59: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ <data>:62: element div: validity error : ID divtagdefaultwrapper already defined lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" ^ 2024-09-18 12:32:42.213 sogod[5135:5135] INFO(-[NGActiveSocket isAlive]) poll(): fd=9 revents=0x0011) Sep 18 12:32:42 sogod [5135]: <0x0x55a56d9938a0[WOWatchDog]> Terminating with SIGINT or SIGTERM Sep 18 12:32:42 sogod [5135]: <0x0x55a56da90a80[WOWatchDogChild]> child 5137 exited 2024-09-18 12:32:42.233 sogod[5135:5135] INFO(-[NGActiveSocket isAlive]) poll(): fd=7 revents=0x0011) Sep 18 12:32:42 sogod [5135]: <0x0x55a56d9938a0[WOWatchDog]> Terminating with SIGINT or SIGTERM 2024-09-18 12:32:42.234 sogod[5135:5135] INFO(-[NGActiveSocket isAlive]) poll(): fd=11 revents=0x0011) Sep 18 12:32:42 sogod [5135]: <0x0x55a56d9938a0[WOWatchDog]> Terminating with SIGINT or SIGTERM Sep 18 12:32:42 sogod [5135]: <0x0x55a56db10540[WOWatchDogChild]> child 5136 exited Sep 18 12:32:42 sogod [5135]: <0x0x55a56da90920[WOWatchDogChild]> child 5138 exited Sep 18 12:32:42 sogod [5135]: <0x0x55a56d9938a0[WOWatchDog]> all children exited. We now terminate. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-25 12:36 | Artim | New Issue | |
2024-06-25 12:36 | Artim | Tag Attached: compilation error | |
2024-06-25 12:36 | Artim | Tag Attached: Debian | |
2024-06-26 06:57 | sebastien | Note Added: 0017762 | |
2024-06-26 08:56 | Artim | Note Added: 0017763 | |
2024-06-26 09:01 | Artim | Note Added: 0017764 | |
2024-08-19 08:13 | Artim | Note Added: 0017802 | |
2024-08-19 09:19 | sebastien | Note Added: 0017805 | |
2024-08-19 09:19 | sebastien | Note Edited: 0017805 | |
2024-08-19 09:22 | Artim | Note Added: 0017806 | |
2024-08-20 13:17 | sebastien | Note Added: 0017815 | |
2024-08-20 14:01 | Artim | Note Added: 0017818 | |
2024-08-27 15:22 | giopan | Note Added: 0017832 | |
2024-08-27 15:22 | giopan | File Added: Dockerfile | |
2024-08-27 17:11 | qhivert | Note Added: 0017834 | |
2024-08-27 17:12 | qhivert | Assigned To | => qhivert |
2024-08-27 17:12 | qhivert | Status | new => feedback |
2024-08-27 19:20 | sebastien | Note Added: 0017836 | |
2024-08-28 05:45 | giopan | Note Added: 0017841 | |
2024-08-28 08:38 | Artim | Note Added: 0017842 | |
2024-08-28 08:38 | Artim | Status | feedback => assigned |
2024-09-18 10:45 | Artim | Note Added: 0017892 | |
2024-09-18 10:45 | Artim | File Added: sogo-log.txt |