On 6 January 2025 4:44:17 am UTC, rag...@softwarefreedomproject.org wrote: >Hello, > >I am trying to setup alpine mail client on my archlinux 6.12.7-arch1-1. > >I have cloned the AUR package: >https://aur.archlinux.org/packages/alpine > >However, when I run makepkg command to build the package tarball, it throws >the below error > >NOTE: I have attached .log file, if anyone wants to see the full error log. > >-------- >Rebuilding c-client for slx... >cd c-client;make all CC=`cat CCTYPE` \ > CFLAGS="`cat CFLAGS`" `cat SPECIALS` >make[3]: Entering directory >'/home/ragini/aur/alpine/src/alpine-2.26/imap/c-client' >Building OS-dependent module >If you get No such file error messages for files x509.h, ssl.h, >pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL >is not installed on your system. Either install OpenSSL first >or build with command: make slx SSLTYPE=none >`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c >In file included from osdep.c:47: >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, >. >. >. >. >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... >------ > >Warm regards >Ragini. Please paste the entire log as part of the email body. Email attachments should not be used.
Will try to build Alpine client from AUR and share my findings including possible fix to the reported issue. warm regards Saifi.