GNU bug report logs - #27736
OSX 10.6.8: Building from master branch fails.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Mon, 17 Jul 2017 15:20:02 UTC

Severity: normal

Merged with 27706

Done: charles <at> aurox.ch (Charles A. Roelli)

Bug is archived. No further changes may be made.

Full log


Message #111 received at 27736 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Charles A. Roelli" <charles <at> aurox.ch>
Cc: Keith David Bershatsky <esq <at> lawlist.com>, 27736 <at> debbugs.gnu.org,
 Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: OSX 10.6.8: Building from master branch fails.
Date: Tue, 27 Mar 2018 14:19:22 -0700
[Message part 1 (text/plain, inline)]
> >     (<= m -1034058203136)
> >     (<= m -1034058203135))
Unfortunately these numbers don't fit into a 30-bit integer and so they 
run afoul of a portability issue, namely, that files byte-compiled on a 
64-bit Emacs should run on a 32-bit Emacs and vice versa. I noticed this 
problem when preparing a patch to catch this sort of issue. To fix this 
particular instance of the problem, I attempted to migrate the localtime 
workaround into editfns.c (so that the fix is more-general, and is not 
limited to org-clock), by installing the attached patches into master. 
Please give them a try, since I don't have easy access to Mac OS X. I'm 
still a bit fuzzy on exactly which timestamps cause Mac OS X localtime 
to go belly-up (is it timezone dependent?), so quite possibly the magic 
numbers in these patches need to be adjusted a bit so that the code will 
work in any timezone from TZ=AAA-24:59:59 to TZ=ZZZ24:59:59; please let 
me know.

[0001-Update-from-Gnulib.patch (text/x-patch, attachment)]
[0002-Avoid-using-unportable-integer-in-org-clock.patch (text/x-patch, attachment)]

This bug report was last modified 7 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.