Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330087 - net-analyzer/sara-7.8.4 - "Ok, trying to find perl5 now... hang on a bit..." hangs
Summary: net-analyzer/sara-7.8.4 - "Ok, trying to find perl5 now... hang on a bit..." ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.12.1
  Show dependency tree
 
Reported: 2010-07-27 15:29 UTC by Andrew Savchenko
Modified: 2011-01-20 06:28 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,181.93 KB, text/plain)
2010-07-27 15:30 UTC, Andrew Savchenko
Details
environment (environment,10.95 KB, text/plain)
2010-07-27 15:30 UTC, Andrew Savchenko
Details
adds a simple rule for perl 5.12 style version printout (sara-7.8.4-perl5.12.patch,650 bytes, patch)
2010-09-07 22:00 UTC, Arttu Valo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2010-07-27 15:29:45 UTC
Hello,

build of sara-7.8.4 hangs forever at this point:
perl reconfig
checking to make sure all the target(s) are here...
Ok, trying to find perl5 now... hang on a bit...

Here is a part of pstree relate to the build process:
emerge───sandbox───ebuild.sh───ebuild.sh───make───make───perl───sh─┬─awk
                                                                   └─perlbug
$ ps ax | grep awk
29013 pts/14   SN+    0:00 sh -c (/usr/bin/perlbug -v 2> /dev/null) |?????awk '/This is perl, version 5/ { print  }'
29015 pts/14   SN+    0:00 awk /This is perl, version 5/ { print  }
$ ps ax | grep perlbug
29013 pts/14   SN+    0:00 sh -c (/usr/bin/perlbug -v 2> /dev/null) |?????awk '/This is perl, version 5/ { print  }'
29014 pts/14   SN+    0:00 /usr/bin/perl /usr/bin/perlbug -v

The only way to stop this is to kill make process.

$ emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34.1-yoruichi i686)
=================================================================
System uname: Linux-2.6.34.1-yoruichi-i686-AMD_Athlon-tm-_XP_3200+-with-gentoo-2.0.1
Timestamp of tree: Sat, 24 Jul 2010 07:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.3.6-r1, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m32 --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictiv
e-commoning -fgcse-after-reload -fomit-frame-pointer -ftree-loop-linear -floop-interchange -floop-strip-mine -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-reb
uild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -m32 --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -O2 -funswitch-loops -fpredict
ive-commoning -fgcse-after-reload -fomit-frame-pointer -ftree-loop-linear -floop-interchange -floop-strip-mine -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=athlon-xp -m32 --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -fomit-frame-pointer -ftree-loop-linear -floop-interchange -floop-strip-mine -mfpmath=sse -pipe"
GENTOO_MIRRORS=" ftp://orionis/distributions/1Linux/gentoo/portage ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru/gentoo-distfiles  ftp://ftp.corbina.net/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://mirror.netcologne.de/gentoo"
LANG="en_US.UTF-8" 
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en ja" 
MAKEOPTS="-j4 --load-average=5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/science /var/lib/layman/java-overlay /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi adns afs aften aim aio alsa amr amrnb amrwb ao artworkextra audiofile bash-completion bcmath bidi binfilter blas bluetooth branding bzip2 cairo calendar caps ccache cddb cdinstall cdparanoia cdr chasen chm cjk cleartype cli clisp colordiff cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx cyrillic dbus device-mapper dga dhcp dia dirac directfb djvu dmx doc dri dts dv dvd dvdr dvdread dvi ebook editor elf emf enca encode enscript ermt examples exif expat faac faad fbcon festival ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran fpx freetds freetype ftp gcj gcrypt gd gdbm geoip ggi gif gimp ginac git glibc-omitfp glitz glut gmp gnuplot gnutls gpgme gphoto2 gpm gps graphite graphviz gs gsl gsm gtk gucharmap h224 h281 h323 hdf5 hdri iconv icq icu id3tag idn imagemagick imap imlib immqt-bc inkjar ipod iproute2 ipv6 jabber jack jadetex java6 javascript jbig jingle jpeg jpeg2k kdehiddenvisibility kerberos keyscrub kpathsea kqemu ladspa lame lapack lash latex lcms libcaca libnotify libsamplerate libwww lm_sensors logrotate lzma lzo mad maildir mailwrapper matroska md5sum mhash mikmod mime mjpeg mmap mmx mng modplug modules mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses netcdf network network-cron nls nntp nocd nodrm nptlonly nsplugin nuv objc objc++ offensive ogg openal opencore-amr openexr opengl optimized-qmake oscar otr pam pango pcntl pcre pda pdf perl pgf plotutils png pop portaudio posix postproc postscript ppds pppd pronounce pstricks qt3support qt4 quicktime raw rdesktop readline recode reflection restrict-javascript rfc3779 rle rrdtool samba scanner schroedinger sdl session sharedmem shorten sip sipim slang slp smi smime sms smtp sndfile sockets socks5 soundtouch sox sparse speex spell spl sqlite sqlite3 srtp sse ssl startup-notification strong-optimization subversion supernodal svg svga sysfs syslog szip t1lib taglib tcpd theora tiff timezone timidity tordns truetype twolame type3 unicode usb utempter utils v4l v4l2 vamp vcd videos vim vim-syntax vnc vorbis wav wavpack wifi win32codecs wireshark wmf x264 x86 xattr xcb xface xft xinerama xorg xosd xpm xprint xrandr xscreensaver xv xvid yahoo yaz ziffy zlib" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en ja" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa nouveau" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew Savchenko gentoo-dev 2010-07-27 15:30:34 UTC
Created attachment 240337 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2010-07-27 15:30:47 UTC
Created attachment 240339 [details]
environment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-27 17:13:24 UTC
Could you tell us which version of dev-lang/perl that is?
Comment 4 Andrew Savchenko gentoo-dev 2010-07-27 17:16:41 UTC
(In reply to comment #3)
> Could you tell us which version of dev-lang/perl that is?

perl-5.12.1-r1
Comment 5 Arttu Valo 2010-09-07 22:00:18 UTC
Created attachment 246405 [details, diff]
adds a simple rule for perl 5.12 style version printout

sara-7.8.4 compilation passes with this patch, but the ebuild and build system could use some attention. And upstream claims to have newer releases.
Comment 6 Andrew Savchenko gentoo-dev 2010-09-12 20:50:39 UTC
With the latest sara-7.9.2a this problem is still persists.
But proposed patch does not help: build hangs forever.
Comment 7 Andrew Savchenko gentoo-dev 2010-09-12 21:11:31 UTC
(In reply to comment #6)
> But proposed patch does not help: build hangs forever.

Sorry, it works well, just directory names should be updated in the header.

Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-15 22:14:42 UTC
This blocks Perl 5.12 stabilisation meanwhile.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-17 23:13:51 UTC
(In reply to comment #8)
> This blocks Perl 5.12 stabilisation meanwhile.

 This package will be severely broken anyway.  Upstream development is halted officially for more than one year, it has really bad programming stuff (see GCC warnings), does not respect LDFLAGS, yields some runtime failures like:

# /opt/sara/bin/smb.pl 
bash: /opt/sara/bin/smb.pl: /usr/local/bin/perl5.8.7: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden

# /opt/sara/bin/smb.sara 
Can't locate config/sara.cf in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.2/i686-linux /usr/lib/perl5/site_perl/5.12.2 /usr/lib/perl5/vendor_perl/5.12.2/i686-linux /usr/lib/perl5/vendor_perl/5.12.2 /usr/lib/perl5/5.12.2/i686-linux /usr/lib/perl5/5.12.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at /opt/sara/bin/smb.sara line 31.


Those are stupid.  Additionally it bundles dozens of Perl modules, and all this happens even if I bump to the latest version.  Diego, last-rite?
Comment 10 Torsten Veller (RETIRED) gentoo-dev 2011-01-20 06:28:17 UTC
Removed from the tree.