Hi, building app-misc/screen-4.2.1-r2 with >= 7 jobs (--jobs 7) fails for me on multiple machines/setups: * Package: app-misc/screen-4.2.1-r2 * Repository: gentoo * Maintainer: swegener@gentoo.org shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking screen-4.2.1.tar.gz to /var/tmp/portage/app-misc/screen-4.2.1-r2/work >>> Source unpacked in /var/tmp/portage/app-misc/screen-4.2.1-r2/work >>> Preparing source in /var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1 ... * Applying 4.0.2-no-utempter.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: screen-4.2.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-socket-dir=/tmp/screen --with-sys-screenrc=/etc/screenrc --with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc --enable-telnet --enable-colors256 --enable-pam configure: loading site script /usr/share/config.site this is screen version 4.2.1 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for library containing strerror... none required checking for ANSI C header files... yes 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 whether it is safe to define __EXTENSIONS__... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c configure: checking for buggy tools... - sh is 'GNU bash, version 4.2.47(1)-release (x86_64-pc-linux-gnu)'. checking if a system-wide socket dir should be used... yes checking for the socket dir... "/tmp/screen" configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking dwarf.h usability... yes checking dwarf.h presence... yes checking for dwarf.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setresuid... configure: checking setreuid... configure: checking seteuid... configure: checking execvpe... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - both sockets and fifos usable. let's take sockets. configure: checking select return value... - select is ok configure: checking for tgetent... configure: checking libcurses... - you use the terminfo database configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... yes configure: checking for ptyranges... configure: checking getutent... configure: checking ut_host... configure: checking for libutil(s)... configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... configure: checking crypt... configure: checking IRIX sun library... configure: checking syslog... configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... checking for long file names... yes checking for vsprintf... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for setenv... checking for nl_langinfo(CODESET)... yes checking for library containing gethostname... none required checking for rename... yes checking for fchmod... yes checking for fchown... yes checking for strerror... yes checking for lstat... yes checking for _exit... yes checking for utimes... yes checking for vsnprintf... yes checking for getcwd... yes checking for setlocale... yes checking for strftime... yes checking for PAM support... yes checking for the global screenrc file... configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing default commands Now please check the pathnames in the Makefile and in the user configuration section in config.h. Then type 'make' to make screen. Good luck. make -j7 term.h AWK=gawk srcdir=. sh ./term.sh make -j7 osdef.h CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh make -j7 -C doc screen.info make: Entering directory '/var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1/doc' make: 'screen.info' is up to date. make: Leaving directory '/var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1/doc' >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1 ... make -j7 AWK=gawk CC="x86_64-pc-linux-gnu-gcc -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE" srcdir=. sh ./comm.sh sh ./tty.sh tty.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE term.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE putenv.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE kmapdef.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE list_generic.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE list_display.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \ -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -D_GNU_SOURCE list_window.c list_window.c: In function ‘window_kill_confirm’: list_window.c:121:12: error: ‘RC_KILL’ undeclared (first use in this function) act.nr = RC_KILL; ^ list_window.c:121:12: note: each undeclared identifier is reported only once for each function it appears in Makefile:82: recipe for target 'list_window.o' failed make: *** [list_window.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: app-misc/screen-4.2.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/screen-4.2.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/screen-4.2.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:screen-4.2.1-r2:20140826-114015.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/screen-4.2.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/screen-4.2.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1' * S: '/var/tmp/portage/app-misc/screen-4.2.1-r2/work/screen-4.2.1' # emerge --info =app-misc/screen-4.2.1-r2 Portage 2.2.12 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.15.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.15.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2 KiB Mem: 4043224 total, 2893312 free KiB Swap: 1048572 total, 1048572 free Timestamp of tree: Mon, 25 Aug 2014 14:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p47 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.15 (virtual/os-headers) sys-libs/glibc: 2.19-r1 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-int el intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm aut hn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config log io mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-act ive/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-t bm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic " DEFAULT_ABI="amd64" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafile s ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown- features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GCC_SPECS="" IUSE_IMPLICIT="abi_x86_64 prefix" KERNEL="linux" LANG="en_US.UTF-8" MAKEOPTS="--jobs 6" MULTILIB_ABIS="amd64 x86" ================================================================= Package Settings ================================================================= app-misc/screen-4.2.1-r2 was built with the following: USE="pam -debug -multiuser -nethack (-selinux)" ABI_X86="64"
comm.h needs to be generated before screen is compiled. --- screen-4.2.1-r2.ebuild 23 Aug 2014 09:14:27 -0000 1.2 +++ screen-4.2.1-r2.ebuild 26 Aug 2014 16:07:14 -0000 1.3 @@ -67,11 +67,14 @@ src_configure() { --enable-telnet \ --enable-colors256 \ $(use_enable pam) +} - LC_ALL=POSIX emake term.h +src_compile() { + LC_ALL=POSIX emake comm.h term.h emake osdef.h emake -C doc screen.info + default } src_install() { That's committed. Please try again to see if I missed one.
Looks good. With the updated ebuild I am unable to reproduce the reported problem. Thank you!