From owner-freebsd-ports@freebsd.org Thu Oct 11 03:19:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DC4110CA833 for ; Thu, 11 Oct 2018 03:19:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-22.consmr.mail.ne1.yahoo.com (sonic315-22.consmr.mail.ne1.yahoo.com [66.163.190.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 301628096A for ; Thu, 11 Oct 2018 03:19:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: YpviO3oVM1nYKX4BLck05eBo9g_lN4AeIaH4hd7xvpgNNL1aKfdp9e5ClCYqjAw zrAj12lMMJdWflSiqCORIO9UfSW56Oo3gJe5PgnkfUDqNvAoevx119lzr8v2Xm.1DC65GvwJSHY7 1Wvv7m0kydQaCjwFS3bLYb.Nb8r2bcYVPs70dQGcMQccENXkja0DBWhPhCaXixEt1A5yYSeV_Ch8 sUv6JNR_J59EM.KaxuDwlCFPL0J5uWSR_w44wkxgg0bntY70gli09YpXuS9vrPSXPMKG9Vl_cLWo FOUswojHVD4hDgNso1U83N.3_BMUC.BtInfv9cU2GtPdYReLhM1nPMI._mW0ydUl7U7kU3.b5gF8 sznv5VYlMqYAqJLlsMCrbvW0VL3YaXdVI_5mktycemMZnQmIOVeLlsIC5QtepCB6qlpeUkyRHZRI WUHYqbzP.pMqbJB14C09t3KCNGcLjm.nOATi7emJGyi2EvFzyuaj5pKvtCC3cMRxB_V1bAg6VnRu 39Mt6NeiMp1r0qpbSWM6UNdWXhCAcGeyO.krvBIwzOmflYIrcwPxv8NFJAlGkH4NwL1Uhe1VKoYq 6IQ_sCTxqdnO8OLquBzkTn9nu2RmHnYh7wOeR5ykp4g.1kcYRiyEQVCtstJdV0ATMtAI0OsYdfYl S62MYMxxNJy8eqBGxbeBF_1dzol6zKHKJieE0ouVaf547z306dNV3wv6C0GPnCjjVLBYPUc.PLSQ f2xis9nzwpjo3EnNNLQqpHFv8X9Z4MYFTl1ojnxWo.W4isZi4PoVpEFRoP4UmmIWufo6gDhIUxUm t_uB8D60CV5ZcaiguxL9DIGDSwbuZcfFGxdll3ez3qZt4GHoeb7_WXny_ZUQbfsCJ9XPXlNy747I LODB77Q5GzuNNW4d_VI03GiCmtuv2jdLd4Z4j3cL3JZ8G15rwQqqQpBOWFTkd5nkJ1eK_AtiuB47 _dioEJARrVQUX0C41zwgu87rMRC4moHwOtFc6CvthuYbQZS2iZAWLw9th6y9mkP0ncPQI.50QP.s LsrVwdCfLoXlCi6FOgTUjX6FT0z4hsKXeOaC7LAuqibzNjwvL3B_uYlEvrOkR2X4VJs_7C6NtQO0 D6P9L7ydTAQ0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 11 Oct 2018 03:19:00 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp428.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 56f2d9241e6a95b15cfd9efb043fc1b4; Thu, 11 Oct 2018 03:08:50 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: FYI: security/nss (as of -r480180) fails to build on powerpc64: error: incompatible pointer types passing 'int *' to parameter of type 'size_t *' Message-Id: <680F1E8C-FF93-447F-AEDC-E01E625A991C@yahoo.com> Date: Wed, 10 Oct 2018 20:08:48 -0700 Cc: FreeBSD PowerPC ML To: Jan Beich , FreeBSD Ports ML X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2018 03:19:02 -0000 The following is on a powerpc64 machine (old PowerMac G5 so-called "Quad Core") running a personal build of head -r339076 that was built via devel/powerpc64-xtoolchain-gcc and such (no gcc 4.2.1). The compiler is system-clang (so clang 6 as cc). [I experiment with more modern compilers and toolchains for some powerpc family members.] -r339076 predates the openssl update in head. The port build is via ports-mgmt/poudriere-devel . Note: size_t is unsigned long (64 bits) while int is 32 bits for powerpc64. I've no clue if this is supposed to work, be blocked as broken, or what. (I've been without access to the powerpc machines for some time and it is even longer since I'd built updated ports. So this might be a long-standing issue without my knowing it.) For now this is just an FYI. =3D>> Building security/nss build started at Wed Oct 10 18:50:10 PDT 2018 port directory: /usr/ports/security/nss package name: nss-3.39 building for: FreeBSD FBSDG5L 12.0-ALPHA8 FreeBSD 12.0-ALPHA8 powerpc maintained by: gecko@FreeBSD.org Makefile ident: $FreeBSD: head/security/nss/Makefile 478586 = 2018-08-31 14:44:13Z jbeich $ Poudriere version: 3.2.99.20180511 Host OSVERSION: 1200084 Jail OSVERSION: 1200084 Job Id: 04 . . . gmake[3]: Entering directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.39/nss/lib/freebl' . . . mpi/mpcpucache.c:728:23: error: incompatible pointer types passing 'int = *' to parameter of type 'size_t *' (aka 'unsigned long *') = [-Werror,-Wincompatible-pointer-types] &cacheline_size, &clen, NULL, 0) < 0 || !cacheline_size) ^~~~~ /usr/include/sys/sysctl.h:1062:48: note: passing argument to parameter = here int sysctl(const int *, u_int, void *, size_t *, const void *, = size_t); ^ 1 error generated. gmake[4]: *** [../../coreconf/rules.mk:393: = FreeBSD12.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/mpcpucache.o] Error 1 gmake[4]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.39/nss/lib/freebl' gmake[3]: *** [Makefile:629: libs] Error 2 gmake[3]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.39/nss/lib/freebl' gmake[2]: *** [../coreconf/rules.mk:101: libs] Error 2 gmake[2]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.39/nss/lib' gmake[1]: *** [coreconf/rules.mk:101: libs] Error 2 gmake[1]: Leaving directory = '/wrkdirs/usr/ports/security/nss/work/nss-3.39/nss' *** Error code 1 Stop. make: stopped in /usr/ports/security/nss =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for nss-3.39 build of security/nss | nss-3.39 ended at Wed Oct 10 18:55:35 PDT 2018 build time: 00:05:25 !!! build failure encountered !!! For reference: [04:59:20] [04] [00:05:16] Saved security/nss | nss-3.39 wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDpowerpc64-default/default/nss-3.39.t= bz [04:59:29] [04] [00:05:25] Finished security/nss | nss-3.39: Failed: = build [04:59:30] [04] [00:05:26] Skipping x11/lumina | lumina-1.4.1,3: = Dependent port security/nss | nss-3.39 failed [04:59:30] [04] [00:05:26] Skipping deskutils/lumina-pdf | = lumina-pdf-1.4.1: Dependent port security/nss | nss-3.39 failed [04:59:30] [04] [00:05:26] Skipping graphics/poppler | poppler-0.57.0_1: = Dependent port security/nss | nss-3.39 failed [04:59:30] [04] [00:05:26] Skipping graphics/poppler-qt5 | = poppler-qt5-0.57.0_1: Dependent port security/nss | nss-3.39 failed =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)