sys-devel/m4-1.4.15 fails to build with uclibc Reproducible: Always Steps to Reproduce: 1.set up amd64-gentoo-linux-uclibc with crossdev 2.ROOT="/uclibc_root" x86_46-gentoo-linux-uclibc-emerge --oneshot sys-devel/m4 3.Get "./spawn.h:403: error: field '_sp' has incomplete type" Actual Results: m4 fails to build with uclibc Expected Results: m4 builds and installs without error Portage 2.1.9.1 (embedded, gcc-4.4.4, unavailable, 2.6.35-rc6-asf1 x86_64) ================================================================= emerge --info System uname: Linux-2.6.35-rc6-asf1-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-2.0.1 Timestamp of tree: Wed, 08 Sep 2010 08:00:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/__CHOST__/usr/include/ -I/usr/__CHOST__/include/" CHOST="x86_64-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/__CHOST__/usr/include/ -I/usr/__CHOST__/include/" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildpkg distlocks fixlafiles fixpackages news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-L/usr/__CHOST__/lib -L/usr/__CHOST__/usr/lib" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/__CHOST__/packages/" PORTAGE_CONFIGROOT="/usr/x86_64-gentoo-linux-uclibc/" 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="/usr/__CHOST__/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/afrink
Created attachment 246487 [details] m4-1.4.15 build log Added build.log
Created attachment 246489 [details, diff] A quick sed of a file fixes build issues. add a sed version of the commit shown here[1] to src_unpack(). [1] http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=0e3aefdda5ba74c8c9762fbdd6a619299a5062a4
added to the tree and sent upstream