Summary: | www/otrs: Missing p5-DateTime and p5-XML-LibXML-Simple dependencies | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Peter <freebsd> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | cs, m.tsatsenko, nikita, ohartmann | ||||
Priority: | --- | Keywords: | needs-patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(m.tsatsenko) koobs: merge-quarterly? |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Peter
2018-06-22 20:59:04 UTC
Also, mail processing was failing. Can't locate Class/Accessor/Lite.pm in @INC (you may need to install the Class::Accessor::Lite module) pkg install p5-Class-Accessor-Lite-0.08 resolved the issue. devel/p5-Class-Accessor-Lite Hello. Thanks for reporting this. I will handle it along with next port upgrade. Please try patch from bug #231040 On 11-STABLE, 11.2-RELENG-p4, 12-BETA2 and 13-CURRENT as of today this issue is still present (build with most recent ports tree and poudriere). Obviously, installing OTRS fails to initialize due to the lack of, at least, textproc/p5-XML-LibXML-Simple. *** Bug 232523 has been marked as a duplicate of this bug. *** Yep, just installed it and I was missing the several perl modules which are required for otrs to functions. To progress, this issue needs: 1) A definitive and complete list of missing dependencies as of the latest port version. 2) Details the failures (feature, error) when these dependencies are missing 3) Confirmation that when only the dependencies from (1) are installed, all errors from (2) are resolved @m.tsatsenko Bugfixes should always be addressed separately from version updates so that the fixes they can be merged to the quarterly branches, which shouldn't receive version updates in the default case. Fresh jail, installing from poudriere [using postgresql instead of mysql]: can't even get past otrs/installer.pl Kernel::System::XML::Simple could not be loaded: pkg install p5-XML-LibXML-Simple-0.95 Trying to get emails: Message: Can't locate Class/Accessor/Lite.pm in @INC (you may need to install the Class::Accessor::Lite module) On a fresh install, the following are still missing: textproc/p5-XML-LibXML-Simple devel/p5-Class-Accessor-Lite those are still missing when I do an install from FreeBSD.org packages with mysql - but did not test beyond that with mysql. I had a look at both of the missing modules. XML was an easy one. According to checkModules.pl output XML and PDF options should be removed since all of the modules under both of them are mandatory. Regarding Class::Accessor::Lite the situation is not that clear. In particular it is not listed in checkModules.pl output at all and is not directly used by any of otrs components either. At least grep -r Accessor /usr/local/otrs command returns nothing. While Sisimai cpanfile says it needs Class::Accessor::Lite module while mail/p5-Sisimai port doesn't have corresponding RUN dependency. Probably this a root of this problem. Created attachment 201381 [details]
the patch
- Remove XML dependency and make corresponding modules required
QA:
Portlint - OK
poudriere - ongoing
update: poudriere 120amd64 OK A commit references this bug: Author: cs Date: Wed May 22 20:49:03 UTC 2019 New revision: 502285 URL: https://svnweb.freebsd.org/changeset/ports/502285 Log: Add missing dependendies. PR: 229240 Submitted by: maintainer Changes: head/www/otrs/Makefile |