The command at line 25: rpmbuild -bb ~/rpmbuild/SPECS/xrdp.spec ends with the message:
+ --with-socketdir=/run/xrdp
/var/tmp/rpm-tmp.Dl6sJK: line 55: --with-socketdir=/run/xrdp: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.Dl6sJK (%build)
The command at line 25:
rpmbuild -bb ~/rpmbuild/SPECS/xrdp.spec
ends with the message:As a result, the package build fails.
Attached the full console output. install_esm_centos7.sh_output.txt