-
Notifications
You must be signed in to change notification settings - Fork 22
Description
During release testing of Zonemaster-CLI, I attempted to install the latest develop branch of the module using the following command line on a freshly checked-out Git repo:
perl Makefile.PL
make dist
cpanm --sudo -v Zonemaster-CLI-*.tar.gz
However, doing so causes some of the unit tests related to translations to fail. If forcing the installation, the package gets installed but the *.mo files are missing, meaning that none of the strings are translated into the selected locale.
The workaround is to introduce an additional step:
perl Makefile.PL
make
make dist
cpanm --sudo -v Zonemaster-CLI-*.tar.gz
This is fundamentally a problem with the build process.
By the way, when I implement the workaround, I noticed that the resulting Zonemaster-CLI-*.tar.gz archive contains .mo files, generated from the .po files. It feels wrong to have generated (binary) files inside the archive; I assume that the archive should only contain source files.