From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Openssl missing in CPATH Date: Mon, 14 Jan 2013 00:04:25 +0100 Message-ID: <201301140004.25846.andreas@enge.fr> References: <201212300056.38699.andreas@enge.fr> <201301131952.11179.andreas@enge.fr> <87fw24pvkt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_51z8QUbMh7fIvjg" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuWbg-0001qH-Cj for bug-guix@gnu.org; Sun, 13 Jan 2013 18:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuWbY-0005m6-SB for bug-guix@gnu.org; Sun, 13 Jan 2013 18:04:48 -0500 In-Reply-To: <87fw24pvkt.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org --Boundary-01=_51z8QUbMh7fIvjg Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, 13. Januar 2013 schrieb Ludovic Court=C3=A8s: > Can you check whether it actually works? :-) Unfortunately not. Here is the exact diff: diff --git a/distro/packages/cyrus-sasl.scm b/distro/packages/cyrus- sasl.scm index aacf627..d280242 100644 =2D-- a/distro/packages/cyrus-sasl.scm +++ b/distro/packages/cyrus-sasl.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2013 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2013 Andreas Enge ;;; ;;; This file is part of GNU Guix. @@ -42,6 +43,20 @@ ("mit-krb5" ,mit-krb5) ("openssl" ,openssl) )) + (arguments + (lambda (system) + `(#:phases + (alist-replace + 'configure + (lambda* (#:key outputs #:allow-other-keys #:rest args) + (let ((out (assoc-ref outputs "out")) + (configure (assoc-ref %standard-phases 'configure))) + (apply configure + #:configure-flags + (list (string-append "--with-plugindir=3D" + out "/lib/sasl2")) + args))) + %standard-phases)))) (synopsis "Cyrus SASL, an implementation of the Simple Authentication=20 Security Layer framework") (description "SASL (Simple Authentication Security Layer) is an Internet Apparently, the configure flag is not taken into account, since building=20 outputs the following: =2E.. starting phase `configure' source directory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus- sasl-2.1.26" (relative from build: ".") build directory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus-sasl-2.1.26" configure flags:=20 ("CONFIG_SHELL=3D/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy- bash-4.2/bin/bash" "SHELL=3D/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy- bash-4.2/bin/bash" "--prefix=3D/nix/store/5prlq6fzg0hqav29pqgjxfpz1kdqcaws- cyrus-sasl-2.1.26" "--enable-fast-install") =2E.. And the same warning message reappears. Andreas --Boundary-01=_51z8QUbMh7fIvjg Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Sonntag,= 13. Januar 2013 schrieb Ludovic Court=C3=A8s:

> Can yo= u check whether it actually works? :-)

&nb= sp;

Unfortunate= ly not. Here is the exact diff:

&nb= sp;

diff --git = a/distro/packages/cyrus-sasl.scm b/distro/packages/cyrus-sasl.scm

index aacf6= 27..d280242 100644

--- a/distr= o/packages/cyrus-sasl.scm

+++ b/distr= o/packages/cyrus-sasl.scm

@@ -1,4 +1,= 5 @@

;;; GNU Gu= ix --- Functional package management for GNU

+;;; Copyri= ght =C2=A9 2013 Ludovic Court=C3=A8s <ludo@gnu.org>

;;; Copyri= ght =C2=A9 2013 Andreas Enge <andreas@enge.fr>

;;;

;;; This f= ile is part of GNU Guix.

@@ -42,6 +4= 3,20 @@

= ("mit-krb5" ,mit-krb5)

= ("openssl" ,openssl)

= ))

+ (argume= nts

+ (lambd= a (system)

+ `(#:= phases

+ (a= list-replace

+ '= configure

+ (= lambda* (#:key outputs #:allow-other-keys #:rest args)

+ = (let ((out (assoc-ref outputs "out"))

+ = (configure (assoc-ref %standard-phases 'configure)))

+ = (apply configure

+ = #:configure-flags

+ = (list (string-append "--with-plugindir=3D"

+ = out "/lib/sasl2"))

+ = args)))

+ %= standard-phases))))

(synops= is "Cyrus SASL, an implementation of the Simple Authentication Securit= y Layer framework")

(descri= ption

"= SASL (Simple Authentication Security Layer) is an Internet

&nb= sp;

Apparently,= the configure flag is not taken into account, since building outputs the f= ollowing:

&nb= sp;

...

starting ph= ase `configure'

source dire= ctory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus-sasl-2.1.26"= (relative from build: ".")

build direc= tory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus-sasl-2.1.26"<= /p>

configure f= lags: ("CONFIG_SHELL=3D/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-bas= h-4.2/bin/bash" "SHELL=3D/nix/store/ryk1ywzz31kp4biclxq3yq6hpjyca= lyy-bash-4.2/bin/bash" "--prefix=3D/nix/store/5prlq6fzg0hqav29pqg= jxfpz1kdqcaws-cyrus-sasl-2.1.26" "--enable-fast-install")

...

&nb= sp;

And the sam= e warning message reappears.

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_51z8QUbMh7fIvjg--