From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: packaging help Date: Fri, 21 Mar 2014 20:28:27 +0900 Message-ID: <87mwgj23l0.fsf@sealion.lowtem.hokudai.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxcP-0001OL-Dr for guix-devel@gnu.org; Fri, 21 Mar 2014 07:28:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQxcK-0007xq-3z for guix-devel@gnu.org; Fri, 21 Mar 2014 07:28:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:36357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxcJ-0007xU-UL for guix-devel@gnu.org; Fri, 21 Mar 2014 07:28:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WQxcI-0004Va-UM for guix-devel@gnu.org; Fri, 21 Mar 2014 12:28:02 +0100 Received: from sealion.lowtem.hokudai.ac.jp ([133.87.217.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 12:28:02 +0100 Received: from hi by sealion.lowtem.hokudai.ac.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 12:28:02 +0100 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hello, I am trying to package UDUNITS2=C2=B9 which is a dependency of Netcdf4. I am getting an syntax error while building guix. I pasted the following in maths.scm (similar to units package definition).= =20 --8<---------------cut here---------------start------------->8--- (define-public udunits (package (name "udunits") (version "2.2.4") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.unidata.ucar.edu/pub/udunits/u= dunits-" version "-Source.tar.gz")) (sha256 (base32 "04zs1jcn90gl58ypbb8sqg9ddq4dc7md3a3xmlgi2xabbj136ar= h")))) (build-system gnu-build-system) (arguments `(#:tests? #f #:configure-flags '("--with-pic"))) (synopsis "C library provides for arithmetic manipulation of units and = for conversion of numeric values between compatible units") (description "The UDUNITS package supports units of physical quantities. Its C libr= ary provides for arithmetic manipulation of units and for conversion of numeric values between compatible units. The package contains an extensive unit database, which is in XML format and user-extendable. The package also contains a command-line utility for investigating units and converting values.") (license license:x11-style "https://raw.githubusercontent.com/Unidata/U= DUNITS-2/master/COPYRIGHT") (home-page "http://www.unidata.ucar.edu/software/udunits/"))) --8<---------------cut here---------------end--------------->8--- Now when I try to build guix by running make the following syntax error com= ing up. --8<---------------cut here---------------start------------->8--- ;;; note: source file ./guix/config.scm ;;; newer than compiled /home/yagnesh/repos/gu/guix/guix/config.go ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: Syntax error: gnu/packages/maths.scm:73:2: source expression failed to match any pattern = in form (package (name "udunits") (version "2.2.4") (source (origin (method= url-fetch) (uri (string-append "ftp://ftp.unidata.ucar.edu/pub/udunits/udu= nits-" version "-Source.tar.gz")) (sha256 (base32 "04zs1jcn90gl58ypbb8sqg9d= dq4dc7md3a3xmlgi2xabbj136arh")))) (build-system gnu-build-system) (argument= s (quasiquote (#:tests? #f #:configure-flags (quote ("--with-pic"))))) (syn= opsis "C library provides for arithmetic manipulation of units and for\ncon= version of numeric values between compatible units") (description "The UDUN= ITS package supports units of physical quantities. Its C library\nprovides = for arithmetic manipulation of units and for conversion of numeric\nvalues = between compatible units. The package contains an extensive unit\ndatabase,= which is in XML format and user-extendable. The package also\ncontains a c= ommand-line utility for investigating units and converting\nvalues.") (lice= nse license:x11-style "https://raw.githubusercontent.com/Unidata/UDUNITS-2/= master/COPYRIGHT") (home-page "http://www.unidata.ucar.edu/software/udunits= /")) make[2]: *** [gnu/packages/maths.go] Error 1 make[2]: Leaving directory `/home/yagnesh/repos/gu/guix' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yagnesh/repos/gu/guix' make: *** [all] Error 2 --8<---------------cut here---------------end--------------->8--- Seems I am making basic mistake. Thanks for any hints. =C2=B9 http://www.unidata.ucar.edu/software/udunits/ Thanks. --=20 =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81. YYR