From owner-freebsd-ports-bugs@freebsd.org Mon Mar 4 12:50:39 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 AFF5815106AB for ; Mon, 4 Mar 2019 12:50:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 38C1568133 for ; Mon, 4 Mar 2019 12:50:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E41FE15106A6; Mon, 4 Mar 2019 12:50:38 +0000 (UTC) Delivered-To: ports-bugs@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 A7BFB15106A5 for ; Mon, 4 Mar 2019 12:50:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA0E868120 for ; Mon, 4 Mar 2019 12:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E1C3BCA9F for ; Mon, 4 Mar 2019 12:50:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x24Coa8q073755 for ; Mon, 4 Mar 2019 12:50:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x24CoaK5073748 for ports-bugs@FreeBSD.org; Mon, 4 Mar 2019 12:50:36 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 236207] devel/mdb: fails to build with clang 8 Date: Mon, 04 Mar 2019 12:50:36 +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: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords 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: Mon, 04 Mar 2019 12:50:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236207 Bug ID: 236207 Summary: devel/mdb: fails to build with clang 8 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhb@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 236062 Assignee: jhb@FreeBSD.org Flags: maintainer-feedback?(jhb@FreeBSD.org) $ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https $ poudriere testport -j clang8 devel/mdb [...] In file included from findstack_subr.c:35: modules/kernel/kernel.h:45:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] TDS_INACTIVE =3D 0x0, ^ /usr/include/sys/proc.h:330:3: note: previous declaration is here TDS_INACTIVE =3D 0x0, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:45:3: error: redefinition of enumerator 'TDS_INACTI= VE' TDS_INACTIVE =3D 0x0, ^ /usr/include/sys/proc.h:330:3: note: previous definition is here TDS_INACTIVE =3D 0x0, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:46:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] TDS_INHIBITED, ^ /usr/include/sys/proc.h:331:3: note: previous declaration is here TDS_INHIBITED, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:46:3: error: redefinition of enumerator 'TDS_INHIBI= TED' TDS_INHIBITED, ^ /usr/include/sys/proc.h:331:3: note: previous definition is here TDS_INHIBITED, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:47:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] TDS_CAN_RUN, ^ /usr/include/sys/proc.h:332:3: note: previous declaration is here TDS_CAN_RUN, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:47:3: error: redefinition of enumerator 'TDS_CAN_RU= N' TDS_CAN_RUN, ^ /usr/include/sys/proc.h:332:3: note: previous definition is here TDS_CAN_RUN, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:48:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] TDS_RUNQ, ^ /usr/include/sys/proc.h:333:3: note: previous declaration is here TDS_RUNQ, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:48:3: error: redefinition of enumerator 'TDS_RUNQ' TDS_RUNQ, ^ /usr/include/sys/proc.h:333:3: note: previous definition is here TDS_RUNQ, ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:49:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] TDS_RUNNING ^ /usr/include/sys/proc.h:334:3: note: previous declaration is here TDS_RUNNING ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:49:3: error: redefinition of enumerator 'TDS_RUNNIN= G' TDS_RUNNING ^ /usr/include/sys/proc.h:334:3: note: previous definition is here TDS_RUNNING ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:63:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] PRS_NEW =3D 0, ^ /usr/include/sys/proc.h:577:3: note: previous declaration is here PRS_NEW =3D 0, /* In creation */ ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:63:3: error: redefinition of enumerator 'PRS_NEW' PRS_NEW =3D 0, ^ /usr/include/sys/proc.h:577:3: note: previous definition is here PRS_NEW =3D 0, /* In creation */ ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:64:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] PRS_NORMAL, ^ /usr/include/sys/proc.h:578:3: note: previous declaration is here PRS_NORMAL, /* threads can be run. */ ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:64:3: error: redefinition of enumerator 'PRS_NORMAL' PRS_NORMAL, ^ /usr/include/sys/proc.h:578:3: note: previous definition is here PRS_NORMAL, /* threads can be run. */ ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:65:3: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] PRS_ZOMBIE ^ /usr/include/sys/proc.h:579:3: note: previous declaration is here PRS_ZOMBIE ^ In file included from findstack_subr.c:35: modules/kernel/kernel.h:65:3: error: redefinition of enumerator 'PRS_ZOMBIE' PRS_ZOMBIE ^ /usr/include/sys/proc.h:579:3: note: previous definition is here PRS_ZOMBIE ^ findstack_subr.c:219:8: error: case value not in enumerated type 'enum (anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch] case TDS_INACTIVE: ^ findstack_subr.c:221:8: error: case value not in enumerated type 'enum (anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch] case TDS_INHIBITED: ^ findstack_subr.c:217:8: error: case value not in enumerated type 'enum (anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch] case TDS_CAN_RUN: ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_= 06h42m53s/logs/errors/mdb-0.3_1.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236062 [Bug 236062] [exp-run] Against projects/clang800-import branch --=20 You are receiving this mail because: You are the assignee for the bug.=