Loading ...
Sorry, an error occurred while loading the content.

71290Re: Can't build v7-3-1189

Expand Messages
  • Tryn Mirell
    Jun 16, 2013
    • 0 Attachment
      On Sat, Jun 15, 2013 at 9:05 PM, Manuel Ortega <mannyvimdev@...> wrote:
      On Fri, Jun 14, 2013 at 5:02 PM, Christian Wellenbrock <christian.wellenbrock@...> wrote:
      On Friday, June 14, 2013 10:35:59 PM UTC+2, Manuel Ortega wrote:
      > Buried in that gist file is a line that shows the OP is using a beta version of XCode5, which won't come out until OS X 10.9 comes out.  Possibly the OP is building on a beta of OSX10.9 as well.  If you look at the issues page of, e.g., the homebrew website (https://github.com/mxcl/homebrew/issues), you will see that the OSX 10.9 and XCode5 betas are *full* of stupid bugs that are affecting all kinds of programs.  I'd bet that the problem is the beta(s), and not vim.

      Well spotted! I was trying out the iOS 7 beta, but not Mac OS 10.9. I'm still on 10.8.4, but this is most likely still be the cause for this issue. I will have to find a workaround for now. Thank you!

      Homebrew now claims to have fixed, in principle, the main problems with XCode5 Beta and 10.9 Beta.  You might cherry pick this stuff and see if it works, particularly the patch to src/os_unix.c.


      -Manny

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
       
      ---
      You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
      To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/YHo51sA46fU/unsubscribe.
      To unsubscribe from this group and all its topics, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
       
       

      They fixed it by doing it the other way I suggested, including Availability.h: (Well, AvailabilityMacros.h, but it sill gets there)

      +--- a/src/os_unix.c  2013-06-13 16:50:33.000000000 +0200
      ++++ b/src/os_unix.c  2013-06-13 16:50:40.000000000 +0200
      +@@ -18,6 +18,10 @@
      +  * changed beyond recognition.
      +  */
      ++#if defined(__APPLE__)
      ++#include <AvailabilityMacros.h>
      ++#endif

      That ends up defining the MAC_OS_X_MIN_VERSION

      I still think that's messy.

      (They also had different issues unrelated to vim-core for MacVim).

      I just did this:

      diff -r c1170f618303 src/os_unix.c
      --- a/src/os_unix.c     Fri Jun 14 22:48:54 2013 +0200
      +++ b/src/os_unix.c     Sat Jun 15 09:04:55 2013 -0500
      @@ -827,7 +827,7 @@
                      || MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
              /* missing prototype.  Adding it to osdef?.h.in doesn't work, because
               * "struct sigaltstack" needs to be declared. */
      -       extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
      +    extern int sigaltstack __ARGS((const stack_t *restrict ss, stack_t *restrict oss));
       #  endif

       #  ifdef HAVE_SS_BASE

      --
      ===================
      | Tryn Mirell     |
      | tryn@... |
      | +1.512.796.3592 |
      ===================

      "Even imperfection itself may have its ideal or perfect state." 
      Thomas de Quincey 

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
       
      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
       
       
    • Show all 10 messages in this topic