From owner-freebsd-questions@freebsd.org Fri Feb 21 16:31:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77E9A23A6E7 for ; Fri, 21 Feb 2020 16:31:35 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48PH5z2CkKz4mT4 for ; Fri, 21 Feb 2020 16:31:35 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 48E1623A6E6; Fri, 21 Feb 2020 16:31:35 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4868D23A6E3 for ; Fri, 21 Feb 2020 16:31:35 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PH5y2lwKz4mRl for ; Fri, 21 Feb 2020 16:31:34 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-oi1-x232.google.com with SMTP id a22so2113732oid.13 for ; Fri, 21 Feb 2020 08:31:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xgoAGVgRYH+tq8Oohe4eHQpX4tIdIdya6X5BJkJOKFI=; b=hCIdtNnc3qbSCHkUMBPMb79GO0mVqnps8slG5MIdXEK+O2dJwj1Nn40aNLkCdgTsGO EMxRRQ6848CB4cQvubZxlDuu69L4/pFe5ZTBoVvalZ3aXl2rP4aR1CNTLNhIsssDg9iX r0TOaeGIZszlhVtZIFntrqEfVRhLCZyTco3eLqmq1Tc7jIRKgK7b0ViSu0kwPMtFjtAO z11ZysPqQG6hQE0Ebb++hfpT3JJg8bqKhBrn0UL/pzB12U/Dfxt9ZT6SgfGTqjqoQ6TX 0rBlSGGy1zxdnQtyszhfFRs5gUCrMaS2BpzeWrNLbQZKAM929t1wY8kwh1cWE2qNE3AS 8zQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xgoAGVgRYH+tq8Oohe4eHQpX4tIdIdya6X5BJkJOKFI=; b=EP/JMK/u+OCNP2T56Df/5rhCsxhIFHn5GMtF+rap6CkAsJSP/oe7I9onjWzUYs8yEk xDLKwEU9uz7kr3ocpqK57+6WH2YNCvzo5iDcc/nOj1jBD8k5d1Qhm9gb0XnxG3KLa+eU /AKMHL3Q5Q24fCOxVmlalQ7p6PHIS4y76mIOd13if0xVrVsfqFNhHLPz5bKU0ydKP6hi HJNRf24TZzp9Tektq3LoT1O/2Uk2+DVjuiS4bSK2BnWyW1UjTAUuWTFV1hCaV55Bpuki siKK/3oNk4+FKkgUvMvBT1N5xAilAdsChNGcrka0UCI6pBsokxGPfR+KrXDkSABnnO+q 2PRA== X-Gm-Message-State: APjAAAVyBOzhDeefjrVK8Rr8t4wSOln+o1vCr6WVHFByjFvtlTtK7bEE nWErJgzfH3b+nCUDIKYUgpc5g8WHzRcnUNaT09qSuZa9 X-Google-Smtp-Source: APXvYqwTEsfbj3FzENT9qZyKiqMD0tztACaJriW8zZdpJ9cqUO4zI+ta3MmOXhL/gOMi7HEkQ3foZiMN6s+EwlUVazU= X-Received: by 2002:a05:6808:99c:: with SMTP id a28mr2581867oic.164.1582302692453; Fri, 21 Feb 2020 08:31:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Fri, 21 Feb 2020 19:30:57 +0300 Message-ID: Subject: Re: SOGO-4.3 on FreeBSD 12.1 - SOLVED To: questions X-Rspamd-Queue-Id: 48PH5y2lwKz4mRl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hCIdtNnc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) smtp.mailfrom=odhiambo@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-8.93), ipnet: 2607:f8b0::/32(-1.89), asn: 15169(-1.67), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2020 16:31:35 -0000 On Fri, 21 Feb 2020 at 18:14, Odhiambo Washington wrote: > 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@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@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@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@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@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@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 > Thanks to a list member who contacted me offlist, I managed to solve this by MD4=ON in security/openssl The problem started because I did "portupgrade -a", but apparently it's not always gonna go the way you think :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)