bug#27736: OSX 10.6.8: Building from master branch fails.

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
I am unable to build Emacs from the master branch on OSX 10.6.8 with Eshell, which is what I have used for several years.  It just stops/freezes when it gets to:  "ELC org/org-timer.elc".  I am still able to successfully build earlier versions of Emacs master branch from last year -- I am unsure what specific day the builds stopped working.  I tried yesterday and today, with the same results:

~/Desktop $ git clone -b master git://git.sv.gnu.org/emacs.git
Cloning into 'emacs'...
remote: Counting objects: 793951, done.        
remote: Compressing objects: 100% (144605/144605), done.        
remote: Total 793951 (delta 649926), reused 791963 (delta 648431)        
Receiving objects: 100% (793951/793951), 239.28 MiB | 587.00 KiB/s, done.
Resolving deltas: 100% (649926/649926), done.
Checking connectivity... done.
Checking out files: 100% (3773/3773), done.

~/Desktop $ cd emacs

~/Desktop/emacs $ ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
You can now run './autogen.sh git'.

~/Desktop/emacs $ ./configure \
--with-ns \
--enable-checking='glyphs' \
--without-compress-install \
--without-makeinfo \
--with-gnutls=no
checking for xcrun... xcrun
checking for make... yes
checking for GNU Make... make
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... -std=gnu99
checking for ar... ar
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for putenv... yes
checking for sbrk... yes
checking for fchmod... yes
checking for readlinkat... no
checking for explicit_bzero... no
checking for faccessat... no
checking for fcntl... yes
checking for fdopendir... no
checking for fstatat... no
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... no
checking for tzset... yes
checking for pipe2... no
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... no
checking for futimens... no
checking for utimensat... no
checking for lutimes... yes
checking for getdtablesize... yes
checking for secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc -std=gnu99 accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works for files in the same directory... yes
checking for install-info... /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for 'find' args to delete a file... -delete
checking for -znocombreloc... no
checking whether addresses are sanitized... no
checking for library containing sqrt... none required
checking for pkg-config... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... no
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for linux/fs.h... no
checking for malloc.h... no
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... no
checking for coff.h... no
checking for pty.h... no
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... yes
checking for sys/prctl.h... no
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... yes
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for ADDR_NO_RANDOMIZE... no
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... libraries /usr/X11/lib, headers
checking AppKit/AppKit.h usability... yes
checking AppKit/AppKit.h presence... yes
checking for AppKit/AppKit.h... yes
checking for Mac OS X 10.6 or newer... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking if the Objective C compiler supports instancetype... no
checking whether malloc is Doug Lea style... no
checking for getpagesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... none needed
checking for thread support... yes
checking for RSVG... no
checking for IMAGEMAGICK... no
checking for getaddrinfo_a in -lanl... no
checking for DBUS... no
checking for lgetfilecon in -lselinux... no
checking for LIBSYSTEMD... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for KQUEUE... no
checking for library containing kqueue... none required
checking for jpeglib 6b or later... no
checking for library containing inflateEnd... -lz
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking for LIBXML2... no
checking libxml/HTMLparser.h usability... yes
checking libxml/HTMLparser.h presence... yes
checking for libxml/HTMLparser.h... yes
checking whether HTML_PARSE_RECOVER is declared... yes
checking for htmlReadMemory in -lxml2... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for accept4... no
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... no
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... no
checking for log2... yes
checking for prctl... no
checking for aligned_alloc... no
checking for posix_memalign... yes
checking whether aligned_alloc is declared... no
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... no
checking for posix_openpt... yes
checking for library containing tputs... -lncurses
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... no
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for struct alignment... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... no
checking for complete errno.h... no
checking for EMULTIHOP value... yes
checking for ENOLINK value... yes
checking for EOVERFLOW value... yes
checking for mode_t... yes
checking whether fdatasync is declared... no
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... yes
checking whether lstat correctly handles trailing slash... no
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... no
checking for C/C++ restrict keyword... no
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking for long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking whether memrchr is declared... no
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... no
checking whether <sys/select.h> is self-contained... yes
checking for sigset_t... yes
checking for wchar_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether strtoimax is declared... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether the utimes function works... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... none required
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for acl_set_file... yes
checking for acl_set_fd... yes
checking for acl_free... yes
checking for acl_from_mode... no
checking for acl_from_text... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... no
checking for acl_delete_fd_np... yes
checking for acl_delete_file_np... yes
checking for acl_copy_ext_native... yes
checking for acl_create_entry_np... yes
checking for acl_to_short_text... no
checking for acl_free_text... no
checking for working acl_get_file... yes
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking for acl_entries... no
checking for ACL_FIRST_ENTRY... yes
checking for ACL_TYPE_EXTENDED... yes
checking for alloca as a compiler built-in... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for library containing clock_gettime... no
checking for clock_gettime... no
checking for clock_settime... no
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking for explicit_memset... no
checking for access... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking for fdatasync... yes
checking whether fdopendir is declared... no
checking for flexible array member... yes
checking for __fpending... no
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking for memrchr... no
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... no
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... no
checking for struct stat.st_atimespec.tv_nsec... yes
checking for struct stat.st_birthtimespec.tv_nsec... yes
checking for working stdalign.h... no
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... no
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for timezone_t... no
checking for library containing timer_settime... no
checking for timer_settime... no
checking for variable-length arrays... yes
checking for euidaccess... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for library containing eaccess... no
checking for eaccess... no
checking for group_member... no
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking whether getgroups handles negative values... no
checking whether getdtablesize works... yes
checking for dirfd... no
checking whether dirfd is declared... yes
checking whether dirfd is a macro... yes
checking for __secure_getenv... no
checking for issetugid... yes
checking for __mktime_internal... no
checking for gcc -std=gnu99 option to disable position independent executables... -no-pie

Configured for 'x86_64-apple-darwin10.8.0'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -std=gnu99 -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    nextstep
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   /usr/X11/lib
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no
  Does Emacs use a png library?                           no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             yes (kqueue)
  Does Emacs use access control lists?                    yes
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               no
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes



You must run "make install" in order to test the built application.
The installed application will go to nextstep/Emacs.app and can be
run or moved from there.
The application will be fully self-contained.

configure: creating ./config.status
config.status: creating src/emacs-module.h
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Info.plist
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: WARNING: This configuration installs a 'movemail' program
that retrieves POP3 email via only insecure channels.
To omit insecure POP3, you can use './configure --without-pop'.
configure: You might want to install GNU Mailutils
<http://mailutils.org> and use './configure --with-mailutils'.
~/Desktop/emacs $ make
/usr/bin/make -C lib all
  GEN      alloca.h
  GEN      byteswap.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      getopt-cdefs.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdalign.h
  GEN      stddef.h

***

  ELC      org/org-macs.elc
  ELC      org/org-mhe.elc
  ELC      org/org-mobile.elc
  ELC      org/org-mouse.elc
  ELC      org/org-pcomplete.elc
  ELC      org/org-plot.elc
  ELC      org/org-protocol.elc
  ELC      org/org-rmail.elc
  ELC      org/org-src.elc
  ELC      org/org-table.elc
  ELC      org/org-timer.elc



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

npostavs
On Mon, Jul 17, 2017 at 11:18 AM, Keith David Bershatsky
<[hidden email]> wrote:
> I am unable to build Emacs from the master branch on OSX 10.6.8 with Eshell, which is what I have used for several years.  It just stops/freezes when it gets to:  "ELC org/org-timer.elc".  I am still able to successfully build earlier versions of Emacs master branch from last year -- I am unsure what specific day the builds stopped working.

Can you clarify if it works outside eshell?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
In reply to this post by Keith David Bershatsky
> Can you clarify if it works outside eshell?

Thank you for taking a look at this bug report.  I just tried building master branch from Terminal.app on OSX 10.6.8 -- without using Emacs -- and I had the same results.  I.e., it stops when it gets to   "ELC org/org-timer.elc".  There is no error message.

Last login: Mon Jul 17 07:02:29 on console
server:emacs HOME$ PATH=/Users/HOME/.0.data/.0.emacs/.0.build/bin:/usr/bin:/bin:/usr/sbin:/sbin
server:emacs HOME$ ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
./autogen.sh: line 274: git: command not found
You can now run './autogen.sh git'.
server:emacs HOME$ ./configure \
> --with-ns \
> --enable-checking='glyphs' \
> --without-compress-install \
> --without-makeinfo \
> --with-gnutls=no \
> --with-mailutils
checking for xcrun... xcrun
checking for make... yes
checking for GNU Make... make
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... -std=gnu99
checking for ar... ar
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for putenv... yes
checking for sbrk... yes
checking for fchmod... yes
checking for readlinkat... no
checking for explicit_bzero... no
checking for faccessat... no
checking for fcntl... yes
checking for fdopendir... no
checking for fstatat... no
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... no
checking for tzset... yes
checking for pipe2... no
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... no
checking for futimens... no
checking for utimensat... no
checking for lutimes... yes
checking for getdtablesize... yes
checking for secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc -std=gnu99 accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works for files in the same directory... yes
checking for install-info... /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for 'find' args to delete a file... -delete
checking for -znocombreloc... no
checking whether addresses are sanitized... no
checking for library containing sqrt... none required
checking for pkg-config... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... no
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for linux/fs.h... no
checking for malloc.h... no
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... no
checking for coff.h... no
checking for pty.h... no
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... yes
checking for sys/prctl.h... no
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... yes
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for ADDR_NO_RANDOMIZE... no
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... libraries /usr/X11/lib, headers
checking AppKit/AppKit.h usability... yes
checking AppKit/AppKit.h presence... yes
checking for AppKit/AppKit.h... yes
checking for Mac OS X 10.6 or newer... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking if the Objective C compiler supports instancetype... no
checking whether malloc is Doug Lea style... no
checking for getpagesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... none needed
checking for thread support... yes
checking for RSVG... no
checking for IMAGEMAGICK... no
checking for getaddrinfo_a in -lanl... no
checking for DBUS... no
checking for lgetfilecon in -lselinux... no
checking for LIBSYSTEMD... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for KQUEUE... no
checking for library containing kqueue... none required
checking for jpeglib 6b or later... no
checking for library containing inflateEnd... -lz
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking for LIBXML2... no
checking libxml/HTMLparser.h usability... yes
checking libxml/HTMLparser.h presence... yes
checking for libxml/HTMLparser.h... yes
checking whether HTML_PARSE_RECOVER is declared... yes
checking for htmlReadMemory in -lxml2... yes
checking for accept4... no
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... no
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... no
checking for log2... yes
checking for prctl... no
checking for aligned_alloc... no
checking for posix_memalign... yes
checking whether aligned_alloc is declared... no
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... no
checking for posix_openpt... yes
checking for library containing tputs... -lncurses
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... no
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for struct alignment... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... no
checking for complete errno.h... no
checking for EMULTIHOP value... yes
checking for ENOLINK value... yes
checking for EOVERFLOW value... yes
checking for mode_t... yes
checking whether fdatasync is declared... no
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... yes
checking whether lstat correctly handles trailing slash... no
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... no
checking for C/C++ restrict keyword... no
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking for long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking whether memrchr is declared... no
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... no
checking whether <sys/select.h> is self-contained... yes
checking for sigset_t... yes
checking for wchar_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether strtoimax is declared... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether the utimes function works... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... none required
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for acl_set_file... yes
checking for acl_set_fd... yes
checking for acl_free... yes
checking for acl_from_mode... no
checking for acl_from_text... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... no
checking for acl_delete_fd_np... yes
checking for acl_delete_file_np... yes
checking for acl_copy_ext_native... yes
checking for acl_create_entry_np... yes
checking for acl_to_short_text... no
checking for acl_free_text... no
checking for working acl_get_file... yes
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking for acl_entries... no
checking for ACL_FIRST_ENTRY... yes
checking for ACL_TYPE_EXTENDED... yes
checking for alloca as a compiler built-in... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for library containing clock_gettime... no
checking for clock_gettime... no
checking for clock_settime... no
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking for explicit_memset... no
checking for access... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking for fdatasync... yes
checking whether fdopendir is declared... no
checking for flexible array member... yes
checking for __fpending... no
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking for memrchr... no
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... no
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... no
checking for struct stat.st_atimespec.tv_nsec... yes
checking for struct stat.st_birthtimespec.tv_nsec... yes
checking for working stdalign.h... no
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... no
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for timezone_t... no
checking for library containing timer_settime... no
checking for timer_settime... no
checking for variable-length arrays... yes
checking for euidaccess... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for library containing eaccess... no
checking for eaccess... no
checking for group_member... no
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking whether getgroups handles negative values... no
checking whether getdtablesize works... yes
checking for dirfd... no
checking whether dirfd is declared... yes
checking whether dirfd is a macro... yes
checking for __secure_getenv... no
checking for issetugid... yes
checking for __mktime_internal... no
checking for gcc -std=gnu99 option to disable position independent executables... -no-pie

Configured for 'x86_64-apple-darwin10.8.0'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -std=gnu99 -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    nextstep
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   /usr/X11/lib
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no
  Does Emacs use a png library?                           no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             yes (kqueue)
  Does Emacs use access control lists?                    yes
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               no
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes



You must run "make install" in order to test the built application.
The installed application will go to nextstep/Emacs.app and can be
run or moved from there.
The application will be fully self-contained.

configure: creating ./config.status
config.status: creating src/emacs-module.h
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Info.plist
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
server:emacs HOME$ make
make -C lib all
  GEN      alloca.h
  GEN      byteswap.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      getopt-cdefs.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdalign.h
  GEN      stddef.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/select.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h

***

  ELC      org/org-mouse.elc
  ELC      org/org-pcomplete.elc
  ELC      org/org-plot.elc
  ELC      org/org-protocol.elc
  ELC      org/org-rmail.elc
  ELC      org/org-src.elc
  ELC      org/org-table.elc
  ELC      org/org-timer.elc



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

npostavs
On Mon, Jul 17, 2017 at 12:10 PM, Keith David Bershatsky
<[hidden email]> wrote:
>> Can you clarify if it works outside eshell?
>
> Thank you for taking a look at this bug report.  I just tried building master branch from Terminal.app on OSX 10.6.8 -- without using Emacs -- and I had the same results.  I.e., it stops when it gets to   "ELC org/org-timer.elc".  There is no error message.

Okay, so not an eshell problem then. Is it an infloop stop (i.e.,
maxing out CPU) or waiting for input type of stop? Please try with
'make V=1' to get the exact command being run, and then try running
that command adding '--eval (setq debug-on-quit t)' and removing
'-batch'. If you can't get a lisp trace with C-g using that method,
try running the command under gdb to get a C backtrace.

On Mon, Jul 17, 2017 at 11:18 AM, Keith David Bershatsky
<[hidden email]> wrote:
> ~/Desktop $ git clone -b master git://git.sv.gnu.org/emacs.git
> Cloning into 'emacs'...
[...]

> Checking out files: 100% (3773/3773), done.
>
> ~/Desktop $ cd emacs
>
> ~/Desktop/emacs $ ./autogen.sh
> Checking whether you have the necessary tools...
> (Read INSTALL.REPO for more details on building Emacs)
> Checking for autoconf (need at least version 2.65) ... ok
> Your system has the required tools.
> Building aclocal.m4 ...
> Running 'autoreconf -fi -I m4' ...
> ./autogen.sh: line 274: git: command not found

Hmm, I wonder how come ./autogen.sh can't find 'git'? Shell alias?
Sneaky $PATH change?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
In reply to this post by Keith David Bershatsky
I'll keep working on debugging.  At the moment, I'm leaning towards believing that it is a never-ending loop that is trying to find `org-element-update-syntax`.  That is why there is no error.

The git command cannot be located because its location has not been added to the $PATH.  I like to limit the build to the absolute bare minimum, and the directory containing git has a bunch of other stuff that Emacs would see as being available and automatically install them.  So, I'd need to add a bunch of exclusion lines to the configuration of Emacs to get the same results of a barebones build.  The only thing extra that doesn't come with 10.6.8 and the optional Developer tools are the fairly recent versions of autoconf and automake, which are in a directory all by themselves and I add that autoconf/automake directory to the $PATH before building.

server:emacs HOME$ make V=1
make -C lib all
make[1]: Nothing to be done for `all'.
make -C lib-src all
make[1]: Nothing to be done for `all'.
make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
make[1]: Circular bootstrap-emacs <- temacs dependency dropped.
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[2]: Nothing to be done for `all'.
make -C ../admin/charsets all
make[2]: Nothing to be done for `all'.
make -C ../admin/unidata charscript.el
make[2]: Nothing to be done for `charscript.el'.
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[2]: Nothing to be done for `all'.
make -C ../admin/charsets cp51932.el
make[2]: Nothing to be done for `cp51932.el'.
make -C ../admin/charsets eucjp-ms.el
make[2]: Nothing to be done for `eucjp-ms.el'.
make -C ../nextstep all
make -C ../src emacs
make[3]: Circular bootstrap-emacs <- temacs dependency dropped.
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[4]: Nothing to be done for `all'.
make -C ../admin/charsets all
make[4]: Nothing to be done for `all'.
make -C ../admin/unidata charscript.el
make[4]: Nothing to be done for `charscript.el'.
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[4]: Nothing to be done for `all'.
make -C ../admin/charsets cp51932.el
make[4]: Nothing to be done for `cp51932.el'.
make -C ../admin/charsets eucjp-ms.el
make[4]: Nothing to be done for `eucjp-ms.el'.
make -C lisp all
make -C ../leim all EMACS="../src/emacs"
make[2]: Nothing to be done for `all'.
make -C ../admin/grammars all EMACS="../../src/emacs"
make[2]: Nothing to be done for `all'.
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'  -f batch-byte-compile org/org-timer.el



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

npostavs
On Mon, Jul 17, 2017 at 2:05 PM, Keith David Bershatsky <[hidden email]> wrote:
> I'll keep working on debugging.  At the moment, I'm leaning towards believing that it is a never-ending loop that is trying to find `org-element-update-syntax`.  That is why there is no error.

There was an issue with `org-element-update-syntax` caused by the
recent org update, though it should trigger an error, not a hang (and
it's fixed by doing 'make autoloads', see Bug#27581. Should be
irrelevant if you're building from a fresh clone, I think).



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Alan Third
In reply to this post by Keith David Bershatsky
On Mon, Jul 17, 2017 at 08:18:47AM -0700, Keith David Bershatsky wrote:
> I am unable to build Emacs from the master branch on OSX 10.6.8 with
> Eshell, which is what I have used for several years. It just
> stops/freezes when it gets to: "ELC org/org-timer.elc". I am still
> able to successfully build earlier versions of Emacs master branch
> from last year -- I am unsure what specific day the builds stopped
> working. I tried yesterday and today, with the same results:

I believe this is the same as bug#27706.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27706

I can’t reproduce on 10.12, so it looks like a bug in older macOS
versions, although I don’t know just how old.
--
Alan Third



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Charles A. Roelli
On 17/07/2017 21:43, Alan Third wrote:

> On Mon, Jul 17, 2017 at 08:18:47AM -0700, Keith David Bershatsky wrote:
>> I am unable to build Emacs from the master branch on OSX 10.6.8 with
>> Eshell, which is what I have used for several years. It just
>> stops/freezes when it gets to: "ELC org/org-timer.elc". I am still
>> able to successfully build earlier versions of Emacs master branch
>> from last year -- I am unsure what specific day the builds stopped
>> working. I tried yesterday and today, with the same results:
>
> I believe this is the same as bug#27706.
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27706
>
> I can’t reproduce on 10.12, so it looks like a bug in older macOS
> versions, although I don’t know just how old.

Indeed, this does look like the same bug.  I have the exact same problem.

Keith: can you get a backtrace from the compile process?

If you have GDB installed, you might see something like this:

(gdb) bt
#0  0x00007fff83860c0d in timesub () from /usr/lib/libSystem.B.dylib
#1  0x00007fff8386081c in _st_localsub () from /usr/lib/libSystem.B.dylib
#2  0x00007fff83869d71 in localtime_r () from /usr/lib/libSystem.B.dylib
#3  0x0000000100458747 in localtime_rz (tz=0x102104250,
t=0x7fff5fbe8be0, tm=0x7fff5fbe8ba8) at time_rz.c:296
#4  0x00000001002ba1eb in emacs_localtime_rz (tz=0x102104250,
t=0x7fff5fbe8be0, tm=0x7fff5fbe8ba8) at editfns.c:103
#5  0x00000001002c27e0 in Fdecode_time (specified_time=..., zone=...) at
editfns.c:2163
#6  0x00000001002e66f4 in funcall_subr (subr=0x100921998 <Sdecode_time>,
numargs=1, args=0x7fff5fbe9028) at eval.c:2824
#7  0x00000001002e5eaa in Ffuncall (nargs=2, args=0x7fff5fbe9020) at
eval.c:2747
#8  0x0000000100369d53 in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=1, args=0x7fff5fbea288) at
bytecode.c:629
#9  0x00000001002e73c6 in funcall_lambda (fun=..., nargs=1,
arg_vector=0x7fff5fbea280) at eval.c:2948
#10 0x00000001002e5f1d in Ffuncall (nargs=2, args=0x7fff5fbea278) at
eval.c:2749
#11 0x0000000100369d53 in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=3, args=0x7fff5fbeb510) at
bytecode.c:629
#12 0x00000001002e73c6 in funcall_lambda (fun=..., nargs=3,
arg_vector=0x7fff5fbeb4f8) at eval.c:2948
#13 0x00000001002e5f1d in Ffuncall (nargs=4, args=0x7fff5fbeb4f0) at
eval.c:2749
#14 0x0000000100369d53 in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=0, args=0x0) at bytecode.c:629
#15 0x0000000100368538 in Fbyte_code (bytestr=..., vector=...,
maxdepth=...) at bytecode.c:321
#16 0x00000001002e3359 in eval_sub (form=...) at eval.c:2229
#17 0x00000001002dc085 in Fdefconst (args=...) at eval.c:816
#18 0x00000001002e2c98 in eval_sub (form=...) at eval.c:2176
#19 0x000000010033cb46 in readevalloop (readcharfun=...,
infile0=0x7fff5fbed6c8, sourcename=..., printflag=false, unibyte=...,
readfun=..., start=..., end=...) at lread.c:2038
#20 0x0000000100339754 in Fload (file=..., noerror=..., nomessage=...,
nosuffix=..., must_suffix=...) at lread.c:1425
#21 0x00000001002fcf8b in Frequire (feature=..., filename=...,
noerror=...) at fns.c:2796

