all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: WIP: neomutt. segfaulting outside of gdb, functional inside.
Date: Fri, 24 Jun 2016 16:04:43 +0000	[thread overview]
Message-ID: <20160624155618.GA18611@shadowwalker> (raw)

In gnu/packages/mail.scm I created this package.
It builds succesfully, but when I run it, it segfaults.
Running it in gdb however makes it succeed and not
segfault. How do I debug such a software?

(define-public neomutt
  (package
    (inherit mutt)
    (name "neomutt")
    (version "20160611")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://github.com/" name "/" name
                           "/archive/" name "-" version ".tar.gz"))
       (sha256
        (base32
         "1v4ck1dqdmlfsbh2lwmlrx222qhs3prh72nc3a8aq282mard59zy"))))
    ;;(patches (search-patches "mutt-store-references.patch"))))
    (inputs
     `(("cyrus-sasl" ,cyrus-sasl)
       ("gdbm" ,gdbm)
       ("gpgme" ,gpgme)
       ("ncurses" ,ncurses)
       ("openssl" ,openssl)
       ("perl" ,perl)
       ("libxslt" ,libxslt)
       ("autoconf" ,autoconf)
       ("automake" ,automake)))
    ;;("libidn" ,libidn)
    ;;("notmuch" ,notmuch)))
    ;; (native-inputs
    ;;  `(("autoconf" ,autoconf)
    ;;    ("automake" ,automake)))
    ;;    ;("libtool" ,libtool)
    ;;    ;("gettext" ,gettext)))
    (arguments
     `(#:configure-flags
       '("--enable-smtp"
         "--enable-imap"
         "--enable-pop"
         "--enable-gpgme"
         "--enable-hcache" ; for header caching
         "--with-ssl"
         "--with-sasl"
                                        ;"--with-regex"
                                        ;"--enable-smime"
                                        ;"--enable-notmuch"
                                        ;"--with-idn"
                                        ;"--enable-sidebar"
         ;; so that mutt does not check whether the path
         ;; exists, which it does not in the chroot
         "--with-mailpath=/var/mail")
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'autoconf
           (lambda _
             (zero? (system* "sh" "autoreconf" "-vfi")))))))))
;; (system* "sh" "aclocal" "-I m4")
;; (system* "sh" "automake" "--foreign")
;; #t)))))))

--
♥Ⓐ ng0
For non-prism friendly talk find me on
psyced.org / loupsycedyglgamf.onion

             reply	other threads:[~2016-06-24 16:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 16:04 ng0 [this message]
2016-06-27  7:58 ` WIP: neomutt. segfaulting outside of gdb, functional inside Ricardo Wurmus
2016-06-29  9:54   ` Florian Paul Schmidt
2016-07-26 15:17   ` [PATCH] gnu: Add neomutt ng0
2016-07-26 15:22     ` ng0
2016-07-26 17:12       ` ng0
2016-07-26 18:47 ` WIP: neomutt. segfaulting outside of gdb, functional inside Tomáš Čech
2016-07-29 14:56   ` ng0
2016-07-31 10:52     ` Danny Milosavljevic
2016-08-03 10:30 ` Tomáš Čech
2016-08-03 12:27   ` ng0
2016-08-03 13:10     ` Tomáš Čech

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

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

  git send-email \
    --in-reply-to=20160624155618.GA18611@shadowwalker \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.