From nobody Sun Jul 11 23:37:05 2021 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 1FBAC127411A for ; Sun, 11 Jul 2021 23:37:06 +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 4GNNbQ0Hmhz4Yt9 for ; Sun, 11 Jul 2021 23:37:06 +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) 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 E3A0224752 for ; Sun, 11 Jul 2021 23:37:05 +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 16BNb5e9015106 for ; Sun, 11 Jul 2021 23:37:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BNb5Fx015105 for ports-bugs@FreeBSD.org; Sun, 11 Jul 2021 23:37:05 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 257123] devel/llvm11: site-packages/lit11/run.py and main.py not using proper module name Date: Sun, 11 Jul 2021 23:37:05 +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: dereks@lifeofadishwasher.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@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=3D257123 Bug ID: 257123 Summary: devel/llvm11: site-packages/lit11/run.py and main.py not using proper module name Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: dereks@lifeofadishwasher.com Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) While testing Bear [1] tests it appears devel/llvm11 (and maybe other llvmXY ports) lit python scripts are not being updated to use the proper lit module name (lit11, etc.) .... 1: {'preload', 'make', 'dynamic-shell', 'shell', 'dynamic-make'} 1: Traceback (most recent call last): 1: File "/usr/local/bin/lit11", line 6, in 1: main() 1: File "/usr/local/lib/python3.8/site-packages/lit11/main.py", line 93, = in main 1: mark_excluded(discovered_tests, selected_tests) 1: File "/usr/local/lib/python3.8/site-packages/lit11/main.py", line 191,= in mark_excluded 1: result =3D lit11.Test.Result(lit.Test.EXCLUDED) 1: NameError: name 'lit' is not defined 1/1 Test #1: bear::func_test ..................***Failed 0.25 sec /usr/local/lib/python3.8/site-packages/lit11/main.py: result =3D lit11.Test.Result(lit.Test.EXCLUDED) /usr/local/lib/python3.8/site-packages/lit11/run.py: skipped =3D lit11.Test.Result(lit.Test.SKIPPED) /usr/local/lib/python3.8/site-packages/lit11/worker.py: return lit11.Test.Result(lit.Test.UNRESOLVED, output)=20 These should be "lit11." I see the Makefile post-patch will replace lit. usage to lit${LLVM_SUFFIX} however it's not updating the above files however most of the "lit." usage = from two above are using lit${LLVM_SUFFIX}. So I'm guessing the Makefile updat= es what's needed for the build to generate/update the rest of the python files= .=20 Which maybe makes me think it's an upstream issue? If not can this be upda= ted to fix these three files? [1] https://github.com/rizsotto/Bear/blob/master/INSTALL.md --=20 You are receiving this mail because: You are the assignee for the bug.=