From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: BOA Date: Mon, 19 Dec 2016 10:25:41 +0100 Message-ID: <20161219102541.3facba32@scratchpost.org> References: <1482075020.3954.6.camel@echedey-500-500ns> 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]:37799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIuCf-0004DB-Fr for guix-devel@gnu.org; Mon, 19 Dec 2016 04:25:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIuCZ-00070L-AR for guix-devel@gnu.org; Mon, 19 Dec 2016 04:25:53 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:52830) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIuCZ-0006ye-4P for guix-devel@gnu.org; Mon, 19 Dec 2016 04:25:47 -0500 In-Reply-To: <1482075020.3954.6.camel@echedey-500-500ns> 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: Echedey =?ISO-8859-1?Q?L=F3pez?= Romero Cc: guix-devel@gnu.org Hi, On Sun, 18 Dec 2016 15:30:20 +0000 Echedey L=C3=B3pez Romero wrote: > I would like know when you are going to add this program=20 Heh. Well I had some spare time so I tried to package boa 0.94.13. Unfortun= ately I get a compilation error: util.c: In function =E2=80=98get_commonlog_time=E2=80=99: util.c:100:39: error: pasting "t" and "->" does not give a valid preprocess= ing token time_offset =3D TIMEZONE_OFFSET(t); ^ compat.h:120:30: note: in definition of macro =E2=80=98TIMEZONE_OFFSET=E2= =80=99 #define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff ^ make: *** [: util.o] Error 1 Would you have time to bring that to the attention of the Boa people? I don't think foo##->tm_gmtoff makes any sense. They probably wanted (foo)->tm_gmtoff The Guix package definition is: (define-public boa (package (name "boa") (version "0.94.13") (source (origin (method url-fetch) (uri (string-append "http://www.boa.org/" name "-" version ".tar.gz"= )) (sha256 (base32 "0rkkv3s9bahlw2aa4kz3zfhniz78h9p9f4y9mzr3disrp07ba2z0")))) (build-system gnu-build-system) (native-inputs `(("flex" ,flex) ("bison" ,bison))) (arguments `(#:phases (modify-phases %standard-phases (add-before 'configure 'chdir (lambda _ (chdir "src") #t)) ;; "configure" has a problem with "CONFIG_SHELL" (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (setenv "CONFIG_SHELL" (which "sh")) (zero? (system* "./configure" (string-append "--prefix=3D" o= ut))))))))) (home-page "http://www.boa.org/") (synopsis "Extremely tiny webserver") (description "This package provides an extremely tiny webserver.") (license l:gpl1+))) Cheers, Danny