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: 10
Popularity: 0.004464
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

« First ‹ Previous 1 2 3 4 Next › Last »

lightdot commented on 2020-11-04 18:03 (UTC)

@grawity, that's a good idea. I'll include the changes with the next update.

grawity commented on 2020-11-04 10:54 (UTC)

For users of makepkg's shared $SRCDEST feature, it would be better if all downloaded file names were versioned (using localname::url syntax), so that an older cached download wouldn't interfere with building newer versions:

"maildir-2.24.patch.gz::http://alpine.x10host.com/alpine/patches/alpine-2.24/maildir.patch.gz"

or

"fancy-$pkgver.patch.gz::http://alpine.x10host.com/alpine/patches/alpine-$pkgver/fancy.patch.gz"

redshoe commented on 2020-10-13 22:24 (UTC)

I solved the problem. I have added path to C_INCLUDE_PATH that does not exist and this was causing the problem.

redshoe commented on 2020-10-03 06:10 (UTC) (edited on 2020-10-03 06:10 (UTC) by redshoe)

I am currently using AMD Ryzen processor and it is failing to compile with the same error message that I have posted earlier. I tried building on Intel CPU laptop and it worked without any problem. So... if anyone else experienced similar symptoms please let me know..

lightdot commented on 2020-09-28 21:51 (UTC)

This is beyond my ability to help, I'm afraid. I can only suggest opening a thread in the forums here, should perhaps someone else have an idea... or, if you suspect that the issue is in the alpine itself, consider reporting a bug upstream.

redshoe commented on 2020-09-22 18:53 (UTC) (edited on 2020-09-22 18:55 (UTC) by redshoe)

@lightdot. Thank you for your reply. I have been waiting for days.. Yeah I just realized that I am getting segmentation fault. After Kernel update to 5.8.10 I get slightly different error messages, but it's practically the same. Do I need a specific C library or something?


......

maildir.c: In function ‘maildir_copy’:
maildir.c:1383:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1383 |         read (fd,s,MDSIZE(elt));
      |         ^~~~~~~~~~~~~~~~~~~~~~~
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o;ranlib c-client.a
make[4]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/imap/c-client'
make[3]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/imap/c-client'
echo slx > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Not building bundled tools.
make[2]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/imap'
make[1]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/imap'
/usr/bin/make  all-recursive
make[1]: Entering directory '/home/rangke/Testsite/alpine/src/alpine-2.23'
Making all in m4
make[2]: Entering directory '/home/rangke/Testsite/alpine/src/alpine-2.23/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/m4'
Making all in po
make[2]: Entering directory '/home/rangke/Testsite/alpine/src/alpine-2.23/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/po'
Making all in pith
make[2]: Entering directory '/home/rangke/Testsite/alpine/src/alpine-2.23/pith'
gcc -DHAVE_CONFIG_H   -I../include -I../include -I/usr/include -D_FORTIFY_SOURCE=2 -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c
help_h_gen.c: In function ‘body’:
help_h_gen.c:60:6: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]
   60 |  if(!strncmp(line, "====", 4)){
      |      ^~~~~~~
help_h_gen.c:60:28: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
   60 |  if(!strncmp(line, "====", 4)){
      |                            ^
<built-in>: note: built-in ‘strncmp’ declared here
help_h_gen.c:61:10: warning: implicit declaration of function ‘strtok’; did you mean ‘strtoq’? [-Wimplicit-function-declaration]
   61 |      p = strtok(line, space);
      |          ^~~~~~
      |          strtoq
help_h_gen.c:61:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   61 |      p = strtok(line, space);
      |        ^
help_h_gen.c:63:5: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   63 |   p = strtok(NULL, space);
      |     ^
mv -f .deps/help_h_gen.Tpo .deps/help_h_gen.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L  -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o help_h_gen help_h_gen.o 
libtool: link: gcc -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o help_h_gen help_h_gen.o  -L/usr/lib -pthread
./help_h_gen < pine.hlp > helptext.h
/bin/sh: line 1: 28905 Segmentation fault      (core dumped) ./help_h_gen < pine.hlp > helptext.h
make[2]: *** [Makefile:902: helptext.h] Error 139
make[2]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23/pith'
make[1]: *** [Makefile:538: all-recursive] Error 1
make[1]: Leaving directory '/home/rangke/Testsite/alpine/src/alpine-2.23'
make: *** [Makefile:427: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

lightdot commented on 2020-09-18 12:20 (UTC)

@redshoe, you're getting a segmentation fault, not a build error. I'm not sure what to suggest... Are you experiencing any lockups, hardware issues? If you repeat the build, does the error happen in the same place?

redshoe commented on 2020-09-04 16:15 (UTC) (edited on 2020-09-04 16:24 (UTC) by redshoe)

I am getting error while building the package. The error is regarding "help_h_gen.c" file.


make[2]: Entering directory '/home/rangke/Testsite/alpine-git/src/alpine/pith'
gcc -DHAVE_CONFIG_H   -I../include -I../include -I/usr/include -D_FORTIFY_SOURCE=2 -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c
help_h_gen.c: In function ‘body’:
help_h_gen.c:60:6: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]
   60 |  if(!strncmp(line, "====", 4)){
      |      ^~~~~~~
help_h_gen.c:60:28: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
   60 |  if(!strncmp(line, "====", 4)){
      |                            ^
<built-in>: note: built-in ‘strncmp’ declared here
help_h_gen.c:61:10: warning: implicit declaration of function ‘strtok’; did you mean ‘strtoq’? [-Wimplicit-function-declaration]
   61 |      p = strtok(line, space);
      |          ^~~~~~
      |          strtoq
help_h_gen.c:61:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   61 |      p = strtok(line, space);
      |        ^
help_h_gen.c:63:5: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   63 |   p = strtok(NULL, space);
      |     ^
mv -f .deps/help_h_gen.Tpo .deps/help_h_gen.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L  -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o help_h_gen help_h_gen.o 
libtool: link: gcc -g -pthread -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o help_h_gen help_h_gen.o  -L/usr/lib -pthread
./help_h_gen < pine.hlp > helptext.h
/bin/sh: line 1: 22025 Segmentation fault      (core dumped) ./help_h_gen < pine.hlp > helptext.h
make[2]: *** [Makefile:902: helptext.h] Error 139
make[2]: Leaving directory '/home/rangke/Testsite/alpine-git/src/alpine/pith'
make[1]: *** [Makefile:538: all-recursive] Error 1
make[1]: Leaving directory '/home/rangke/Testsite/alpine-git/src/alpine'
make: *** [Makefile:427: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I checked all my dependency and I have everything installed on my system.

999cgm commented on 2020-08-26 06:48 (UTC)

@lightdot: yep sure, I really do not see a issue with adding all those patches. Right now I'm adding maildir patch myself and it works great so far..

lightdot commented on 2020-08-26 03:43 (UTC) (edited on 2020-08-26 03:45 (UTC) by lightdot)

@999cgm, I'm considering including:

  • Maildir patch
  • Enhanced fancy thread interface patch
  • Add new subcommands to the compose command
  • Recognize multiline URLs.

Unless there are any objections..? I usually try not to stray from the upstream, but if there are no downsides...

@aoz, thanks, I'll add it on the next update.