First of all, thanks for including sope/sogo into the maintree at last :-) When compiling with the mysql use flag enabled, the following error occurs: -------------------------- x86_64-pc-linux-gnu-gcc NSCalendarDate+MySQL4Val.m -c \ -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -m arch=corei7-avx -O2 -pipe -fno-stack-protector -fgnu-runtime -fconstant-string-class=NSConstantString -I../GDLAccess -I.. -I../.. -I../../sope-core/ -I../../sope-core/NGExtensions -I. -I/va r/tmp/portage/gnustep-libs/sope-2.3.2/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \ -o obj/MySQL.obj/NSCalendarDate+MySQL4Val.m.o In file included from /usr/include/mysql/mysql.h:64:0, from MySQL4Values.h:36, from MySQL4Values.m:26: /usr/include/mysql/mysql/client_plugin.h:103:38: fatal error: mysql/plugin_auth_common.h: No such file or directory #include <mysql/plugin_auth_common.h> ^ compilation terminated. /usr/share/GNUstep/Makefiles/rules.make:479: recipe for target 'obj/MySQL.obj/MySQL4Values.m.o' failed gmake[5]: *** [obj/MySQL.obj/MySQL4Values.m.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... In file included from /usr/include/mysql/mysql.h:64:0, from MySQL4Values.h:36, from MySQL4Adaptor.m:30: /usr/include/mysql/mysql/client_plugin.h:103:38: fatal error: mysql/plugin_auth_common.h: No such file or directory #include <mysql/plugin_auth_common.h> ^ compilation terminated. -------------------------- Reproducible: Always
I used to run my own local copy from a local repo - last was 2.3.1, and I had the exact same error, but I created a patch for it to fix. It is caused simply by sope-gdl1/MySQL/GNUmakefile.preamble incorrectly determining the location of the MySQL libs. I'll upload my fix now.
Created attachment 417304 [details, diff] sope-2.3.1-mysql-preamble.patch Also applies cleanly on 2.3.2
Thanks for the report and patch! I applied it to current versions in tree. Can you send it upstream too? It is basically a makefile fix when using mysql, and they merged hasufell's pull request quickly: https://github.com/inverse-inc/sope/pulls
Sent upstream: https://github.com/inverse-inc/sope/pull/37 (and patch used in all current versions in tree)