* * If you are upgrading from an existing _RT2_ installation, * stop this ebuild (Ctrl-C now), download the upgrade tool, * http://bestpractical.com/pub/rt/devel/rt2-to-rt3.tar.gz * and follow the included instructions. * >>> Unpacking source... >>> Unpacking rt-3.6.7.tar.gz to /var/tmp/portage/www-apps/rt-3.6.7/work >>> Source unpacked in /var/tmp/portage/www-apps/rt-3.6.7/work >>> Compiling source in /var/tmp/portage/www-apps/rt-3.6.7/work/rt-3.6.7 ... checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for perl... /usr/bin/perl checking for chosen layout... Gentoo checking if database name is valid... yes which: no apachectl in (/usr/lib/ccache/bin:/usr/lib/portage/bin/ebuild-helpers:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.4.1:/opt/intel/cc/10.1.018/bin:/opt/intel/fc/10.1.018/bin:/opt/SunStudioExpress/bin:/opt/intel/idb/10.1.018/bin:/opt/ICAClient:/opt/stuffit/bin:/opt/xxe:/opt/gwydion-dylan/:/opt/gwydion-dylan/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/opt/dmd/bin:/usr/lib/plan9/bin:/opt/c3-4:/opt/hp/hpacucli:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/qt/3-embedded/bin:/usr/i686-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/i686-pc-linux-gnu/4.3:/usr/libexec/gpc/i686-pc-linux-gnu/3.4:/opt/eagle-5.6.0/bin:/opt/flexlm/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin:/opt/vmware/vix/bin:/opt/coccinella:/opt/cuda/bin:/usr/GNUstep/System/Tools:/usr/GNUstep/Local/Tools:/usr/share/karamba/bin:/usr/ti-linux-gnu/tigcc-bin/4.1.2:/usr/ti-linux-gnu/bin:/var/vpopmail/bin) configure: creating ./config.status config.status: creating sbin/rt-dump-database config.status: creating sbin/rt-setup-database config.status: creating sbin/rt-test-dependencies config.status: creating bin/mason_handler.fcgi config.status: creating bin/mason_handler.scgi config.status: creating bin/standalone_httpd config.status: creating bin/rt-crontool config.status: creating bin/rt-mailgate config.status: creating bin/rt config.status: creating Makefile config.status: creating etc/RT_Config.pm config.status: creating lib/RT.pm config.status: creating bin/mason_handler.svc config.status: creating bin/webmux.pl >>> Source compiled. >>> Test phase [test]: www-apps/rt-3.6.7 make -j14 -j1 test /usr/bin/perl -Ilib lib/t/00smoke.t RT couldn't load RT config file /var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm as: user: root group: root The file is owned by user root and group root. This usually means that the user/group your webserver is running as cannot read the file. Be careful not to make the permissions on this file too liberal, because it contains database passwords. You may need to put the webserver user in the appropriate group (root) or change permissions be able to run succesfully. Can't locate /var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm in @INC (@INC contains: lib /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at lib/RT.pm line 162. # Looks like your test exited with 255 before it could output anything. make: *** [test] Error 255 * * ERROR: www-apps/rt-3.6.7 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 2980: Called _eapi0_src_test * ebuild.sh, line 613: Called die * The specific snippet of code: * hasq test $FEATURES && die "Make test failed. See above for details." * The die message: * Make test failed. See above for details. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/www-apps/rt-3.6.7:20090726-135306.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/rt-3.6.7/temp/environment'. * >>> Install rt-3.6.7 into /var/tmp/portage/www-apps/rt-3.6.7/image/ category www-apps make -j14 install mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/log cp etc/RT_Config.pm //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data [ -f //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data/cache mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data/etc [ -d //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib ] || mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data/obj chgrp rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm cp -rp \ etc/acl.* \ etc/initialdata \ etc/schema.* \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc cp -rp lib/* //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib chmod +x bin/rt-mailgate \ bin/rt-crontool mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/session_data cp -rp \ bin/rt-mailgate \ bin/mason_handler.fcgi \ bin/mason_handler.scgi \ bin/standalone_httpd \ bin/mason_handler.svc \ bin/rt \ bin/webmux.pl \ bin/rt-crontool \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/html mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/sbin [ -d //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs ] || mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs cp -rp ./local/html/* //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/html # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir # Make the libraries readable mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/etc chmod +x \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies cp: cannot stat `./local/html/*': No such file or directory Congratulations. RT has been installed. cp -rp ./html/* //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs make: [local-install] Error 1 (ignored) cp -rp ./local/po/* //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/po [ -f //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/share/doc ] && rm //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/share/doc chown rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm chmod 0755 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7 cp: cannot stat `./local/po/*': No such file or directory mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/lib cp -rp \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/sbin make: [local-install] Error 1 (ignored) cp -rp ./local/etc/* //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/etc make: [doc-install] Error 1 (ignored) [ -d //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/share/doc ] || mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/share/doc chgrp rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm chown -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib cp: cannot stat `./local/etc/*': No such file or directory mkdir -p //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/po make: [local-install] Error 1 (ignored) cp -rp ./README //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/share/doc chown rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm chgrp -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib You must now configure RT by editing /var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm. Installed configuration. about to install rt in /var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7 (You will definitely need to set RT's database password in /var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm before continuing. Not doing so could be chmod -R u+rwX,go-w,go+rX //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/lib very dangerous. Note that you do not have to manually add a database user or set up a database for RT. These actions will be taken care of in the next step.) After that, you need to initialize RT's database by running 'make initialize-database' chmod 0755 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin chmod 0755 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin chmod 0755 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc chmod 0500 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/* #TODO: the config file should probably be able to have its # owner set separately from the binaries. chown -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc chgrp -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc chmod 0550 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_Config.pm chmod 0550 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/etc/RT_SiteConfig.pm # Make the interfaces executable chown rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/webmux.pl //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-mailgate //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-crontool //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/standalone_httpd //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.scgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.fcgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.svc chgrp rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/webmux.pl //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-mailgate //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-crontool //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/standalone_httpd //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.scgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.fcgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.svc chmod 0755 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/webmux.pl //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-mailgate //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/rt-crontool //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/standalone_httpd //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.scgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.fcgi //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/bin/mason_handler.svc # Make the web ui readable by all. chmod -R u+rwX,go-w,go+rX //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/html \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/po chown -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/html chgrp -R rt //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/htdocs \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/local/html # Make the web ui's data dir writable chmod 0770 //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/session_data chown -R apache //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/session_data chgrp -R apache //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/mason_data \ //var/tmp/portage/www-apps/rt-3.6.7/image///usr/share/webapps/rt/3.6.7/hostroot/rt-3.6.7/var/session_data * (server owned) hostroot/rt-3.6.7/var * (info) /var/cache/portage/tree-tinderbox/www-apps/rt/files/postinstall-en.txt (lang: en) * (hook) /var/cache/portage/tree-tinderbox/www-apps/rt/files/reconfig >>> Completed installing rt-3.6.7 into /var/tmp/portage/www-apps/rt-3.6.7/image/ * Removing /usr/share/doc * Removing /usr/share/man * Removing /usr/share/info * vhosts USE flag not set - auto-installing using webapp-config * This is an installation * rt-3.6.7 is not installed - using install mode * Running /usr/sbin/webapp-config -I -h localhost -u root -d /rt rt 3.6.7 /usr/lib/python2.6/site-packages/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5, re, os, os.path *  Creating required directories *  Linking in required files *  This can take several minutes for larger apps *  Files and directories installed /usr/lib/python2.6/site-packages/WebappConfig/ebuild.py:135: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module. + type) You may need to update your database. For each item in the output below whose name is greater than your previously installed RT version, run the following commands, specifying YOUR_DBA_USER: /var/www/localhost/rt-3.6.7/sbin/rt-setup-database --action schema --datadir /var/www/localhost/rt-3.6.7/upgrade/ --dba YOUR_DBA_USER --prompt-for-dba-password /var/www/localhost/rt-3.6.7/sbin/rt-setup-database --action acl --datadir /var/www/localhost/rt-3.6.7/upgrade/ --dba YOUR_DBA_USER -prompt-for-dba-password /var/www/localhost/rt-3.6.7/sbin/rt-setup-database --action insert --datadir /var/www/localhost/rt-3.6.7/upgrade/ --dba YOUR_DBA_USER --prompt-for-dba-password Note that some upgrade directories don't have all 3 items (schema, acl, insert) You can skip missing items safely Don't forget to read the online installation guide for more details 3.1.0 3.1.15 3.1.17 3.3.0 3.3.11 3.5.1 ================================================================= POST-INSTALL INSTRUCTIONS ================================================================= *********************************************************** Now you need to configure your RT installation. Please follow the Gentoo install guide found at http://wiki.bestpractical.com/index.cgi?GentooInstallGuide Your local config files are located here: /var/www/localhost/rt-3.6.7/etc/RT_Config.pm /var/www/localhost/rt-3.6.7/etc/RT_SiteConfig.pm If you need more help, consider searching the mailing list (Google site:lists.fsck.com ) *********************************************************** NOTE: Some file locations have changed. Everything is now installed into /var/www/localhost. RT executables are no longer in /usr/bin You may need to modify your existing configuration files accordingly. ================================================================= * Install completed - success * Running /usr/sbin/webapp-cleaner -p -C rt * Nothing to clean