I am using GCC 5.2 and I am want to emerge /dev-lang/perl-5.20.2-r1 but it hangs forever after testin whether the system cross-sompiles or not. >>> Emerging (1 of 1) dev-lang/perl-5.20.2-r1::gentoo * perl-5.20.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * perl-5.20.2-patches-2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Creating checksum index... * THREADS WARNING: * PLEASE NOTE: You are compiling perl-5.20.2 with * interpreter-level threading enabled. * Threading is not supported by all applications * that compile against perl. You use threading at * your own discretion. * TOGGLED USE-FLAGS WARNING: * You changed one of the use-flags ithreads or debug. * You must rebuild all perl-modules installed. * Use: perl-cleaner --modules ; perl-cleaner --force --libperl >>> Unpacking source... >>> Unpacking perl-5.20.2.tar.bz2 to /tmp/portage/dev-lang/perl-5.20.2-r1/work >>> Unpacking perl-5.20.2-patches-2.tar.xz to /tmp/portage/dev-lang/perl-5.20.2-r1/work >>> Source unpacked in /tmp/portage/dev-lang/perl-5.20.2-r1/work >>> Preparing source in /tmp/portage/dev-lang/perl-5.20.2-r1/work/perl-5.20.2 ... * Applying patches from perl-5.20.2-2 ... * gentoo/hints_hpux.diff ... [ ok ] * gentoo/aix_soname.diff ... [ ok ] * gentoo/EUMM-RUNPATH.diff ... [ ok ] * gentoo/config_over.diff ... [ ok ] * gentoo/opensolaris_headers.diff ... [ ok ] * gentoo/patchlevel.diff ... [ ok ] * gentoo/cpanplus_definstalldirs.diff ... [ ok ] * gentoo/cleanup-paths.diff ... [ ok ] * gentoo/enc2xs.diff ... [ ok ] * gentoo/enc2xs_checksums.diff ... [ ok ] * gentoo/darwin-cc-ld.diff ... [ ok ] * gentoo/cpan_definstalldirs.diff ... [ ok ] * gentoo/interix.diff ... [ ok ] * gentoo/create_libperl_soname.diff ... [ ok ] * gentoo/mod_paths.diff ... [ ok ] * gentoo/EUMM_delete_packlist.diff ... [ ok ] * gentoo/drop_fstack_protector.diff ... [ ok ] * gentoo/usr_local.diff ... [ ok ] * gentoo/D-SHA-CFLAGS.diff ... [ ok ] * gentoo/io_socket_ip_tests.diff ... [ ok ] * debian/cpan-missing-site-dirs.diff ... [ ok ] * debian/regcomp-mips-optim.diff ... [ ok ] * debian/perldoc-less-R.diff ... [ ok ] * debian/makemaker-pasthru.diff ... [ ok ] * fixes/net_smtp_docs.diff ... [ ok ] * fixes/memoize_storable_nstore.diff ... [ ok ] * fixes/document_makemaker_ccflags.diff ... [ ok ] * fixes/gcc5.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /tmp/portage/dev-lang/perl-5.20.2-r1/work/perl-5.20.2 ... First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Checking for cross-compile No targethost for running compiler tests against defined, running locally Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. aix dynix irix_6 nonstopux sunos_4_0 aix_3 dynixptx irix_6_0 openbsd sunos_4_1 aix_4 epix irix_6_1 opus super-ux altos486 esix4 isc os2 svr4 amigaos fps isc_2 os390 svr5 atheos freebsd linux-android os400 ti1500 aux_3 freemint linux posix-bc ultrix_4 bitrig genix lynxos powerux umips bsdos gnu midnightbsd qnx unicos catamount gnukfreebsd mips riscos unicosmk convexos gnuknetbsd mirbsd sco unisysdynix cxux greenhills mpc sco_2_3_0 utekv cygwin haiku ncr_tower sco_2_3_1 uwin darwin hpux netbsd sco_2_3_2 vos dcosx i386 newsos4 sco_2_3_3 dec_osf interix next_3 sco_2_3_4 dos_djgpp irix_4 next_3_0 solaris_2 dragonfly irix_5 next_4 stellar Which of these apply, if any? [linux] You appear to have ELF support. I'll try to use it for dynamic loading. If dynamic loading doesn't work, read hints/linux.sh for further information. ^C Exiting on signal 2 sandbox:stop caught signal 2 in pid 28595 sandbox:stop signal already caught and busy still cleaning up! /usr/portage/dev-lang/perl/perl-5.20.2-r1.ebuild: src_configure aborted; exiting. The longest I've ever waited is a whole day, after I tried to emerge -e @system and it never got through perl's installation.
Created attachment 413730 [details] emerge --info
Not able to reproduce sorry. 5.20.2-r1 and gcc 5.2 appear to pass compile check for me. Here's the subsequent lines I get in case they give you some idea what you need to be looking for: --- Which of these apply, if any? [linux] You appear to have ELF support. I'll try to use it for dynamic loading. If dynamic loading doesn't work, read hints/linux.sh for further information. /usr/bin/nm: /usr/lib64/libdb.so: no symbols Operating system name? [linux] Operating system version? [4.2.0-gentoo-r1] Installation prefix to use? (~name ok) [/usr] AFS does not seem to be running... --- But otherwise, if it gets stuck there for more than even 1 minute, abort it. That should be almost a blur. =) Otherwise, knowing exactly what process is blocking/dead looping will be hugely enlightening.
(In reply to Kent Fredric from comment #2) > Otherwise, knowing exactly what process is blocking/dead looping will be > hugely enlightening. csh was the problem. I ran htop and noticed that under emerge's proccess there was something like: /usr/bin/csh $version or something like this. I thougth that this should return sometime but it just waited like forever. Updating to app-shells/tcsh-6.18.01-r4 solved the problem. Perl compiles as usual and now I will give it a shot with LTO and gcc 5.2 Thanks for the hint. Really helpfull and htop with tree-like view of proccesses made the trick.
(In reply to Petros from comment #3) > (In reply to Kent Fredric from comment #2) > > > Otherwise, knowing exactly what process is blocking/dead looping will be > > hugely enlightening. > > csh was the problem. Which shell did you exactly use?
I am using bash. --- # emerge --info | grep bash sh bash 4.3_p42 app-shells/bash: 4.3_p42::gentoo ......... ---
tcsh-6.20.00 is stable now, so that likely resolves this bug.
(In reply to Fabian Groffen from comment #6) > tcsh-6.20.00 is stable now, so that likely resolves this bug. And perl-5.20 is also gone.