Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257741 - dev-util/debhelper-7.* hangs running po4a man/po4a/po4a.cfg
Summary: dev-util/debhelper-7.* hangs running po4a man/po4a/po4a.cfg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Debian-related package maintainers [DISBANDED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 275268
  Show dependency tree
 
Reported: 2009-02-05 08:12 UTC by Juergen Rose
Modified: 2014-11-22 22:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-02-05 08:12:52 UTC
'emerge dev-util/debhelper-7.1.1' comes to:
>>> Emerging (4 of 19) dev-util/debhelper-7.1.1
 * debhelper_7.1.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking debhelper_7.1.1.tar.gz to /var/tmp/portage/dev-util/debhelper-7.1.1/work
 * Applying debhelper-7.0.9-conditional-nls.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/debhelper-7.1.1/work
>>> Compiling source in /var/tmp/portage/dev-util/debhelper-7.1.1/work/debhelper ...
make -j3 USE_NLS=yes 'LANGS= fr' build
printf "package Debian::Debhelper::Dh_Version;\n\$version='7.1.1';\n1" > \
                Debian/Debhelper/Dh_Version.pm
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
                -exec pod2man -c Debhelper -r "7.1.1" {} {}.1 \;
cat debhelper.pod | \
                perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { $collect.="=item $1(1)\n\n$2\n\n"; } } END { while (<STD
IN>) { s/#LIST#/$collect/; print; }; }' `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
                pod2man -c Debhelper -r "7.1.1" --name="debhelper" --section=7  > debhelper.7
po4a man/po4a/po4a.cfg

And it needs already more than 3 and a half hour for the last command.


Reproducible: Always




root@vilm:/root(24)# emerge -pvD debhelper
...
Calculating dependencies... done!
[ebuild  N    ] dev-util/debhelper-7.1.1  USE="nls" LINGUAS="fr -es" 0 kB


root@vilm:/root(25)# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29-rc2 i686)
=================================================================
System uname: Linux-2.6.29-rc2-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Thu, 05 Feb 2009 03:40:13 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage/layman/dotnet /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kde kde4 kdeprefix kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska matrox midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis webkit win32codecs wmf wxwindows x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="mga vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


The same also happens on a x86_64 system.
Comment 1 Juergen Rose 2009-02-05 08:23:37 UTC
And po4a uses 100% of CPU.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-02-05 10:17:20 UTC
It looks like bug 219889

I have no clue where it hangs.

Please add --debug to po4a in Makefile, eg add 
sed -i 's:po4a man/po4a/po4a.cfg:po4a --debug man/po4a/po4a.cfg:' "${S}"/Makefile
after
epatch "${FILESDIR}"/${PN}-${PATCH_VER}-conditional-nls.patch
in src_unpack of debhelper-7.1.1.ebuild, then recreate the Manifest and try again.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2009-02-05 10:38:35 UTC
BTW: How do you call emerge?
If i do `emerge -1 debhelper | cat` or tee or redirection it hangs too.
Comment 4 Juergen Rose 2009-02-05 11:42:54 UTC
To comment 3: I did only 'emerge -uvDN world'. Killing po4a and runnung 'emerge -uvDN world' once more the call 'po4a man/po4a/po4a.cfg' was passed. But this problem  with the po4a call during emerging of debhelper has happened on at least four computers. So I mean it is the po4a problem already some times described and never solved and not a RAM problem or something like that.
 

Comment 5 Juergen Rose 2009-02-10 09:51:07 UTC
The situation is now on four of five computers as described in comment #4. At the last computer it hangs already six times since Thursday at
 po4a man/po4a/po4a.cfg
Comment 6 Yuri Vasilevski (RETIRED) gentoo-dev 2009-02-10 21:28:44 UTC
So far I was unable to reproduce this bug. 

My best guess is that there should be some library mismatch that causes the po4a to hang during updates, but now that you have a system where this error is stable, could you please attach the output from `qlist -IUCv`?

So I have a more complete idea on what exactly do you have installed and try to reproduce and debug the problem.
Comment 7 Juergen Rose 2009-04-03 12:24:19 UTC
And now the same behaviour with debhelper-7.1.1-r1. The first attempt hangs endless with 100 % CPU utilization and the second attemp emerges debhelper-7.1.1-r1 in some seconds.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-06 16:07:41 UTC
Which version/revision of app-text/po4a out of the portage tree is that?
Comment 9 Juergen Rose 2009-04-09 11:32:43 UTC
Hi Jeroen,

I can't answer your last question now exactly, because I have now no access to the computer. I assume that it is po4a-0.36 and that is a duplicate of bug 219889.

Regards Juergen
Comment 10 Juergen Rose 2009-06-23 12:42:49 UTC
And now the same problem with debhelper-7.2.16. 'emerge dephelper' hangs at
...
po4a -L UTF-8 man/po4a/po4a.cfg for almost two hours. 'top | head' shows:
top - 14:35:39 up 18:08,  8 users,  load average: 2.68, 3.62, 3.20
Tasks: 231 total,   3 running, 228 sleeping,   0 stopped,   0 zombie
Cpu(s): 16.2%us,  1.2%sy,  1.7%ni, 79.9%id,  0.9%wa,  0.1%hi,  0.0%si,  0.0%st
Mem:   3974756k total,  3474156k used,   500600k free,   218872k buffers
Swap:  8008360k total,    34360k used,  7974000k free,  1188340k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                    
10914 root      20   0  786m 750m 2148 R   84 19.3 120:38.04 perl                                                        
 5116 root      20   0  270m  44m  14m S    6  1.1   5:43.46 X                                                           
 5359 rose      20   0  395m  37m  21m S    2  1.0   1:02.56 gnome-panel                                                 

And perl eats more and more memory (nach 125 min: VIRT 817m, RES 780m).

po4a has version po4a-0.36.
Comment 11 Juergen Rose 2009-08-06 08:42:19 UTC
And now the same problem with debhelper-7.3.9. 'emerge dephelper' hangs at
...
cat debhelper.pod | \
                perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?
) - (.*?)\n\n/s) { $collect.="=item $1(1)\n\n$2\n\n"; } } END { while (<STDIN>) { s/#LIST#/$collect/; print; }; }' `find . -maxdepth 1 -ty
pe f -perm +100 -name "dh_*" | sort` | \
                pod2man -c Debhelper -r "7.3.9" --name="debhelper" --section=7  > debhelper.7
po4a -L UTF-8 man/po4a/po4a.cfg

Top shows me, that perl uses 100% of cpu for more than 30 minutes. So I can only kill the perl job. This was already the second attempt to install debhelper-7.3.9
Comment 12 Torsten Veller (RETIRED) gentoo-dev 2009-08-06 11:43:40 UTC
Can you `strace emerge debhelper`? I still have no clue what's going wrong here.
Comment 13 Juergen Rose 2009-08-06 14:58:53 UTC
I have here one x86_64 and two i686 computers. At the x86_64 I need to three times 'emerge world' to install debhelper-7.3.9, at the both i686 I need at least two times. 
I just did 
strace -f -o strace_emerge_debhelper.log emerge -vD1 debhelper
It finished again without problems, the strace_emerge_debhelper.log has about 80MB. I suppose it is not interesting for you, if the emerge was succesfull. I can try to repeat this command some times, to see if the error comes again.
Comment 14 Torsten Veller (RETIRED) gentoo-dev 2009-09-05 07:08:48 UTC
Please test again with po4a-0.36.4. This version has a workaround for the "problem".
Comment 15 Juergen Rose 2009-09-30 08:19:47 UTC
And now the same problem with debhelper-7.3.13.

top - 10:13:23 up 1 day, 20:58,  7 users,  load average: 2.02, 1.75, 1.51
Tasks: 221 total,   5 running, 216 sleeping,   0 stopped,   0 zombie
Cpu(s): 93.7%us,  6.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st
Mem:   2072616k total,  1941676k used,   130940k free,   600856k buffers
Swap:  6016300k total,    47168k used,  5969132k free,   541584k cached

 PID  USER PR NI  VIRT  RES  SHR S %CPU %MEM TIME+   COMMAND                   
 4978 root 20  0  103m 101m 2064 R 68.6 5.0 25:37.37 perl    
14860 root 20  0 33024  30m 1716 R 11.6 1.5  0:00.35 genlop                  
30354 root 20  0  114m  34m 9004 S  9.9 1.7  9:30.39 X

root@thinkpad:/root(11)# qlist -Iv po4a
app-text/po4a-0.36.4
Comment 16 Juergen Rose 2010-02-16 07:24:15 UTC
And now the same error with debhelper-7.4.13, po4a-0.38 and perl-5.10.1.

'emerge debhelper' comes to:
...
po4a --previous -L UTF-8 man/po4a/po4a.cfg

top shows:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                              
24147 root      40   0  844m 802m 2436 R  100 11.6 133:34.16 perl                                                                                  
Comment 17 Juergen Rose 2010-02-16 07:52:10 UTC
After killing the perl process and doing:

root@condor:/root(163)# strace  -f -o strace_emerge_debhelper emerge debhelper

emerge finished after some seconds successful.
Comment 18 Juergen Rose 2010-02-16 09:08:40 UTC
And now at the second PC,  'emerge -v world':
...
>>> Emerging (4 of 12) dev-util/debhelper-7.4.13
 * debhelper_7.4.13.tar.gz RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-util/debhelper-7.4.13
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux linguas_fr multilib nls userland_GNU
sandbox:main  signal SIGQUIT already had a handler ...

>>> Unpacking source...
>>> Unpacking debhelper_7.4.13.tar.gz to /var/tmp/portage/dev-util/debhelper-7.4.13/work
 * Applying debhelper-7.4.13-conditional-nls.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/debhelper-7.4.13/work
sandbox:main  signal SIGQUIT already had a handler ...

>>> Compiling source in /var/tmp/portage/dev-util/debhelper-7.4.13/work/debhelper ...
make -j1 USE_NLS=yes 'LANGS= fr' build
printf "package Debian::Debhelper::Dh_Version;\n\$version='7.4.13';\n1" > \
                Debian/Debhelper/Dh_Version.pm
cat debhelper.pod | \
                perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { my $item="=item $1(
1)\n\n$2\n\n"; if ($2!~/deprecated/) { $list.=$item; } else { $list_deprecated.=$item; } } } END { while (<STDIN>) { s/#LIST#/$list/; s/#LIST_DEPRECATED#/$list_deprecated/; pri
nt; }; }' `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
                pod2man --utf8 -c Debhelper -r "7.4.13" --name="debhelper" --section=7  > debhelper.7
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
                -exec pod2man --utf8 -c Debhelper -r "7.4.13" {} {}.1 \;
po4a --previous -L UTF-8 man/po4a/po4a.cfg


And top shows:
...
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                               
25024 root      20   0 94480  50m 2436 R  100  1.3   5:48.95 perl                                                   
Comment 19 Juergen Rose 2010-02-16 10:34:32 UTC
And at the third computer I just found:
root@vilm:/root(12)# genlop -c

 Currently merging 158 out of 212

 * dev-util/debhelper-7.4.13 

       current merge time: 19 hours, 31 minutes and 24 seconds.
       ETA: any time now.
Comment 20 Juergen Rose 2010-04-11 04:47:42 UTC
>>> Emerging (8 of 22) dev-util/debhelper-7.4.17
 * debhelper_7.4.17.tar.gz RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-util/debhelper-7.4.17
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux linguas_fr multilib nls userland_GNU
sandbox:main  signal SIGQUIT already had a handler ...

>>> Unpacking source...
>>> Unpacking debhelper_7.4.17.tar.gz to /var/tmp/portage/dev-util/debhelper-7.4.17/work
 * Applying debhelper-7.4.13-conditional-nls.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/debhelper-7.4.17/work
sandbox:main  signal SIGQUIT already had a handler ...

>>> Compiling source in /var/tmp/portage/dev-util/debhelper-7.4.17/work/debhelper ...
make -j1 USE_NLS=yes 'LANGS= fr' build
printf "package Debian::Debhelper::Dh_Version;\n\$version='7.4.17';\n1" > \
                Debian/Debhelper/Dh_Version.pm
cat debhelper.pod | \
                perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\
n\n/s) { my $item="=item $1(1)\n\n$2\n\n"; if ($2!~/deprecated/) { $list.=$item; } else { $list_deprecated.=$item; } } } END { while (<STDIN>) { s/#
LIST#/$list/; s/#LIST_DEPRECATED#/$list_deprecated/; print; }; }' `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
                pod2man --utf8 -c Debhelper -r "7.4.17" --name="debhelper" --section=7  > debhelper.7
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
                -exec pod2man --utf8 -c Debhelper -r "7.4.17" {} {}.1 \;
po4a --previous -L UTF-8 man/po4a/po4a.cfg

And top shows on the first computer:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                         
 7547 root      20   0 1873m 1.8g 2428 R  100 26.5 307:22.97 perl                                                             
21439 root      20   0  162m 133m 1960 R   30  1.9   0:00.90 genlop                                                           
13720 rose      20   0  980m 166m  42m S    2  2.4 111:18.82 firefox                                                          
on the second computer:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                               
 5111 root      20   0 1848m 1.5g 1676 R 99.1 75.8   1282:52 perl                                                   
10057 rose      20   0  2480 1196  864 R  0.7  0.1   0:00.47 top                                                    
on the third computer:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                               
 3293 root      20   0  621m 617m 2216 R 76.6 30.5 206:51.52 perl                                                                                                   
31577 rose      20   0  665m 133m  17m S  8.2  6.6 499:19.46 firefox                                                                                                
on the fourth computer:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                            
25831 root      20   0 5568m 2.8g  576 R 98.6 86.6   1451:16 perl                                                                
    5 root      20   0     0    0    0 S  1.0  0.0  68:28.39 events/0                                                            

on the fiveth computer:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                            
26754 root      40   0  133m 131m 2188 R  100  6.5  50:27.89 perl                                                                                
 1055 root      40   0  2484 1204  864 R    0  0.1   0:00.19 top                                                                                 
and so on.
Comment 21 Juergen Rose 2010-06-25 09:01:49 UTC
And now the same problem with  debhelper-7.9.1.
Comment 22 Juergen Rose 2010-08-29 06:19:15 UTC
And now with debhelper-8.0.0:
...
>>> Emerging (4 of 5) dev-util/debhelper-8.0.0
 * debhelper_8.0.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-util/debhelper-8.0.0
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux linguas_fr nls userland_GNU x86
>>> Unpacking source...
>>> Unpacking debhelper_8.0.0.tar.gz to /var/tmp/portage/dev-util/debhelper-8.0.0/work
 * Applying debhelper-7.4.13-conditional-nls.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/debhelper-8.0.0/work
>>> Compiling source in /var/tmp/portage/dev-util/debhelper-8.0.0/work/debhelper ...
make -j1 USE_NLS=yes 'LANGS= fr' build
printf "package Debian::Debhelper::Dh_Version;\n\$version='8.0.0';\n1" > \
                Debian/Debhelper/Dh_Version.pm
cat debhelper.pod | \
                perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~
m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { my $item="=item $1(1)\n\n$2\n\n"; if ($2!~/deprecated/) { $list.=$item; } else
{ $list_deprecated.=$item; } } } END { while (<STDIN>) { s/#LIST#/$list/; s/#LIST_DEPRECATED#/$list_deprecated/; print
; }; }' `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
                pod2man --utf8 -c Debhelper -r "8.0.0" --name="debhelper" --section=7  > debhelper.7
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
                -exec pod2man --utf8 -c Debhelper -r "8.0.0" {} {}.1 \;
po4a --previous -L UTF-8 man/po4a/po4a.cfg




And in a second window shows top:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                        
 5564 root      20   0 63072  57m 2468 R 90.9  2.9  11:52.77 perl                                            
18930 rose      20   0  830m 209m  26m S  4.0 10.3  84:16.55 firefox                                         
Comment 23 Jani Saarenpää 2010-10-24 16:34:16 UTC
I have exactly the same problem (with paludis). It seems that it hangs in the emerge process but when I:

cd /var/tmp/paludis/dev-util-debhelper-7.0.16/work/debhelpe && make -j5 USE_NLS=yes LANGS= build

like it should do in the emerge it compiles quickly just fine:
-------------
# make -j5 USE_NLS=yes LANGS= build
printf "package Debian::Debhelper::Dh_Version;\n\$version='7.0.16';\n1" > \
		Debian/Debhelper/Dh_Version.pm
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
		-exec pod2man -c Debhelper -r "7.0.16" {} {}.1 \;
cat debhelper.pod | \
		perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { $collect.="=item $1(1)\n\n$2\n\n"; } } END { while (<STDIN>) { s/#LIST#/$collect/; print; }; }' `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
		pod2man -c Debhelper -r "7.0.16" --name="debhelper" --section=7  > debhelper.7
po4a man/po4a/po4a.cfg 
Discard man/es/dh_gconf.pod (10 of 17 strings; only 58.82% translated; need 
80%).
Discard man/es/dh_installmodules.pod (15 of 21 strings; only 71.42% translated; 
need 80%).
Discard man/es/dh_shlibdeps.pod (23 of 30 strings; only 76.66% translated; need 
80%).
Discard man/fr/dh_clean.pod (18 of 23 strings; only 78.26% translated; need 
80%).
Discard man/fr/dh_shlibdeps.pod (23 of 30 strings; only 76.66% translated; need 
80%).
set -e; \
	for lang in ; do \
		dir=man/$lang; \
		for file in $dir/dh*.pod; do \
			prog=`basename $file | sed 's/.pod//'`; \
			pod2man -c Debhelper -r "7.0.16" $file $prog.$lang.1; \
		done; \
		cat $dir/debhelper.pod | \
			perl -e ' undef $/; foreach (@ARGV) { open (IN, $_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) - (.*?)\n\n/s) { $collect.="=item $1(1)\n\n$2\n\n"; } } END { while (<STDIN>) { s/#LIST#/$collect/; print; }; }' `find $dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \
			pod2man -c Debhelper -r "7.0.16" --name="debhelper" --section=7 > debhelper.$lang.7; \
	done
-------------

I do not know much about perl, but it seems that it hangs in /usr/bin/po4a at:

print wrap_msg(gettext("Updating %s:")." ", $po_filename{$lang})
    if ($po4a_opts{"verbose"});

at about line 1070 inside "foreach $lang (sort keys %po_filename) {" block.
It seems that if there is anything else than spaces inputted in "wrap_msg();" it will hang in emerge but not if is done directly through terminal.

Seems a bit strange behavior.
Comment 24 Jani Saarenpää 2010-10-30 18:48:18 UTC
After running:
---
# perl-cleaner --reallyall --leftovers -P paludis
[... recompiling 87 packages ...]
 * The following files remain. These were either installed by hand
 * or edited. This script cannot deal with them.
---
I get a huge list of files no matter what.

I looked through the list and didn't see any files owned by any fatal package. So, I simply erased them and tried to rebuild the packages. Even tough this is not recommended way of doing it, it worked. 

After finishing another
# perl-cleaner --reallyall --leftovers -P paludis
dev-util/debhelper won't compile anymore and I still get the huge list of files.

Seems that a new bug should be opened on perl-cleaner.
Comment 25 Aaron W. Swenson gentoo-dev 2014-11-15 23:11:40 UTC
Is anyone still affected by this?
Comment 26 Andreas K. Hüttel archtester gentoo-dev 2014-11-22 22:03:47 UTC
(In reply to Aaron W. Swenson from comment #25)
> Is anyone still affected by this?

Seems not.