The nightlies don't work on 10.7.5

C's Avatar

C

04 Jan, 2013 07:36 PM

Well, yes... all I get is: Illegal instruction: 4

and nothing happens. Are the nightlies only runnable on Mountain Lion or something?

  1. Support Staff 1 Posted by Luke Le on 04 Jan, 2013 07:41 PM

    Luke Le's Avatar

    Hi C,

    the latest nightlies no longer include ppc support.
    If that's the case, you will have to stick to older versions or compile the tools yourself. We might be re-adding ppc support at a later port but unfortunately don't have the resources to do this at the moment.

  2. 2 Posted by C on 04 Jan, 2013 10:11 PM

    C's Avatar

    Huh? I tried to run the nightly on 10.7.5 and got the aforementioned nonsense; this thread has nothing to do with ppc.

  3. Support Staff 3 Posted by Luke Le on 04 Jan, 2013 10:23 PM

    Luke Le's Avatar

    You've been writing about PPC in a different discussion so I wanted to establish first if this was a PPC machine or not, since we haven't seen this error before.

    Also when exactly are you seeing it? Running gpg2 from the Terminal or what are you doing when this error happens?

  4. 4 Posted by Charles Diza on 04 Jan, 2013 11:01 PM

    Charles Diza's Avatar

    I thought the subject line made clear that this is not a PPC thread :)

  5. 5 Posted by C on 04 Jan, 2013 11:03 PM

    C's Avatar

    I see it when running gpg2, or indeed any of the binaries that come with the
    nightly, in the Terminal.

    This is 10.7.5, white MacBook.

  6. Support Staff 6 Posted by Luke Le on 04 Jan, 2013 11:08 PM

    Luke Le's Avatar

    You're right, it should have.
    It's already pretty late here :)

    I've just tested the nightly and it works just fine on my machine.
    Could you please check if you find a gpg2 crash log in Console.app and attach it to this thread?

    Thanks!

  7. 7 Posted by CB on 09 Jan, 2013 05:25 PM

    CB's Avatar

    Same issue here with latest gpgtools nighties.

  8. 8 Posted by CB on 10 Jan, 2013 01:55 PM

    CB's Avatar

    The following nighties don't work and give "illegal instruction 4":

    MacGPG2 from 11/26/2012

    The one which I got from the backend server http://hekla.scnr.ch is working:

    MacGPG2 from 10/02/2012

  9. Support Staff 9 Posted by Luke Le on 10 Jan, 2013 02:54 PM

    Luke Le's Avatar

    We'll have a look into it. Seems some builds created on 10.8 are not compatible with 10.7 for a non-apparent reason. Hope to have a fix soon!

  10. 10 Posted by CB on 11 Jan, 2013 08:48 AM

    CB's Avatar

    @Luke Le

    1. wrong group membership of symbolic links

    You may also check the permissions the installer leaves behind. In my case symbolic links have membership of group 7000. This is probably due to a missing option in chgrp or chown to alter symbolic links. I.e. chown -h.

    1. installer deletes libgcrypt in /usr/local/lib

    The installer should not touch /usr/local/lib since gpg2 uses its own path which is /usr/local/MacGPG2/.

    I.e. I use macports and have:

    -rwxr-xr-x 1 root wheel 545368 Jan 10 14:59 /usr/local/lib/libgcrypt.11.dylib lrwxr-xr-x 1 root wheel 18 Jan 10 14:59 /usr/local/lib/libgcrypt.dylib -> libgcrypt.11.dylib
    -rwxr-xr-x 1 root wheel 1055 Jan 10 14:59 /usr/local/lib/libgcrypt.la

    After installing MacGPG2 the above files have vanished.

  11. Support Staff 11 Posted by Luke Le on 11 Jan, 2013 01:41 PM

    Luke Le's Avatar

    Will have to look into that, I'm pretty confident we're no longer deleting any symlink but those in /usr/local/bin.

    The new nightlies are fine again. The problem was that the flags were set to build for the host system version and upwards, and first our build system was a 10.6 machine, so everything was fine, now it's 10.8, so the builds only work on 10.8 upwards.
    It's fixed now.

  12. 12 Posted by CB on 11 Jan, 2013 02:12 PM

    CB's Avatar

    @Luke Le

    thx, will check nighties tomorrow.

    Btw, how can I build MacGPG2 from git clone?

    I tried make dmg but I get an error.

    Used the following steps:

    $ git clone --recursive https://github.com/GPGTools/MacGPG2.git -b master $ cd MacGPG2/ $ git submodule init $ git submodule update $ make compile


    EXPERIMENTAL! USE AT OWN RISK!



    Either run script as root with sudo or be available to enter password for make install



    First pass of libiconv



    Trying ./configure --enable-static=no --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr/local/MacGPG2 --enable-extra-encodings


    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for gcc... /usr/bin/gcc-4.0
    checking for C compiler default output file name...
    configure: error: in /Users/cilly/Desktop/MacGPG2/source/libiconv': configure: error: C compiler cannot create executables Seeconfig.log' for more details.


    ERROR - ABORTING


    make: *** [compile] Error 1

    Any help appreciated.

  13. Support Staff 13 Posted by Luke Le on 11 Jan, 2013 02:18 PM

    Luke Le's Avatar

    It's best to use the homebrew branch, which is our new build build system
    and then simply run

    ./build.sh
    
  14. 14 Posted by CB on 14 Jan, 2013 06:27 AM

    CB's Avatar

    @Luke Le

    Thx, that helped.

  15. Support Staff 15 Posted by Steve on 18 Jan, 2013 04:31 PM

    Steve's Avatar

    CB are you fixed? Do we have open questions remaining or can I close this discussion?

    Best, steve

  16. Steve closed this discussion on 30 Jan, 2013 11:05 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