Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237593 - mail-mta/exim-4.69 fails to compile with message iconv.h: No such file or directory
Summary: mail-mta/exim-4.69 fails to compile with message iconv.h: No such file or dir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 266591
Blocks:
  Show dependency tree
 
Reported: 2008-09-14 00:07 UTC by Tom Lloyd
Modified: 2009-07-24 07:57 UTC (History)
2 users (show)

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


Attachments
Second build failure instructed me to attach this file to the bug report. (ccywFTAJ.out,251.94 KB, text/plain)
2008-09-24 00:47 UTC, Tom Lloyd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lloyd 2008-09-14 00:07:07 UTC
Exim doesn't compile on my PowerPC/uClibc system.

Reproducible: Always

Steps to Reproduce:
# USE="exiscan-acl ipv6 mailwrapper ssl syslog -X -dnsdb -domainkeys -dovecot-sasl -exiscan -gnutls -ldap -lmtp -mbox -mbx -mysql (-nis) -pam -perl -postgres -radius -sasl -spf -sqlite -srs -tcpd" emerge =mail-mta/exim-4.69
Actual Results:  
>>> Compiling source in /var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69 ...

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: Entering directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo'
Building configuration file config.h
>>> config.h built

make[2]: Entering directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo/pcre'
gcc pcre_maketables.c
gcc pcre_chartables.c
gcc pcre_fullinfo.c
gcc pcre_get.c
gcc pcre_globals.c
gcc pcre_compile.c
gcc pcre_config.c
gcc pcre_exec.c
gcc pcre_newline.c
gcc pcre_study.c
gcc pcre_tables.c
gcc pcre_try_flipped.c
gcc pcre_version.c
rm -f libpcre.a
ar cq libpcre.a
ranlib libpcre.a
gcc pcretest.c
gcc -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo/pcre'

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim_dbmbuild.c:33:
exim.h:460:19: iconv.h: No such file or directory
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo'
make: *** [go] Error 2



muttley ~ # emerge --info
Portage 2.1.4.4 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.28.3-r7, 2.6.26-hardened-r1-muttley-1-misc ppc)
=================================================================
System uname: 2.6.26-hardened-r1-muttley-1-misc ppc G2_LE
Timestamp of tree: Fri, 12 Sep 2008 17:45:01 +0000
distcc 2.18.3 powerpc-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-gentoo-linux-uclibc"
CFLAGS="-O2 -mcpu=603e -pipe"
CHOST="powerpc-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=603e -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gaspode/gentoo-portage"
USE="alsa apache2 bzip2 cgi cli cracklib crypt dri embedded fastcgi hardened ipv6 mudflap mysql ncurses openmp pcre perl php pic ppc python quotas readline reflection samba session sni spl sqlite ssl suhosin syslog tcpd uclibc unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http" APACHE2_MPMS="prefork" CAMERAS="sq905" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-14 00:22:11 UTC
uclibc simply doesn't provide the functionality, iirc.
Comment 2 Colin Morey (RETIRED) gentoo-dev 2008-09-23 18:14:11 UTC
I seem to recall this has happened before, Indeed, bug 175147 references the same issue, along with a fix,
"It is a matter of setting HAVE_ICONV=no in Local/Makefile"

Could you try that and see how you get on?


Cheers,

Colin
Comment 3 Tom Lloyd 2008-09-24 00:45:49 UTC
> "It is a matter of setting HAVE_ICONV=no in Local/Makefile"

Well the compile certainly gets a lot further now, but it still fails:

...
gcc search.c
gcc sieve.c
gcc smtp_in.c
gcc smtp_out.c
gcc spool_in.c
gcc spool_out.c
gcc store.c
gcc string.c
gcc tls.c
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc local_scan.c
gcc malware.c
malware.c: In function `malware':
malware.c:1382: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/mail-mta/exim-4.69/temp/ccywFTAJ.out file, please attach this to your bugreport.
make[1]: *** [malware.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-mta/exim-4.69/work/exim-4.69/build-exim-gentoo'
make: *** [go] Error 2


But maybe this is a different bug, I don't know.
Comment 4 Tom Lloyd 2008-09-24 00:47:19 UTC
Created attachment 166230 [details]
Second build failure instructed me to attach this file to the bug report.
Comment 5 Colin Morey (RETIRED) gentoo-dev 2009-03-08 14:43:15 UTC
I think this is probably one for the toolchain/uClibc guys to comment on. I'll try and find one to take the bug.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2009-06-24 13:33:14 UTC
Reassign to net-mail herd as peitolm retires
Comment 7 Fabian Groffen gentoo-dev 2009-07-02 19:41:45 UTC
ehm, how about installing libiconv?

hunk 1 of attachment #188803 [details, diff] from bug #266591 should fix that part.
Comment 8 Fabian Groffen gentoo-dev 2009-07-24 07:57:31 UTC
The iconv handling should be fixed now in exim-4.69-r2.  The ICE is not really my bug.