Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266208 - sys-devel/m4-1.4.13: error while emerging (error occurs in spawni.c)
Summary: sys-devel/m4-1.4.13: error while emerging (error occurs in spawni.c)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 06:51 UTC by chris.the.ebb
Modified: 2009-04-16 09:26 UTC (History)
0 users

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 chris.the.ebb 2009-04-15 06:51:11 UTC
-e 's|@''REPLACE_MBRLEN''@|0|g' \
	      -e 's|@''REPLACE_MBSRTOWCS''@|0|g' \
	      -e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \
	      -e 's|@''REPLACE_WCRTOMB''@|0|g' \
	      -e 's|@''REPLACE_WCSRTOMBS''@|0|g' \
	      -e 's|@''REPLACE_WCWIDTH''@|0|g' \
	      -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
	    < ./wchar.in.h; \
	} > wchar.h-t
mv wchar.h-t wchar.h
make  all-recursive
make[3]: Entering directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13/lib'
make[4]: Entering directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13/lib'
 CC  gl_avltree_oset.o
 CC  c-ctype.o
 CC  c-stack.o
 CC  clean-temp.o
 CC  execute.o
 CC  fatal-signal.o
 CC  fpurge.o
 CC  freadahead.o
 CC  freading.o
 CC  gl_linkedhash_list.o
 CC  gl_list.o
 CC  localcharset.o
 CC  glthread/lock.o
 CC  malloca.o
 CC  memchr2.o
 CC  gl_oset.o
 CC  pipe.o
 CC  printf-frexp.o
 CC  printf-frexpl.o
 CC  progname.o
 CC  glthread/threadlib.o
 CC  glthread/tls.o
 CC  tmpdir.o
 CC  verror.o
 CC  version-etc.o
 CC  version-etc-fsf.o
 CC  wait-process.o
 CC  xalloc-die.o
 CC  xmalloca.o
 CC  xprintf.o
 CC  xstrndup.o
 CC  xvasprintf.o
 CC  xasprintf.o
 CC  asnprintf.o
 CC  asprintf.o
 CC  basename.o
 CC  btowc.o
 CC  cloexec.o
 CC  close-stream.o
 CC  closein.o
 CC  closeout.o
 CC  dirname.o
 CC  dup-safer.o
 CC  error.o
error.c: In function 'print_errno_message':
error.c:114: warning: implicit declaration of function 'strerror_r'
 CC  exitfail.o
 CC  fd-safer.o
 CC  fflush.o
 CC  filenamecat.o
 CC  fopen-safer.o
 CC  fpending.o
 CC  frexp.o
 CC  frexpl.o
 CC  fseeko.o
 CC  getopt.o
 CC  getopt1.o
 CC  isnanl.o
 CC  mbrtowc.o
 CC  mbsinit.o
 CC  mkdtemp.o
 CC  mkstemp-safer.o
 CC  obstack.o
 CC  pipe-safer.o
 CC  printf-args.o
 CC  printf-parse.o
 CC  quotearg.o
 CC  rawmemchr.o
 CC  regex.o
 CC  spawn_faction_addclose.o
 CC  spawn_faction_adddup2.o
 CC  spawn_faction_addopen.o
 CC  spawn_faction_destroy.o
 CC  spawn_faction_init.o
 CC  spawnattr_destroy.o
 CC  spawnattr_init.o
 CC  spawnattr_setflags.o
 CC  spawnattr_setsigmask.o
 CC  spawni.o
spawni.c: In function 'gl_posix_spawn_internal':
spawni.c:233: warning: implicit declaration of function 'seteuid'
spawni.c:234: warning: implicit declaration of function 'setegid'
spawni.c:354: error: 'ESTALE' undeclared (first use in this function)
spawni.c:354: error: (Each undeclared identifier is reported only once
spawni.c:354: error: for each function it appears in.)
make[4]: *** [spawni.o] Error 1
make[4]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/work/m4-1.4.13'
make: *** [all] Error 2
 * ERROR: sys-devel/m4-1.4.13 failed:
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2371:     emake || die
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.

>>> Failed to emerge sys-devel/m4-1.4.13, Log file:

>>>  '/opt/gentoo/var/tmp/portage/sys-devel/m4-1.4.13/temp/build.log'

 * Messages for package sys-devel/m4-1.4.13:

 * ERROR: sys-devel/m4-1.4.13 failed:
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2371:     emake || die
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
1. emerge --update sys-devel/m4-1.4.13
2.
3.
Comment 1 chris.the.ebb 2009-04-15 06:58:34 UTC
of course, it has to be

emerge --update sys-devel/m4

not

emerge --update sys-devel/m4-1.4.13

emerge --info:
Portage 2.2.00.13286-prefix (prefix/windows/interix/6.0/x86, gcc-4.2.4, unavailable, 6.0 x86)
=================================================================
System uname: Interix-6.0-x86-32bit
Timestamp of tree: Tue, 14 Apr 2009 17:53:09 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2-r00.1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r04.6
sys-devel/libtool:   1.5.26
ACCEPT_KEYWORDS="~x86-interix"
CBUILD="i586-pc-interix6.0"
CFLAGS=""
CHOST="i586-pc-interix6.0"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo"
CXXFLAGS=""
DISTDIR="/opt/gentoo/usr/portage/distfiles"
EPREFIX="/opt/gentoo"
FEATURES="collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at"
LANG="de_DE.ISO-8859-1"
LDFLAGS=""
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/gentoo/"
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="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay"
USE="7zip X bash-completion bzip2 cairo cracklib cscope curl esd exif fontconfig gtk jpeg mad midi mng mp3 ncurses netpbm pdf png prefix python readline ssl svg threads truetype vorbis x86-interix xpm 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="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="Interix" INPUT_DEVICES="keyboard mouse" KERNEL="Interix" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Markus Duft (RETIRED) gentoo-dev 2009-04-16 09:26:44 UTC
problem found, and fixed for ~x86-interix. ESTALE is not available on interix, so i made it's usage conditional. synching in a few minutes should give you the fixed version