From owner-freebsd-ports@freebsd.org Sat Jan 25 10:58:57 2020 Return-Path: Delivered-To: freebsd-ports@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 D77C923BDFC for ; Sat, 25 Jan 2020 10:58:57 +0000 (UTC) (envelope-from hvbruinehsen@stackptr.de) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 484Y0d2yxJz4N9Z for ; Sat, 25 Jan 2020 10:58:57 +0000 (UTC) (envelope-from hvbruinehsen@stackptr.de) Received: by mailman.nyi.freebsd.org (Postfix) id 65DA823BDF4; Sat, 25 Jan 2020 10:58:57 +0000 (UTC) Delivered-To: ports@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 65A3323BDF3 for ; Sat, 25 Jan 2020 10:58:57 +0000 (UTC) (envelope-from hvbruinehsen@stackptr.de) Received: from mail.stackptr.de (srv-nd01.stackptr.de [88.99.59.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 484Y0c0bHwz4N9V for ; Sat, 25 Jan 2020 10:58:55 +0000 (UTC) (envelope-from hvbruinehsen@stackptr.de) Received: from T3n3br4s.fritz.box (unknown [87.123.192.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.stackptr.de (Postfix) with ESMTPSA id 4848E81129 for ; Sat, 25 Jan 2020 11:01:39 +0000 (UTC) Date: Sat, 25 Jan 2020 11:38:17 +0100 From: Hinnerk van Bruinehsen To: ports@freebsd.org Subject: cereal: fails to build on pure 64 bit systems Message-ID: <20200125103817.t52lmveitniux3dz@T3n3br4s.fritz.box> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jdidelxiozlbmcnt" Content-Disposition: inline X-Rspamd-Queue-Id: 484Y0c0bHwz4N9V X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=stackptr.de; spf=pass (mx1.freebsd.org: domain of hvbruinehsen@stackptr.de designates 88.99.59.17 as permitted sender) smtp.mailfrom=hvbruinehsen@stackptr.de X-Spamd-Result: default: False [-6.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.24)[ip: (-9.91), ipnet: 88.99.0.0/16(-4.71), asn: 24940(-1.55), country: DE(-0.02)]; DMARC_POLICY_ALLOW(-0.50)[stackptr.de,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[223.192.123.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 10:58:57 -0000 --jdidelxiozlbmcnt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hello, the newly introduced build for cereal fails to build on my system, because I don't have 32 bit compatibility stuff enabled. The failure is caused by the default settings of enabling portability testing. I have attached a patch that fixes this for me by disabling the portability tests. I also disabled -WError for the build, because it caused a build failure (because of unused CFLAGS for the build, -pie in my case). Since this is a non default setting, I guess that the last change is debatable, but while I am a big fan of -WError during development, I think it's not that great for packaging/distribution. WKR Hinnerk --jdidelxiozlbmcnt Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-cereal-fix-build-on-non-multilib-systems.patch" >From 4e864fb1ab54ea3a21460320dab6aa6963dee52b Mon Sep 17 00:00:00 2001 From: Hinnerk van Bruinehsen Date: Sat, 25 Jan 2020 11:28:36 +0100 Subject: [PATCH] cereal: fix build on non multilib systems --- devel/cereal/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/cereal/Makefile b/devel/cereal/Makefile index 67d606f608dc..ba2cb834edab 100644 --- a/devel/cereal/Makefile +++ b/devel/cereal/Makefile @@ -22,4 +22,7 @@ GH_ACCOUNT= USCiLab CFLAGS+= -Wno-unused-private-field +CMAKE_ON= SKIP_PORTABILITY_TEST +CMAKE_OFF= WITH_WERROR + .include -- 2.25.0 --jdidelxiozlbmcnt--