From owner-freebsd-x11@freebsd.org Wed Jan 3 03:20:59 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5517BEA76D6 for ; Wed, 3 Jan 2018 03:20:59 +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 36B12804D8 for ; Wed, 3 Jan 2018 03:20:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 091B1EA76D5; Wed, 3 Jan 2018 03:20:59 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07413EA76D3 for ; Wed, 3 Jan 2018 03:20:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id E5739804D6 for ; Wed, 3 Jan 2018 03:20:58 +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 w033Kwtm017875 for ; Wed, 3 Jan 2018 03:20:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w033Kwco017872 for x11@FreeBSD.org; Wed, 3 Jan 2018 03:20:58 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: x11@FreeBSD.org Subject: [Bug 224847] graphics/mesa-libs: make configure (not config) crashes Date: Wed, 03 Jan 2018 03:20:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Many People X-Bugzilla-Who: software@bertram-scharpf.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 03:20:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224847 --- Comment #4 from software@bertram-scharpf.de --- You do not need any details to reproduce it. I found it by remembering that this problem had occurred here several years ago. As far as I know, at that time I solved it by a workaround. The ports collection did not manage to fix this bug up to this day! The cause for the problem is that LLVM builds a version number from the Git repository it is held in. Now, in the FreeBSD ports collection, it gets copied there without a Git history. Still the configuration searches for a Git repo, and it finds the one in /usr/ports. I fixed the problem by adding a line in /etc/make.conf: CONFIGURE_ENV+=3DGIT_CEILING_DIRECTORIES=3D/usr/ports For the meaning of the environment variable see man 1 git. The line should be put somewhere into Mk/bsd.port.mk; of course it would be better to throw away the whole ports system together with portupgr= ade, poudriere et al. and to rewrite it from scratch. --=20 You are receiving this mail because: You are the assignee for the bug.=