Compiling @system in a chroot, hangs at pth with: (...) Machine Context Implementation: checking for ucontext.h... yes checking for makecontext... yes checking for swapcontext... yes checking for getcontext... yes checking for setcontext... yes checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes checking for signal.h... (cached) yes checking for sigsetjmp... no checking for siglongjmp... yes checking for setjmp... yes checking for longjmp... yes checking for _setjmp... yes checking for _longjmp... yes checking for sigaltstack... yes checking for sigstack... yes checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj checking for typedef stack_t... (cached) yes checking for direction of stack growth... down checking for makecontext... (cached) yes checking for stack setup via makecontext... ok checking for sigaltstack... (cached) yes checking for typedef stack_t... (cached) yes checking for stack setup via sigaltstack... (...) # emerge --info Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.11.6-gentoo x86_64) ================================================================= System uname: Linux-3.11.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2 KiB Mem: 8168268 total, 1251692 free KiB Swap: 0 total, 0 free Timestamp of tree: Sun, 03 Nov 2013 09:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.2.5-r3 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.13.4, 1.14 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.11 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe" DISTDIR="/var/cache/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tiscali.nl/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/var/cache/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage" PORTDIR_OVERLAY="" USE="X a52 aac acl acpi alsa amd64 amr berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus device-mapper dirac dlna dmraid dri dts dvb dvd dvdr dxva2 eds emboss encode evo examples exif faac fam fat firefox flac fortran fuse g3dvl garmin gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gps gsm gstreamer gtk gtk3 hfs iconv introspection ipv6 jfs jpeg jpeg2k kde latex lcms ldap libnotify libsecret lirc live lm_sensors mad mdadm mmx mng modules mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses networkmanager nls nptl ntfs nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline reiser4 reiserfs schroedinger sdl semantic-desktop sendto session smp socialweb spell sse sse2 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vala vdpau vorbis wmf wxwidgets x264 xattr xcb xfs xml xpm xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON Reproducible: Always
See also: https://bugs.gentoo.org/show_bug.cgi?id=131234
I don't have the problem outside of the chroot.
Since it works on the live setup the problem lies with the host that chroots. What is the host environment? Is it the installation medium? Something Gentoo? Please note that patched NVIDIA drivers with Linux 3.11 aren't supported.
Although I knew about those issues with the nVidia drivers, I apparently did not think of that. The configure step does not hang after I unload the nvidia.ko kernel module. Still, I don't understand why the "host" enviroment does not have that problem, even with that driver loaded.
Not sure if this is considered to be a duplicate; but because you run an unsupported combination, I am not sure if we can help you. You are adviced to report this to NVIDIA as well as try to reproduce this on older kernels, see bug #487558 for more instructions.
I ran into this while doing an emerge -e @world Machine Context Implementation: checking for ucontext.h... yes checking for makecontext... yes checking for swapcontext... yes checking for getcontext... yes checking for setcontext... yes checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes checking for signal.h... (cached) yes checking for sigsetjmp... no checking for siglongjmp... yes checking for setjmp... yes checking for longjmp... yes checking for _setjmp... yes checking for _longjmp... yes checking for sigaltstack... yes checking for sigstack... yes checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj checking for typedef stack_t... (cached) yes checking for direction of stack growth... down checking for makecontext... (cached) yes checking for stack setup via makecontext... ok checking for sigaltstack... (cached) yes checking for typedef stack_t... (cached) yes checking for stack setup via sigaltstack... sb2600 ~ # emerge --info Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.17, 3.10.18-gentoo x86_64) ================================================================= System uname: Linux-3.10.18-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16396876 total, 10324164 free KiB Swap: 4194300 total, 4194300 free Timestamp of tree: Tue, 26 Nov 2013 08:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r4, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0 sys-kernel/linux-headers: 3.10 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo Installed sets: @mybase, @mydesktop, @myfonts, @mygnome, @mylxde, @mymedia, @mynvidia, @myoffice, @myscoring, @mysecurity, @mysplash, @mystandard, @myvirtual, @mywireless, @myx64, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/neatx/home" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=8.1 --keep-going --with-bdeps=y --complete-graph" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--progress" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli colord cracklib crypt cups curl cxx dbus device-mapper dri dts dvd dvdr dvi eds emboss encode escreen evo exif fam ffmpeg firefox flac fontconfig foomaticdb fortran fuse gd gdbm gif gimp glib glibc-omitfp gmp gnome gnome-keyring gnome-online-accounts gnuplot gphoto2 gpm graphviz gstreamer gtk gtk3 iconv id3tag ieee1394 ifp imagemagick imlib inotify introspection iproute2 ipv6 ithreads java jpeg jpeg2k lame laptop latex lcms ldap libnotify libsecret libwww lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib mysql mysqli nautilus ncurses nls nptl nsplugin offensive ogg openal openexr opengl openmp pam pango pcre pdf pdo perl php plotutils png policykit posix ppds pulseaudio python qt3support qt4 quicktime rar rdp readline real rtc samba scanner sdl session sift skins smbclient sndfile socialweb spell sqlite sse sse2 sse41 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff transcode truetype twolame udev udisks unicode upower usb v4l vcd vdpau vhosts vim-with-x vorbis webkit win32codecs wmf wxwidgets wxwindows x264 xcb xcomposite xinerama xml xpm xscreensaver xulrunner xv xvid zeroconf zip zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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 authn_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 logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON sb2600 ~ # emerge -pv nvidia-drivers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/nvidia-drivers-331.20 USE="X acpi (multilib) tools -pax_kernel" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB
*** This bug has been marked as a duplicate of bug 487558 ***