Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624258 - net-mail/courier-imap-4.17.3 : rfc2047.c:379:30: error: unknown type name ‘unicode_char’
Summary: net-mail/courier-imap-4.17.3 : rfc2047.c:379:30: error: unknown type name ‘un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (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:
Blocks:
 
Reported: 2017-07-08 13:55 UTC by Toralf Förster
Modified: 2017-11-09 16:09 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,13.94 KB, text/plain)
2017-07-08 13:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.49 KB, text/plain)
2017-07-08 13:55 UTC, Toralf Förster
Details
environment (environment,79.08 KB, text/plain)
2017-07-08 13:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.60 KB, application/x-bzip)
2017-07-08 13:55 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,39.94 KB, application/x-bzip)
2017-07-08 13:55 UTC, Toralf Förster
Details
net-mail:courier-imap-4.17.3:20170708-134522.log (net-mail:courier-imap-4.17.3:20170708-134522.log,168.00 KB, text/plain)
2017-07-08 13:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.37 KB, application/x-bzip)
2017-07-08 13:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-08 13:55:21 UTC
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -Wall -Wall -I.. -I./.. -c -o rfc2047.lo rfc2047.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -Wall -Wall -I.. -I./.. -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’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20170706-204158

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-07-08 13:55:24 UTC
Created attachment 482040 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-08 13:55:27 UTC
Created attachment 482042 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-08 13:55:30 UTC
Created attachment 482044 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-08 13:55:33 UTC
Created attachment 482046 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-08 13:55:36 UTC
Created attachment 482048 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-08 13:55:39 UTC
Created attachment 482050 [details]
net-mail:courier-imap-4.17.3:20170708-134522.log
Comment 7 Toralf Förster gentoo-dev 2017-07-08 13:55:42 UTC
Created attachment 482052 [details]
temp.tbz2
Comment 8 Rabbe Fogelholm 2017-07-08 21:08:42 UTC
I think this is a dependency issue: courier-imap-4.7.13 cannot be built against courier-unicode-2.0 because of the "unknown type name ‘unicode_char’" error. If courier-unicode is downgraded to 1.4 the build succeeds. But the latest courier-authlib requires courier-unicode-2.0 so it is necessary to downgrade courier-authlib as well.

As a temporary workaround the following masks in /etc/portage/package.mask may be tried:

=net-libs/courier-unicode-2.0
=net-libs/courier-authlib-0.68.0-r1
=net-libs/courier-authlib-0.68.0

and you can then hopefully emerge these package versions:

net-libs/courier-unicode-1.4
net-libs/courier-authlib-0.67.0
net-mail/courier-imap-4.17.3

This may or may not work ... I suppose there can be problems if you have more packages that depend on courier-unicode.
Comment 9 John Covici 2017-07-31 06:54:20 UTC
(In reply to Rabbe Fogelholm from comment #8)
> I think this is a dependency issue: courier-imap-4.7.13 cannot be built
> against courier-unicode-2.0 because of the "unknown type name
> ‘unicode_char’" error. If courier-unicode is downgraded to 1.4 the build
> succeeds. But the latest courier-authlib requires courier-unicode-2.0 so it
> is necessary to downgrade courier-authlib as well.
> 
> As a temporary workaround the following masks in /etc/portage/package.mask
> may be tried:
> 
> =net-libs/courier-unicode-2.0
> =net-libs/courier-authlib-0.68.0-r1
> =net-libs/courier-authlib-0.68.0
> 
> and you can then hopefully emerge these package versions:
> 
> net-libs/courier-unicode-1.4
> net-libs/courier-authlib-0.67.0
> net-mail/courier-imap-4.17.3
> 
> This may or may not work ... I suppose there can be problems if you have
> more packages that depend on courier-unicode.

This worked for me, maybe the next version or something?
Comment 10 Oleh 2017-08-04 06:33:48 UTC
this is fixed or rather will not happen with courier-imap-4.18.0.
both courier-unicode-2.0 and courier-imap-4.18.0 released on 23 june 2017. have to be tied in deps. the fix is the matter of updating courier-imap.