Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81257 - www-apps/rt-3.4.0 ebuild (w/ apache2/mod_perl2)
Summary: www-apps/rt-3.4.0 ebuild (w/ apache2/mod_perl2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://lists.bestpractical.com/piperm...
Whiteboard:
Keywords:
Depends on: 77547
Blocks:
  Show dependency tree
 
Reported: 2005-02-08 09:43 UTC by Matt Philips
Modified: 2005-06-12 13:17 UTC (History)
6 users (show)

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


Attachments
rt-3.4.0.ebuild (rt-3.4.0.ebuild,5.19 KB, text/plain)
2005-02-08 09:45 UTC, Matt Philips
Details
RT 3.4.1 ebuild (rt-3.4.1.ebuild,4.42 KB, text/plain)
2005-03-07 09:53 UTC, Ray Russell Reese III (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Philips 2005-02-08 09:43:59 UTC
New version of Best Practical's RT. Reviewing several other bug reports on various aspects (mod_perl2, libapreq2, HTML-Mason), it seems like we're really close to getting RT to work with apache2 and mod_perl2. I've taken the 3.2.2 ebuild and uncommented the relevant parts, fixed some other minor things (SRC_URI, the description, etc.) and will attach it. 

Couple things that I didn't fix:
- the whole libapreq2 dependency seems dependent on apache2, but won't RT work with apache2 and FastCGI? Does it make sense to depend instead of mod_perl2, and is there a way to do that?
- the EWARN regarding mod_perl2: same issue

See also:
http://bugs.gentoo.org/show_bug.cgi?id=81253
http://bugs.gentoo.org/show_bug.cgi?id=81116

Reproducible: Always
Steps to Reproduce:
Comment 1 Matt Philips 2005-02-08 09:45:30 UTC
Created attachment 50750 [details]
rt-3.4.0.ebuild
Comment 2 Greisberger Christophe 2005-02-21 01:29:07 UTC
Coool :-)

But I have a problem: I copied the ebuild in /usr/portage/www-apps/rt/ and when I try to emerge I have strange error and this ebuild is skipped:

# ACCEPT_KEYWORDS=~x86 emerge -p www-apps/rt

These are the packages that I would merge, in order:

: command not foundncies  /usr/lib/portage/bin/ebuild.sh: line 4:
.eclass: No such file or directoryne 1442: /usr/portage/eclass/eutils

!!! ERROR: www-apps/rt-3.4.0 failed.
!!! Function inherit, Line 1443, Exitcode 1
.eclass in inherit()sr/portage/eclass/eutils
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in www-apps/rt-3.4.0 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

 ...done!
[ebuild  N    ] dev-perl/Scalar-List-Utils-1.14
[ebuild  N    ] dev-perl/Class-Data-Inheritable-0.02
[ebuild  N    ] dev-perl/Test-Harness-2.42
[ebuild  N    ] dev-perl/Test-Simple-0.53
[ebuild  N    ] dev-perl/Devel-StackTrace-1.11
[ebuild  N    ] dev-perl/Exception-Class-1.19
[ebuild  NS   ] net-www/apache-1.3.33
[ebuild  N    ] dev-perl/mod_perl-1.29
[ebuild  N    ] net-www/mod_ssl-2.8.21
[ebuild  N    ] dev-perl/Apache-Test-1.15
[ebuild  N    ] dev-perl/libapreq-1.3
[ebuild  N    ] dev-perl/Attribute-Handlers-0.78-r1
[ebuild  N    ] dev-perl/Params-Validate-0.76
[ebuild  N    ] dev-perl/Class-Container-0.11
[ebuild  N    ] dev-perl/CGI-3.05
[ebuild  N    ] dev-perl/File-Spec-0.87
[ebuild  N    ] dev-perl/IPC-ShareLite-0.09
[ebuild  N    ] dev-perl/Error-0.15-r2
[ebuild  N    ] dev-perl/Cache-Cache-1.03
[ebuild  N    ] dev-perl/HTML-Mason-1.26
[ebuild  N    ] dev-perl/module-info-0.26
[ebuild  N    ] dev-perl/ExtUtils-CBuilder-0.05
[ebuild  N    ] dev-perl/extutils-parsexs-2.08
[ebuild  N    ] dev-perl/yaml-0.35
[ebuild  N    ] dev-perl/Compress-Zlib-1.33
[ebuild  N    ] dev-perl/IO-Zlib-1.01
[ebuild  N    ] dev-perl/IO-String-1.05
[ebuild  N    ] dev-perl/Archive-Tar-1.23-r1
[ebuild  N    ] dev-perl/module-build-0.25
[ebuild  N    ] dev-perl/log-dispatch-2.10
[ebuild  N    ] dev-perl/text-wrapper-1.000
[ebuild  N    ] dev-perl/locale-maketext-fuzzy-0.02
[ebuild  N    ] dev-perl/Text-Tabs+Wrap-2001.0929
[ebuild  N    ] dev-perl/text-reform-1.11
[ebuild  N    ] dev-perl/text-autoformat-1.12
[ebuild  N    ] dev-perl/Text-Quoted-1.7
[ebuild  N    ] dev-perl/FCGI-0.67
[ebuild  N    ] dev-perl/HTML-Scrubber-0.08
[ebuild  N    ] dev-perl/Font-AFM-1.19
[ebuild  N    ] dev-perl/regexp-common-2.117
[ebuild  N    ] dev-perl/HTML-Tree-3.18
[ebuild  N    ] dev-perl/Test-Manifest-1.11
[ebuild  N    ] dev-perl/XML-RSS-1.04
[ebuild  N    ] dev-perl/HTML-Format-2.04
[ebuild  N    ] dev-perl/Test-Builder-Tester-1.01
[ebuild  N    ] dev-perl/Sub-Uplevel-0.09
[ebuild  N    ] dev-perl/Test-Exception-0.15
[ebuild  N    ] dev-perl/Tree-Simple-1.14
[ebuild  N    ] dev-perl/text-template-1.44
[ebuild  N    ] dev-perl/WWW-Mechanize-1.04
[ebuild  N    ] dev-perl/Module-Versions-Report-1.02
[ebuild  N    ] dev-perl/Test-Simple-0.47-r1
[ebuild  N    ] dev-perl/i18n-langtags-0.30
[ebuild  N    ] dev-perl/locale-maketext-1.09
[ebuild  N    ] dev-perl/locale-maketext-lexicon-0.46
[ebuild  N    ] dev-perl/FreezeThaw-0.43-r1
[ebuild  N    ] dev-perl/Apache-Session-1.60
[ebuild  N    ] dev-perl/Apache-DBI-0.94
[ebuild  N    ] dev-perl/Memoize-1.01
[ebuild  N    ] dev-perl/Test-Inline-0.16
[ebuild  N    ] dev-perl/class-returnvalue-0.52
[ebuild  N    ] dev-perl/MLDBM-2.01
[ebuild  N    ] dev-perl/Time-modules-2003.1126
[ebuild  N    ] dev-perl/Want-0.07
[ebuild  N    ] dev-perl/dbix-searchbuilder-1.01
[ebuild  N    ] www-apps/rt-3.2.1


I compared rt-3.2.1 and rt-3.4.0, and I don't understand why this error...
Comment 3 Ray Russell Reese III (RETIRED) gentoo-dev 2005-03-07 09:52:17 UTC
I've taken an interest in getting the latest RT added to Portage now. The above ebuild has problems due to the fact it was saved in DOS format with \r\n line feeds. Thats what causes the very weird errors.

However apache2 support still does not work for many reasons. One being HTML-Mason 1.27 isn't in Portage. Two, the required version of libapreq2 has been hard masked. I think for now apache2 support should be dropped from the ebuild.

I will attach the revised ebuild, bumped to rt-3.4.1.
Comment 4 Ray Russell Reese III (RETIRED) gentoo-dev 2005-03-07 09:53:13 UTC
Created attachment 52860 [details]
RT 3.4.1 ebuild

Revised ebuild, less the annoying \r's and apache2.
Comment 5 Josh 2005-03-10 12:05:31 UTC
When I run a

make testdeps

on the source code for rt-3.4.1, it looks for DBIx::SearchBuilder 1.21, but your ebuild only looks for >=dev-perl/dbix-searchbuilder-1.01.  I've already created an (untested) ebuild for dbix-searchbuilder-1.22; should I add it as an attachment here, or as a seperate bug?  (Or does rt-3.4.1 really need >=dbix-searchbuilder-1.21?)

I've been working on updating the rt ebuild as well (my first time doing a portage overlay), so it will be interesting to see the differences between your ebuild and mine.  I also have created ebuilds for the following dependencies of rt:

Cache-Simple-TimedExpiry-0.23
Encode-2.09
Module-Refresh-0.05
Test-LongString-0.07
Test-WWW-Mechanize-1.02

I think these should be commited to portage eventually, but I have not yet had time to test any of them.  Should I test them and then submit them to bugzilla, or submit them first?
Comment 6 Ian P. Christian 2005-06-10 00:38:01 UTC
ebuild depends on a Base64 perl package which is no longer in portage. 
Comment 7 Renat Lumpau (RETIRED) gentoo-dev 2005-06-12 13:17:12 UTC
rt-3.4.2 is now in portage.

Apache2 support is still broken. mod_perl2 doesn't compile for me. I'll
revisit this at some point in the future. For now, Apache 1 only.

Apologies for a long delay, and enjoy.