From owner-freebsd-ports@freebsd.org Wed Jul 12 11:59:57 2017 Return-Path: Delivered-To: freebsd-ports@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 47324D95705 for ; Wed, 12 Jul 2017 11:59:57 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E58C284CBF for ; Wed, 12 Jul 2017 11:59:56 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id v6CBxswp039502 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 12 Jul 2017 11:59:54 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id v6CBxspH039501 for freebsd-ports@freebsd.org; Wed, 12 Jul 2017 11:59:54 GMT (envelope-from as) Date: Wed, 12 Jul 2017 11:59:54 GMT From: Anton Shterenlikht Message-Id: <201707121159.v6CBxspH039501@jail0199.vps.exonetric.net> To: freebsd-ports@freebsd.org Subject: synth: Error opening terminal: xterm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 11:59:57 -0000 I'm starting using synth, never used it before. I get this error: # synth build net/mpich Error opening terminal: xterm. I'm supposed to run synth as root, right? Is synth trying to open another xterm as root? I've never allowed root access to a display: # xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Xt error: Can't open display: %s xterm: DISPLAY is not set Am I wrong? Anton