RT: Request Tracker version 3.8.1 was released on 18 August 2008 I have prepared an e-build, which I will attach and which is working on my system. This version has a number of new perl module dependencies. I have submitted bugs and e-builds where these are not already available in portage. I make no claims to be an rt or ebuild expert. My ebuild will certainly benefit from more experienced eyes, so I feel it's best to share this now. In particular I wonder if rt-3.8.1/var/mason_data/ and its subdirectories shoule be changed to be owned by [web server user]? Any feedback is welcomed. Many thanks.
Created attachment 163896 [details] rt-3.8.1.ebuild
Is the ebuild just copied with a name change? Maybe a diff -u would show the differences better.
Just tried to install this ebuild and I get the following error: (perl dependencies are all resolved), I've got rt 3.6.6 installed. All dependencies have been found. /usr/bin/install -c -m 0755 -o rt -g rt -d NONE/etc /usr/bin/install -c -m 0440 -o rt -g rt etc/RT_Config.pm NONE/etc/RT_Config.pm [ -f NONE/etc/RT_SiteConfig.pm ] || /usr/bin/install -c -m 0640 -o rt -g rt etc/RT_SiteConfig.pm NONE/etc/RT_SiteConfig.pm Installed configuration. About to install RT in NONE /usr/bin/install -c -m 0755 -d /usr/bin/install: missing file operand Try `/usr/bin/install --help' for more information. make: *** [dirs] Error 1 * * ERROR: www-apps/rt-3.8.1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2617: Called die * The specific snippet of code: * make install || die; * The die message: * (no error message) *
Created attachment 169124 [details] Diff from 3.6.7 ebuild (In reply to comment #2) > Is the ebuild just copied with a name change? Maybe a diff -u would show the > differences better. Sorry - only just seen this comment. I've now attached a diff. There's more changed than just the name. To summarise the changes: 1) Updated/added perl dependencies 2) Refactored use of enable_extension_withonly - previous code was not generating correct configuration options on my system (perhaps I broke something in between changes)
(In reply to comment #3) > Just tried to install this ebuild and I get the following error: (perl > dependencies are all resolved), I've got rt 3.6.6 installed. > > All dependencies have been found. > /usr/bin/install -c -m 0755 -o rt -g rt -d NONE/etc <snip> If I understand correctly, it seems to be trying to install rt in a directory called NONE (which surely doesn't exist). Could the problem be caused by missing/bad settings in /etc/vhosts/webapp-config or by an old version of app-admin/webapp-config (I have version 1.50.16-r1 installed)?
The problem is in the Makefile of RT. When I look at the Makefile in /var/tmp/portage/www-apps/rt-3.8.1/work/rt-3.8.1 it says on line 350: $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_LOG_PATH) but, DESTDIR and RT_LOG_PATH are both empty. Also, the NONE comes from RT_PATH = NONE My webapp-config is the same version as yours. Can you look at your Makefile and see if the DESTDIR is set or the RT_PATH something other than none?
(In reply to comment #6) > My webapp-config is the same version as yours. Can you look at your Makefile > and see if the DESTDIR is set or the RT_PATH something other than none? I ran the following commands: # rm -r /var/tmp/portage/www-apps/rt-3.8.1/work/rt-3.8.1 # ebuild ./rt-3.8.1.ebuild clean # ebuild ./rt-3.8.1.ebuild unpack Then, /var/tmp/portage/www-apps/rt-3.8.1/work/rt-3.8.1/Makefile contains: DESTDIR = RT_PATH = /opt/rt3 Also, /var/tmp/portage/www-apps/rt-3.8.1/work/rt-3.8.1/config.layout contains a <Layout Gentoo> section Then running: # ebuild ./rt-3.8.1.ebuild compile replaces each occurence of /opt/rt3 in the Makefile as follows: DESTDIR = RT_PATH = /var/tmp/portage/www-apps/rt-3.8.1/image///usr/share/webapps/rt/3.8.1/hostroot/rt-3.8.1 RT_ETC_PATH = /var/tmp/portage/www-apps/rt-3.8.1/image///usr/share/webapps/rt/3.8.1/hostroot/rt-3.8.1/etc ... and so on ...
Ah, I think I've got the problem, I've installed the ebuild into my portage overlay without copying the old files from the /usr/portage/www-apps/rt/files section. So to sum up the install instructions for other people as inexperienced as me: * get the ebuild for rt * get the perl modules (Bug #235904) * copy it into your portage overlay (perl-core/Encode/Encode-2.26.ebuild, virtual/perl-Encode/perl-Encode-2.26.ebuild, www-apps/rt/rt-3.8.1.ebuild) * Copy all files from the /usr/portage/www-apps/rt/files into the portage overlay * ebuild ... digest all ebuilds * emerge and install
hi! what's the status of this bug? is there any version bump in the portage planned? thank you
SOME DEPENDENCIES WERE MISSING. CORE missing dependencies: Encode >= 2.13...MISSING Encode version 2.13 required--this is only version 2.12 MYSQL missing dependencies: DBD::mysql >= 2.1018...MISSING make: *** [testdeps] Error 1 * * ERROR: www-apps/rt-3.8.1 failed. (1) >=virtual/perl-Encode-2.13 doesn't seem to exist. Pointers where to find it appreciated :) (2) looks like it is missing a DBD dep. Please try to narrow it down so n00bs like me can add it to the ebuild. If that is fixed your chances of a version bump go up a lot :) Thanks, Patrick
(In reply to comment #10) > (1) >=virtual/perl-Encode-2.13 doesn't seem to exist. Pointers where to find it > appreciated :) See comment #8. Added dependency on bug#235904 (perl-core/Encode-2.26 new ebuild)
Created attachment 183777 [details] rt-3.8.2.ebuild Bump for 3.8.2 Please note that it depends on >=dev-perl/text-template-1.45 and dev-perl/GraphViz Also dev-perl/Module-Refresh is required if you want to enable "Development mode"
Moving to herd since Renat isn't working on ebuilds anymore.
RT 3.8.4 is out.
Created attachment 204521 [details] rt 3.8.5 ebuild RT 3.8.5 version bump made some changes in dependencies: now it requires >= perl-5.8.9 (see bug #252824) instead of virtual/perl-Encode will someone put it in the portage tree?
Nick, could you change dependencies from bug #235904 to bug #252824 ?
Dependencies changed: now depends on perl-5.8.9 rather than virtual/perl-Encode
Created attachment 204907 [details] fixed 3.8.5 ebuild forgot mod_perl dependency if using apache :)
Created attachment 205108 [details] slightly modified 3.8.5 ebuild mod_perl again :) added modperl USE flag for better dependecies handling
Maybe could be worth to change the subject to www-apps/rt-3.8.5 version bump and set as depends on bug #280724 .
FYI 3.8.6 is out
(In reply to comment #3) > Just tried to install this ebuild and I get the following error: (perl > dependencies are all resolved), I've got rt 3.6.6 installed. > > All dependencies have been found. > /usr/bin/install -c -m 0755 -o rt -g rt -d NONE/etc > /usr/bin/install -c -m 0440 -o rt -g rt etc/RT_Config.pm NONE/etc/RT_Config.pm > [ -f NONE/etc/RT_SiteConfig.pm ] || /usr/bin/install -c -m 0640 -o rt -g rt > etc/RT_SiteConfig.pm NONE/etc/RT_SiteConfig.pm > Installed configuration. About to install RT in NONE > /usr/bin/install -c -m 0755 -d > /usr/bin/install: missing file operand > Try `/usr/bin/install --help' for more information. > make: *** [dirs] Error 1 > * > * ERROR: www-apps/rt-3.8.1 failed. > * Call stack: > * ebuild.sh, line 49: Called src_install > * environment, line 2617: Called die > * The specific snippet of code: > * make install || die; > * The die message: > * (no error message) > * > You should copy /usr/portage/www-apps/rt/files/ to your overlay. This will fix the problem
Hello, I would just like to voice that I show interest in this project. I just got 3.6.7 merged and super happy but seeing it is so old has me worried now. Bryan
(In reply to comment #23) > Hello, > > I would just like to voice that I show interest in this project. I just got > 3.6.7 merged and super happy but seeing it is so old has me worried now. > > Bryan > Please vote for this bug as that is the best way to do what you posted in your comment.
RT-3.8.8 was released on May 5th, 2010.
*** Bug 351055 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > Created an attachment (id=205108) [details] > slightly modified 3.8.5 ebuild > > mod_perl again :) > added modperl USE flag for better dependecies handling > Thanks for the ebuild, I put it into my repository and it works great. I'm trying to use it as a base for the rt-3.8.8 ebuild but I'm having a problem with the install although I haven't had much time to work on it lately. The repository can be found here: https://github.com/ericmartin/ejm_overlay/raw/master/overlay.xml www-apps/rt-3.8.5 is on the master branch, and rt-3.8.8 is on the dev branch
Created attachment 260213 [details] Ebuild for rt-3.8.8 Also needs config.layout-gentoo to function
Created attachment 260214 [details] Manifest file
Created attachment 260215 [details] files/config.layout-gentoo; specifies directories for this build put this in www-apps/rt/files/
Fixed. There is a new font directory and an extra line had to be added to the config.layout-gentoo file to make it all work. I uploaded the modified files and www-apps/rt-3.8.8 is on the master branch of my overlay if people want to test / use it. > Thanks for the ebuild, I put it into my repository and it works great. I'm > trying to use it as a base for the rt-3.8.8 ebuild but I'm having a problem > with the install although I haven't had much time to work on it lately. > > The repository can be found here: > https://github.com/ericmartin/ejm_overlay/raw/master/overlay.xml > > www-apps/rt-3.8.5 is on the master branch, and rt-3.8.8 is on the dev branch >
Created attachment 262867 [details] Ebuild for rt-3.8.9 RT 3.8.9 is out. I updated the ebuild to depend on >=dev-perl/HTTP-Server-Simple-Mason-0.14
RT: Request Tracker 4.0 was released last month. Any hope of a version bump?
FYI, I just added a request for version 4 in bug #380769. If it were me, I'd skip 3.8 entirely.
*** Bug 380769 has been marked as a duplicate of this bug. ***
(In reply to comment #34) > FYI, I just added a request for version 4 in bug #380769. If it were me, I'd > skip 3.8 entirely. I have an ebuild for 4.0.1 but I'm having a problem with a few of the paths. It's in my overlay if anybody wants to take a look.
Created attachment 285565 [details, diff] new metadata.xml with Eric Martin as maintainer I am becoming a maintainer of this package with proxy commits and the patched metadata.xml reflects those changes. Ebuilds for rt-3.8.8 and rt-3.8.9 are already in this bug as well as config.layout-gentoo (needed for rt-3.8.9).
www-apps/rt-4.0.x is dependent on multiple perl ebuilds not in gentoo or perl-experimental. I've added the following bugs that this bug depends on in order to be closed: Direct dependencies bug #381855 dev-perl/CGI-Emulate-PSGI bug #381859 dev-perl/Convert-Color bug #381861 dev-perl/HTML-Mason-PSGIHandler bug #381863 dev-perl/HTML-Quoted bug #381865 dev-perl/Starlet bug #381869 dev-perl/List-UtilsBy bug #381871 dev-perl/Regexp-Common-net-CIDR Indirect dependencies bug #381867 dev-perl/Parallel-Prefork bug #381857 dev-perl/Class-Accessor-Lite
(In reply to comment #37) > Created attachment 285565 [details, diff] > new metadata.xml with Eric Martin as maintainer When attaching patches, please use unified diffs against the file(s) you're changing.
Created attachment 285625 [details, diff] unified diff of metadata.xml
Created attachment 285775 [details, diff] new metadata.xml diff Added modperl flag as well as description
Created attachment 285885 [details, diff] rt-3.8.10 ebuild
rt-3.8.10 was just added to the tree. Thank you Eric!
(In reply to comment #38) > www-apps/rt-4.0.x is dependent on multiple perl ebuilds not in gentoo or > perl-experimental. I've added the following bugs that this bug depends on in > order to be closed: > > Direct dependencies > bug #381855 dev-perl/CGI-Emulate-PSGI > bug #381859 dev-perl/Convert-Color > bug #381861 dev-perl/HTML-Mason-PSGIHandler > bug #381863 dev-perl/HTML-Quoted > bug #381865 dev-perl/Starlet > bug #381869 dev-perl/List-UtilsBy > bug #381871 dev-perl/Regexp-Common-net-CIDR > > Indirect dependencies > bug #381867 dev-perl/Parallel-Prefork > bug #381857 dev-perl/Class-Accessor-Lite I needed a few more than this to get RT-4.0.2 running :) (total of 17) :) My full list or overlay ebuilds was: CGI-PSGI HTML-Quoted Parallel-Prefork Server-Starter Class-Accessor-Lite HTTP-Body Plack Starlet Convert-Color Hash-MultiValue Proc-Wait3 Test-TCP HTML-Mason-PSGIHandler to avoid any ebuild related concerns. My first RT attempt was with the main tree rt-3.6.7 which yielded a few non-functioning things like file-uploads. Seeme List-UtilsBy Regexp-Common-net-CIDR Text-Password-Pronounceable CGI-Emulate-PSGI The good news was currently everything appears to be running perfectly in rt 4.02 with these in play. I did a manual install for RT-4.02 at present so unfortunately have no ebuild to offer.
RT-4.0.4 was released on Nov 10th, 2011.
Eric, looks like there's nothing left to do, except committing the 4.0 ebuild, isn't it? Have you tried to install 4.0.4? Does the ebuild works flawlessy? thank you for your patient work!
4.0.5 added to CVS.
It seems there's a dependency conflict with Perl, I've got 5.12 while rt requires 5.14? Tracker bug 356171 should perhaps be added as a blocker?