You are not logged in.

#1 2023-07-01 14:51:31

mskcc
Member
Registered: 2023-07-01
Posts: 2

unable to build alpine email client

trying to build alpine email client from AUR

environment is

  • 6.3.9-arch1-1

  • gcc version 13.1.1

The command used to build the package is

makepkg --syncdeps --skippgpcheck --install

The build fails towards the end. How do I fix this ?

Not building bundled tools.
make[2]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/imap'
make[1]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/imap'
/opt/root/bin/make  all-recursive
make[1]: Entering directory '/opt/src/aur/alpine/src/alpine-2.26'
Making all in m4
make[2]: Entering directory '/opt/src/aur/alpine/src/alpine-2.26/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/m4'
Making all in po
make[2]: Entering directory '/opt/src/aur/alpine/src/alpine-2.26/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/po'
Making all in pith
make[2]: Entering directory '/opt/src/aur/alpine/src/alpine-2.26/pith'
gcc -DHAVE_CONFIG_H   -I../include -I../include -I/usr/include  -g  -march=x86-64 -mtune=generic -O2 -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 help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c
In file included from help_h_gen.c:17:
./string.h:116:57: warning: ‘struct tm’ declared inside parameter list will not be visible outside of this definition or declaration
  116 | size_t      our_strftime(char *, size_t, char *, struct tm *);
      |                                                         ^~
help_h_gen.c: In function ‘body’:
help_h_gen.c:60:13: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]
   60 |         if(!strncmp(line, "====", 4)){
      |             ^~~~~~~
help_h_gen.c:19:1: note: include ‘<string.h>’ or provide a declaration of ‘strncmp’
   18 | #include <ctype.h>
  +++ |+#include <string.h>
   19 | 
help_h_gen.c:60:35: 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:17: warning: implicit declaration of function ‘strtok’; did you mean ‘strtoq’? [-Wimplicit-function-declaration]
   61 |             p = strtok(line, space);
      |                 ^~~~~~
      |                 strtoq
help_h_gen.c:61:15: 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:19: 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  -march=x86-64 -mtune=generic -O2 -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  -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 -march=x86-64 -mtune=generic -O2 -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 -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
./help_h_gen < pine.hlp > helptext.h
make[2]: *** [Makefile:911: helptext.h] Error 139
make[2]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/pith'
make[1]: *** [Makefile:547: all-recursive] Error 1
make[1]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26'
make: *** [Makefile:436: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
::  

Offline

#2 2023-07-01 15:07:38

mskcc
Member
Registered: 2023-07-01
Posts: 2

Re: unable to build alpine email client

additional information 'make -d' for the part where the build crashes.

 Must remake target 'helptext.h'.
Makefile:911: update target 'helptext.h' due to: target does not exist
./help_h_gen < pine.hlp > helptext.h
Putting child 0x55e9ee5f2fa0 (helptext.h) PID 29959 on the chain.
Live child 0x55e9ee5f2fa0 (helptext.h) PID 29959 
Reaping losing child 0x55e9ee5f2fa0 PID 29959 
make[2]: *** [Makefile:911: helptext.h] Error 139
Removing child 0x55e9ee5f2fa0 PID 29959 from chain.
make[2]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26/pith'
Reaping losing child 0x5617e505dd30 PID 29909 
make[1]: *** [Makefile:547: all-recursive] Error 1
Removing child 0x5617e505dd30 PID 29909 from chain.
make[1]: Leaving directory '/opt/src/aur/alpine/src/alpine-2.26'
Reaping losing child 0x5600563ce050 PID 29908 
make: *** [Makefile:436: all] Error 2
Removing child 0x5600563ce050 PID 29908 from chain.
==> ERROR: A failure occurred in build().
    Aborting...
::  

Offline

#3 2023-07-01 15:37:56

loqs
Member
Registered: 2014-03-06
Posts: 18,424

Re: unable to build alpine email client

I can not reproduce the issue in a clean chroot.

Offline

Board footer

Powered by FluxBB