Portage 2.1_rc2-r1 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-beyond4.1 x86_64) ================================================================= System uname: 2.6.16-beyond4.1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -m3dnow -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/service" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -m3dnow -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://ibiblio.org/pub/Linux/MIRRORS.html " LANG="it_IT@euro" LC_ALL="it_IT" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 3dnow 3dnowext X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 bzlib caps cdparanoia cdr cli cpudetection crypt css ctype cups curl dbm dbus dbx dga divx4linux dri dts dv dvb dvd dvdr dvdread eds emboss emul-linux-x86 encode examples exif expat fame fbcon ffmpeg fftw flac flash foomaticdb fortran freetype ftp gb gd gdbm gif gimpprint glitz glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn ieee1394 imagemagick imap imlib innodb ipv6 isdnlog jack jasper java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux lcms ldap lesstif libcaca libedit libgda libwww live lm_sensors logitech logitech-mouse lzo lzw lzw-tiff mad mailwrapper matroska mbox mhash mikmod mime mmap mmx mmx2 mmxext mng mozilla mp3 mpeg mplayer msn musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl oss pcmcia pcre pdf pdflib perl php plotutils png posix postgres ppds pppd python qt quicktime readline real reflection rtc samba sasl scanner sdl session sharedext sharedmem simplexml slang sndfile snmp soap sockets sox spell spl sqlite sse sse2 ssl sumlink svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vidix visualization vorbis wifi win32codecs wmf wxwindows xanim xcomposite xface xine xinerama xml xml2 xmlrpc xorg xosd xpm xscreensaver xsl xv xvid xvmc zeroconf zlib elibc_glibc linguas_it userland_GNU video_cards_ati video_cards_radeon" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Hi. I can't emerge PEAR-PhpDocumentor. If I try, here are the results: Calculating dependencies ... done! >>> Emerging (1 of 1) dev-php/PEAR-PhpDocumentor-1.3.0_rc5 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking PhpDocumentor-1.3.0RC5.tgz ;-) >>> Unpacking source... >>> Unpacking PhpDocumentor-1.3.0RC5.tgz to /var/tmp/portage/PEAR-PhpDocumentor-1.3.0_rc5/work tar: A lone zero block at 25955 >>> Source unpacked. >>> Compiling source in /var/tmp/portage/PEAR-PhpDocumentor-1.3.0_rc5/work/PhpDocumentor-1.3.0RC5 ... >>> Source compiled. >>> Test phase [not enabled]: dev-php/PEAR-PhpDocumentor-1.3.0_rc5 >>> Install PEAR-PhpDocumentor-1.3.0_rc5 into /var/tmp/portage/PEAR-PhpDocumentor-1.3.0_rc5/image/ category dev-php /usr/portage/eclass/php-pear-r1.eclass: line 42: 8905 Segmentation fault pear -d php_bin="${PHP_BIN}" install --force --loose --nodeps --offline --packagingroot="${D}" "${S}/package.xml" >/dev/null !!! ERROR: dev-php/PEAR-PhpDocumentor-1.3.0_rc5 failed. Call stack: ebuild.sh, line 1527: Called dyn_install ebuild.sh, line 1005: Called src_install ebuild.sh, line 1240: Called php-pear-r1_src_install php-pear-r1.eclass, line 66: Called die !!! Unable to install PEAR package !!! If you need support, post the topmost build error, and the call stack if relevant. My php is 5.1.4, with CLI and Apache2
Did you try some other pear ebuilds? Since it's pear segfaulting on you, I don't really think it's PEAR-PhpDocumentor issue. ;)
Yes, you're right. It's a PEAR problem (I tried PEAR-Benchmark and the same segfault appears)
(In reply to comment #2) > Yes, you're right. It's a PEAR problem (I tried PEAR-Benchmark and the same > segfault appears) Well, so - which PEAR-PEAR version exactly? You might also want to re-emerge php and PEAR-PEAR.
Well, for various reasons I emerged php three times between yesterday and today. I just reemerged PEAR (1.4.9-r1) and here are the results: [...] >>> Original instance of package unmerged safely. Channel "pear.php.net" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13879 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel pear.php.net channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13883 Segmentation fault (core dumped) pear channel-update ${chan} Channel "pecl.php.net" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13890 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel pecl.php.net channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13891 Segmentation fault (core dumped) pear channel-update ${chan} Channel "components.ez.no" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13898 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel components.ez.no channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13899 Segmentation fault (core dumped) pear channel-update ${chan} Channel "pear.phpdb.org" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13909 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel pear.phpdb.org channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13910 Segmentation fault (core dumped) pear channel-update ${chan} Channel "pear.phing.info" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13917 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel pear.phing.info channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13918 Segmentation fault (core dumped) pear channel-update ${chan} Channel "pear.symfony-project.com" is already initialized /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13928 Segmentation fault (core dumped) pear channel-discover ${chan} Retrieving channel.xml from remote server Channel pear.symfony-project.com channel.xml is up to date /usr/portage/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild: line 129: 13929 Segmentation fault (core dumped) pear channel-update ${chan} >>> Regenerating /etc/ld.so.cache... >>> dev-php/PEAR-PEAR-1.4.9-r1 merged. [...] I wasn't able to locate the core file, sorry. (If you have idea of which directory I have to look at, please tell me.)
Hi, I see you have the "tidy" USE flag enabled (that enables the PHP Tidy extension)... In the forums a lot of people had similar problems (not being able to emerge PEAR pacakges) and some fixed it with removing the "tidy" USE flag and recompiling dev-lang/php. I myself was never able to reproduce this problems, but it's worth a shot... Since I added a patch for the Tidy extension to dev-lang/php-5.1.4-r4 (which should hit the mirrors in a few hours), please first try just to emerge this new&updated dev-lang/php release. If it still doesn't work, try re-emerging it again with the "tidy" USE flag disabled (but, as I said, first try with keeping it enabled on the new release, as it _should_ fix the issue!). Best regards, CHTEKK.
Wow perfect! With your patch everything went well and I was able to install several PEAR packages without disabling the tidy use flag. Thank you very much! I'm setting the resolution of this bug to fixed then.