List of reports associated
Test name:Version: 7.0.13
Goto: PHPInfo Build environment
PHPInfo
phpinfo() PHP Version => 7.0.13 System => Linux e011239169228.et15sqa 2.6.32-220.23.2.ali878.el6.x86_64 #1 SMP Mon Jan 28 17:12:52 CST 2013 x86_64 Build Date => Nov 29 2016 10:41:17 Configure Command => './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc/' '--with-config-file-scan-dir=/usr/local/php/etc/php.d/' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/php/etc/ Loaded Configuration File => (none) Scan this dir for additional .ini files => /usr/local/php/etc/php.d/ Additional .ini files parsed => (none) PHP API => 20151012 PHP Extension => 20151012 Zend Extension => 320151012 Zend Extension Build => API320151012,NTS PHP Extension Build => API20151012,NTS Debug Build => no Thread Safety => disabled Zend Signal Handling => disabled Zend Memory Manager => enabled Zend Multibyte Support => disabled IPv6 Support => enabled DTrace Support => disabled Registered PHP Streams => php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk This program makes use of the Zend Scripting Language Engine: Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies _______________________________________________________________________ Configuration Core PHP Version => 7.0.13 Directive => Local Value => Master Value allow_url_fopen => On => On allow_url_include => Off => Off arg_separator.input => & => & arg_separator.output => & => & auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => UTF-8 => UTF-8 default_mimetype => text/html => text/html disable_classes => no value => no value disable_functions => no value => no value display_errors => STDERR => STDERR display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On enable_post_data_reading => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value exit_on_timeout => Off => Off expose_php => On => On extension_dir => /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012 => /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012 file_uploads => On => On highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/php/lib/php => .:/usr/local/php/lib/php input_encoding => no value => no value internal_encoding => no value => no value log_errors => Off => Off log_errors_max_len => 1024 => 1024 mail.add_x_header => Off => Off mail.force_extra_parameters => no value => no value mail.log => no value => no value max_execution_time => 0 => 0 max_file_uploads => 20 => 20 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 max_input_vars => 1000 => 1000 memory_limit => 128M => 128M open_basedir => no value => no value output_buffering => 0 => 0 output_encoding => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On report_memleaks => On => On report_zend_debug => Off => Off request_order => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 17 => 17 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off sys_temp_dir => no value => no value track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value user_ini.cache_ttl => 300 => 300 user_ini.filename => .user.ini => .user.ini variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off zend.assertions => 1 => 1 zend.detect_unicode => On => On zend.enable_gc => On => On zend.multibyte => Off => Off zend.script_encoding => no value => no value ctype ctype functions => enabled date date/time support => enabled "Olson" Timezone Database Version => 2016.8 Timezone Database => internal Default timezone => UTC Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.583333 => 90.583333 date.sunset_zenith => 90.583333 => 90.583333 date.timezone => no value => no value dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.7.6 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled fileinfo fileinfo support => enabled version => 1.0.5 libmagic => 522 filter Input Validation and Filtering => enabled Revision => $Id: 613c0b75ea13d5c3f89571bd253d16ac861b43fc $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.12 Directive => Local Value => Master Value iconv.input_encoding => no value => no value iconv.internal_encoding => no value => no value iconv.output_encoding => no value => no value json json support => enabled json version => 1.4.0 libxml libXML support => active libXML Compiled Version => 2.7.6 libXML Loaded Version => 20706 libXML streams => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 8.38 2015-11-23 PCRE JIT Support => enabled Directive => Local Value => Master Value pcre.backtrack_limit => 1000000 => 1000000 pcre.jit => 1 => 1 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite pdo_sqlite PDO Driver for SQLite 3.x => enabled SQLite Library => 3.14.2 Phar Phar: PHP Archive support => enabled Phar EXT version => 2.0.2 Phar API version => 1.1.1 SVN revision => $Id: 860f5132d446a7b24c2bbf050ce6949381ea8db5 $ Phar-based phar archives => enabled Tar-based phar archives => enabled ZIP-based phar archives => enabled gzip compression => disabled (install ext/zlib) bzip2 compression => disabled (install pecl/bz2) OpenSSL support => disabled (install ext/openssl) Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle. Directive => Local Value => Master Value phar.cache_list => no value => no value phar.readonly => On => On phar.require_hash => On => On posix Revision => $Id: 771e31632526e20243748d73c150d8977fff1781 $ Reflection Reflection => enabled Version => $Id: b24f9c691ddba60f618ecf2ba7ae131a76cfc722 $ session Session Support => enabled Registered save handlers => files user Registered serializer handlers => php_serialize php php_binary Directive => Local Value => Master Value session.auto_start => Off => Off session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => /dev/urandom => /dev/urandom session.entropy_length => 32 => 32 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.lazy_write => On => On session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.upload_progress.cleanup => On => On session.upload_progress.enabled => On => On session.upload_progress.freq => 1% => 1% session.upload_progress.min_freq => 1 => 1 session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS session.upload_progress.prefix => upload_progress_ => upload_progress_ session.use_cookies => On => On session.use_only_cookies => On => On session.use_strict_mode => Off => Off session.use_trans_sid => 0 => 0 SimpleXML Simplexml support => enabled Revision => $Id: a0c9e98a9e216920fcf75a02da085c9616b16cc8 $ Schema support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException sqlite3 SQLite3 support => enabled SQLite3 module version => 0.7-dev SQLite Library => 3.14.2 Directive => Local Value => Master Value sqlite3.extension_dir => no value => no value standard Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.exception => 0 => 0 assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 from => no value => no value url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.7.6 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Additional Modules Module Name Environment Variable => Value HOSTNAME => e011239169228.et15sqa TEST_PHP_SRCDIR => /home/masen/php-7.0.13 SHELL => /bin/bash TERM => xterm STARAGENT_HOME => /home/staragent MAKEFLAGS => HISTSIZE => 2000 SSH_CLIENT => deleted SSH_TTY => deleted USER => masen LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: SSH_AUTH_SOCK => deleted MAKELEVEL => 1 MFLAGS => PATH => /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/masen/bin MAIL => /var/spool/mail/masen _ => /home/masen/php-7.0.13/sapi/cli/php PWD => /home/masen/php-7.0.13 EDITOR => vim LANG => en_US.UTF-8 TEST_PHP_EXECUTABLE => /home/masen/php-7.0.13/sapi/cli/php HISTCONTROL => ignoredups HOME => /home/masen SHLVL => 3 LOGNAME => masen CVS_RSH => ssh SSH_CONNECTION => deleted STARAGENT_PLUGINS => /home/staragent/plugins LESSOPEN => |/usr/bin/lesspipe.sh %s CC => cc STARAGENT_BIN => /home/staragent/bin G_BROKEN_FILENAMES => 1 BASH_FUNC_dep_create() => () { local tmp; tmp=`set -o |grep xtrace |awk '{print $2}'`; set +x; shopt -u expand_aliases; local lxjapp=$1; if [ x"$lxjapp" = 'x' ]; then echo "Usage: dep_create appname"; echo " example: dep_create t-algo-merge"; return; fi; lxjapp=${lxjapp%.deps}; if [ -f $lxjapp.deps ]; then echo ""; else echo "Error:Cann't find $lxjapp.deps "; return; fi; local LXJTOP_DIR=".dep_create"; export DEP_DIR=`pwd`"/$LXJTOP_DIR"; export DEP_VAR=$DEP_DIR/var/; export LD_LIBRARY_PATH=$DEP_DIR/lib:$LD_LIBRARY_PATH; local shouldclean='true'; if [ -f deps.debug ]; then shouldclean='false'; fi; if [ "$shouldclean" = 'true' ]; then rm -i --preserve-root -rf $LXJTOP_DIR; fi; [ ! -d $LXJTOP_DIR ] && mkdir $LXJTOP_DIR; cd $LXJTOP_DIR; echo $lxjapp.deps > info; _absdownload "pkg" $lxjapp; _absinstall "pkg" "var"; _absconfig "var" "include" "lib" "bin"; for tmp in `find var/ -name "site-packages" -type d`; do export PYTHONPATH=$PYTHONPATH:$DEP_DIR/$tmp; done; cd ..; if [ -f ../SConstruct ]; then [ -e ../_external ] || ln -s rpm/.dep_create/var/ ../_external; fi; for tmp in lib include bin; do echo "------------------"; echo "[Report]: the result of 'ls \$DEP_DIR/$tmp':"; ls --color=auto -l $DEP_DIR/$tmp; done; if [ x$tmp = 'xon' ]; then set -x; fi; shopt -s expand_aliases } BASH_FUNC__absdownload() => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; local cachedir="$home/.dep_create_cache"; local yumcache="$home/tmp/cache"; local LXJREP='taobao'; local Tdisable=''; if [ -f $OLDPWD/deps.debug ]; then local my_debug=true; set -x; fi; ( echo > /dev/tcp/yum.taobao.net/80 ) > /dev/null 2>&1; if [ $? = 0 ]; then if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; else [ -d $cachedir ] || mkdir -p $cachedir; [ -d $yumcache ] || mkdir -p $yumcache; cat /etc/yum.conf > $cachedir/taobao.repo; sed -i "s#cachedir=.*#cachedir=$yumcache#" $cachedir/taobao.repo; sed "s/yum.tbsite.net/yum.taobao.net/g" /etc/yum.repos.d/taobao*.repo >> $cachedir/taobao.repo; sed -i "s/.*metadata_expire=.*/metadata_expire=0/" $cachedir/taobao.repo; sed -i "s/\[taobao./\[taobao2./g" $cachedir/taobao.repo; if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; fi; fi; fi; local lxjrel=`cat /etc/redhat-release |awk '{print $7}'|awk -F'.' '{print $1}'`; local lxjplat=; if [ `uname -i` = "x86_64" ]; then lxjplat="x86_64"; else lxjplat="i386"; fi; local LXJREP2="$LXJREP.$lxjrel.noarch"; LXJREP="$LXJREP.$lxjrel.$lxjplat"; local _mytargetos=$lxjrel; local _mytargetarch=$lxjplat; local LXJPKG_DIR=$1; local line=; local target_flag=; local deps_flag=; local lxjbr=; local lxjpara=; local exclude=""; local tmp=; local searchrpm=; local searchrpmtest=; local testflag=1; rm -i --preserve-root -f ./.xuej.tmp; mkdir $LXJPKG_DIR; if [ $lxjplat = "x86_64" ]; then exclude="-x '*.i386'"; fi; lines=`cat ../$2.deps| sed 's/[\t ]//g'| sed '/^#/d'|sed '/^$/d'`; for line in $lines; do if [ "$line" = "[deps]" ]; then target_flag=0; deps_flag=1; if [ "$_mytargetos" != "$lxjrel" ]; then deps_flag=0; fi; if [ "$_mytargetarch" != "$lxjplat" ]; then deps_flag=0; fi; continue; fi; if [ "$line" = "[target]" ]; then target_flag=1; continue; fi; if [ "$target_flag" = 1 ]; then myline=(${line/=/ }); _mytargetos=$lxjrel; if [ x${myline[0]} = "xos" ]; then _mytargetos=${myline[1]}; fi; _mytargetarch=$lxjplat; if [ x${myline[0]} = "xarch" ]; then _mytargetarch=${myline[1]}; fi; continue; fi; if [ "$deps_flag" != 1 ]; then continue; fi; testflag=1; if [ x"$FROM_TEST" != 'x' ]; then echo "$line" | grep -q $FROM_TEST && line="$line=test"; if [ -z "${FROM_TEST#$line}" ] || [ -z ${FROM_TEST##$line,*} ] || [ -z ${FROM_TEST##*,$line,*} ] || [ -z ${FROM_TEST##*,$line} ]; then line="$line=test"; else if echo "$line" | grep -q "$FROM_TEST-[0-9]"; then line="$line=test"; fi; fi; fi; echo "$line" | grep -q '=' && { lxjbr=`echo $line |awk -F'=' '{print $NF}'|sed 's/[\t ]//g'`; if [ "$lxjbr" = 'test' ]; then lxjpara="--enablerepo=$LXJREP.test* --enablerepo=$LXJREP2.test*"; testflag=0; fi; line=`echo $line|awk -F'=' '{print $1}'` }; line=${line%.rpm}; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm 2>/dev/null`; if [ -f "$tmp" ]; then tmp=`grep $line ../$2.deps|wc -l`; if [ $tmp -eq 1 ]; then continue; fi; fi; echo "$line" >> .xuej.tmp; if [ -f $cachedir/index ]; then if [ $testflag != 0 ]; then tmp=`grep "^$line:" $cachedir/index |awk -F':' '{print $2}'`; if [ x"$tmp" != 'x' ]; then if [ -f $cachedir/$tmp ]; then echo "cp $line from $cachedir"; cp $cachedir/$tmp $LXJPKG_DIR/; continue; fi; fi; fi; fi; local rhel=`rpm -q redhat-release --qf "%{v}"`; [ x"$rhel" = 'x' ] && rhel=`rpm -q redhat-release-server --qf "%{v}"`; local rpm_location=`curl -s 'http://yum.corp.taobao.com/cgi-bin/rpmfind?name='$line'.rpm&rhel='${lxjrel}Server`; rpm_location=${rpm_location/yum.corp.taobao.com/yum.tbsite.net}; echo $rpm_location | grep -q ".rpm$"; if [ $? = 0 ]; then echo "[INFO]: downloading $line"; wget $rpm_location -P $cachedir > /dev/null 2>&1; cp -f $cachedir/$line*.rpm $LXJPKG_DIR/; echo "$line:$line.rpm" >> $cachedir/index; else echo "[INFO]: prepare to download $line"; if [ $testflag = 0 ]; then searchrpmtest="$searchrpmtest $line"; else searchrpm="$searchrpm $line"; fi; fi; done; if [ x"$searchrpm" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpm $Tdisable > /dev/null; for line in $searchrpm; do if [ `ls $LXJPKG_DIR/$line*.rpm|wc -l` -gt 1 ]; then cp -f $LXJPKG_DIR/$line-[0-9]*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line-[0-9]*.rpm|tail -1|xargs basename`; else cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1|xargs basename`; fi; grep -q "^$line:" $cachedir/index || if [ x"$tmp" != 'x' ]; then echo "$line:$tmp" >> $cachedir/index; fi; done; fi; if [ x"$searchrpmtest" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpmtest $lxjpara $Tdisable > /dev/null; for line in $searchrpmtest; do cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; done; fi; if [ ! -f $cachedir/time ]; then touch $cachedir/time; else tmp=`stat -c %Y $cachedir/time |awk '{printf $0" "; system("date +%s")}'|awk '{print $2-$1}'`; if [ $tmp -gt 1296000 ]; then rm -i --preserve-root -f $cachedir/*; fi; fi; rm -i --preserve-root -f ./.deps.error; for line in `cat .xuej.tmp`; do tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1`; if [ -f "$tmp" ]; then echo "[INFO] $line Download OK -- $tmp"; else echo "[error] $line Download failed" | tee -a ./.deps.error; fi; done; rm -i --preserve-root -f ./.xuej.tmp; echo "[Report]: downloaded pkgs is here:"; ls --color=auto -l $LXJPKG_DIR/; if [ "$my_debug" = true ]; then set +x; fi } BASH_FUNC__absconfig() => () { local LXJINS_DIR=$1; local i=; mkdir $2; local lxjsrc=`find $LXJINS_DIR -name "include"|awk -F 'include' '{print $1"include"}'|sort -u`; cd $2; for i in $lxjsrc; do ln -s ../$i/* .; done; rm -i --preserve-root -f \*; cd ..; mkdir $3; local _lxjlib64=`find $LXJINS_DIR -name "lib64"|awk -F 'lib64' '{print $1"lib64"}'|sort -u`; local _lxjlib=`find $LXJINS_DIR -name "lib"|awk -F 'lib' '{print $1"lib"}'|sort -u`; cd lib; for i in $_lxjlib64 $_lxjlib; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs -I '{}' echo "[WARNING]:"'{}'" is brocken link"; ln -s ../$i/* .; done; cd ..; mkdir $4; local bin=`find $LXJINS_DIR -name "bin"|awk -F 'bin' '{print $1"bin"}'|sort -u`; cd $4; for i in $bin; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs rm -f "{}"; ln -s ../$i/* .; done; cd .. } BASH_FUNC__absinstall() => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; echo "[info]unpack the rpm now"; local LXJPKG_DIR=$1; local i=; local r=; local cachedir="$home/.dep_create_cache"; mkdir $2; cd $2; for i in `/bin/ls ../$LXJPKG_DIR/*.rpm`; do rpm2cpio $i | cpio -di -u 2> /dev/null; if [ $? != 0 ]; then echo "[error]:$i decompress failed"; r=`basename $i`; if [ -f $cachedir/$r ]; then rm -i --preserve-root -f $cachedir/$r; sed -i "/:$r/d" $cachedir/index; fi; fi; done; cd .. } PHP Variables Variable => Value $_SERVER['HOSTNAME'] => e011239169228.et15sqa $_SERVER['TEST_PHP_SRCDIR'] => /home/masen/php-7.0.13 $_SERVER['SHELL'] => /bin/bash $_SERVER['TERM'] => xterm $_SERVER['STARAGENT_HOME'] => /home/staragent $_SERVER['MAKEFLAGS'] => $_SERVER['HISTSIZE'] => 2000 $_SERVER['SSH_CLIENT'] => deleted $_SERVER['SSH_TTY'] => deleted $_SERVER['USER'] => masen $_SERVER['LS_COLORS'] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: $_SERVER['SSH_AUTH_SOCK'] => deleted $_SERVER['MAKELEVEL'] => 1 $_SERVER['MFLAGS'] => $_SERVER['PATH'] => /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/masen/bin $_SERVER['MAIL'] => /var/spool/mail/masen $_SERVER['_'] => /home/masen/php-7.0.13/sapi/cli/php $_SERVER['PWD'] => /home/masen/php-7.0.13 $_SERVER['EDITOR'] => vim $_SERVER['LANG'] => en_US.UTF-8 $_SERVER['TEST_PHP_EXECUTABLE'] => /home/masen/php-7.0.13/sapi/cli/php $_SERVER['HISTCONTROL'] => ignoredups $_SERVER['HOME'] => /home/masen $_SERVER['SHLVL'] => 3 $_SERVER['LOGNAME'] => masen $_SERVER['CVS_RSH'] => ssh $_SERVER['SSH_CONNECTION'] => deleted $_SERVER['STARAGENT_PLUGINS'] => /home/staragent/plugins $_SERVER['LESSOPEN'] => |/usr/bin/lesspipe.sh %s $_SERVER['CC'] => cc $_SERVER['STARAGENT_BIN'] => /home/staragent/bin $_SERVER['G_BROKEN_FILENAMES'] => 1 $_SERVER['BASH_FUNC_dep_create()'] => () { local tmp; tmp=`set -o |grep xtrace |awk '{print $2}'`; set +x; shopt -u expand_aliases; local lxjapp=$1; if [ x"$lxjapp" = 'x' ]; then echo "Usage: dep_create appname"; echo " example: dep_create t-algo-merge"; return; fi; lxjapp=${lxjapp%.deps}; if [ -f $lxjapp.deps ]; then echo ""; else echo "Error:Cann't find $lxjapp.deps "; return; fi; local LXJTOP_DIR=".dep_create"; export DEP_DIR=`pwd`"/$LXJTOP_DIR"; export DEP_VAR=$DEP_DIR/var/; export LD_LIBRARY_PATH=$DEP_DIR/lib:$LD_LIBRARY_PATH; local shouldclean='true'; if [ -f deps.debug ]; then shouldclean='false'; fi; if [ "$shouldclean" = 'true' ]; then rm -i --preserve-root -rf $LXJTOP_DIR; fi; [ ! -d $LXJTOP_DIR ] && mkdir $LXJTOP_DIR; cd $LXJTOP_DIR; echo $lxjapp.deps > info; _absdownload "pkg" $lxjapp; _absinstall "pkg" "var"; _absconfig "var" "include" "lib" "bin"; for tmp in `find var/ -name "site-packages" -type d`; do export PYTHONPATH=$PYTHONPATH:$DEP_DIR/$tmp; done; cd ..; if [ -f ../SConstruct ]; then [ -e ../_external ] || ln -s rpm/.dep_create/var/ ../_external; fi; for tmp in lib include bin; do echo "------------------"; echo "[Report]: the result of 'ls \$DEP_DIR/$tmp':"; ls --color=auto -l $DEP_DIR/$tmp; done; if [ x$tmp = 'xon' ]; then set -x; fi; shopt -s expand_aliases } $_SERVER['BASH_FUNC__absdownload()'] => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; local cachedir="$home/.dep_create_cache"; local yumcache="$home/tmp/cache"; local LXJREP='taobao'; local Tdisable=''; if [ -f $OLDPWD/deps.debug ]; then local my_debug=true; set -x; fi; ( echo > /dev/tcp/yum.taobao.net/80 ) > /dev/null 2>&1; if [ $? = 0 ]; then if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; else [ -d $cachedir ] || mkdir -p $cachedir; [ -d $yumcache ] || mkdir -p $yumcache; cat /etc/yum.conf > $cachedir/taobao.repo; sed -i "s#cachedir=.*#cachedir=$yumcache#" $cachedir/taobao.repo; sed "s/yum.tbsite.net/yum.taobao.net/g" /etc/yum.repos.d/taobao*.repo >> $cachedir/taobao.repo; sed -i "s/.*metadata_expire=.*/metadata_expire=0/" $cachedir/taobao.repo; sed -i "s/\[taobao./\[taobao2./g" $cachedir/taobao.repo; if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; fi; fi; fi; local lxjrel=`cat /etc/redhat-release |awk '{print $7}'|awk -F'.' '{print $1}'`; local lxjplat=; if [ `uname -i` = "x86_64" ]; then lxjplat="x86_64"; else lxjplat="i386"; fi; local LXJREP2="$LXJREP.$lxjrel.noarch"; LXJREP="$LXJREP.$lxjrel.$lxjplat"; local _mytargetos=$lxjrel; local _mytargetarch=$lxjplat; local LXJPKG_DIR=$1; local line=; local target_flag=; local deps_flag=; local lxjbr=; local lxjpara=; local exclude=""; local tmp=; local searchrpm=; local searchrpmtest=; local testflag=1; rm -i --preserve-root -f ./.xuej.tmp; mkdir $LXJPKG_DIR; if [ $lxjplat = "x86_64" ]; then exclude="-x '*.i386'"; fi; lines=`cat ../$2.deps| sed 's/[\t ]//g'| sed '/^#/d'|sed '/^$/d'`; for line in $lines; do if [ "$line" = "[deps]" ]; then target_flag=0; deps_flag=1; if [ "$_mytargetos" != "$lxjrel" ]; then deps_flag=0; fi; if [ "$_mytargetarch" != "$lxjplat" ]; then deps_flag=0; fi; continue; fi; if [ "$line" = "[target]" ]; then target_flag=1; continue; fi; if [ "$target_flag" = 1 ]; then myline=(${line/=/ }); _mytargetos=$lxjrel; if [ x${myline[0]} = "xos" ]; then _mytargetos=${myline[1]}; fi; _mytargetarch=$lxjplat; if [ x${myline[0]} = "xarch" ]; then _mytargetarch=${myline[1]}; fi; continue; fi; if [ "$deps_flag" != 1 ]; then continue; fi; testflag=1; if [ x"$FROM_TEST" != 'x' ]; then echo "$line" | grep -q $FROM_TEST && line="$line=test"; if [ -z "${FROM_TEST#$line}" ] || [ -z ${FROM_TEST##$line,*} ] || [ -z ${FROM_TEST##*,$line,*} ] || [ -z ${FROM_TEST##*,$line} ]; then line="$line=test"; else if echo "$line" | grep -q "$FROM_TEST-[0-9]"; then line="$line=test"; fi; fi; fi; echo "$line" | grep -q '=' && { lxjbr=`echo $line |awk -F'=' '{print $NF}'|sed 's/[\t ]//g'`; if [ "$lxjbr" = 'test' ]; then lxjpara="--enablerepo=$LXJREP.test* --enablerepo=$LXJREP2.test*"; testflag=0; fi; line=`echo $line|awk -F'=' '{print $1}'` }; line=${line%.rpm}; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm 2>/dev/null`; if [ -f "$tmp" ]; then tmp=`grep $line ../$2.deps|wc -l`; if [ $tmp -eq 1 ]; then continue; fi; fi; echo "$line" >> .xuej.tmp; if [ -f $cachedir/index ]; then if [ $testflag != 0 ]; then tmp=`grep "^$line:" $cachedir/index |awk -F':' '{print $2}'`; if [ x"$tmp" != 'x' ]; then if [ -f $cachedir/$tmp ]; then echo "cp $line from $cachedir"; cp $cachedir/$tmp $LXJPKG_DIR/; continue; fi; fi; fi; fi; local rhel=`rpm -q redhat-release --qf "%{v}"`; [ x"$rhel" = 'x' ] && rhel=`rpm -q redhat-release-server --qf "%{v}"`; local rpm_location=`curl -s 'http://yum.corp.taobao.com/cgi-bin/rpmfind?name='$line'.rpm&rhel='${lxjrel}Server`; rpm_location=${rpm_location/yum.corp.taobao.com/yum.tbsite.net}; echo $rpm_location | grep -q ".rpm$"; if [ $? = 0 ]; then echo "[INFO]: downloading $line"; wget $rpm_location -P $cachedir > /dev/null 2>&1; cp -f $cachedir/$line*.rpm $LXJPKG_DIR/; echo "$line:$line.rpm" >> $cachedir/index; else echo "[INFO]: prepare to download $line"; if [ $testflag = 0 ]; then searchrpmtest="$searchrpmtest $line"; else searchrpm="$searchrpm $line"; fi; fi; done; if [ x"$searchrpm" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpm $Tdisable > /dev/null; for line in $searchrpm; do if [ `ls $LXJPKG_DIR/$line*.rpm|wc -l` -gt 1 ]; then cp -f $LXJPKG_DIR/$line-[0-9]*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line-[0-9]*.rpm|tail -1|xargs basename`; else cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1|xargs basename`; fi; grep -q "^$line:" $cachedir/index || if [ x"$tmp" != 'x' ]; then echo "$line:$tmp" >> $cachedir/index; fi; done; fi; if [ x"$searchrpmtest" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpmtest $lxjpara $Tdisable > /dev/null; for line in $searchrpmtest; do cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; done; fi; if [ ! -f $cachedir/time ]; then touch $cachedir/time; else tmp=`stat -c %Y $cachedir/time |awk '{printf $0" "; system("date +%s")}'|awk '{print $2-$1}'`; if [ $tmp -gt 1296000 ]; then rm -i --preserve-root -f $cachedir/*; fi; fi; rm -i --preserve-root -f ./.deps.error; for line in `cat .xuej.tmp`; do tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1`; if [ -f "$tmp" ]; then echo "[INFO] $line Download OK -- $tmp"; else echo "[error] $line Download failed" | tee -a ./.deps.error; fi; done; rm -i --preserve-root -f ./.xuej.tmp; echo "[Report]: downloaded pkgs is here:"; ls --color=auto -l $LXJPKG_DIR/; if [ "$my_debug" = true ]; then set +x; fi } $_SERVER['BASH_FUNC__absconfig()'] => () { local LXJINS_DIR=$1; local i=; mkdir $2; local lxjsrc=`find $LXJINS_DIR -name "include"|awk -F 'include' '{print $1"include"}'|sort -u`; cd $2; for i in $lxjsrc; do ln -s ../$i/* .; done; rm -i --preserve-root -f \*; cd ..; mkdir $3; local _lxjlib64=`find $LXJINS_DIR -name "lib64"|awk -F 'lib64' '{print $1"lib64"}'|sort -u`; local _lxjlib=`find $LXJINS_DIR -name "lib"|awk -F 'lib' '{print $1"lib"}'|sort -u`; cd lib; for i in $_lxjlib64 $_lxjlib; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs -I '{}' echo "[WARNING]:"'{}'" is brocken link"; ln -s ../$i/* .; done; cd ..; mkdir $4; local bin=`find $LXJINS_DIR -name "bin"|awk -F 'bin' '{print $1"bin"}'|sort -u`; cd $4; for i in $bin; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs rm -f "{}"; ln -s ../$i/* .; done; cd .. } $_SERVER['BASH_FUNC__absinstall()'] => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; echo "[info]unpack the rpm now"; local LXJPKG_DIR=$1; local i=; local r=; local cachedir="$home/.dep_create_cache"; mkdir $2; cd $2; for i in `/bin/ls ../$LXJPKG_DIR/*.rpm`; do rpm2cpio $i | cpio -di -u 2> /dev/null; if [ $? != 0 ]; then echo "[error]:$i decompress failed"; r=`basename $i`; if [ -f $cachedir/$r ]; then rm -i --preserve-root -f $cachedir/$r; sed -i "/:$r/d" $cachedir/index; fi; fi; done; cd .. } $_SERVER['PHP_SELF'] => $_SERVER['SCRIPT_NAME'] => $_SERVER['SCRIPT_FILENAME'] => $_SERVER['PATH_TRANSLATED'] => $_SERVER['DOCUMENT_ROOT'] => $_SERVER['REQUEST_TIME_FLOAT'] => 1480388203.2178 $_SERVER['REQUEST_TIME'] => 1480388203 $_SERVER['argv'] => Array ( ) $_SERVER['argc'] => 0 $_ENV['HOSTNAME'] => e011239169228.et15sqa $_ENV['TEST_PHP_SRCDIR'] => /home/masen/php-7.0.13 $_ENV['SHELL'] => /bin/bash $_ENV['TERM'] => xterm $_ENV['STARAGENT_HOME'] => /home/staragent $_ENV['MAKEFLAGS'] => $_ENV['HISTSIZE'] => 2000 $_ENV['SSH_CLIENT'] => deleted $_ENV['SSH_TTY'] => deleted $_ENV['USER'] => masen $_ENV['LS_COLORS'] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: $_ENV['SSH_AUTH_SOCK'] => deleted $_ENV['MAKELEVEL'] => 1 $_ENV['MFLAGS'] => $_ENV['PATH'] => /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/masen/bin $_ENV['MAIL'] => /var/spool/mail/masen $_ENV['_'] => /home/masen/php-7.0.13/sapi/cli/php $_ENV['PWD'] => /home/masen/php-7.0.13 $_ENV['EDITOR'] => vim $_ENV['LANG'] => en_US.UTF-8 $_ENV['TEST_PHP_EXECUTABLE'] => /home/masen/php-7.0.13/sapi/cli/php $_ENV['HISTCONTROL'] => ignoredups $_ENV['HOME'] => /home/masen $_ENV['SHLVL'] => 3 $_ENV['LOGNAME'] => masen $_ENV['CVS_RSH'] => ssh $_ENV['SSH_CONNECTION'] => deleted $_ENV['STARAGENT_PLUGINS'] => /home/staragent/plugins $_ENV['LESSOPEN'] => |/usr/bin/lesspipe.sh %s $_ENV['CC'] => cc $_ENV['STARAGENT_BIN'] => /home/staragent/bin $_ENV['G_BROKEN_FILENAMES'] => 1 $_ENV['BASH_FUNC_dep_create()'] => () { local tmp; tmp=`set -o |grep xtrace |awk '{print $2}'`; set +x; shopt -u expand_aliases; local lxjapp=$1; if [ x"$lxjapp" = 'x' ]; then echo "Usage: dep_create appname"; echo " example: dep_create t-algo-merge"; return; fi; lxjapp=${lxjapp%.deps}; if [ -f $lxjapp.deps ]; then echo ""; else echo "Error:Cann't find $lxjapp.deps "; return; fi; local LXJTOP_DIR=".dep_create"; export DEP_DIR=`pwd`"/$LXJTOP_DIR"; export DEP_VAR=$DEP_DIR/var/; export LD_LIBRARY_PATH=$DEP_DIR/lib:$LD_LIBRARY_PATH; local shouldclean='true'; if [ -f deps.debug ]; then shouldclean='false'; fi; if [ "$shouldclean" = 'true' ]; then rm -i --preserve-root -rf $LXJTOP_DIR; fi; [ ! -d $LXJTOP_DIR ] && mkdir $LXJTOP_DIR; cd $LXJTOP_DIR; echo $lxjapp.deps > info; _absdownload "pkg" $lxjapp; _absinstall "pkg" "var"; _absconfig "var" "include" "lib" "bin"; for tmp in `find var/ -name "site-packages" -type d`; do export PYTHONPATH=$PYTHONPATH:$DEP_DIR/$tmp; done; cd ..; if [ -f ../SConstruct ]; then [ -e ../_external ] || ln -s rpm/.dep_create/var/ ../_external; fi; for tmp in lib include bin; do echo "------------------"; echo "[Report]: the result of 'ls \$DEP_DIR/$tmp':"; ls --color=auto -l $DEP_DIR/$tmp; done; if [ x$tmp = 'xon' ]; then set -x; fi; shopt -s expand_aliases } $_ENV['BASH_FUNC__absdownload()'] => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; local cachedir="$home/.dep_create_cache"; local yumcache="$home/tmp/cache"; local LXJREP='taobao'; local Tdisable=''; if [ -f $OLDPWD/deps.debug ]; then local my_debug=true; set -x; fi; ( echo > /dev/tcp/yum.taobao.net/80 ) > /dev/null 2>&1; if [ $? = 0 ]; then if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; else [ -d $cachedir ] || mkdir -p $cachedir; [ -d $yumcache ] || mkdir -p $yumcache; cat /etc/yum.conf > $cachedir/taobao.repo; sed -i "s#cachedir=.*#cachedir=$yumcache#" $cachedir/taobao.repo; sed "s/yum.tbsite.net/yum.taobao.net/g" /etc/yum.repos.d/taobao*.repo >> $cachedir/taobao.repo; sed -i "s/.*metadata_expire=.*/metadata_expire=0/" $cachedir/taobao.repo; sed -i "s/\[taobao./\[taobao2./g" $cachedir/taobao.repo; if [ -f $cachedir/taobao.repo ]; then LXJREP='taobao2'; Tdisable="-c $cachedir/taobao.repo --disablerepo=taobao.* "; fi; fi; fi; local lxjrel=`cat /etc/redhat-release |awk '{print $7}'|awk -F'.' '{print $1}'`; local lxjplat=; if [ `uname -i` = "x86_64" ]; then lxjplat="x86_64"; else lxjplat="i386"; fi; local LXJREP2="$LXJREP.$lxjrel.noarch"; LXJREP="$LXJREP.$lxjrel.$lxjplat"; local _mytargetos=$lxjrel; local _mytargetarch=$lxjplat; local LXJPKG_DIR=$1; local line=; local target_flag=; local deps_flag=; local lxjbr=; local lxjpara=; local exclude=""; local tmp=; local searchrpm=; local searchrpmtest=; local testflag=1; rm -i --preserve-root -f ./.xuej.tmp; mkdir $LXJPKG_DIR; if [ $lxjplat = "x86_64" ]; then exclude="-x '*.i386'"; fi; lines=`cat ../$2.deps| sed 's/[\t ]//g'| sed '/^#/d'|sed '/^$/d'`; for line in $lines; do if [ "$line" = "[deps]" ]; then target_flag=0; deps_flag=1; if [ "$_mytargetos" != "$lxjrel" ]; then deps_flag=0; fi; if [ "$_mytargetarch" != "$lxjplat" ]; then deps_flag=0; fi; continue; fi; if [ "$line" = "[target]" ]; then target_flag=1; continue; fi; if [ "$target_flag" = 1 ]; then myline=(${line/=/ }); _mytargetos=$lxjrel; if [ x${myline[0]} = "xos" ]; then _mytargetos=${myline[1]}; fi; _mytargetarch=$lxjplat; if [ x${myline[0]} = "xarch" ]; then _mytargetarch=${myline[1]}; fi; continue; fi; if [ "$deps_flag" != 1 ]; then continue; fi; testflag=1; if [ x"$FROM_TEST" != 'x' ]; then echo "$line" | grep -q $FROM_TEST && line="$line=test"; if [ -z "${FROM_TEST#$line}" ] || [ -z ${FROM_TEST##$line,*} ] || [ -z ${FROM_TEST##*,$line,*} ] || [ -z ${FROM_TEST##*,$line} ]; then line="$line=test"; else if echo "$line" | grep -q "$FROM_TEST-[0-9]"; then line="$line=test"; fi; fi; fi; echo "$line" | grep -q '=' && { lxjbr=`echo $line |awk -F'=' '{print $NF}'|sed 's/[\t ]//g'`; if [ "$lxjbr" = 'test' ]; then lxjpara="--enablerepo=$LXJREP.test* --enablerepo=$LXJREP2.test*"; testflag=0; fi; line=`echo $line|awk -F'=' '{print $1}'` }; line=${line%.rpm}; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm 2>/dev/null`; if [ -f "$tmp" ]; then tmp=`grep $line ../$2.deps|wc -l`; if [ $tmp -eq 1 ]; then continue; fi; fi; echo "$line" >> .xuej.tmp; if [ -f $cachedir/index ]; then if [ $testflag != 0 ]; then tmp=`grep "^$line:" $cachedir/index |awk -F':' '{print $2}'`; if [ x"$tmp" != 'x' ]; then if [ -f $cachedir/$tmp ]; then echo "cp $line from $cachedir"; cp $cachedir/$tmp $LXJPKG_DIR/; continue; fi; fi; fi; fi; local rhel=`rpm -q redhat-release --qf "%{v}"`; [ x"$rhel" = 'x' ] && rhel=`rpm -q redhat-release-server --qf "%{v}"`; local rpm_location=`curl -s 'http://yum.corp.taobao.com/cgi-bin/rpmfind?name='$line'.rpm&rhel='${lxjrel}Server`; rpm_location=${rpm_location/yum.corp.taobao.com/yum.tbsite.net}; echo $rpm_location | grep -q ".rpm$"; if [ $? = 0 ]; then echo "[INFO]: downloading $line"; wget $rpm_location -P $cachedir > /dev/null 2>&1; cp -f $cachedir/$line*.rpm $LXJPKG_DIR/; echo "$line:$line.rpm" >> $cachedir/index; else echo "[INFO]: prepare to download $line"; if [ $testflag = 0 ]; then searchrpmtest="$searchrpmtest $line"; else searchrpm="$searchrpm $line"; fi; fi; done; if [ x"$searchrpm" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpm $Tdisable > /dev/null; for line in $searchrpm; do if [ `ls $LXJPKG_DIR/$line*.rpm|wc -l` -gt 1 ]; then cp -f $LXJPKG_DIR/$line-[0-9]*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line-[0-9]*.rpm|tail -1|xargs basename`; else cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1|xargs basename`; fi; grep -q "^$line:" $cachedir/index || if [ x"$tmp" != 'x' ]; then echo "$line:$tmp" >> $cachedir/index; fi; done; fi; if [ x"$searchrpmtest" != 'x' ]; then yumdownloader $exclude --destdir=$LXJPKG_DIR --enablerepo="$LXJREP2.stable*" --enablerepo="$LXJREP.stable*" --enablerepo="$LXJREP2.current*" --enablerepo="$LXJREP.current*" $searchrpmtest $lxjpara $Tdisable > /dev/null; for line in $searchrpmtest; do cp -f $LXJPKG_DIR/$line*.rpm $cachedir/; done; fi; if [ ! -f $cachedir/time ]; then touch $cachedir/time; else tmp=`stat -c %Y $cachedir/time |awk '{printf $0" "; system("date +%s")}'|awk '{print $2-$1}'`; if [ $tmp -gt 1296000 ]; then rm -i --preserve-root -f $cachedir/*; fi; fi; rm -i --preserve-root -f ./.deps.error; for line in `cat .xuej.tmp`; do tmp=`/bin/ls $LXJPKG_DIR/$line*.rpm|tail -1`; if [ -f "$tmp" ]; then echo "[INFO] $line Download OK -- $tmp"; else echo "[error] $line Download failed" | tee -a ./.deps.error; fi; done; rm -i --preserve-root -f ./.xuej.tmp; echo "[Report]: downloaded pkgs is here:"; ls --color=auto -l $LXJPKG_DIR/; if [ "$my_debug" = true ]; then set +x; fi } $_ENV['BASH_FUNC__absconfig()'] => () { local LXJINS_DIR=$1; local i=; mkdir $2; local lxjsrc=`find $LXJINS_DIR -name "include"|awk -F 'include' '{print $1"include"}'|sort -u`; cd $2; for i in $lxjsrc; do ln -s ../$i/* .; done; rm -i --preserve-root -f \*; cd ..; mkdir $3; local _lxjlib64=`find $LXJINS_DIR -name "lib64"|awk -F 'lib64' '{print $1"lib64"}'|sort -u`; local _lxjlib=`find $LXJINS_DIR -name "lib"|awk -F 'lib' '{print $1"lib"}'|sort -u`; cd lib; for i in $_lxjlib64 $_lxjlib; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs -I '{}' echo "[WARNING]:"'{}'" is brocken link"; ln -s ../$i/* .; done; cd ..; mkdir $4; local bin=`find $LXJINS_DIR -name "bin"|awk -F 'bin' '{print $1"bin"}'|sort -u`; cd $4; for i in $bin; do file ../$i/* | grep "broken symbolic link" | awk -F':' '{print $1}' | xargs rm -f "{}"; ln -s ../$i/* .; done; cd .. } $_ENV['BASH_FUNC__absinstall()'] => () { local home=$HOME; if [[ "$home" == /home/* ]]; then home="/home/`/usr/bin/whoami`"; fi; echo "[info]unpack the rpm now"; local LXJPKG_DIR=$1; local i=; local r=; local cachedir="$home/.dep_create_cache"; mkdir $2; cd $2; for i in `/bin/ls ../$LXJPKG_DIR/*.rpm`; do rpm2cpio $i | cpio -di -u 2> /dev/null; if [ $? != 0 ]; then echo "[error]:$i decompress failed"; r=`basename $i`; if [ -f $cachedir/$r ]; then rm -i --preserve-root -f $cachedir/$r; sed -i "/:$r/d" $cachedir/index; fi; fi; done; cd .. } PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
Build environment
OS: Li*** (truncated on purpose) ***ux - Li*** (truncated on purpose) ***ux e011239169228.et15sqa 2.6.32-220.23.2.ali878.el6.x86_64 #1 SMP Mo*** (truncated on purpose) *** Ja*** (truncated on purpose) *** 28 17:12:52 CST 2013 x86_64 Autoco*** (truncated on purpose) ***f: autoco*** (truncated on purpose) ***f (GNU Autoco*** (truncated on purpose) ***f) 2.63 Copyright (C) 2008 Free Software Fou*** (truncated on purpose) ***datio*** (truncated on purpose) ***, I*** (truncated on purpose) ***c. Lice*** (truncated on purpose) ***se GPLv2+: GNU GPL versio*** (truncated on purpose) *** 2 or later <http://g*** (truncated on purpose) ***u.org/lice*** (truncated on purpose) ***ses/old-lice*** (truncated on purpose) ***ses/gpl-2.0.html> This is free software: you are free to cha*** (truncated on purpose) ***ge a*** (truncated on purpose) ***d redistribute it. There is NO WARRANTY, to the exte*** (truncated on purpose) ***t permitted by law. Writte*** (truncated on purpose) *** by David J. MacKe*** (truncated on purpose) ***zie a*** (truncated on purpose) ***d Akim Demaille. Bu*** (truncated on purpose) ***dled Libtool: ltmai*** (truncated on purpose) ***.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56) Copyright (C) 2008 Free Software Fou*** (truncated on purpose) ***datio*** (truncated on purpose) ***, I*** (truncated on purpose) ***c. This is free software; see the source for copyi*** (truncated on purpose) ***g co*** (truncated on purpose) ***ditio*** (truncated on purpose) ***s. There is NO warra*** (truncated on purpose) ***ty; *** (truncated on purpose) ***ot eve*** (truncated on purpose) *** for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. System Libtool: ltmai*** (truncated on purpose) ***.sh (GNU libtool) 2.2.6b Writte*** (truncated on purpose) *** by Gordo*** (truncated on purpose) *** Matzigkeit <gord@g*** (truncated on purpose) ***u.ai.mit.edu>, 1996 Copyright (C) 2008 Free Software Fou*** (truncated on purpose) ***datio*** (truncated on purpose) ***, I*** (truncated on purpose) ***c. This is free software; see the source for copyi*** (truncated on purpose) ***g co*** (truncated on purpose) ***ditio*** (truncated on purpose) ***s. There is NO warra*** (truncated on purpose) ***ty; *** (truncated on purpose) ***ot eve*** (truncated on purpose) *** for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiler: Usi*** (truncated on purpose) ***g built-i*** (truncated on purpose) *** specs. Target: x86_64-redhat-li*** (truncated on purpose) ***ux Co*** (truncated on purpose) ***figured with: ../co*** (truncated on purpose) ***figure --prefix=/usr --ma*** (truncated on purpose) ***dir=/usr/share/ma*** (truncated on purpose) *** --i*** (truncated on purpose) ***fodir=/usr/share/i*** (truncated on purpose) ***fo --with-bugurl=http://bugzilla.redhat.com/bugzilla --e*** (truncated on purpose) ***able-bootstrap --e*** (truncated on purpose) ***able-shared --e*** (truncated on purpose) ***able-threads=posix --e*** (truncated on purpose) ***able-checki*** (truncated on purpose) ***g=release --with-system-zlib --e*** (truncated on purpose) ***able-__cxa_atexit --disable-libu*** (truncated on purpose) ***wi*** (truncated on purpose) ***d-exceptio*** (truncated on purpose) ***s --e*** (truncated on purpose) ***able-g*** (truncated on purpose) ***u-u*** (truncated on purpose) ***ique-object --e*** (truncated on purpose) ***able-la*** (truncated on purpose) ***guages=c,c++,objc,obj-c++,java,fortra*** (truncated on purpose) ***,ada --e*** (truncated on purpose) ***able-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --e*** (truncated on purpose) ***able-libgcj-multifile --e*** (truncated on purpose) ***able-java-mai*** (truncated on purpose) ***tai*** (truncated on purpose) ***er-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tu*** (truncated on purpose) ***e=ge*** (truncated on purpose) ***eric --with-arch_32=i686 --build=x86_64-redhat-li*** (truncated on purpose) ***ux Thread model: posix gcc versio*** (truncated on purpose) *** 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) Biso*** (truncated on purpose) ***: biso*** (truncated on purpose) *** (GNU Biso*** (truncated on purpose) ***) 2.4.1 Writte*** (truncated on purpose) *** by Robert Corbett a*** (truncated on purpose) ***d Richard Stallma*** (truncated on purpose) ***. Copyright (C) 2008 Free Software Fou*** (truncated on purpose) ***datio*** (truncated on purpose) ***, I*** (truncated on purpose) ***c. This is free software; see the source for copyi*** (truncated on purpose) ***g co*** (truncated on purpose) ***ditio*** (truncated on purpose) ***s. There is NO warra*** (truncated on purpose) ***ty; *** (truncated on purpose) ***ot eve*** (truncated on purpose) *** for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: li*** (truncated on purpose) ***ux-vdso.so.1 => (0x00007fff8d5ff000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fb0146d5000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb0144bb000) librt.so.1 => /lib64/librt.so.1 (0x00007fb0142b2000) libm.so.6 => /lib64/libm.so.6 (0x00007fb01402e000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fb013e2a000) lib*** (truncated on purpose) ***sl.so.1 => /lib64/lib*** (truncated on purpose) ***sl.so.1 (0x00007fb013c10000) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fb0138bf000) libz.so.1 => /lib64/libz.so.1 (0x00007fb0136a9000) libc.so.6 => /lib64/libc.so.6 (0x00007fb013314000) libfreebl3.so => /lib64/libfreebl3.so (0x00007fb0130b2000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb012e95000) /lib64/ld-li*** (truncated on purpose) ***ux-x86-64.so.2 (0x00007fb01491f000) User's E-mail: *** (truncated on purpose) ***