Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679260 - mail-filter/maildrop-2.8.3 - rfc2047.c:379:30: error: unknown type name ‘unicode_char’
Summary: mail-filter/maildrop-2.8.3 - rfc2047.c:379:30: error: unknown type name ‘unic...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 679108
Blocks:
  Show dependency tree
 
Reported: 2019-03-02 18:58 UTC by Fabio Rossi
Modified: 2022-03-28 17:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2019-03-02 18:58:23 UTC
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=corei7 -ggdb -Wall -I.. -I./.. -c -o encode.lo encode.c
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:0:
/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:0:
/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:0:
/usr/include/courier-unicode.h:862:5: note: expected ‘char32_t ** {aka unsigned int **}’ but argument is of type ‘int **’
 int unicode_convert_tou_tobuf(/* Character text to convert */
     ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=corei7 -ggdb -Wall -I.. -I./.. -c encodeautodetect.c  -fPIC -DPIC -o .libs/encodeautodetect.o
make[2]: *** [Makefile:513: rfc2047.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=corei7 -ggdb -Wall -I.. -I./.. -c encode.c  -fPIC -DPIC -o .libs/encode.o
make[2]: Leaving directory '/var/tmp/portage/mail-filter/maildrop-2.8.3/work/maildrop-2.8.3/libs/rfc822'
make[1]: *** [Makefile:380: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/mail-filter/maildrop-2.8.3/work/maildrop-2.8.3/libs/rfc822'
make: *** [Makefile:829: all-recursive] Error 1
 * ERROR: mail-filter/maildrop-2.8.3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=mail-filter/maildrop-2.8.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-filter/maildrop-2.8.3::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/mail-filter/maildrop-2.8.3:20190302-183708.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-filter/maildrop-2.8.3/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-filter/maildrop-2.8.3/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-filter/maildrop-2.8.3/work/maildrop-2.8.3'
 * S: '/var/tmp/portage/mail-filter/maildrop-2.8.3/work/maildrop-2.8.3'
Comment 1 Fabio Rossi 2019-03-02 18:59:06 UTC
maildrop 2.9.0 compiles fine
Comment 2 Evert 2019-03-17 09:10:15 UTC
(In reply to Fabio Rossi from comment #1)
> maildrop 2.9.0 compiles fine

confirmed.
2.8.3 failes to compile,
2.9.0 compiles fine
Comment 3 Tupone Alfredo gentoo-dev 2022-03-28 17:03:49 UTC
mail-filter/maildrop-2.8.3 is no more in the tree