Please paste the entire log as part of the email body. Email
attachments should not be used.
Full Error log
-----
env_unix.c: In function ‘pw_login’:
env_unix.c:823:44: warning: ignoring return value of ‘chdir’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
823 | (ret = env_init (user,home))) chdir (myhomedir ());
| ^~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mail.c
`cat CCTYPE` -c `cat CFLAGS` misc.c
`cat CCTYPE` -c `cat CFLAGS` newsrc.c
`cat CCTYPE` -c `cat CFLAGS` smanager.c
`cat CCTYPE` -c `cat CFLAGS` utf8.c
`cat CCTYPE` -c `cat CFLAGS` utf8aux.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
In file included from dummy.c:36:
maildir.h:123:16: error: redeclaration of enumerator ‘Draft’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~
maildir.h:1:16: note: previous definition of ‘Draft’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~
maildir.h:123:23: error: redeclaration of enumerator ‘Flagged’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:1:23: note: previous definition of ‘Flagged’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:123:32: error: redeclaration of enumerator ‘Passed’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~
maildir.h:1:32: note: previous definition of ‘Passed’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~
maildir.h:123:40: error: redeclaration of enumerator ‘Replied’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:1:40: note: previous definition of ‘Replied’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:123:49: error: redeclaration of enumerator ‘Seen’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~
maildir.h:1:49: note: previous definition of ‘Seen’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~
maildir.h:123:55: error: redeclaration of enumerator ‘Trashed’
123 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:1:55: note: previous definition of ‘Trashed’ with type ‘enum
<anonymous>’
1 | typedef enum {Draft, Flagged, Passed, Replied, Seen, Trashed,
| ^~~~~~~
maildir.h:124:16: error: redeclaration of enumerator ‘EmptyFlag’
124 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~~
maildir.h:2:16: note: previous definition of ‘EmptyFlag’ with type ‘enum
<anonymous>’
2 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~~
maildir.h:124:27: error: redeclaration of enumerator ‘EndFlags’
124 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~
maildir.h:2:27: note: previous definition of ‘EndFlags’ with type ‘enum
<anonymous>’
2 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~
maildir.h:124:37: error: conflicting types for ‘MdFlagNamesType’; have
‘enum <anonymous>’
124 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~~~~~~~~
maildir.h:2:37: note: previous declaration of ‘MdFlagNamesType’ with
type ‘MdFlagNamesType’
2 | EmptyFlag, EndFlags} MdFlagNamesType;
| ^~~~~~~~~~~~~~~
maildir.h:126:15: error: redeclaration of enumerator ‘Cur’
126 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:4:15: note: previous definition of ‘Cur’ with type ‘enum
<anonymous>’
4 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:126:20: error: redeclaration of enumerator ‘Tmp’
126 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:4:20: note: previous definition of ‘Tmp’ with type ‘enum
<anonymous>’
4 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:126:25: error: redeclaration of enumerator ‘New’
126 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:4:25: note: previous definition of ‘New’ with type ‘enum
<anonymous>’
4 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~
maildir.h:126:30: error: redeclaration of enumerator ‘EndDir’
126 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~~~~
maildir.h:4:30: note: previous definition of ‘EndDir’ with type ‘enum
<anonymous>’
4 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~~~~
maildir.h:126:38: error: conflicting types for ‘DirNamesType’; have
‘enum <anonymous>’
126 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~~~~~~~~~~
maildir.h:4:38: note: previous declaration of ‘DirNamesType’ with type
‘DirNamesType’
4 | typedef enum {Cur, Tmp, New, EndDir} DirNamesType;
| ^~~~~~~~~~~~
maildir.h:128:16: error: redefinition of ‘struct courier_local’
128 | typedef struct courier_local {
| ^~~~~~~~~~~~~
maildir.h:6:16: note: originally defined here
6 | typedef struct courier_local {
| ^~~~~~~~~~~~~
maildir.h:131:3: error: conflicting types for ‘COURIERLOCAL’; have
‘struct courier_local’
131 | } COURIERLOCAL;
| ^~~~~~~~~~~~
maildir.h:9:3: note: previous declaration of ‘COURIERLOCAL’ with type
‘COURIERLOCAL’ {aka ‘struct courier_local’}
9 | } COURIERLOCAL;
| ^~~~~~~~~~~~
maildir.h:133:16: error: redefinition of ‘struct courier’
133 | typedef struct courier {
| ^~~~~~~
maildir.h:11:16: note: originally defined here
11 | typedef struct courier {
| ^~~~~~~
maildir.h:138:3: error: conflicting types for ‘COURIER_S’; have ‘struct
courier’
138 | } COURIER_S;
| ^~~~~~~~~
maildir.h:16:3: note: previous declaration of ‘COURIER_S’ with type
‘COURIER_S’ {aka ‘struct courier’}
16 | } COURIER_S;
| ^~~~~~~~~
maildir.h:140:16: error: redefinition of ‘struct maildir_file_info’
140 | typedef struct maildir_file_info {
| ^~~~~~~~~~~~~~~~~
maildir.h:18:16: note: originally defined here
18 | typedef struct maildir_file_info {
| ^~~~~~~~~~~~~~~~~
maildir.h:148:3: error: conflicting types for ‘MAILDIRFILE’; have
‘struct maildir_file_info’
148 | } MAILDIRFILE;
| ^~~~~~~~~~~
maildir.h:26:3: note: previous declaration of ‘MAILDIRFILE’ with type
‘MAILDIRFILE’ {aka ‘struct maildir_file_info’}
26 | } MAILDIRFILE;
| ^~~~~~~~~~~
maildir.h:195:16: error: conflicting types for ‘maildir_parse_message’;
have ‘long unsigned int(MAILSTREAM *, long unsigned int, DirNamesType)’
{aka ‘long unsigned int(struct mail_stream *, long unsigned int,
DirNamesType)’}
195 | unsigned long maildir_parse_message(MAILSTREAM *stream,
unsigned long msgno,
| ^~~~~~~~~~~~~~~~~~~~~
maildir.h:73:16: note: previous declaration of ‘maildir_parse_message’
with type ‘long unsigned int(MAILSTREAM *, long unsigned int,
DirNamesType)’ {aka ‘long unsigned int(struct mail_stream *, long
unsigned int, DirNamesType)’}
73 | unsigned long maildir_parse_message(MAILSTREAM *stream,
unsigned long msgno,
| ^~~~~~~~~~~~~~~~~~~~~
maildir.h:206:7: error: conflicting types for ‘maildir_initial_check’;
have ‘int(MAILSTREAM *, DirNamesType)’ {aka ‘int(struct mail_stream *,
DirNamesType)’}
206 | int maildir_initial_check (MAILSTREAM *stream, DirNamesType
dirtype);
| ^~~~~~~~~~~~~~~~~~~~~
maildir.h:84:7: note: previous declaration of ‘maildir_initial_check’
with type ‘int(MAILSTREAM *, DirNamesType)’ {aka ‘int(struct mail_stream
*, DirNamesType)’}
84 | int maildir_initial_check (MAILSTREAM *stream, DirNamesType
dirtype);
| ^~~~~~~~~~~~~~~~~~~~~
maildir.h:207:16: error: conflicting types for ‘maildir_parse_dir’; have
‘long unsigned int(MAILSTREAM *, long unsigned int, DirNamesType,
struct dirent **, long unsigned int, int)’ {aka ‘long unsigned
int(struct mail_stream *, long unsigned int, DirNamesType, struct
dirent **, long unsigned int, int)’}
207 | unsigned long maildir_parse_dir(MAILSTREAM *stream, unsigned
long nmsgs,
| ^~~~~~~~~~~~~~~~~
maildir.h:85:16: note: previous declaration of ‘maildir_parse_dir’ with
type ‘long unsigned int(MAILSTREAM *, long unsigned int, DirNamesType,
struct dirent **, long unsigned int, int)’ {aka ‘long unsigned
int(struct mail_stream *, long unsigned int, DirNamesType, struct
dirent **, long unsigned int, int)’}
85 | unsigned long maildir_parse_dir(MAILSTREAM *stream, unsigned
long nmsgs,
| ^~~~~~~~~~~~~~~~~
maildir.h:220:6: error: conflicting types for ‘maildir_get_file’; have
‘void(MAILDIRFILE **)’ {aka ‘void(struct maildir_file_info **)’}
220 | void maildir_get_file (MAILDIRFILE **mdfile);
| ^~~~~~~~~~~~~~~~
maildir.h:98:6: note: previous declaration of ‘maildir_get_file’ with
type ‘void(MAILDIRFILE **)’ {aka ‘void(struct maildir_file_info **)’}
98 | void maildir_get_file (MAILDIRFILE **mdfile);
| ^~~~~~~~~~~~~~~~
maildir.h:228:6: error: conflicting types for ‘courier_free_cdir’; have
‘void(COURIER_S **)’ {aka ‘void(struct courier **)’}
228 | void courier_free_cdir (COURIER_S **cdir);
| ^~~~~~~~~~~~~~~~~
maildir.h:106:6: note: previous declaration of ‘courier_free_cdir’ with
type ‘void(COURIER_S **)’ {aka ‘void(struct courier **)’}
106 | void courier_free_cdir (COURIER_S **cdir);
| ^~~~~~~~~~~~~~~~~
maildir.h:229:12: error: conflicting types for ‘courier_get_cdir’; have
‘COURIER_S *(int)’ {aka ‘struct courier *(int)’}
229 | COURIER_S *courier_get_cdir (int total);
| ^~~~~~~~~~~~~~~~
maildir.h:107:12: note: previous declaration of ‘courier_get_cdir’ with
type ‘COURIER_S *(int)’ {aka ‘struct courier *(int)’}
107 | COURIER_S *courier_get_cdir (int total);
| ^~~~~~~~~~~~~~~~
maildir.h:230:5: error: conflicting types for ‘courier_search_list’;
have ‘int(COURIERLOCAL **, char *, int, int)’ {aka ‘int(struct
courier_local **, char *, int, int)’}
230 | int courier_search_list(COURIERLOCAL **data, char *name, int
first, int last);
| ^~~~~~~~~~~~~~~~~~~
maildir.h:108:5: note: previous declaration of ‘courier_search_list’
with type ‘int(COURIERLOCAL **, char *, int, int)’ {aka ‘int(struct
courier_local **, char *, int, int)’}
108 | int courier_search_list(COURIERLOCAL **data, char *name, int
first, int last);
| ^~~~~~~~~~~~~~~~~~~
maildir.h:231:12: error: conflicting types for ‘courier_list_dir’; have
‘COURIER_S *(char *)’ {aka ‘struct courier *(char *)’}
231 | COURIER_S *courier_list_dir(char *curdir);
| ^~~~~~~~~~~~~~~~
maildir.h:109:12: note: previous declaration of ‘courier_list_dir’ with
type ‘COURIER_S *(char *)’ {aka ‘struct courier *(char *)’}
109 | COURIER_S *courier_list_dir(char *curdir);
| ^~~~~~~~~~~~~~~~
maildir.h:232:6: error: conflicting types for ‘courier_list_info’; have
‘void(COURIER_S **, char *, int)’ {aka ‘void(struct courier **, char *,
int)’}
232 | void courier_list_info(COURIER_S **cdirp, char *data, int i);
| ^~~~~~~~~~~~~~~~~
maildir.h:110:6: note: previous declaration of ‘courier_list_info’ with
type ‘void(COURIER_S **, char *, int)’ {aka ‘void(struct courier **,
char *, int)’}
110 | void courier_list_info(COURIER_S **cdirp, char *data, int i);
| ^~~~~~~~~~~~~~~~~
dummy.c: In function ‘dummy_scan_contents’:
dummy.c:390:7: warning: ignoring return value of ‘read’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
390 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:887: dummy.o] Error 1
make[3]: Leaving directory
'/home/ragini/aur/alpine/src/alpine-2.26/imap/c-client'
make[2]: *** [Makefile:709: rebuild] Error 2
make[2]: Leaving directory
'/home/ragini/aur/alpine/src/alpine-2.26/imap'
make[1]: *** [Makefile:314: slx] Error 2
make[1]: Leaving directory
'/home/ragini/aur/alpine/src/alpine-2.26/imap'
make: *** [Makefile:979: c-client] Error 2
==> ERROR: A failure occurred in build().
Aborting...
(base) $
----
Warm regards
Ragini.