Trying to install apache under ARCH="arm" the configuration of app-admin/apache-tools (a dependency pulled in) fails... Reproducible: Always Steps to Reproduce: 1. Install Gentoo on NSLU2 as per http://gentoo-wiki.com/Gentoo_on_NSLU2 2. emerge -av apache Actual Results: Fails when configuring app-admin/apache-tools.... >>> Emerging (6 of 8) app-admin/apache-tools-2.2.6 to / * httpd-2.2.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking httpd-2.2.6.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking httpd-2.2.6.tar.bz2 to /var/tmp/portage/app-admin/apache-tools-2.2.6/work * Applying apache-tools-Makefile.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-admin/apache-tools-2.2.6/work/httpd-2.2.6 ... * econf: updating httpd-2.2.6/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.6/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.6/srclib/apr/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.6/srclib/apr/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.6/srclib/apr-util/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.6/srclib/apr-util/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.6/srclib/apr-util/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.6/srclib/apr-util/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=armeb-softfloat-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sbindir=/usr/sbin --with-perl=/usr/bin/perl --with-expat=/usr --with-z=/usr --with-apr=/usr --with-apr-util=/usr --with-pcre=/usr --with-ssl=/usr --enable-ssl --build=armeb-softfloat-linux-uclibc checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... armeb-softfloat-linux-uclibc checking host system type... armeb-softfloat-linux-uclibc checking target system type... armeb-softfloat-linux-uclibc Configuring Apache Portable Runtime library ... checking for APR... yes setting CC to "armeb-softfloat-linux-uclibc-gcc" setting CPP to "armeb-softfloat-linux-uclibc-gcc -E" adding "-pthread" to CFLAGS setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" Configuring Apache Portable Runtime Utility library... checking for APR-util... yes checking for armeb-softfloat-linux-uclibc-gcc... armeb-softfloat-linux-uclibc-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether armeb-softfloat-linux-uclibc-gcc accepts -g... yes checking for armeb-softfloat-linux-uclibc-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... armeb-softfloat-linux-uclibc-gcc -E configure: Using external PCRE library from /usr/bin/pcre-config setting LIBS to "-L/usr/lib -lpcre" Configuring Apache httpd ... setting INCLUDES to "-I." adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES adding "-I$(top_srcdir)/modules/http" to INCLUDES adding "-I$(top_srcdir)/modules/filters" to INCLUDES adding "-I$(top_srcdir)/modules/proxy" to INCLUDES adding "-I$(top_srcdir)/include" to INCLUDES adding "-I$(top_srcdir)/modules/generators" to INCLUDES adding "-I$(top_srcdir)/modules/mappers" to INCLUDES adding "-I$(top_srcdir)/modules/database" to INCLUDES adding "-I/usr/include/apr-1" to INCLUDES Applying OS-specific hints for httpd ... forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1" forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1" checking for rm... /bin/rm checking for pkg-config... /usr/bin/pkg-config checking for rsync... /usr/bin/rsync checking for gawk... gawk checking whether ln -s works... yes checking for armeb-softfloat-linux-uclibc-ranlib... armeb-softfloat-linux-uclibc-ranlib checking for lynx... lynx checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking for library containing strerror... no checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for APR version 1.2.0 or later... yes checking for APR-util version 1.2.0 or later... yes checking for ANSI C header files... (cached) no checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for library containing sqrt... no checking for getpwnam... no checking for getgrnam... no checking for initgroups... no checking for bindprocessor... no checking for prctl... no checking for timegm... no checking for getpgid... no checking for void pointer length... yes configure: error: Size of "void *" is less than size of "long" Expected Results: Expected it to emerge cleanly. Tried unmasking app-admin/apache-tools-2.2.8 but it fails with the same error. # emerge --info Portage 2.1.4.4 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28.3-r2, 2.6.21.7 armv5teb) ================================================================= System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b) Timestamp of tree: Fri, 14 Mar 2008 13:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.3.5, 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10 sys-devel/binutils: 2.16-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="arm" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock 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" ARCH="arm" AUTOCLEAN="yes" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-uclibc" CLEAN_DELAY="5" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-march=armv5t -Os" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/vi" ELIBC="uclibc" EMERGE_DEFAULT_OPTS="--verbose --alphabetical" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig ccache distlocks metadata-transfer nodoc noinfo noman parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" GCC_SPECS="" GENTOO_MIRRORS="http://gentoo.virginmedia.com http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" GRP_STAGE23_USE="ncurses readline zlib uclibc" HOME="/root" INFOPATH="/usr/share/info:/usr/share/gcc-data/armeb-softfloat-linux-uclibc/3.4.6/info" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/armeb-softfloat-linux-uclibc/3.4.6/man" OLDPWD="/usr/local/portage" PAGER="/usr/bin/less" PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_IUSE="^(3dnow|3dnowext|ada|adabas|alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|birdstep|bmp|bmpx|bootstrap|build|clvm|cman|coreaudio|crosscompile_opts_.*|db2|dbmaker|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|empress|empress-bcs|emul-linux-x86|esoob|fdftk|filepro|firebird|frontbase|gulm|hppa|ia64|ibm|icc|icc-pgo|iconv|ifc|infopipe|informix|ingres|input_devices_synaptics|input_devices_vmmouse|input_devices_wacom|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|kqemu|lcd_devices_luise|lcd_devices_svga|m68k|macbook|mips|mmx|mmxext|mplayer-bin|multilib|n32|n64|nis|nls|nptl|nvidia|nvram|oci8|oci8-instant-client|oracle7|osp|pam_console|pbbuttonsd|pfpro|ppc|ppc64|ppcsha1|psyco|real|s390|selinux|sh|solid|sparc|sparc-fbsd|sse|sse2|ssse3|svga|sybase|sybase-ct|tcc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_amd|video_cards_fglrx|video_cards_impact|video_cards_newport|video_cards_nvidia|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|video_cards_vermilion|video_cards_vmware|video_cards_xgi|vis|win32codecs|x264|x86|x86-fbsd|xmms|yellownet)$" PORTAGE_LIBC="uClibc" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_USE="arm elibc_uclibc kernel_linux userland_GNU" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PS1="\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] " PWD="/usr/local/portage/app-portage/layman" PYTHONPATH="/usr/lib/portage/pym" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" ROOT="/" ROOTPATH="/opt/bin:/usr/armeb-softfloat-linux-uclibc/gcc-bin/3.4.6" RPMDIR="/usr/portage/rpm" SHELL="/bin/sh" SHLVL="1" SSH_CLIENT="192.168.1.100 37258 22" SSH_CONNECTION="192.168.1.100 37258 192.168.1.103 22" SSH_TTY="/dev/pts/1" STAGE1_USE="uclibc" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" TERM="rxvt" TZ="UTC" UCLIBC_CPU_DEFAULT="GENERIC_ARM" USE="apache2 arm bash-completion cli cracklib dri midi mp3 mudflap ncurses ogg openmp pcre perl python readline reflection session spl ssl uclibc xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock 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" 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" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="dummy fbdev v4l" _="/usr/bin/emerge"
please reopen if this is still an issue with 2.2.10
wrong solution