Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 616338

Summary: mail-client/mutt-1.8.2 doesn't compile with notmuch flag
Product: Gentoo Linux Reporter: Nicolas Porcel <nicolas06600>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicolas Porcel 2017-04-22 20:37:17 UTC
Hello,

There seems to be a typo in notmuch patches for mutt. I have the following error in the build log:

curs_main.c: In function ‘mutt_index_menu’:
curs_main.c:1821:63: error: macro "mutt_enter_vfolder" passed 5 arguments, but takes just 4
    mutt_enter_vfolder (cp, buf, sizeof (buf), &menu->redraw, 1);
                                                               ^
curs_main.c:1821:4: error: ‘mutt_enter_vfolder’ undeclared (first use in this function)
    mutt_enter_vfolder (cp, buf, sizeof (buf), &menu->redraw, 1);
    ^

It was working fine in 1.8. I traced back this problem to this patch: 0011-feature-notmuch.patch

mutt_enter_vfolder is defined as follow:

+#define mutt_enter_vfolder(A,B,C,D) _mutt_enter_fname(A,B,C,D,0,NULL,NULL,MUTT_SEL_VFOLDER)

Reproducible: Always
Comment 1 Nicolas Porcel 2017-04-22 21:26:02 UTC
My bad, I just saw that the patches were updates.