unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: Openssl missing in CPATH
Date: Mon, 14 Jan 2013 00:04:25 +0100	[thread overview]
Message-ID: <201301140004.25846.andreas@enge.fr> (raw)
In-Reply-To: <87fw24pvkt.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]

Am Sonntag, 13. Januar 2013 schrieb Ludovic Courtès:
> 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
--- a/distro/packages/cyrus-sasl.scm
+++ b/distro/packages/cyrus-sasl.scm
@@ -1,4 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;;
 ;;; 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="
+                                        out "/lib/sasl2"))
+                   args)))
+         %standard-phases))))
    (synopsis "Cyrus SASL, an implementation of the Simple Authentication 
Security Layer framework")
    (description
     "SASL (Simple Authentication Security Layer) is an Internet

Apparently, the configure flag is not taken into account, since building 
outputs the following:

...
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: 
("CONFIG_SHELL=/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-
bash-4.2/bin/bash" "SHELL=/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-
bash-4.2/bin/bash" "--prefix=/nix/store/5prlq6fzg0hqav29pqgjxfpz1kdqcaws-
cyrus-sasl-2.1.26" "--enable-fast-install")
...

And the same warning message reappears.

Andreas

[-- Attachment #2: Type: text/html, Size: 9680 bytes --]

  reply	other threads:[~2013-01-13 23:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29 23:56 Openssl missing in CPATH Andreas Enge
2012-12-30 21:57 ` Ludovic Courtès
2013-01-01 14:04   ` Andreas Enge
2013-01-02 15:00 ` Ludovic Courtès
2013-01-13 18:52   ` Andreas Enge
2013-01-13 22:27     ` Ludovic Courtès
2013-01-13 23:04       ` Andreas Enge [this message]
2013-01-15 16:12         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201301140004.25846.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).