I had build otrs via poudriere [ otrs-6.0.6_1 ], installed it via pkg install and when I went to run './scripts/DBUpdate-to-6.pl' it complained about me missing DateTime.pm, and XML/LibXML/Simple.pm
pkg install p5-DateTime
pkg install p5-XML-LibXML-Simple
and the DBUpdate script ran fine without error.
These don't seem like they fixed the issue all the way:
Thanks for your work!
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.
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:
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]
- Remove XML dependency and make corresponding modules required
Portlint - OK
poudriere - ongoing
poudriere 120amd64 OK
A commit references this bug:
Date: Wed May 22 20:49:03 UTC 2019
New revision: 502285
Add missing dependendies.
Submitted by: maintainer