From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Serial line lock directory Date: Tue, 6 Jun 2017 20:54:29 +0200 Message-ID: <20170606205429.4266cc4d@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIJco-0003fM-DX for guix-devel@gnu.org; Tue, 06 Jun 2017 14:54:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIJcl-0006tD-BO for guix-devel@gnu.org; Tue, 06 Jun 2017 14:54:42 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:50248) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dIJcl-0006q9-5A for guix-devel@gnu.org; Tue, 06 Jun 2017 14:54:39 -0400 Received: from localhost (77.118.242.17.wireless.dyn.drei.com [77.118.242.17]) by dd1012.kasserver.com (Postfix) with ESMTPSA id CC2CB1CA0026 for ; Tue, 6 Jun 2017 20:54:32 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi, I'm trying to package minicom and there I get an error message checking for com line lock directory... configure: error: No suitable lock directory ... which was checking for a (common) directory to put a file in (as a marker) when a serial device is in use (and removing the file to free the serial device). This is supposed to prevent multiple different programs accidentally using the same serial line. Where and how should this be done in Guix? To reproduce: diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7ad93653e..fc6e4068c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -44,6 +44,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -812,3 +813,21 @@ the 'showing the effect of'-style of operation.") for mathematical functions. It also provides an machine-independent interface to select the best such procedures to use on a given system.") (license license:gpl3+))) + +(define-public minicom + (package + (name "minicom") + (version "2.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://alioth.debian.org/frs/download.php/" + "file/4215/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa1l36fa4npd21xa9nz60yrqwkk5cq713fa3p5v0zk7g9mq6bsk")))) + (build-system gnu-build-system) + (home-page "https://alioth.debian.org/projects/minicom/") + (synopsis "Serial terminal emulator") + (description "@code{minicom} is a serial terminal emulator.") + (license license:gpl2+)))