Package Details: mimegpg 5.9.2-1

Git Clone URL: https://aur.archlinux.org/mimegpg.git (read-only)
Package Base: mimegpg
Description: A command-line utility to sign, encrypt or decrypt MIME-formatted e-mail messages using GnuPG. (Extracted from Courier SqWebMail.)
Upstream URL: http://courier-mta.org/sqwebmail/
Licenses: GPL2
Submitter: starfry
Maintainer: starfry
Last Packager: starfry
Votes: 1
Popularity: 0.000004
First Submitted: 2016-09-27 07:47
Last Updated: 2018-06-17 19:48

Latest Comments

starfry commented on 2018-06-17 19:49

Problem reproduced. Updated to 5.9.2 latest version. Builds clean for me now. Thank you for pointing it out @dreick

dreieck commented on 2018-06-16 13:00

Build fails for me:

/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -g0 -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -Wall -I.. -I./.. -MT rfc2047.lo -MD -MP -MF .deps/rfc2047.Tpo -c -o rfc2047.lo rfc2047.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g0 -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -Wall -I.. -I./.. -MT rfc2047.lo -MD -MP -MF .deps/rfc2047.Tpo -c rfc2047.c  -fPIC -DPIC -o .libs/rfc2047.o
rfc2047.c:379:30: error: unknown type name ‘unicode_char’
 static int encode_word(const unicode_char *uc,
                              ^~~~~~~~~~~~
rfc2047.c:412:31: error: unknown type name ‘unicode_char’
 static int encode_words(const unicode_char *uc,
                               ^~~~~~~~~~~~
rfc2047.c:457:41: error: unknown type name ‘unicode_char’
 static int do_encode_words_method(const unicode_char *uc,
                                         ^~~~~~~~~~~~
rfc2047.c: In function ‘do_encode_words_method’:
rfc2047.c:509:39: warning: pointer targets in passing argument 1 of ‘unicode_convert_fromu_tobuf’ differ in signedness [-Wpointer-sign]
   if ((rc=unicode_convert_fromu_tobuf(uc, j, charset,
                                       ^~
In file included from rfc2047.c:12:
/usr/include/courier-unicode.h:900:5: note: expected ‘const char32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const int *’
 int unicode_convert_fromu_tobuf(/* Unicode array to convert to a char str */
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc2047.c: At top level:
rfc2047.c:540:34: error: unknown type name ‘unicode_char’
 static int do_encode_words(const unicode_char *uc,
                                  ^~~~~~~~~~~~
rfc2047.c: In function ‘do_encode_words’:
rfc2047.c:558:38: warning: pointer targets in passing argument 1 of ‘unicode_convert_fromu_tobuf’ differ in signedness [-Wpointer-sign]
  if ((rc=unicode_convert_fromu_tobuf(uc, ucsize, charset,
                                      ^~
In file included from rfc2047.c:12:
/usr/include/courier-unicode.h:900:5: note: expected ‘const char32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const int *’
 int unicode_convert_fromu_tobuf(/* Unicode array to convert to a char str */
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc2047.c: At top level:
rfc2047.c:599:42: error: unknown type name ‘unicode_char’
 static int rfc2047_encode_callback(const unicode_char *uc,
                                          ^~~~~~~~~~~~
rfc2047.c: In function ‘rfc2047_encode_str’:
rfc2047.c:672:2: error: unknown type name ‘unicode_char’; did you mean ‘u_char’?
  unicode_char *uc;
  ^~~~~~~~~~~~
  u_char
rfc2047.c:679:6: warning: passing argument 4 of ‘unicode_convert_tou_tobuf’ from incompatible pointer type [-Wincompatible-pointer-types]
      &uc, &ucsize, &err))
      ^~~
In file included from rfc2047.c:12:
/usr/include/courier-unicode.h:875:16: note: expected ‘char32_t **’ {aka ‘unsigned int **’} but argument is of type ‘int **’
     char32_t **uc,
     ~~~~~~~~~~~^~
make[1]: *** [Makefile:494: rfc2047.lo] Error 1
make[1]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-mimegpg/src/sqwebmail-5.8.3/libs/rfc822'
make: *** [Makefile:371: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...