all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* WIP: neomutt. segfaulting outside of gdb, functional inside.
@ 2016-06-24 16:04 ng0
  2016-06-27  7:58 ` Ricardo Wurmus
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: ng0 @ 2016-06-24 16:04 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Add: Neomutt.
@ 2017-01-19  3:23 contact.ng0
  2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
  0 siblings, 1 reply; 14+ messages in thread
From: contact.ng0 @ 2017-01-19  3:23 UTC (permalink / raw)
  To: guix-devel

Sometimes you just wait and forget about a patch and suddenly it works.
This adds neomutt, a feature patch blend of mutt which upstreams regulary into mutt.
This is a prominent project which is often even integrated or replaces the original mutt on some systems.

I was able to start it, but I no longer use neomutt myself so it requires either me going to sleep and trying to test it tomorrow with my current more complicated setup and merge this into my old configs of neomutt OR someone who really wants to use neomutt to give feedback if it breaks. My prediction is that MOST if not all features I compiled work.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-02-01 22:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 16:04 WIP: neomutt. segfaulting outside of gdb, functional inside ng0
2016-06-27  7:58 ` 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
  -- strict thread matches above, loose matches on Subject: below --
2017-01-19  3:23 Add: Neomutt contact.ng0
2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
2017-02-01 22:23   ` Ludovic Courtès

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.