From nobody Tue Jan 10 18:18:34 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NrzZy3f0fz2sMk5 for ; Tue, 10 Jan 2023 18:18:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrzZy2GrYz494C for ; Tue, 10 Jan 2023 18:18:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673374714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mgk8C/ZhLl4GRnKuMkrkBokw16zObooI17DiyOM/smo=; b=RdnSlYsT4kPqM6HRH9yb9gK2vl3c8noEOKXskUYv463vc/7VSn8B7KfB6Vd+hmLEsxrjyi /sjSQcsyFMJ6OH29HaFovfVHP7VkMlsGj3oOqmF5dBmP/Ra8rGdOFZtxGo46yLdXeqxLpS EDmrw1kB5ISa1zF2V/vte5vIs5A2BZa27xBkIMnUMO5b27tc+fs9dpAPnoIAx74bUYRXVd LP38jon9tzTU5wmNXpSOk2WmM+r8Wuxb9iF7tbx22sVq/5JJpx/0usrWzcAiYM8A/M3zEY fpwx/oVcVU5ofLsRATVEaIyeZ4dzoh+ckeJdEKUecNI6bVBy364Dlv4xDJSFoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673374714; a=rsa-sha256; cv=none; b=JaO5gjKs7ROikEqFT373B8DcVPa+kL9LzQ18u/M70jJiMME4psJbFx/VQbCx6YZA/FVXih RQTjGdaRkrR8eKgd6VoNVTQEhIEuRzYqE+baOq7alV42DIv7LJaW4OaHrrfQSgiIsr9eC1 TK8hSeoDxeSJ8508ze/4LwSuB1Lv9stBzfCazeHJExM2d7cfGT4w4ke9Cpp3GwNE/jM6q0 jm71+aBiqcCsovqa/O44SvMsjRco7zKUB87qcVVuZ0DtRFjPLQgyqGfPe8dFD3Jp/s+fwM /5YteQWMBxifw/h66ztYeWyQKVFKLWSS7EG5QaHvinGeGL1mXUCdnZng6AQe7Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NrzZy1LpzzJ1K for ; Tue, 10 Jan 2023 18:18:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30AIIYX9054296 for ; Tue, 10 Jan 2023 18:18:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30AIIY6k054295 for ports-bugs@FreeBSD.org; Tue, 10 Jan 2023 18:18:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268864] science/silo: fix build with clang 15 Date: Tue, 10 Jan 2023 18:18:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268864 Bug ID: 268864 Summary: science/silo: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org During an exp-run for llvm 15 (see bug 265425), it turned out that science/= silo failed to build with clang 15: =20 /wrkdirs/usr/ports/science/silo/work/Silo-4.11-68-g819658e/src/hdf5_drv/sil= o_hdf5.c:1869:13: error: incompatible integer to pointer conversion passing 'char' to paramet= er of type 'const char *'; take the address with & [-Wint-conversi DB_OBJ_CASE(DB_CURVE, DBcurve_mt, npts?1:1, yvarname) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 /wrkdirs/usr/ports/science/silo/work/Silo-4.11-68-g819658e/src/hdf5_drv/sil= o_hdf5.c:1812:36: note: expanded from macro 'DB_OBJ_CASE' (*dsnames)[i] =3D strdup(m.MEMNAME[i]); \ ~~~~~~~^~~~~~~~~~~~~ =20 /wrkdirs/usr/ports/science/silo/work/Silo-4.11-68-g819658e/src/silo/silo_pr= ivate.h:939:35: note: expanded from macro 'strdup' #define strdup(s) _db_safe_strdup(s) ^ /wrkdirs/usr/ports/science/silo/work/.build/include/silo.h:2214:68: note: passing argument to parameter here SILO_API extern char * _db_safe_strdup(const char *); ^ This turns out to be a bug in silo, which I reported upstream in https://github.com/LLNL/Silo/issues/296, and which was fixed in https://github.com/LLNL/Silo/commit/be29ddf. --=20 You are receiving this mail because: You are the assignee for the bug.=