Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562238 - =dev-lang/perl-5.20.2-r1: configure hangs when tcsh is present
Summary: =dev-lang/perl-5.20.2-r1: configure hangs when tcsh is present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-04 15:55 UTC by Petros
Modified: 2017-03-17 21:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,28.76 KB, text/plain)
2015-10-04 15:57 UTC, Petros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petros 2015-10-04 15:55:47 UTC
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.
Comment 1 Petros 2015-10-04 15:57:20 UTC
Created attachment 413730 [details]
emerge --info
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-10-04 21:26:23 UTC
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.
Comment 3 Petros 2015-11-16 11:58:16 UTC
(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.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2015-11-22 22:17:47 UTC
(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?
Comment 5 Petros 2015-11-23 15:15:13 UTC
I am using bash.

---
# emerge --info | grep bash
sh bash 4.3_p42
app-shells/bash:          4.3_p42::gentoo
.........

---
Comment 6 Fabian Groffen gentoo-dev 2017-02-21 07:33:40 UTC
tcsh-6.20.00 is stable now, so that likely resolves this bug.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2017-03-17 21:20:11 UTC
(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.