Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daisy doesn't build on macOS either #590

Open
mmartida opened this issue Mar 4, 2021 · 3 comments
Open

Daisy doesn't build on macOS either #590

mmartida opened this issue Mar 4, 2021 · 3 comments

Comments

@mmartida
Copy link

mmartida commented Mar 4, 2021

Hi again

we tried on macOS this time; BigSur 11.2.2 version.
We installed all needed software and libraries and it didnt work either.

Here its the terminal copy-paste content:

command-line.txt
And and this is the maven log:
maven.log

With all this new info could you help us?

@bertfrees
Copy link
Member

You need the makensis tool to build the Windows installer (EXE file). I'm on MacOS too, and I have installed makensis using Homebrew. There are probably other options, but this was the easiest for me. Check https://brew.sh for instructions on how to install Homebrew. Once you have installed Homebrew, you can install makensis with the command brew install makensis.

@mmartida
Copy link
Author

mmartida commented Mar 5, 2021

Ok, we installed "makensis" with brew on our mac and ran the "make dist-exe" again:

  • This is the makensis version:
    MAD-XXXXXX:~ esalinsa$ makensis -version

v3.06.1

  • These are the comand line logs:

[INFO]
[INFO] --- nsis-maven-plugin:1.0-alpha-1:generate-headerfile (package-exe) @ assembly ---
[INFO] Downloading from cache: file:/Users/esalinsa/Documents/PROYECTOS/Daisy/pipeline-master/.maven-cache/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[INFO] Downloading from home: file:/var/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[INFO] Downloading from central-https: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[INFO] Downloaded from central-https: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar (228 kB at 6.9 MB/s)
[INFO]
[INFO] --- nsis-maven-plugin:1.0-alpha-1:make (package-exe) @ assembly ---
[INFO] [MAKENSIS] Error: unterminated string parsing line at macro:_IncludeStrFunction:7
[INFO] [MAKENSIS] Error in macro _IncludeStrFunction on macroline 7
[INFO] [MAKENSIS] !include: error in script: "EnvVarUpdate.nsh" on line 49
[INFO] [MAKENSIS] Error in script "/Users/esalinsa/Documents/PROYECTOS/Daisy/pipeline-master/assembly/target/nsis/installer.nsi" on line 79 -- aborting creation process
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:31 min
[INFO] Finished at: 2021-03-04T18:33:13+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:nsis-maven-plugin:1.0-alpha-1:make (package-exe) on project assembly: Execution of makensis compiler failed. See output above for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]

Any other thing that we could do to complete the build-up?

@bertfrees
Copy link
Member

Hmm. It still worked with version 3.02.1. Updating to 3.06.1 broke it for me too. You can install the old version as follows:

brew install bertfrees/pipeline/[email protected]

To replace the version you installed previously with this old version, do this:

brew unlink makensis
brew link [email protected]

Hope this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants