Build instructions should mention the requirements

peter.boling's Avatar

peter.boling

17 May, 2022 04:26 AM

$ make

# ... snipped ... #

* Build gettext
  - Downloading gettext-0.21.tar.lz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6637k  100 6637k    0     0   362k      0  0:00:18  0:00:18 --:--:--  531k
  - unpacking gettext-0.21.tar.lz
./create_gpg.sh: line 122: lzip: command not found

** ERROR at unpack: failed to unpack gettext-0.21.tar.lz ** - build failed (create_gpg.sh: line 122)
make: *** [MacGPG2] Error 1

So I did this:

brew install lzip
make
Now it is building gettext, and the install is continuing!
  1. 1 Posted by peter.boling on 17 May, 2022 05:22 AM

    peter.boling's Avatar

    The build failed again. This time with:

    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


    ** ERROR at build: gnupg (x86_64) install ** - build failed (create_gpg.sh: line 318) make: *** [MacGPG2] Error 1
    Seems that I am not meant to use MacGPG from a source build.
  2. Support Staff 2 Posted by Luke Le on 24 May, 2022 09:22 PM

    Luke Le's Avatar

    Hi Peter,

    thank you for that info, we'll add that requirement.
    As for the other errors you are seeing. I've never heard of either gmkdir or ginstall so it appears that some packages from your homebrew installation are causing this issue.

    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.

  3. Steve closed this discussion on 19 Aug, 2022 01:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac