Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264171 - dev-php/PEAR-PEAR fails to install PEAR packages
Summary: dev-php/PEAR-PEAR fails to install PEAR packages
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-29 13:48 UTC by Roman Karshiev
Modified: 2010-04-04 23:31 UTC (History)
0 users

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


Attachments
build.log (build.log,1.48 KB, text/plain)
2009-03-30 07:17 UTC, Roman Karshiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Karshiev 2009-03-29 13:48:44 UTC
Example:

>>> Source compiled.
>>> Test phase [not enabled]: dev-php/PEAR-Text_Diff-1.0.0

>>> Install PEAR-Text_Diff-1.0.0 into /var/tmp/portage/dev-php/PEAR-Text_Diff-1.0.0/image/ category dev-php
No protocol specified
 * 
 * ERROR: dev-php/PEAR-Text_Diff-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_install
 *             environment, line  823:  Called php-pear-r1_src_install
 *             environment, line  767:  Called die
 * The specific snippet of code:
 *               pear -d php_bin="${PHP_BIN}" -d www_dir="${WWW_DIR}" install --force --loose --nodeps --offline --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package";
 *  The die message:
 *   Unable to install PEAR package
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-php/PEAR-Text_Diff-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Text_Diff-1.0.0/temp/environment'.


If I add echo to /usr/portage/eclass/php-pear-r1.eclass to view command, I see:

pear -d php_bin=/usr/lib/php5/bin/php -d www_dir=/usr/share/webapps/PEAR-Text_Diff/1.0.0/htdocs install --force --loose --nodeps --offline --packagingroot=/var/tmp/portage/dev-php/PEAR-Text_Diff-1.0.0/image/ /var/tmp/portage/dev-php/PEAR-Text_Diff-1.0.0/work/Text_Diff-1.0.0/package.xml

and manually running this command fully perfectly. Package installed in image/ directory.

If I add in eclass-file any calls of pear command (ex: pear help) - i can not see output of this command. And see «No protocol specified».

May be it problem with pear output?

A try PEAR-PEAR-1.6.2-r1 and 1.7.1.

PEAR-PEAR compiled perfectly, but can't install any PEAR-packages from portage.

php-5.2.8-r2

At two other computers with same PHP pear-packages compiled perfectly.

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-29 19:51:00 UTC
Please post your "emerge --info" and attach the build.log file of the failed emerge to this bug.
Comment 2 Roman Karshiev 2009-03-30 07:16:32 UTC
> Please post your "emerge --info" and attach the build.log file of the failed

# emerge --info
Portage 2.2_rc27 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r2 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r2-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Mon, 30 Mar 2009 01:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -fomit-frame-pointer -pipe -s"
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.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/splash /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=prescott -mmmx -msse -msse2 -fomit-frame-pointer -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect confcache distlocks fixpackages parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://mirror.netcologne.de/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="ru"
MAKEOPTS="-j3 -s"
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="/usr/portage /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi admin aiglx alsa amazon ansi apache2 apm applet ares arts artworkextra asf audiofile avahi banshee bash-completion beagle berkdb bjam bluetooth bonobo branding bzip2 cairo calendar cdaudio cdda cddb cdio cdparanoia cdr cdrom cgi chardet chm cleartype cli colordiff cpudetection cracklib crypt csv ctype cuda cups curl cursors custom-cflags custom-cpuopts custom-cxxflags custom-optimization cvs d dbus devil directfb divx djvu dmi doc dri dts dvd dvdnav dvdr dvdread dvi eds emboss emerald enblend encode epiphany esd evo examples exif expat extra fam fastcgi fbcon fbsplash ffmpeg fftw filter_default firefox flac flash flatfile fltk fontconfig foomaticdb fortran freeimage ftp fuse gaim gajim gcj gcl gd gdbm gdm gedit gif gimp git glade glib glitz glut gnome gnomecanvas gnutella gnutls google-gadgets gphoto2 gpm grammar graphicsmagick graphviz groovy gs gsf gstreamer gtk gtk2 gtkhtml hal haskell hddtemp html htmlhandbook httpd iceweasel icons iconv icq id3tag idn ieee1394 imagemagick imap imlib inotify ip4100 irc irda isdnlog jabber java java5 java6 javascript jbig jce jikes jmx jpeg jpeg2k jython kde kdeenablefinal kdehiddenvisibility kdepim kdeprefix kdexdeltas kipi kqemu latex lcd lcms ldap lde libffi libnotify lj lm_sensors logrotate lua lzw mad magic maildir math matroska mecab memcache memlimit menubar mhash midi mikmod mjpeg mmap mmkeys mmx mng mod modplug mono mozbranding mozcalendar mozdevelop mozembed moznopango mozsvg mp3 mp4 mpd mpeg mplayer msn mudflap musepack musicbrainz mysql nano-syntax nautilus ncurses network newspr nfs nls nntp nptl nptlonly nsplugin ntfs3g ocaml ogg ole openal openexr opengl openmp oss paludis pam pango pch pcntl pcre pda pdf pdo pear-db perl php pidgin plotutils plugins png posix postgres povray ppds pppd print profiler pth python qt qt3 qt3support qt4 quicktime rar raw rcc rdesktop readline reflection rss ruby samba sasl scanner scintilla sdl seamonkey sensord server servicetools session sift simplexml skins slang smarty smp sms spell spl sql sqlite sqlite3 srv sse sse2 ssl startup-notification subversion svg sysfs syslog tagwriting takushipatch tcl tcltk tcpd tetex tga themes theora thesaurus threads thumbnailing thunderbird tiff timidity tk tokenizer toolbar tools trayicon truetype unicode upnp usb v4l vcd vhosts vim vim-syntax vorbis wavpack webdav webkit wifi win32codecs wma wmf wxwindows x264 x86 xattr xcb xcomposite xfce xine xinetd xml xmlrpc xmp xorg xosd xprint xrandr xscreensaver xsl xulrunner xv xvid yaz zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="canon" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd groovy gsf identity j2ee mobility php profiler soa visualweb webcommon xml" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon ati fglrx vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Roman Karshiev 2009-03-30 07:17:11 UTC
Created attachment 186717 [details]
build.log
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-04-04 23:31:04 UTC
Sorry for taking so long to respond. The php herd has been understaffed for some time. We now provide dev-php/pear-1.9.0 (which installs a complete PEAR-PEAR system). Can you test if your error occurs with that version, too? I'm running pear-1.9.0 fine here.

If this error still happens, please reopen this bug. I will then try to reproduce it on a setup more closely to yours. Thanks!