Package Details: alpine 2.26-3

Git Clone URL: https://aur.archlinux.org/alpine.git (read-only, click to copy)
Package Base: alpine
Description: A free software email client, a rewrite of Pine which was a continuation of the venerable ELM.
Upstream URL: https://alpineapp.email/
Keywords: cli client elm email mail pine re-alpine
Licenses: Apache
Conflicts: alpine-fancythreading, pico, pine, re-alpine
Provides: pico, pine, re-alpine
Replaces: alpine-fancythreading, pico, pine, re-alpine
Submitter: lightdot
Maintainer: lightdot
Last Packager: lightdot
Votes: 11
Popularity: 0.043617
First Submitted: 2020-08-21 00:22 (UTC)
Last Updated: 2024-01-28 13:46 (UTC)

Dependencies (7)

Required by (2)

Sources (6)

Latest Comments

1 2 3 4 Next › Last »

Wild_Penguin commented on 2024-09-08 22:10 (UTC)

Adding to configure phase:

CFLAGS="-Wno-error=incompatible-pointer-types"

allows alpine to compile. I believe it is OK in this case to work around this, albeit optimally upstream should fix this in the code.

diff --git a/PKGBUILD b/PKGBUILD
index 50fe1ec..8df4cfd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,6 +46,7 @@ build() {
        patch -p1 -i "${srcdir}/longurl-${pkgver}.patch"

        # Configure Alpine
+       CFLAGS="-Wno-error=incompatible-pointer-types" \
        LIBS+="-lpam -lkrb5 -lcrypto" ./configure --prefix=/usr \
        --with-passfile=.alpine.passfile --without-tcl --disable-shared \
        --with-system-pinerc=/etc/${pkgname}.d/pine.conf \

simona commented on 2024-07-16 07:59 (UTC)

can't find https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz

aiobofh commented on 2024-07-16 07:10 (UTC)

Confirm Wild_Penguin and cmcc as well.

Wild_Penguin commented on 2024-06-27 13:15 (UTC)

Indeed does not compile here either, I get the same error as cmcc.

cmcc commented on 2024-05-09 09:34 (UTC) (edited on 2024-05-09 13:24 (UTC) by cmcc)

After upgrading gcc to version 14.1.1, it seems alpine doesn't compile anymore. Compilation stops when trying to compile adrbklib.c. The error I get is


gcc -DHAVE_CONFIG_H   -I../include -I../include -I/usr/include  -g  -march=x86-64 -mtune=native
-march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adrbklib.o -MD -MP -MF
.deps/adrbklib.Tpo -c -o adrbklib.o adrbklib.c
adrbklib.c: In function ‘sort_addr_list’:
adrbklib.c:4705:64: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types]
 4705 |     qsort((qsort_t *)list, (size_t)(p - list), sizeof(char *), cmp_addr);
      |                                                                ^~~~~~~~
      |                                                                |
      |                                                                int (*)(const char *, const char *)
In file included from ../include/system.h:42,
                 from ../pith/headers.h:25,
                 from adrbklib.c:14:
/usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int (*)(const void *, const void *)’} but argument is of type ‘int (*)(const char *, const char *)’
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
adrbklib.c: In function ‘adrbk_sort’:
adrbklib.c:4766:77: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types]
 4765 |             (ab->sort_rule == AB_SORT_RULE_FULL_LISTS) ?
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
 4766 |                                                 cmp_cntr_by_full_lists_last :
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
      |                                                                             |
      |                                                                             int (*)(const char *, const char *)
 4767 |             (ab->sort_rule == AB_SORT_RULE_FULL) ?
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
 4768 |                                                 cmp_cntr_by_full :
      |                                                 ~~~~~~~~~~~~~~~~~~           
 4769 |             (ab->sort_rule == AB_SORT_RULE_NICK_LISTS) ?
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
 4770 |                                                 cmp_cntr_by_nick_lists_last :
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4771 |             /* (ab->sort_rule == AB_SORT_RULE_NICK) */
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
 4772 |                                                 cmp_cntr_by_nick);
      |                                                 ~~~~~~~~~~~~~~~~             
/usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int (*)(const void *, const void *)’} but argument is of type ‘int (*)(const char *, const char *)’
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
make[4]: *** [Makefile:589: adrbklib.o] Error 1
make[4]: Leaving directory '/home/xyz/.cache/yay/alpine/src/alpine-2.26/pith'
make[3]: *** [Makefile:622: all-recursive] Error 1
make[3]: Leaving directory '/home/xyz/.cache/yay/alpine/src/alpine-2.26/pith'
make[2]: *** [Makefile:460: all] Error 2
make[2]: Leaving directory '/home/xyz/.cache/yay/alpine/src/alpine-2.26/pith'
make[1]: *** [Makefile:547: all-recursive] Error 1
make[1]: Leaving directory '/home/xyz/.cache/yay/alpine/src/alpine-2.26'
make: *** [Makefile:436: all] Error 2

lightdot commented on 2024-01-28 13:45 (UTC)

@RAMChYLD, according to https://alpineapp.email/alpine/md5/maildir.html the patch was updated without changing the version of either the patch or the package.

I didn't notice the update, so the current PKGBUILD doesn't reflect the newest code. I'll update soon.

In the meantime, as long as the current SHA256SUM published by the author corresponds with the one of the file you've downloaded, I'd trust it.

@simona, sorry for not responding sooner. I cannot reproduce this, though.

RAMChYLD commented on 2024-01-13 09:30 (UTC) (edited on 2024-01-13 09:31 (UTC) by RAMChYLD)

Something's wrong with the maildir-2.26 patch

==> Validating source files with sha256sums...
    alpine-2.26.tar.xz ... Passed
    maildir-2.26.patch.gz ... FAILED
    fancy-2.26.patch.gz ... Passed
    fillpara-2.26.patch.gz ... Passed
    compose-2.26.patch.gz ... Passed
    longurl-2.26.patch.gz ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/leecy/.cache/yay/alpine 
         context: exit status 1 

Can you please confirm that the patch is not tainted or corrupted in any way?

simona commented on 2023-11-04 17:06 (UTC)

/bin/ld: ../c-client/c-client.a(osdep.o): warning: relocation against gss_nt_service_name' in read-only section.text'
/bin/ld: ../c-client/c-client.a(osdep.o): in function auth_gssapi_valid':<BR> /home/simona/.cache/yay/alpine/src/alpine-2.26/imap/c-client/auth_gss.c:73:(.text+0x7132): undefined reference togss_nt_service_name'
/bin/ld: ../c-client/c-client.a(osdep.o): in function auth_gssapi_client_work':<BR> /home/simona/.cache/yay/alpine/src/alpine-2.26/imap/c-client/auth_gss.c:152:(.text+0x971e): undefined reference togss_nt_service_name'
/bin/ld: ../c-client/c-client.a(osdep.o): in function auth_gssapi_server':<BR> /home/simona/.cache/yay/alpine/src/alpine-2.26/imap/c-client/auth_gss.c:340:(.text+0xe1c1): undefined reference togss_nt_service_name'
/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

simona commented on 2023-07-12 08:01 (UTC)

string.c:3043:1: fatal error: opening dependency file .deps/string.Tpo: File o directory non esistente

lightdot commented on 2023-07-09 02:12 (UTC)

I added the additional architectures to the PKGBUILD, decided to stop delaying this until the next release. That's the only change, so those having a working 2.26 build, feel free to skip the update.

@msk, alpine builds for me in a clean chroot, using the PKGBUILD published here. Can you reproduce in a clean environment, with the PKGBUILD?