Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 320393

Summary: sys-devel/m4-1.4.14: gnulib_spawn.patch makes it fail to compile and there's a wrong USE
Product: Gentoo/Alt Reporter: coderoar
Component: Mac OSXAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
URL: http://bugs.gentoo.org/310335
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete build log
ebuild environment file

Description coderoar 2010-05-18 13:33:20 UTC
It seems that OS X needn't it.

Besides, the 'nls' USE is not defined in IUSE and useless.

make  all-am
make[3]: Entering directory `/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/work/m4-1.4.14/lib'
i686-apple-darwin9-gcc -std=gnu99  -I.     -march=nocona -O2 -pipe -MT gl_avltree_oset.o -MD -MP -MF .deps/gl_avltree_oset.Tpo -c -o gl_avltree_oset.o gl_avltree_oset.c
mv -f .deps/gl_avltree_oset.Tpo .deps/gl_avltree_oset.Po
i686-apple-darwin9-gcc -std=gnu99  -I.     -march=nocona -O2 -pipe -MT c-ctype.o -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.o c-ctype.c
mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po
i686-apple-darwin9-gcc -std=gnu99  -I.     -march=nocona -O2 -pipe -MT c-stack.o -MD -MP -MF .deps/c-stack.Tpo -c -o c-stack.o c-stack.c
mv -f .deps/c-stack.Tpo .deps/c-stack.Po
i686-apple-darwin9-gcc -std=gnu99  -I.     -march=nocona -O2 -pipe -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
mv -f .deps/clean-temp.Tpo .deps/clean-temp.Po
i686-apple-darwin9-gcc -std=gnu99  -I.     -march=nocona -O2 -pipe -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c
In file included from execute.c:48:
./spawn.h:162: error: 'POSIX_SPAWN_SETSCHEDPARAM' undeclared here (not in a function)
./spawn.h:162: error: 'POSIX_SPAWN_SETSCHEDULER' undeclared here (not in a function)
make[3]: *** [execute.o] Error 1
make[3]: Leaving directory `/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/work/m4-1.4.14/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/work/m4-1.4.14/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/work/m4-1.4.14'
make: *** [all] Error 2
 * ERROR: sys-devel/m4-1.4.14-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called call-ebuildshell 'src_compile'
 *   environment, line 263:  Called src_compile
 *   environment, line 2341:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =sys-devel/m4-1.4.14-r1',
 * the complete build log and the output of 'emerge -pqv =sys-devel/m4-1.4.14-r1'.
 * The complete build log is located at '/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/temp/environment'.
 * S: '/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/work/m4-1.4.14'

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

>>>  '/Volumes/Cache/portage/tmp/portage/sys-devel/m4-1.4.14-r1/temp/build.log'
Comment 1 coderoar 2010-05-18 13:34:58 UTC
Created attachment 231975 [details]
complete build log
Comment 2 coderoar 2010-05-18 13:35:37 UTC
Created attachment 231977 [details]
ebuild environment file
Comment 3 coderoar 2010-05-18 13:37:07 UTC
 $ emerge --info
Portage 2.2.00.15842-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-32bit
Timestamp of tree: Tue, 18 May 2010 12:38:18 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p38
dev-lang/python:     2.6.5-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="~x86-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-apple-darwin9"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="i686-apple-darwin9"
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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/Volumes/Cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS=""
PKGDIR="/Users/l/Gentoo/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9 -e"
PORTAGE_CONFIGROOT="/Users/l/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="/Volumes/Cache/portage/tmp"
PORTDIR="/Users/l/Gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aac aqua bash-completion bzip2 cjk coreaudio cracklib curl cxx exif expat flac gif gmp gnutls iconv idn ipv6 jpeg lcms lzma lzo mmx mmxext modules mp3 mpeg ncurses nls objc objc++ ogg pcre pdf perl png prefix python raw readline sasl socks5 sse sse2 ssl svg threads tiff truetype unicode vim-syntax wmf x86-macos xml zlib" 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="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

 $ emerge -pqv =sys-devel/m4-1.4.14-r1
[ebuild   R   ] sys-devel/m4-1.4.14-r1  USE="-examples"
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-18 13:51:44 UTC
Thanks, same as bug 320131

*** This bug has been marked as a duplicate of bug 320131 ***