SOGO-4.3 on FreeBSD 12.1

Odhiambo Washington odhiambo at gmail.com
Fri Feb 21 15:15:19 UTC 2020


Hello,

Has anyone been able to compile SOGo-4.3 on FreeBSD 12.1? Mine fails like
below:

1 warning generated.
clang WOResponse+SOGo.m -c \
      -MMD -MP -DSOGO_BUILD_DATE="@\"root at waridi.kihingovillage.com
202002211812\"" -DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DSOGO_BUILD_DATE="@\"
root at waridi.kihingovillage.com 202002211812\""
-DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DSOGO_BUILD_DATE="@\"
root at waridi.kihingovillage.com 202002211812\""
-DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DGNUSTEP
-DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1
-DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN
-DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall
-DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wno-import -I/usr/local/include
-fobjc-runtime=gnustep-1.8 -fblocks -Wuninitialized -g
-frecord-gcc-switches -fconstant-string-class=NSConstantString
-I../../SOPE/ -I../../SOPE/ -I.. -I../../UI -I../../SOPE/ -I.. -I../../UI
-I./derived_src -I. -I/usr/ports/www/sogo4/work/GNUstep/Library/Headers
-I/usr/local/GNUstep/Local/Library/Headers
-I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
       -o obj/SOGo.obj/WOResponse+SOGo.m.o
WORequest+SOGo.m:35:2: warning: this should be changed someday [-W#warnings]
#warning this should be changed someday
 ^
1 warning generated.
clang WOContext+SOGo.m -c \
      -MMD -MP -DSOGO_BUILD_DATE="@\"root at waridi.kihingovillage.com
202002211812\"" -DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DSOGO_BUILD_DATE="@\"
root at waridi.kihingovillage.com 202002211812\""
-DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DSOGO_BUILD_DATE="@\"
root at waridi.kihingovillage.com 202002211812\""
-DSOGO_LIBDIR="\"/usr/local/GNUstep/Local/Library/SOGo\""
-DSOGO_MAJOR_VERSION="@\"4\"" -DSOGO_MINOR_VERSION="@\"3\""
-DSOGO_SUBMINOR_VERSION="@\"0\"" -DHAVE_OPENSSL=1 -DGNUSTEP
-DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1
-DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN
-DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall
-DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wno-import -I/usr/local/include
-fobjc-runtime=gnustep-1.8 -fblocks -Wuninitialized -g
-frecord-gcc-switches -fconstant-string-class=NSConstantString
-I../../SOPE/ -I../../SOPE/ -I.. -I../../UI -I../../SOPE/ -I.. -I../../UI
-I./derived_src -I. -I/usr/ports/www/sogo4/work/GNUstep/Library/Headers
-I/usr/local/GNUstep/Local/Library/Headers
-I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
       -o obj/SOGo.obj/WOContext+SOGo.m.o
NSData+Crypto.m:314:21: error: use of undeclared identifier
'MD4_DIGEST_LENGTH'
  unsigned char md4[MD4_DIGEST_LENGTH];
                    ^
NSData+Crypto.m:315:18: error: use of undeclared identifier
'MD4_DIGEST_LENGTH'
  memset(md4, 0, MD4_DIGEST_LENGTH);
                 ^
NSData+Crypto.m:323:3: warning: implicit declaration of function 'MD4' is
invalid in C99 [-Wimplicit-function-declaration]
  MD4([self bytes], [self length], md4);
  ^
1 warning and 2 errors generated.
gmake[6]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479:
obj/SOGo.obj/NSData+Crypto.m.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[5]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Instance/framework.make:612:
internal-framework-run-compile-submake] Error 2
gmake[4]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:297:
SOGo.all.framework.variables] Error 2
gmake[4]: Leaving directory
'/usr/ports/www/sogo4/work/SOGo-4.3.0/SoObjects/SOGo'
gmake[3]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53:
internal-all] Error 2
gmake[3]: Leaving directory '/usr/ports/www/sogo4/work/SOGo-4.3.0/SoObjects'
gmake[2]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53:
internal-all] Error 2
gmake[2]: Leaving directory '/usr/ports/www/sogo4/work/SOGo-4.3.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/sogo4
*** Error code 1

Stop.
make: stopped in /usr/ports/www/sogo4



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)


More information about the freebsd-questions mailing list