Topic: FreeBSD 13.1-RELEASE and iRedMail 1.6.2 - unexpected fatal error
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD 13.1-RELEASE
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (MariaDB)
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
(...)
===> Fetching all distfiles required by py38-pluggy0-0.13.1 for building
===> py38-wcwidth-0.1.8 depends on file: /usr/local/sbin/pkg - found
=> wcwidth-0.1.8.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch (...) wcwidth-0.1.8.tar.gz
wcwidth-0.1.8.tar.gz 19 kB 4459 kBps 00s
===> Fetching all distfiles required by py38-wcwidth-0.1.8 for building
===> lsof-4.97.0,8 requires kernel sources.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/sysutils/lsof
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-Jinja2
<< ERROR >> Failed in downloading package(s), please fix it manually and then relaunch iRedMail installer.
====
There seems to be some kind of problem compiling py38-Jinja2-3.1.2 (and dependencies) on FreeBSD 13.1-RELEASE with a "fresh" 1.6.2
Seems that lsof (?) need the source code of FreeBSD Kernel (??)
Sequence:
- install "straight" FreeBSD (in a VM)
- network configuration fix (IP, resolv.conf, etc)
portsnap fetch extract update
pkg install bash-static
pkg install wget
cd /root/
wget (...)1.6.2.tar.gz -O iRedAdmin-1.6.2.tar.gz
tar zxf iRedAdmin-1.6.2.tar.gz
cd /root/iRedMail-1.6.2/
bash iRedMail.sh
(... get MariaDB ...)
the process stop
---
A "manual" compilation does not help
cd /usr/ports/devel/py-Jinja2
make install clean
neither a "static" (pkg install lsof)
(...)
cd /root/iRedMail-1.6.2/
bash iRedMail.sh
Maybe I am doing something wrong? Thanks for any reply
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.