tag:gpgtools.tenderapp.com,2011-11-04:/discussions/nightly/2142-build-instructions-should-mention-the-requirementsGPGTools: Discussion 2022-08-19T13:56:20Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/543162922022-05-17T05:22:11Z2022-05-17T05:22:14ZBuild instructions should mention the requirements<div><p>The build failed again. This time with:<br></p>
<pre>
<code>Making install in tools
/opt/homebrew/bin/gmkdir -p '/Users/pboling/src/heads/MacGPG2/build/dist/x86_64/bin'
/opt/homebrew/bin/ginstall -c gpgconf gpg-connect-agent gpgsplit watchgnupg gpgparsemail gpg-wks-server gpgsplit gpgtar '/Users/pboling/src/heads/MacGPG2/build/dist/x86_64/bin'
ginstall: will not overwrite just-created '/Users/pboling/src/heads/MacGPG2/build/dist/x86_64/bin/gpgsplit' with 'gpgsplit'
make[3]: *** [install-binPROGRAMS] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1<br><br>
<br>** ERROR at build: gnupg (x86_64) install ** - build failed (create_gpg.sh: line 318)
make: *** [MacGPG2] Error 1</code>
</pre>
Seems that I am not meant to use MacGPG from a source build.</div>peter.bolingtag:gpgtools.tenderapp.com,2011-11-04:Comment/543162922022-05-24T21:22:20Z2022-05-25T16:40:58ZBuild instructions should mention the requirements<div><p>Hi Peter,</p>
<p>thank you for that info, we'll add that requirement.<br>
As for the other errors you are seeing. I've never heard of either <code>gmkdir</code> or <code>ginstall</code> so it appears that some packages from your homebrew installation are causing this issue.</p>
<p>Since we had to adapt the build process to build universal MacGPG binaries it also depends on what version of macOS you are building, since unfortunately the universal binary makes the build process more complex.</p></div>Luke Le