[...]

(gdb) select 5
#5  0x00000001002c27e0 in Fdecode_time (specified_time=..., zone=...) at
editfns.c:2163
2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
(gdb) pp specified_time
(-1034058203136 0) [from GDB's I/O buffer]




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
In reply to this post by Keith David Bershatsky
I have not yet learned how to use gdb while building Emacs.  Here are the steps I used with both ggdb and gdb following a failed build of Emacs.  I have labeled ggdb and gdb with BEGIN/END to distinguish between the two reports below.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; BEGIN ggdb

Last login: Mon Jul 17 14:26:40 on ttys000
server:~ HOME$ sudo /Users/HOME/.0.data/.0.emacs/.0.macports/bin/ggdb /Users/HOME/Desktop/emacs/src/emacs
Password:
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin10.8.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /Users/HOME/Desktop/emacs/src/emacs...done.
(gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
[New Thread 0x60f of process 1654]
[New Thread 0x70f of process 1654]
^C
Program received signal SIGINT, Interrupt.
0x00007fff87007b3a in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0  0x00007fff87007b3a in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
#1  0x00007fff8700781c in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
#2  0x00007fff87010d71 in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
#3  0x00000001001c3883 in localtime_rz (tz=0x100d06100, t=0x7fff5fbfc208,
    tm=0x7fff5fbfc1d0) at time_rz.c:296
#4  0x000000010011d02e in emacs_localtime_rz (tz=0xffffffff800007b0,
    t=0xa3d70a3d70a3d70b, tm=0x147ae00) at editfns.c:103
#5  0x000000010011e742 in Fdecode_time (specified_time=<optimized out>, zone=0)
    at editfns.c:2163
#6  0x000000010012d55e in funcall_subr (subr=0x1005b03b8 <Sdecode_time>,
    numargs=1, args=0xfffffffffeb851ff) at eval.c:2817
#7  0x000000010012b716 in Ffuncall (nargs=<optimized out>,
    args=<optimized out>) at eval.c:2740
#8  0x00000001001651d7 in exec_byte_code (bytestr=-2147481680,
    vector=-6640827866535438581, maxdepth=21474816, args_template=1030,
    nargs=1, args=0x7fff5fbfc4b8) at bytecode.c:629
#9  0x000000010012b67a in Ffuncall (nargs=<optimized out>,
    args=<optimized out>) at eval.c:2754
#10 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680,
    vector=-6640827866535438581, maxdepth=21474816, args_template=3086,
    nargs=3, args=0x7fff5fbfc660) at bytecode.c:629
#11 0x000000010012b67a in Ffuncall (nargs=<optimized out>,
    args=<optimized out>) at eval.c:2754
---Type <return> to continue, or q <return> to quit---

;;; END ggdb

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; BEGIN gdb

Last login: Mon Jul 17 14:22:48 on ttys000
server:~ HOME$ gdb /Users/HOME/Desktop/emacs/src/emacsGNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done

(gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
Reading symbols for shared libraries .++++++++++............................................................................... done
^C
Program received signal SIGINT, Interrupt.
0x00007fff87007b17 in timesub ()
(gdb) bt
#0  0x00007fff87007b17 in timesub ()
#1  0x00007fff8700781c in _st_localsub ()
#2  0x00007fff87010d71 in localtime_r ()
#3  0x00000001001c3883 in localtime_rz (tz=0x100c08360, t=0x7fff5fbfc188, tm=0x7fff5fbfc150) at time_rz.c:296
#4  0x000000010011d02e in emacs_localtime_rz (tz=<value temporarily unavailable, due to optimizations>, t=<value temporarily unavailable, due to optimizations>, tm=<value temporarily unavailable, due to optimizations>) at editfns.c:103
#5  0x000000010011e742 in Fdecode_time (specified_time=<value temporarily unavailable, due to optimizations>, zone=0) at editfns.c:2163
#6  0x000000010012d55e in funcall_subr (subr=0x1005b03b8, numargs=1, args=<value temporarily unavailable, due to optimizations>) at eval.c:2817
#7  0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
#8  0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=1030, nargs=1, args=0x7fff5fbfc438) at bytecode.c:629
#9  0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#10 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=3086, nargs=3, args=0x7fff5fbfc5e0) at bytecode.c:629
#11 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#12 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=0, nargs=0, args=0x0) at bytecode.c:629
#13 0x000000010012ae43 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2222
#14 0x000000010012ddbc in builtin_lisp_symbol [inlined] () at eval.c:809
#15 0x000000010012ddbc in make_lisp_symbol [inlined] () at eval.c:1149
#16 0x000000010012ddbc in NILP [inlined] () at /Users/HOME/Desktop/emacs/src/lisp.h:841
#17 0x000000010012ddbc in Fdefconst (args=<value temporarily unavailable, due to optimizations>) at eval.c:810
#18 0x000000010012af47 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2169
#19 0x0000000100150758 in readevalloop (readcharfun=24096, infile0=0x7fff5fbfcb40, sourcename=4307660020, printflag=false, unibyte=<value temporarily unavailable, due to optimizations>, readfun=0, start=0, end=0) at lread.c:2038
#20 0x000000010015331c in Fload (file=4307658100, noerror=<value temporarily unavailable, due to optimizations>, nomessage=45360, nosuffix=<value temporarily unavailable, due to optimizations>, must_suffix=<value temporarily unavailable, due to optimizations>) at lread.c:1425
#21 0x000000010013628f in Frequire (feature=136412192, filename=4307658100, noerror=0) at fns.c:2801
#22 0x000000010012d54e in funcall_subr (subr=0x1005b2430, numargs=1, args=<value temporarily unavailable, due to optimizations>) at eval.c:2820
#23 0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
#24 0x000000010012bda8 in Fapply (nargs=2, args=0x7fff5fbfce68) at eval.c:2328
#25 0x000000010012d472 in funcall_subr (subr=0x1005b0e40, numargs=2, args=<value temporarily unavailable, due to optimizations>) at eval.c:2795
#26 0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
#27 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd058) at bytecode.c:629
#28 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#29 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd1d0) at bytecode.c:629
#30 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#31 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd338) at bytecode.c:629
#32 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#33 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2058, nargs=2, args=0x7fff5fbfd4d8) at bytecode.c:629
#34 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#35 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd628) at bytecode.c:629
#36 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#37 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd820) at bytecode.c:629
#38 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#39 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfdaf8) at bytecode.c:629
#40 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#41 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2054, nargs=1, args=0x7fff5fbfde40) at bytecode.c:629
#42 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#43 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfe018) at bytecode.c:629
#44 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#45 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1026, nargs=0, args=0x7fff5fbfe288) at bytecode.c:629
#46 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#47 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfe8a8) at bytecode.c:629
#48 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#49 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2, nargs=0, args=0x7fff5fbff158) at bytecode.c:629
#50 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
#51 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2, nargs=0, args=0x7fff5fbff440) at bytecode.c:629
#52 0x000000010012c985 in apply_lambda (fun=4298459597, args=<value temporarily unavailable, due to optimizations>, count=4) at eval.c:2877
#53 0x000000010012aa20 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2291
#54 0x000000010012cd0a in Feval (form=4363374275, lexical=<value temporarily unavailable, due to optimizations>) at eval.c:2038
#55 0x0000000100129b23 in internal_condition_case (bfun=0x1000b71f0 <top_level_2>, handlers=<value temporarily unavailable, due to optimizations>, hfun=0x1000b9eb0 <cmd_error>) at eval.c:1319
#56 0x00000001000b7978 in top_level_1 (ignore=<value temporarily unavailable, due to optimizations>) at keyboard.c:1131
#57 0x0000000100129ba7 in internal_catch (tag=<value temporarily unavailable, due to optimizations>, func=0x1000b7920 <top_level_1>, arg=0) at eval.c:1084
#58 0x00000001000b7082 in command_loop () at keyboard.c:1092
#59 0x00000001000b716d in recursive_edit_1 () at keyboard.c:699
#60 0x00000001000ba19a in Frecursive_edit () at keyboard.c:770
#61 0x00000001000aff98 in main (argc=9, argv=0x7fff5fbff908) at emacs.c:1706
(gdb)

;;; END gdb



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Charles A. Roelli
Thanks for posting the traces.  It looks like your second trace
matches the one I posted.  Can you please rebuild with debugging
symbols (see etc/DEBUG) and then run the same commands that I showed
(select 5, pp specified_time)?


On 17/07/2017 23:37, Keith David Bershatsky wrote:

> I have not yet learned how to use gdb while building Emacs.  Here are the steps I used with both ggdb and gdb following a failed build of Emacs.  I have labeled ggdb and gdb with BEGIN/END to distinguish between the two reports below.
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;; BEGIN ggdb
>
> Last login: Mon Jul 17 14:26:40 on ttys000
> server:~ HOME$ sudo /Users/HOME/.0.data/.0.emacs/.0.macports/bin/ggdb /Users/HOME/Desktop/emacs/src/emacs
> Password:
> GNU gdb (GDB) 7.9.1
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin10.8.0".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /Users/HOME/Desktop/emacs/src/emacs...done.
> (gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> [New Thread 0x60f of process 1654]
> [New Thread 0x70f of process 1654]
> ^C
> Program received signal SIGINT, Interrupt.
> 0x00007fff87007b3a in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
> (gdb) bt
> #0  0x00007fff87007b3a in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
> #1  0x00007fff8700781c in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
> #2  0x00007fff87010d71 in cidToUnicode_CNS1 () from /usr/lib/libSystem.B.dylib
> #3  0x00000001001c3883 in localtime_rz (tz=0x100d06100, t=0x7fff5fbfc208,
>     tm=0x7fff5fbfc1d0) at time_rz.c:296
> #4  0x000000010011d02e in emacs_localtime_rz (tz=0xffffffff800007b0,
>     t=0xa3d70a3d70a3d70b, tm=0x147ae00) at editfns.c:103
> #5  0x000000010011e742 in Fdecode_time (specified_time=<optimized out>, zone=0)
>     at editfns.c:2163
> #6  0x000000010012d55e in funcall_subr (subr=0x1005b03b8 <Sdecode_time>,
>     numargs=1, args=0xfffffffffeb851ff) at eval.c:2817
> #7  0x000000010012b716 in Ffuncall (nargs=<optimized out>,
>     args=<optimized out>) at eval.c:2740
> #8  0x00000001001651d7 in exec_byte_code (bytestr=-2147481680,
>     vector=-6640827866535438581, maxdepth=21474816, args_template=1030,
>     nargs=1, args=0x7fff5fbfc4b8) at bytecode.c:629
> #9  0x000000010012b67a in Ffuncall (nargs=<optimized out>,
>     args=<optimized out>) at eval.c:2754
> #10 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680,
>     vector=-6640827866535438581, maxdepth=21474816, args_template=3086,
>     nargs=3, args=0x7fff5fbfc660) at bytecode.c:629
> #11 0x000000010012b67a in Ffuncall (nargs=<optimized out>,
>     args=<optimized out>) at eval.c:2754
> ---Type <return> to continue, or q <return> to quit---
>
> ;;; END ggdb
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> ;;; BEGIN gdb
>
> Last login: Mon Jul 17 14:22:48 on ttys000
> server:~ HOME$ gdb /Users/HOME/Desktop/emacs/src/emacsGNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done
>
> (gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> Reading symbols for shared libraries .++++++++++............................................................................... done
> ^C
> Program received signal SIGINT, Interrupt.
> 0x00007fff87007b17 in timesub ()
> (gdb) bt
> #0  0x00007fff87007b17 in timesub ()
> #1  0x00007fff8700781c in _st_localsub ()
> #2  0x00007fff87010d71 in localtime_r ()
> #3  0x00000001001c3883 in localtime_rz (tz=0x100c08360, t=0x7fff5fbfc188, tm=0x7fff5fbfc150) at time_rz.c:296
> #4  0x000000010011d02e in emacs_localtime_rz (tz=<value temporarily unavailable, due to optimizations>, t=<value temporarily unavailable, due to optimizations>, tm=<value temporarily unavailable, due to optimizations>) at editfns.c:103
> #5  0x000000010011e742 in Fdecode_time (specified_time=<value temporarily unavailable, due to optimizations>, zone=0) at editfns.c:2163
> #6  0x000000010012d55e in funcall_subr (subr=0x1005b03b8, numargs=1, args=<value temporarily unavailable, due to optimizations>) at eval.c:2817
> #7  0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
> #8  0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=1030, nargs=1, args=0x7fff5fbfc438) at bytecode.c:629
> #9  0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #10 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=3086, nargs=3, args=0x7fff5fbfc5e0) at bytecode.c:629
> #11 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #12 0x00000001001651d7 in exec_byte_code (bytestr=-2147481680, vector=-6640827866535438581, maxdepth=773093404, args_template=0, nargs=0, args=0x0) at bytecode.c:629
> #13 0x000000010012ae43 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2222
> #14 0x000000010012ddbc in builtin_lisp_symbol [inlined] () at eval.c:809
> #15 0x000000010012ddbc in make_lisp_symbol [inlined] () at eval.c:1149
> #16 0x000000010012ddbc in NILP [inlined] () at /Users/HOME/Desktop/emacs/src/lisp.h:841
> #17 0x000000010012ddbc in Fdefconst (args=<value temporarily unavailable, due to optimizations>) at eval.c:810
> #18 0x000000010012af47 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2169
> #19 0x0000000100150758 in readevalloop (readcharfun=24096, infile0=0x7fff5fbfcb40, sourcename=4307660020, printflag=false, unibyte=<value temporarily unavailable, due to optimizations>, readfun=0, start=0, end=0) at lread.c:2038
> #20 0x000000010015331c in Fload (file=4307658100, noerror=<value temporarily unavailable, due to optimizations>, nomessage=45360, nosuffix=<value temporarily unavailable, due to optimizations>, must_suffix=<value temporarily unavailable, due to optimizations>) at lread.c:1425
> #21 0x000000010013628f in Frequire (feature=136412192, filename=4307658100, noerror=0) at fns.c:2801
> #22 0x000000010012d54e in funcall_subr (subr=0x1005b2430, numargs=1, args=<value temporarily unavailable, due to optimizations>) at eval.c:2820
> #23 0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
> #24 0x000000010012bda8 in Fapply (nargs=2, args=0x7fff5fbfce68) at eval.c:2328
> #25 0x000000010012d472 in funcall_subr (subr=0x1005b0e40, numargs=2, args=<value temporarily unavailable, due to optimizations>) at eval.c:2795
> #26 0x000000010012b716 in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2740
> #27 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd058) at bytecode.c:629
> #28 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #29 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd1d0) at bytecode.c:629
> #30 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #31 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd338) at bytecode.c:629
> #32 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #33 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2058, nargs=2, args=0x7fff5fbfd4d8) at bytecode.c:629
> #34 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #35 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd628) at bytecode.c:629
> #36 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #37 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfd820) at bytecode.c:629
> #38 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #39 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfdaf8) at bytecode.c:629
> #40 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #41 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2054, nargs=1, args=0x7fff5fbfde40) at bytecode.c:629
> #42 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #43 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfe018) at bytecode.c:629
> #44 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #45 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1026, nargs=0, args=0x7fff5fbfe288) at bytecode.c:629
> #46 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #47 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=1030, nargs=1, args=0x7fff5fbfe8a8) at bytecode.c:629
> #48 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #49 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2, nargs=0, args=0x7fff5fbff158) at bytecode.c:629
> #50 0x000000010012b67a in Ffuncall (nargs=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at eval.c:2754
> #51 0x00000001001651d7 in exec_byte_code (bytestr=2, vector=4307658100, maxdepth=-1000391738987243024, args_template=2, nargs=0, args=0x7fff5fbff440) at bytecode.c:629
> #52 0x000000010012c985 in apply_lambda (fun=4298459597, args=<value temporarily unavailable, due to optimizations>, count=4) at eval.c:2877
> #53 0x000000010012aa20 in eval_sub (form=<value temporarily unavailable, due to optimizations>) at eval.c:2291
> #54 0x000000010012cd0a in Feval (form=4363374275, lexical=<value temporarily unavailable, due to optimizations>) at eval.c:2038
> #55 0x0000000100129b23 in internal_condition_case (bfun=0x1000b71f0 <top_level_2>, handlers=<value temporarily unavailable, due to optimizations>, hfun=0x1000b9eb0 <cmd_error>) at eval.c:1319
> #56 0x00000001000b7978 in top_level_1 (ignore=<value temporarily unavailable, due to optimizations>) at keyboard.c:1131
> #57 0x0000000100129ba7 in internal_catch (tag=<value temporarily unavailable, due to optimizations>, func=0x1000b7920 <top_level_1>, arg=0) at eval.c:1084
> #58 0x00000001000b7082 in command_loop () at keyboard.c:1092
> #59 0x00000001000b716d in recursive_edit_1 () at keyboard.c:699
> #60 0x00000001000ba19a in Frecursive_edit () at keyboard.c:770
> #61 0x00000001000aff98 in main (argc=9, argv=0x7fff5fbff908) at emacs.c:1706
> (gdb)
>
> ;;; END gdb
>
>
>
>




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
In reply to this post by Keith David Bershatsky
Neither of my gdb or ggdb versions show anything for "select 5" and "pp" is not recognized.  I thought perhaps "frame 5" and "print specified_time" might be fairly close to what it is that you seek, but I'm just guessing.

(gdb) frame 5
#5  0x00000001001e9746 in Fdecode_time (specified_time={i = 4506560707}, zone={i = 0}) at editfns.c:2163
2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
(gdb) print specified_time
$1 = {
  i = 4506560707
}

I built emacs using the following configure options:

CFLAGS='-O0 -g3' ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type --with-ns --without-makeinfo --with-gnutls=no --with-mailutils

I ran the backtrace as follows, after manually interrupting the build when it stopped/froze at org-timer.el:

(gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el

Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [07-17-2017 22:08:27] <18 Jul 2017 07:08:27 +0200>
FROM:  "Charles A. Roelli" <[hidden email]>
>
> Thanks for posting the traces.  It looks like your second trace
> matches the one I posted.  Can you please rebuild with debugging
> symbols (see etc/DEBUG) and then run the same commands that I showed
> (select 5, pp specified_time)?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Eli Zaretskii
> Date: Mon, 17 Jul 2017 23:56:53 -0700
> From: Keith David Bershatsky <[hidden email]>
> Cc: Alan Third <[hidden email]>, [hidden email],
> Noam Postavsky <[hidden email]>
>
> Neither of my gdb or ggdb versions show anything for "select 5" and "pp" is not recognized.

"pp" is defined in src/.gdbinit.  You need to tell GDB to read it:

  (gdb) source /path/to/emacs/src/.gdbinit



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Keith David Bershatsky
In reply to this post by Keith David Bershatsky
Thank you, Eli, for teaching me about:

>
> "pp" is defined in src/.gdbinit.  You need to tell GDB to read it:
>
>   (gdb) source /path/to/emacs/src/.gdbinit

Here is a new backtrace for the frame that deals with decode_time:

(gdb) frame 10
#10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
(gdb) pp specified_time
(-1034058203136 0)

And, here is the whole thing:

Last login: Tue Jul 18 08:48:40 on console

server:emacs HOME$ gdb /Users/HOME/Desktop/emacs/src/emacs

GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done

(gdb) source /Users/HOME/Desktop/emacs/src/.gdbinit
Warning: /Users/HOME/Desktop/emacs/../lwlib: No such file or directory.
DISPLAY = /tmp/launch-uSoMoF/org.x:0
TERM = xterm-color
Breakpoint 1 at 0x100134c52: file emacs.c, line 364.
Breakpoint 2 at 0x100162889: file sysdep.c, line 1016.
/Users/HOME/Desktop/emacs/src/.gdbinit:1273: Error in sourced command file:
Undefined command: "python".  Try "help".
(gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
Reading symbols for shared libraries .++++++++++............................................................................... done
^C
Breakpoint 1, terminate_due_to_signal (sig=2, backtrace_limit=40) at emacs.c:364
364  signal (sig, SIG_DFL);
(gdb) bt
#0  terminate_due_to_signal (sig=2, backtrace_limit=40) at emacs.c:364
#1  0x0000000100163bdc in handle_fatal_signal (sig=Could not find the frame base for "handle_fatal_signal".
) at sysdep.c:1714
#2  0x0000000100163b10 in deliver_process_signal (sig=2, handler=0x100163bc4 <handle_fatal_signal>) at sysdep.c:1654
#3  0x0000000100163bf6 in deliver_fatal_signal (sig=2) at sysdep.c:1720
#4  <signal handler called>
#5  0x00007fff87007b0a in timesub ()
#6  0x00007fff8700781c in _st_localsub ()
#7  0x00007fff87010d71 in localtime_r ()
#8  0x00000001002f5696 in localtime_rz (tz=0x101000f90, t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at time_rz.c:296
#9  0x00000001001e3afd in emacs_localtime_rz (tz=0x101000f90, t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at editfns.c:103
#10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
#11 0x000000010020183b in funcall_subr (subr=0x1007bcdd8, numargs=1, args=0x7fff5fbf9608) at eval.c:2817
#12 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbf9600) at eval.c:2740
#13 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399444}, vector={i = 4352860773}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbf9a08) at bytecode.c:629
#14 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860813}, nargs=1, arg_vector=0x7fff5fbf9a00) at eval.c:2941
#15 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbf99f8) at eval.c:2742
#16 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399380}, vector={i = 4352860677}, maxdepth={i = 42}, args_template={i = 3086}, nargs=3, args=0x7fff5fbf9e30) at bytecode.c:629
#17 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860725}, nargs=3, arg_vector=0x7fff5fbf9e18) at eval.c:2941
#18 0x0000000100201374 in Ffuncall (nargs=4, args=0x7fff5fbf9e10) at eval.c:2742
#19 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399348}, vector={i = 4352860861}, maxdepth={i = 46}, args_template={i = 0}, nargs=0, args=0x0) at bytecode.c:629
#20 0x0000000100259e7b in Fbyte_code (bytestr={i = 4333399348}, vector={i = 4352860861}, maxdepth={i = 46}) at bytecode.c:321
#21 0x00000001001ffac1 in eval_sub (form={i = 4352004051}) at eval.c:2222
#22 0x00000001001fb503 in Fdefconst (args={i = 4352004099}) at eval.c:809
#23 0x00000001001ff63a in eval_sub (form={i = 4352004115}) at eval.c:2169
#24 0x0000000100239455 in readevalloop (readcharfun={i = 24096}, infile0=0x7fff5fbfa750, sourcename={i = 4330661364}, printflag=false, unibyte={i = 0}, readfun={i = 0}, start={i = 0}, end={i = 0}) at lread.c:2038
#25 0x0000000100237532 in Fload (file={i = 4331687524}, noerror={i = 0}, nomessage={i = 45360}, nosuffix={i = 0}, must_suffix={i = 45360}) at lread.c:1425
#26 0x0000000100210444 in Frequire (feature={i = 42008288}, filename={i = 0}, noerror={i = 0}) at fns.c:2801
#27 0x000000010020186f in funcall_subr (subr=0x1007bed48, numargs=1, args=0x7fff5fbfacd0) at eval.c:2820
#28 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbfacc8) at eval.c:2740
#29 0x0000000100200087 in Fapply (nargs=2, args=0x7fff5fbfacc8) at eval.c:2328
#30 0x00000001002016cc in funcall_subr (subr=0x1007bda88, numargs=2, args=0x7fff5fbfacc8) at eval.c:2795
#31 0x000000010020133c in Ffuncall (nargs=3, args=0x7fff5fbfacc0) at eval.c:2740
#32 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330679892}, vector={i = 4455527021}, maxdepth={i = 38}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb138) at bytecode.c:629
#33 0x0000000100201fe7 in funcall_lambda (fun={i = 4455527189}, nargs=1, arg_vector=0x7fff5fbfb130) at eval.c:2941
#34 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb128) at eval.c:2742
#35 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678964}, vector={i = 4455517957}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb530) at bytecode.c:629
#36 0x0000000100201fe7 in funcall_lambda (fun={i = 4455518005}, nargs=1, arg_vector=0x7fff5fbfb528) at eval.c:2941
#37 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb520) at eval.c:2742
#38 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678836}, vector={i = 4455517813}, maxdepth={i = 22}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb918) at bytecode.c:629
#39 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517861}, nargs=1, arg_vector=0x7fff5fbfb910) at eval.c:2941
#40 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb908) at eval.c:2742
#41 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330662116}, vector={i = 4455466989}, maxdepth={i = 42}, args_template={i = 2058}, nargs=2, args=0x7fff5fbfbd38) at bytecode.c:629
#42 0x0000000100201fe7 in funcall_lambda (fun={i = 4455467093}, nargs=2, arg_vector=0x7fff5fbfbd28) at eval.c:2941
#43 0x0000000100201374 in Ffuncall (nargs=3, args=0x7fff5fbfbd20) at eval.c:2742
#44 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678804}, vector={i = 4455495149}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfc108) at bytecode.c:629
#45 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517909}, nargs=1, arg_vector=0x7fff5fbfc100) at eval.c:2941
#46 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc0f8) at eval.c:2742
#47 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676260}, vector={i = 4455508293}, maxdepth={i = 42}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfc580) at bytecode.c:629
#48 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508517}, nargs=1, arg_vector=0x7fff5fbfc578) at eval.c:2941
#49 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc570) at eval.c:2742
#50 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676164}, vector={i = 4455512637}, maxdepth={i = 70}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfcad8) at bytecode.c:629
#51 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508565}, nargs=1, arg_vector=0x7fff5fbfcad0) at eval.c:2941
#52 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfcac8) at eval.c:2742
#53 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330675236}, vector={i = 4455503421}, maxdepth={i = 66}, args_template={i = 2054}, nargs=1, args=0x7fff5fbfd0a0) at bytecode.c:629
#54 0x0000000100201fe7 in funcall_lambda (fun={i = 4455504133}, nargs=1, arg_vector=0x7fff5fbfd098) at eval.c:2941
#55 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd090) at eval.c:2742
#56 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698708}, vector={i = 4455656013}, maxdepth={i = 34}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfd4f8) at bytecode.c:629
#57 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647189}, nargs=1, arg_vector=0x7fff5fbfd4f0) at eval.c:2941
#58 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd4e8) at eval.c:2742
#59 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698612}, vector={i = 4455660765}, maxdepth={i = 42}, args_template={i = 1026}, nargs=0, args=0x7fff5fbfd9e8) at bytecode.c:629
#60 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647141}, nargs=0, arg_vector=0x7fff5fbfd9e8) at eval.c:2941
#61 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfd9e0) at eval.c:2742
#62 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299934692}, vector={i = 4299934725}, maxdepth={i = 94}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfe288) at bytecode.c:629
#63 0x0000000100201fe7 in funcall_lambda (fun={i = 4299934645}, nargs=1, arg_vector=0x7fff5fbfe280) at eval.c:2941
#64 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfe278) at eval.c:2742
#65 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299912628}, vector={i = 4299912661}, maxdepth={i = 86}, args_template={i = 2}, nargs=0, args=0x7fff5fbfedb8) at bytecode.c:629
#66 0x0000000100201fe7 in funcall_lambda (fun={i = 4299912581}, nargs=0, arg_vector=0x7fff5fbfedb8) at eval.c:2941
#67 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfedb0) at eval.c:2742
#68 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299908964}, vector={i = 4299908997}, maxdepth={i = 50}, args_template={i = 2}, nargs=0, args=0x7fff5fbff2f0) at bytecode.c:629
#69 0x0000000100201fe7 in funcall_lambda (fun={i = 4299908917}, nargs=0, arg_vector=0x7fff5fbff2f0) at eval.c:2941
#70 0x0000000100201c16 in apply_lambda (fun={i = 4299908917}, args={i = 0}, count=4) at eval.c:2877
#71 0x00000001001ffc89 in eval_sub (form={i = 4379235827}) at eval.c:2261
#72 0x00000001001fef96 in Feval (form={i = 4379235827}, lexical={i = 0}) at eval.c:2038
#73 0x0000000100139c2c in top_level_2 () at keyboard.c:1123
#74 0x00000001001fd0d8 in internal_condition_case (bfun=0x100139c08 <top_level_2>, handlers={i = 18528}, hfun=0x100139519 <cmd_error>) at eval.c:1319
#75 0x0000000100139c78 in top_level_1 (ignore={i = 0}) at keyboard.c:1131
#76 0x00000001001fc551 in internal_catch (tag={i = 46944}, func=0x100139c2e <top_level_1>, arg={i = 0}) at eval.c:1084
#77 0x0000000100139b4d in command_loop () at keyboard.c:1092
#78 0x0000000100138fb0 in recursive_edit_1 () at keyboard.c:699
#79 0x00000001001391c7 in Frecursive_edit () at keyboard.c:770
#80 0x0000000100136cdc in main (argc=9, argv=0x7fff5fbff8e8) at emacs.c:1706

Lisp Backtrace:
"decode-time" (0x5fbf9608)
0x3736288 PVEC_COMPILED
0x3736230 PVEC_COMPILED
"byte-code" (0x5fbfa140)
"defconst" (0x5fbfa3e0)
"require" (0x5fbfacd0)
"apply" (0x5fbfacc8)
"byte-compile-file-form-require" (0x5fbfb130)
"byte-compile-file-form" (0x5fbfb528)
0x991cea0 PVEC_COMPILED
"byte-compile-recurse-toplevel" (0x5fbfbd28)
"byte-compile-toplevel-file-form" (0x5fbfc100)
0x991aa20 PVEC_COMPILED
"byte-compile-from-buffer" (0x5fbfcad0)
"byte-compile-file" (0x5fbfd098)
"batch-byte-compile-file" (0x5fbfd4f0)
"batch-byte-compile" (0x5fbfd9e8)
"command-line-1" (0x5fbfe280)
"command-line" (0x5fbfedb8)
"normal-top-level" (0x5fbff2f0)
(gdb) select 5
(gdb) frame 5
#5  0x00007fff87007b0a in timesub ()
(gdb) frame 10
#10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
(gdb) pp specified_time
(-1034058203136 0)
(gdb)



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Charles A. Roelli
Thanks for checking this so quickly.

It looks like your machine also enters an infinite loop when
evaluating the same form that I posted here:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27706#5

I'm not sure where we should patch this issue: in Lisp, in
lib/time_rz.c (which is part of gnulib if I remember right), or in
src/editfns.c (emacs_localtime_rz).  Does anyone have an opinion about
this?


On 18/07/2017 18:07, Keith David Bershatsky wrote:

> Thank you, Eli, for teaching me about:
>
>> "pp" is defined in src/.gdbinit.  You need to tell GDB to read it:
>>
>>    (gdb) source /path/to/emacs/src/.gdbinit
> Here is a new backtrace for the frame that deals with decode_time:
>
> (gdb) frame 10
> #10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
> 2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
> (gdb) pp specified_time
> (-1034058203136 0)
>
> And, here is the whole thing:
>
> Last login: Tue Jul 18 08:48:40 on console
>
> server:emacs HOME$ gdb /Users/HOME/Desktop/emacs/src/emacs
>
> GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done
>
> (gdb) source /Users/HOME/Desktop/emacs/src/.gdbinit
> Warning: /Users/HOME/Desktop/emacs/../lwlib: No such file or directory.
> DISPLAY = /tmp/launch-uSoMoF/org.x:0
> TERM = xterm-color
> Breakpoint 1 at 0x100134c52: file emacs.c, line 364.
> Breakpoint 2 at 0x100162889: file sysdep.c, line 1016.
> /Users/HOME/Desktop/emacs/src/.gdbinit:1273: Error in sourced command file:
> Undefined command: "python".  Try "help".
> (gdb) run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
> Reading symbols for shared libraries .++++++++++............................................................................... done
> ^C
> Breakpoint 1, terminate_due_to_signal (sig=2, backtrace_limit=40) at emacs.c:364
> 364  signal (sig, SIG_DFL);
> (gdb) bt
> #0  terminate_due_to_signal (sig=2, backtrace_limit=40) at emacs.c:364
> #1  0x0000000100163bdc in handle_fatal_signal (sig=Could not find the frame base for "handle_fatal_signal".
> ) at sysdep.c:1714
> #2  0x0000000100163b10 in deliver_process_signal (sig=2, handler=0x100163bc4 <handle_fatal_signal>) at sysdep.c:1654
> #3  0x0000000100163bf6 in deliver_fatal_signal (sig=2) at sysdep.c:1720
> #4  <signal handler called>
> #5  0x00007fff87007b0a in timesub ()
> #6  0x00007fff8700781c in _st_localsub ()
> #7  0x00007fff87010d71 in localtime_r ()
> #8  0x00000001002f5696 in localtime_rz (tz=0x101000f90, t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at time_rz.c:296
> #9  0x00000001001e3afd in emacs_localtime_rz (tz=0x101000f90, t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at editfns.c:103
> #10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
> #11 0x000000010020183b in funcall_subr (subr=0x1007bcdd8, numargs=1, args=0x7fff5fbf9608) at eval.c:2817
> #12 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbf9600) at eval.c:2740
> #13 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399444}, vector={i = 4352860773}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbf9a08) at bytecode.c:629
> #14 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860813}, nargs=1, arg_vector=0x7fff5fbf9a00) at eval.c:2941
> #15 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbf99f8) at eval.c:2742
> #16 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399380}, vector={i = 4352860677}, maxdepth={i = 42}, args_template={i = 3086}, nargs=3, args=0x7fff5fbf9e30) at bytecode.c:629
> #17 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860725}, nargs=3, arg_vector=0x7fff5fbf9e18) at eval.c:2941
> #18 0x0000000100201374 in Ffuncall (nargs=4, args=0x7fff5fbf9e10) at eval.c:2742
> #19 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399348}, vector={i = 4352860861}, maxdepth={i = 46}, args_template={i = 0}, nargs=0, args=0x0) at bytecode.c:629
> #20 0x0000000100259e7b in Fbyte_code (bytestr={i = 4333399348}, vector={i = 4352860861}, maxdepth={i = 46}) at bytecode.c:321
> #21 0x00000001001ffac1 in eval_sub (form={i = 4352004051}) at eval.c:2222
> #22 0x00000001001fb503 in Fdefconst (args={i = 4352004099}) at eval.c:809
> #23 0x00000001001ff63a in eval_sub (form={i = 4352004115}) at eval.c:2169
> #24 0x0000000100239455 in readevalloop (readcharfun={i = 24096}, infile0=0x7fff5fbfa750, sourcename={i = 4330661364}, printflag=false, unibyte={i = 0}, readfun={i = 0}, start={i = 0}, end={i = 0}) at lread.c:2038
> #25 0x0000000100237532 in Fload (file={i = 4331687524}, noerror={i = 0}, nomessage={i = 45360}, nosuffix={i = 0}, must_suffix={i = 45360}) at lread.c:1425
> #26 0x0000000100210444 in Frequire (feature={i = 42008288}, filename={i = 0}, noerror={i = 0}) at fns.c:2801
> #27 0x000000010020186f in funcall_subr (subr=0x1007bed48, numargs=1, args=0x7fff5fbfacd0) at eval.c:2820
> #28 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbfacc8) at eval.c:2740
> #29 0x0000000100200087 in Fapply (nargs=2, args=0x7fff5fbfacc8) at eval.c:2328
> #30 0x00000001002016cc in funcall_subr (subr=0x1007bda88, numargs=2, args=0x7fff5fbfacc8) at eval.c:2795
> #31 0x000000010020133c in Ffuncall (nargs=3, args=0x7fff5fbfacc0) at eval.c:2740
> #32 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330679892}, vector={i = 4455527021}, maxdepth={i = 38}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb138) at bytecode.c:629
> #33 0x0000000100201fe7 in funcall_lambda (fun={i = 4455527189}, nargs=1, arg_vector=0x7fff5fbfb130) at eval.c:2941
> #34 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb128) at eval.c:2742
> #35 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678964}, vector={i = 4455517957}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb530) at bytecode.c:629
> #36 0x0000000100201fe7 in funcall_lambda (fun={i = 4455518005}, nargs=1, arg_vector=0x7fff5fbfb528) at eval.c:2941
> #37 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb520) at eval.c:2742
> #38 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678836}, vector={i = 4455517813}, maxdepth={i = 22}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfb918) at bytecode.c:629
> #39 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517861}, nargs=1, arg_vector=0x7fff5fbfb910) at eval.c:2941
> #40 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb908) at eval.c:2742
> #41 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330662116}, vector={i = 4455466989}, maxdepth={i = 42}, args_template={i = 2058}, nargs=2, args=0x7fff5fbfbd38) at bytecode.c:629
> #42 0x0000000100201fe7 in funcall_lambda (fun={i = 4455467093}, nargs=2, arg_vector=0x7fff5fbfbd28) at eval.c:2941
> #43 0x0000000100201374 in Ffuncall (nargs=3, args=0x7fff5fbfbd20) at eval.c:2742
> #44 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678804}, vector={i = 4455495149}, maxdepth={i = 18}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfc108) at bytecode.c:629
> #45 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517909}, nargs=1, arg_vector=0x7fff5fbfc100) at eval.c:2941
> #46 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc0f8) at eval.c:2742
> #47 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676260}, vector={i = 4455508293}, maxdepth={i = 42}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfc580) at bytecode.c:629
> #48 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508517}, nargs=1, arg_vector=0x7fff5fbfc578) at eval.c:2941
> #49 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc570) at eval.c:2742
> #50 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676164}, vector={i = 4455512637}, maxdepth={i = 70}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfcad8) at bytecode.c:629
> #51 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508565}, nargs=1, arg_vector=0x7fff5fbfcad0) at eval.c:2941
> #52 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfcac8) at eval.c:2742
> #53 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330675236}, vector={i = 4455503421}, maxdepth={i = 66}, args_template={i = 2054}, nargs=1, args=0x7fff5fbfd0a0) at bytecode.c:629
> #54 0x0000000100201fe7 in funcall_lambda (fun={i = 4455504133}, nargs=1, arg_vector=0x7fff5fbfd098) at eval.c:2941
> #55 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd090) at eval.c:2742
> #56 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698708}, vector={i = 4455656013}, maxdepth={i = 34}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfd4f8) at bytecode.c:629
> #57 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647189}, nargs=1, arg_vector=0x7fff5fbfd4f0) at eval.c:2941
> #58 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd4e8) at eval.c:2742
> #59 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698612}, vector={i = 4455660765}, maxdepth={i = 42}, args_template={i = 1026}, nargs=0, args=0x7fff5fbfd9e8) at bytecode.c:629
> #60 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647141}, nargs=0, arg_vector=0x7fff5fbfd9e8) at eval.c:2941
> #61 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfd9e0) at eval.c:2742
> #62 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299934692}, vector={i = 4299934725}, maxdepth={i = 94}, args_template={i = 1030}, nargs=1, args=0x7fff5fbfe288) at bytecode.c:629
> #63 0x0000000100201fe7 in funcall_lambda (fun={i = 4299934645}, nargs=1, arg_vector=0x7fff5fbfe280) at eval.c:2941
> #64 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfe278) at eval.c:2742
> #65 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299912628}, vector={i = 4299912661}, maxdepth={i = 86}, args_template={i = 2}, nargs=0, args=0x7fff5fbfedb8) at bytecode.c:629
> #66 0x0000000100201fe7 in funcall_lambda (fun={i = 4299912581}, nargs=0, arg_vector=0x7fff5fbfedb8) at eval.c:2941
> #67 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfedb0) at eval.c:2742
> #68 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299908964}, vector={i = 4299908997}, maxdepth={i = 50}, args_template={i = 2}, nargs=0, args=0x7fff5fbff2f0) at bytecode.c:629
> #69 0x0000000100201fe7 in funcall_lambda (fun={i = 4299908917}, nargs=0, arg_vector=0x7fff5fbff2f0) at eval.c:2941
> #70 0x0000000100201c16 in apply_lambda (fun={i = 4299908917}, args={i = 0}, count=4) at eval.c:2877
> #71 0x00000001001ffc89 in eval_sub (form={i = 4379235827}) at eval.c:2261
> #72 0x00000001001fef96 in Feval (form={i = 4379235827}, lexical={i = 0}) at eval.c:2038
> #73 0x0000000100139c2c in top_level_2 () at keyboard.c:1123
> #74 0x00000001001fd0d8 in internal_condition_case (bfun=0x100139c08 <top_level_2>, handlers={i = 18528}, hfun=0x100139519 <cmd_error>) at eval.c:1319
> #75 0x0000000100139c78 in top_level_1 (ignore={i = 0}) at keyboard.c:1131
> #76 0x00000001001fc551 in internal_catch (tag={i = 46944}, func=0x100139c2e <top_level_1>, arg={i = 0}) at eval.c:1084
> #77 0x0000000100139b4d in command_loop () at keyboard.c:1092
> #78 0x0000000100138fb0 in recursive_edit_1 () at keyboard.c:699
> #79 0x00000001001391c7 in Frecursive_edit () at keyboard.c:770
> #80 0x0000000100136cdc in main (argc=9, argv=0x7fff5fbff8e8) at emacs.c:1706
>
> Lisp Backtrace:
> "decode-time" (0x5fbf9608)
> 0x3736288 PVEC_COMPILED
> 0x3736230 PVEC_COMPILED
> "byte-code" (0x5fbfa140)
> "defconst" (0x5fbfa3e0)
> "require" (0x5fbfacd0)
> "apply" (0x5fbfacc8)
> "byte-compile-file-form-require" (0x5fbfb130)
> "byte-compile-file-form" (0x5fbfb528)
> 0x991cea0 PVEC_COMPILED
> "byte-compile-recurse-toplevel" (0x5fbfbd28)
> "byte-compile-toplevel-file-form" (0x5fbfc100)
> 0x991aa20 PVEC_COMPILED
> "byte-compile-from-buffer" (0x5fbfcad0)
> "byte-compile-file" (0x5fbfd098)
> "batch-byte-compile-file" (0x5fbfd4f0)
> "batch-byte-compile" (0x5fbfd9e8)
> "command-line-1" (0x5fbfe280)
> "command-line" (0x5fbfedb8)
> "normal-top-level" (0x5fbff2f0)
> (gdb) select 5
> (gdb) frame 5
> #5  0x00007fff87007b0a in timesub ()
> (gdb) frame 10
> #10 0x00000001001e9746 in Fdecode_time (specified_time={i = 4351999171}, zone={i = 0}) at editfns.c:2163
> 2163  struct tm *tm = emacs_localtime_rz (tz, &time_spec, &local_tm);
> (gdb) pp specified_time
> (-1034058203136 0)
> (gdb)




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Charles A. Roelli
Err, oops: I guess there will be no patch for this in Lisp, since
decode-time is written in C.


So the choice is either to make a change in lib/time_rz.c or src/editfns.c.



On 18/07/2017 20:42, Charles A. Roelli wrote:

> Thanks for checking this so quickly.
>
> It looks like your machine also enters an infinite loop when
> evaluating the same form that I posted here:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27706#5
>
> I'm not sure where we should patch this issue: in Lisp, in
> lib/time_rz.c (which is part of gnulib if I remember right), or in
> src/editfns.c (emacs_localtime_rz).  Does anyone have an opinion about
> this?
>
>
> On 18/07/2017 18:07, Keith David Bershatsky wrote:
>> Thank you, Eli, for teaching me about:
>>
>>> "pp" is defined in src/.gdbinit.  You need to tell GDB to read it:
>>>
>>>    (gdb) source /path/to/emacs/src/.gdbinit
>> Here is a new backtrace for the frame that deals with decode_time:
>>
>> (gdb) frame 10
>> #10 0x00000001001e9746 in Fdecode_time (specified_time={i =
>> 4351999171}, zone={i = 0}) at editfns.c:2163
>> 2163      struct tm *tm = emacs_localtime_rz (tz, &time_spec,
>> &local_tm);
>> (gdb) pp specified_time
>> (-1034058203136 0)
>>
>> And, here is the whole thing:
>>
>> Last login: Tue Jul 18 08:48:40 on console
>>
>> server:emacs HOME$ gdb /Users/HOME/Desktop/emacs/src/emacs
>>
>> GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56
>> UTC 2009)
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and
>> you are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for
>> details.
>> This GDB was configured as "x86_64-apple-darwin"...Reading symbols
>> for shared libraries ........... done
>>
>> (gdb) source /Users/HOME/Desktop/emacs/src/.gdbinit
>> Warning: /Users/HOME/Desktop/emacs/../lwlib: No such file or directory.
>> DISPLAY = /tmp/launch-uSoMoF/org.x:0
>> TERM = xterm-color
>> Breakpoint 1 at 0x100134c52: file emacs.c, line 364.
>> Breakpoint 2 at 0x100162889: file sysdep.c, line 1016.
>> /Users/HOME/Desktop/emacs/src/.gdbinit:1273: Error in sourced command
>> file:
>> Undefined command: "python".  Try "help".
>> (gdb) run -batch --no-site-file --no-site-lisp --eval '(setq
>> load-prefer-newer t)' -f batch-byte-compile
>> /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
>> Starting program: /Users/HOME/Desktop/emacs/src/emacs -batch
>> --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f
>> batch-byte-compile /Users/HOME/Desktop/emacs/lisp/org/org-timer.el
>> Reading symbols for shared libraries
>> .++++++++++...............................................................................
>> done
>> ^C
>> Breakpoint 1, terminate_due_to_signal (sig=2, backtrace_limit=40) at
>> emacs.c:364
>> 364      signal (sig, SIG_DFL);
>> (gdb) bt
>> #0  terminate_due_to_signal (sig=2, backtrace_limit=40) at emacs.c:364
>> #1  0x0000000100163bdc in handle_fatal_signal (sig=Could not find the
>> frame base for "handle_fatal_signal".
>> ) at sysdep.c:1714
>> #2  0x0000000100163b10 in deliver_process_signal (sig=2,
>> handler=0x100163bc4 <handle_fatal_signal>) at sysdep.c:1654
>> #3  0x0000000100163bf6 in deliver_fatal_signal (sig=2) at sysdep.c:1720
>> #4  <signal handler called>
>> #5  0x00007fff87007b0a in timesub ()
>> #6  0x00007fff8700781c in _st_localsub ()
>> #7  0x00007fff87010d71 in localtime_r ()
>> #8  0x00000001002f5696 in localtime_rz (tz=0x101000f90,
>> t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at time_rz.c:296
>> #9  0x00000001001e3afd in emacs_localtime_rz (tz=0x101000f90,
>> t=0x7fff5fbf9498, tm=0x7fff5fbf93c0) at editfns.c:103
>> #10 0x00000001001e9746 in Fdecode_time (specified_time={i =
>> 4351999171}, zone={i = 0}) at editfns.c:2163
>> #11 0x000000010020183b in funcall_subr (subr=0x1007bcdd8, numargs=1,
>> args=0x7fff5fbf9608) at eval.c:2817
>> #12 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbf9600) at
>> eval.c:2740
>> #13 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399444},
>> vector={i = 4352860773}, maxdepth={i = 18}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbf9a08) at bytecode.c:629
>> #14 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860813},
>> nargs=1, arg_vector=0x7fff5fbf9a00) at eval.c:2941
>> #15 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbf99f8) at
>> eval.c:2742
>> #16 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399380},
>> vector={i = 4352860677}, maxdepth={i = 42}, args_template={i = 3086},
>> nargs=3, args=0x7fff5fbf9e30) at bytecode.c:629
>> #17 0x0000000100201fe7 in funcall_lambda (fun={i = 4352860725},
>> nargs=3, arg_vector=0x7fff5fbf9e18) at eval.c:2941
>> #18 0x0000000100201374 in Ffuncall (nargs=4, args=0x7fff5fbf9e10) at
>> eval.c:2742
>> #19 0x000000010025ad5d in exec_byte_code (bytestr={i = 4333399348},
>> vector={i = 4352860861}, maxdepth={i = 46}, args_template={i = 0},
>> nargs=0, args=0x0) at bytecode.c:629
>> #20 0x0000000100259e7b in Fbyte_code (bytestr={i = 4333399348},
>> vector={i = 4352860861}, maxdepth={i = 46}) at bytecode.c:321
>> #21 0x00000001001ffac1 in eval_sub (form={i = 4352004051}) at
>> eval.c:2222
>> #22 0x00000001001fb503 in Fdefconst (args={i = 4352004099}) at
>> eval.c:809
>> #23 0x00000001001ff63a in eval_sub (form={i = 4352004115}) at
>> eval.c:2169
>> #24 0x0000000100239455 in readevalloop (readcharfun={i = 24096},
>> infile0=0x7fff5fbfa750, sourcename={i = 4330661364}, printflag=false,
>> unibyte={i = 0}, readfun={i = 0}, start={i = 0}, end={i = 0}) at
>> lread.c:2038
>> #25 0x0000000100237532 in Fload (file={i = 4331687524}, noerror={i =
>> 0}, nomessage={i = 45360}, nosuffix={i = 0}, must_suffix={i = 45360})
>> at lread.c:1425
>> #26 0x0000000100210444 in Frequire (feature={i = 42008288},
>> filename={i = 0}, noerror={i = 0}) at fns.c:2801
>> #27 0x000000010020186f in funcall_subr (subr=0x1007bed48, numargs=1,
>> args=0x7fff5fbfacd0) at eval.c:2820
>> #28 0x000000010020133c in Ffuncall (nargs=2, args=0x7fff5fbfacc8) at
>> eval.c:2740
>> #29 0x0000000100200087 in Fapply (nargs=2, args=0x7fff5fbfacc8) at
>> eval.c:2328
>> #30 0x00000001002016cc in funcall_subr (subr=0x1007bda88, numargs=2,
>> args=0x7fff5fbfacc8) at eval.c:2795
>> #31 0x000000010020133c in Ffuncall (nargs=3, args=0x7fff5fbfacc0) at
>> eval.c:2740
>> #32 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330679892},
>> vector={i = 4455527021}, maxdepth={i = 38}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfb138) at bytecode.c:629
>> #33 0x0000000100201fe7 in funcall_lambda (fun={i = 4455527189},
>> nargs=1, arg_vector=0x7fff5fbfb130) at eval.c:2941
>> #34 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb128) at
>> eval.c:2742
>> #35 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678964},
>> vector={i = 4455517957}, maxdepth={i = 18}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfb530) at bytecode.c:629
>> #36 0x0000000100201fe7 in funcall_lambda (fun={i = 4455518005},
>> nargs=1, arg_vector=0x7fff5fbfb528) at eval.c:2941
>> #37 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb520) at
>> eval.c:2742
>> #38 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678836},
>> vector={i = 4455517813}, maxdepth={i = 22}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfb918) at bytecode.c:629
>> #39 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517861},
>> nargs=1, arg_vector=0x7fff5fbfb910) at eval.c:2941
>> #40 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfb908) at
>> eval.c:2742
>> #41 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330662116},
>> vector={i = 4455466989}, maxdepth={i = 42}, args_template={i = 2058},
>> nargs=2, args=0x7fff5fbfbd38) at bytecode.c:629
>> #42 0x0000000100201fe7 in funcall_lambda (fun={i = 4455467093},
>> nargs=2, arg_vector=0x7fff5fbfbd28) at eval.c:2941
>> #43 0x0000000100201374 in Ffuncall (nargs=3, args=0x7fff5fbfbd20) at
>> eval.c:2742
>> #44 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330678804},
>> vector={i = 4455495149}, maxdepth={i = 18}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfc108) at bytecode.c:629
>> #45 0x0000000100201fe7 in funcall_lambda (fun={i = 4455517909},
>> nargs=1, arg_vector=0x7fff5fbfc100) at eval.c:2941
>> #46 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc0f8) at
>> eval.c:2742
>> #47 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676260},
>> vector={i = 4455508293}, maxdepth={i = 42}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfc580) at bytecode.c:629
>> #48 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508517},
>> nargs=1, arg_vector=0x7fff5fbfc578) at eval.c:2941
>> #49 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfc570) at
>> eval.c:2742
>> #50 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330676164},
>> vector={i = 4455512637}, maxdepth={i = 70}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfcad8) at bytecode.c:629
>> #51 0x0000000100201fe7 in funcall_lambda (fun={i = 4455508565},
>> nargs=1, arg_vector=0x7fff5fbfcad0) at eval.c:2941
>> #52 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfcac8) at
>> eval.c:2742
>> #53 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330675236},
>> vector={i = 4455503421}, maxdepth={i = 66}, args_template={i = 2054},
>> nargs=1, args=0x7fff5fbfd0a0) at bytecode.c:629
>> #54 0x0000000100201fe7 in funcall_lambda (fun={i = 4455504133},
>> nargs=1, arg_vector=0x7fff5fbfd098) at eval.c:2941
>> #55 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd090) at
>> eval.c:2742
>> #56 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698708},
>> vector={i = 4455656013}, maxdepth={i = 34}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfd4f8) at bytecode.c:629
>> #57 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647189},
>> nargs=1, arg_vector=0x7fff5fbfd4f0) at eval.c:2941
>> #58 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfd4e8) at
>> eval.c:2742
>> #59 0x000000010025ad5d in exec_byte_code (bytestr={i = 4330698612},
>> vector={i = 4455660765}, maxdepth={i = 42}, args_template={i = 1026},
>> nargs=0, args=0x7fff5fbfd9e8) at bytecode.c:629
>> #60 0x0000000100201fe7 in funcall_lambda (fun={i = 4455647141},
>> nargs=0, arg_vector=0x7fff5fbfd9e8) at eval.c:2941
>> #61 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfd9e0) at
>> eval.c:2742
>> #62 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299934692},
>> vector={i = 4299934725}, maxdepth={i = 94}, args_template={i = 1030},
>> nargs=1, args=0x7fff5fbfe288) at bytecode.c:629
>> #63 0x0000000100201fe7 in funcall_lambda (fun={i = 4299934645},
>> nargs=1, arg_vector=0x7fff5fbfe280) at eval.c:2941
>> #64 0x0000000100201374 in Ffuncall (nargs=2, args=0x7fff5fbfe278) at
>> eval.c:2742
>> #65 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299912628},
>> vector={i = 4299912661}, maxdepth={i = 86}, args_template={i = 2},
>> nargs=0, args=0x7fff5fbfedb8) at bytecode.c:629
>> #66 0x0000000100201fe7 in funcall_lambda (fun={i = 4299912581},
>> nargs=0, arg_vector=0x7fff5fbfedb8) at eval.c:2941
>> #67 0x0000000100201374 in Ffuncall (nargs=1, args=0x7fff5fbfedb0) at
>> eval.c:2742
>> #68 0x000000010025ad5d in exec_byte_code (bytestr={i = 4299908964},
>> vector={i = 4299908997}, maxdepth={i = 50}, args_template={i = 2},
>> nargs=0, args=0x7fff5fbff2f0) at bytecode.c:629
>> #69 0x0000000100201fe7 in funcall_lambda (fun={i = 4299908917},
>> nargs=0, arg_vector=0x7fff5fbff2f0) at eval.c:2941
>> #70 0x0000000100201c16 in apply_lambda (fun={i = 4299908917}, args={i
>> = 0}, count=4) at eval.c:2877
>> #71 0x00000001001ffc89 in eval_sub (form={i = 4379235827}) at
>> eval.c:2261
>> #72 0x00000001001fef96 in Feval (form={i = 4379235827}, lexical={i =
>> 0}) at eval.c:2038
>> #73 0x0000000100139c2c in top_level_2 () at keyboard.c:1123
>> #74 0x00000001001fd0d8 in internal_condition_case (bfun=0x100139c08
>> <top_level_2>, handlers={i = 18528}, hfun=0x100139519 <cmd_error>) at
>> eval.c:1319
>> #75 0x0000000100139c78 in top_level_1 (ignore={i = 0}) at
>> keyboard.c:1131
>> #76 0x00000001001fc551 in internal_catch (tag={i = 46944},
>> func=0x100139c2e <top_level_1>, arg={i = 0}) at eval.c:1084
>> #77 0x0000000100139b4d in command_loop () at keyboard.c:1092
>> #78 0x0000000100138fb0 in recursive_edit_1 () at keyboard.c:699
>> #79 0x00000001001391c7 in Frecursive_edit () at keyboard.c:770
>> #80 0x0000000100136cdc in main (argc=9, argv=0x7fff5fbff8e8) at
>> emacs.c:1706
>>
>> Lisp Backtrace:
>> "decode-time" (0x5fbf9608)
>> 0x3736288 PVEC_COMPILED
>> 0x3736230 PVEC_COMPILED
>> "byte-code" (0x5fbfa140)
>> "defconst" (0x5fbfa3e0)
>> "require" (0x5fbfacd0)
>> "apply" (0x5fbfacc8)
>> "byte-compile-file-form-require" (0x5fbfb130)
>> "byte-compile-file-form" (0x5fbfb528)
>> 0x991cea0 PVEC_COMPILED
>> "byte-compile-recurse-toplevel" (0x5fbfbd28)
>> "byte-compile-toplevel-file-form" (0x5fbfc100)
>> 0x991aa20 PVEC_COMPILED
>> "byte-compile-from-buffer" (0x5fbfcad0)
>> "byte-compile-file" (0x5fbfd098)
>> "batch-byte-compile-file" (0x5fbfd4f0)
>> "batch-byte-compile" (0x5fbfd9e8)
>> "command-line-1" (0x5fbfe280)
>> "command-line" (0x5fbfedb8)
>> "normal-top-level" (0x5fbff2f0)
>> (gdb) select 5
>> (gdb) frame 5
>> #5  0x00007fff87007b0a in timesub ()
>> (gdb) frame 10
>> #10 0x00000001001e9746 in Fdecode_time (specified_time={i =
>> 4351999171}, zone={i = 0}) at editfns.c:2163
>> 2163      struct tm *tm = emacs_localtime_rz (tz, &time_spec,
>> &local_tm);
>> (gdb) pp specified_time
>> (-1034058203136 0)
>> (gdb)
>




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#27736: OSX 10.6.8: Building from master branch fails.

Alan Third
On Wed, Jul 19, 2017 at 09:58:03PM +0200, Charles A. Roelli wrote:
> Err, oops: I guess there will be no patch for this in Lisp, since
> decode-time is written in C.
>
>
> So the choice is either to make a change in lib/time_rz.c or src/editfns.c.

Do you know what the actual problem is? If it’s going into an infinite
loop, why is that happening? That might give us a better idea where
the fix should go.

--
Alan Third



Loading...