Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329775 - dev-lang/perl-5.12.1-r1 - sh: line 1: 28807 Segmentation fault /tmp/portage/dev-lang/perl-5.12.1-r1/work/perl-5.12.1/miniperl "-I../lib" "tmp28805A" 2>&1
Summary: dev-lang/perl-5.12.1-r1 - sh: line 1: 28807 Segmentation fault /tmp/port...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-25 09:19 UTC by georgi
Modified: 2010-07-31 07:20 UTC (History)
0 users

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


Attachments
Error output (Error.txt,25.51 KB, text/plain)
2010-07-25 09:19 UTC, georgi
Details
Complete build log (build.log,92.11 KB, text/plain)
2010-07-31 04:36 UTC, georgi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georgi 2010-07-25 09:19:04 UTC
A similar error happens if I try to rebuild the version I already have: perl-5.10.1. Let me know if you want me to post the output of that.


emerge --info

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 25 Jul 2010 08:30:16 +0000
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/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.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       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="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/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 -O2 -pipe"
DISTDIR="/tmp"
EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps y --alphabetical"
FEATURES="assume-digests distlocks fixpackages news protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/oss-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi adns aesicm akonadi alisp alsa amd64 amr amrnb amrwb archive assistant asyncns audiofile ayatana bash-completion bios bluetooth boost branding bzip2 cairo calendar captury cdda cdinstall cdio celt cgraph chm cli consolekit context cracklib crypt css curl cxx cyrillic dbus dhcp dirac djbfft djvu doc dri dts dvd dvdr dvdread dvipdfm dynamic eap-tls ebook embedded emovix encode exif extra extrafilters extras faac faad fam fame fbcondecor ffmpeg fftw firefox fits flac fluidsynth fontconfig fontforge fpx fts3 games gcrypt gd gdbm gif git glib glitz gnuplot gnutls gpg graphics graphviz gs gtk hdri hpn htmlhandbook http humanities hyperestraier ical iconv icu id3tag idea idn imagemagick inotify ipv6 jabber jadetex java java6 javascript jbig jce jingle joystick jpeg jpeg2k jsapi kde kig-scripting kipi konqueror kpathsea ktts ladspa lame latex latex3 lcdfilter lcms libass libedit libffi libgcrypt libnotify libssh2 libtiger libwww lm_sensors lzo mad matroska mbrola mem-scramble mercurial mjpeg mmap mmx mmxext mng mod modplug modules mp3 mp4 mpeg mtp mudflap multilib musepack music ncurses network network-cron nls nptl nptlonly nsplugin nuv odbc offensive ogg omega openal openexr opengl openmp optimized-qmake oscar pam pango paste64 pcre pdf pg-intdatetime phonon pic plasma plotutils png policykit postgres postproc ppds pppd projectm pstricks pth publishers pulseaudio python python3 qemu qt3support qt4 qtscript quicktime rdesktop readline realtime reflection rle rss rtmp rtsp sasl schroedinger science sdl sdl-image secure-delete semantic-desktop session sip sipim slang smp sndfile sound soundtouch speex spell spl sql sqlite sqlite3 srtp sse sse2 sse3 ssl ssse3 startup-notification stats stream subversion svg symlink sysfs system-sqlite theora threads tidy tiff toolbar truetype udev unicode usb utempter vaapi vamp vcd vde vdpau video vlc vlm vnc vorbis vorbis-psy vpx wav wavpack webkit wideband wmf x264 xcb xcomposite xetex xforms xml xmlpatterns xmp xorg xscreensaver xulrunner xv xvid xvmc zip zlib zrtp" ALSA_CARDS="virtuoso" 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" CAMERAS="none" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" SANE_BACKENDS="none" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 georgi 2010-07-25 09:19:28 UTC
Created attachment 240089 [details]
Error output
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-07-29 19:24:59 UTC
Yes, please attach the full output for perl-5.12.1.
Comment 3 georgi 2010-07-31 04:36:55 UTC
Created attachment 240767 [details]
Complete build log
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-07-31 06:37:12 UTC
Configure: line 3089: /usr/lib64/portage/bin/ebuild-helpers/sed: Permission denied

What is /usr/lib64/portage/bin/ebuild-helpers/sed ?
Comment 5 georgi 2010-07-31 06:43:21 UTC
$ ls -l /usr/lib64/portage/bin/ebuild-helpers/sed 
-rwx------ 1 root root 616 Jun  2 01:47 /usr/lib64/portage/bin/ebuild-helpers/sed

$ file /usr/lib64/portage/bin/ebuild-helpers/sed 
/usr/lib64/portage/bin/ebuild-helpers/sed: regular file, no read permission

$ sudo file /usr/lib64/portage/bin/ebuild-helpers/sed 
/usr/lib64/portage/bin/ebuild-helpers/sed: Bourne-Again shell script text executable
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2010-07-31 06:58:20 UTC
(In reply to comment #5)
> $ sudo file /usr/lib64/portage/bin/ebuild-helpers/sed 
> /usr/lib64/portage/bin/ebuild-helpers/sed: Bourne-Again shell script text
> executable

I am sure that portage never installed this ebuild-helper. I guess this breaks your perl.
Comment 7 georgi 2010-07-31 07:01:40 UTC
Well, I have no idea what installed it, or what a build helper is. Is there a proper way to fix this problem on my end? Thanks :)
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2010-07-31 07:09:54 UTC
`qfiĺe /usr/lib64/portage/bin/ebuild-helpers/sed` 
`qfiĺe /usr/lib/portage/bin/ebuild-helpers/sed`
(qfile from app-portage/portage-utils)
should show you which package installed this file (if it was installed by an ebuild).

Then have a look at the script. What does it do?

Are there more scripts in ebuild-helpers/ not installed by portage?
Comment 9 georgi 2010-07-31 07:20:40 UTC
There seem to be no other scripts not installed by portage or with strange permissions like this one. There is another script there called dosed. I assume that sed is just some old file somehow left over from a previous portage version. I deleted it and perl builds just fine.

Thank you for your help and quick responses!