From owner-freebsd-ports-bugs@freebsd.org Tue Feb 25 19:28:35 2020 Return-Path: Delivered-To: freebsd-ports-bugs@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 1723923CF64 for ; Tue, 25 Feb 2020 19:28:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 48RprL41tvz3Ldf for ; Tue, 25 Feb 2020 19:28:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9A3FD23CF5F; Tue, 25 Feb 2020 19:28:33 +0000 (UTC) Delivered-To: ports-bugs@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 997E423CF5D for ; Tue, 25 Feb 2020 19:28:33 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48RprK11jcz3LcH for ; Tue, 25 Feb 2020 19:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8A8F1B77B for ; Tue, 25 Feb 2020 19:28:32 +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 01PJSWg1035989 for ; Tue, 25 Feb 2020 19:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01PJSWgC035988 for ports-bugs@FreeBSD.org; Tue, 25 Feb 2020 19:28:32 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 244408] lang/gjs: Fails to build when clang has assertions enabled Date: Tue, 25 Feb 2020 19:28:32 +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: gnome@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 blocked 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2020 19:28:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244408 Bug ID: 244408 Summary: lang/gjs: Fails to build when clang has assertions enabled Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: dim@FreeBSD.org Blocks: 244251 Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) As reported in bug 244251, with clang 10.0.0 the lang/gjs port fails to bui= ld with a clang assertion, if such assertions are enabled (they are only in FreeBSD head, not in stable or release branches): Assertion failed: (!isValueDependent() && "Cannot get the length of a value-dependent pack size expression"), function getPackLength, file /poudriere/jails/headamd64244251/usr/src/contrib/llvm-project/clang/include= /clang/AST/ExprCXX.h, line 4170. Stack dump: 0. Program arguments: c++ -DHAVE_CONFIG_H -I. -DG_LOG_DOMAIN=3D"Gjs" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gobject-introspection-1.0 -I/usr/local/lib/libffi-3.2.1/include -pthread -include /usr/local/include/mozjs-52/js/RequiredDefines.h -I/usr/local/include/mozjs= -52 -I/usr/local/include/nspr -DGJS_TOP_SRCDIR=3D"." -DGJS_TOP_BUILDDIR=3D"." -DGJS_JS_DIR=3D"/usr/local/share/gjs-1.0" -DPKGLIBDIR=3D"/usr/local/lib/gjs= " -I./gi -DGJS_COMPILATION -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1= .0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -D_THREAD_S= AFE -pthread -I/usr/local/include -isystem /usr/local/include -fno-strict-alias= ing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=3D2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-comp= are -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-error=3Dunused-parameter -Wno-error=3Dmissing-field-initializers -Wno-error=3Doverloaded-virtual -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -= DPIC -MT gi/libgjs_la-object.lo -MD -MP -MF gi/.deps/libgjs_la-object.Tpo -c gi/object.cpp -fPIC -DPIC -o gi/.libs/libgjs_la-object.o=20 1. ./gjs/jsapi-util-args.h:410:5 : current par= ser token ')' 2. ./gjs/jsapi-util-args.h:383:1: parsing function body 'gjs_parse_call_args' 3. ./gjs/jsapi-util-args.h:383:1: in compound statement ('{}') 4. ./gjs/jsapi-util-args.h:410:5 : in compo= und statement ('{}') This has independently been reported upstream by J=C3=B6rg Sonnenberger: https://bugs.llvm.org/show_bug.cgi?id=3D44980 Adding this bug to track whenever we import a fix from upstream. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251 [Bug 244251] [exp-run] Against projects/clang1000-import branch --=20 You are receiving this mail because: You are the assignee for the bug.=