Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175147 - make exim aware of iconv.
Summary: make exim aware of iconv.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 21:09 UTC by Rafał Bilski
Modified: 2007-10-06 20:00 UTC (History)
1 user (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 Rafał Bilski 2007-04-18 21:09:45 UTC
Exim ebuild is ignoring crosscompile mode and it is making executable for build system. Partial fix is to add CC=HOST-gcc to Local/Makefile. However two programs need to be build with BUILD-gcc. These are build-exim-gentoo/pcre/dftables and build-exim-gentoo/buildconfig. These executables are used on BUILD system to parse some files.

There is no "iconv" USE flag in this ebuild. If iconv is not present Exim build will fail. It is a matter of setting HAVE_ICONV=no in Local/Makefile.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-04-18 22:06:51 UTC
Net-mail herd: I've not assigned this directly to peitolm, since herdstat reports him as away (although his comment suggests he should be back soon).  Feel free to reassign it directly if he's actually back...  5:)
Comment 2 Colin Morey (RETIRED) gentoo-dev 2007-04-18 23:18:02 UTC
herdstat? never heard of it.

I'm adding exim-4.67 to the tree (which fixes a few other bugs). I'll try and get an -r1 out soon that will incorporate a fix for this issue.
Comment 3 Rafał Bilski 2007-04-23 15:49:00 UTC
I have finally made my Wyse "Linterm" box working. All trouble were caused by ";" in .S file :-) Exim is working almost great. I have issue with rejecting elke.dom destination (DNS timeout), but 192.168.72.2 works and I'm sure there is option fixing it. I had a nasty surprise - none of other Makefile based builds is working. Looks like I should set CC=$CHOST-gcc in make.conf, but I didn't. I could swear that this isn't mentioned in Gentoo's cross development guide and HOWTO. So first part of this bug is invalid. Exim ebuild is making same thing that other ebuilds do.
Comment 4 Colin Morey (RETIRED) gentoo-dev 2007-07-19 19:15:34 UTC
I am assuming that just requiring virtual/libiconv if iconv is in USE, and if iconv isn't in USE, then editing the Makefile, but i need to check with someone who knows more about iconv than I do, as it looks like libinconv is masked.
Comment 5 Colin Morey (RETIRED) gentoo-dev 2007-09-06 18:28:13 UTC
O.k. i dug a bit deeper and it seems iconv is available in recent glibc's,  which version of glibc are you trying to link against?
Comment 6 Rafał Bilski 2007-09-07 09:03:08 UTC
I was cross compiling for uClibc.
Comment 7 Colin Morey (RETIRED) gentoo-dev 2007-09-13 19:01:57 UTC
ah, and there in lies a lot of fun and games.

I don't have any embedded systems here, so I'm going to have to setup a separate xen instance to test this. I'm going to be away for the whole of next week, but hopefully I'll have something sorted within a fortnight or so.

Hope that's o.k.
Comment 8 Rafał Bilski 2007-10-06 20:00:19 UTC
I'm going offline and I can't use Gentoo anymore. Sorry for wasting Your time.