Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#44112 closed defect (fixed)

guile hangs on snarf-check-and-output-texi

Reported by: JadeNB1729@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc: h_atac@…, cooljeanius (Eric Gallager)
Port: guile

Description

When I try to build guile (1.8.8) on Mac OS X.9.3, it reaches

cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc | GUILE="/Users/Shared/Applications/MacPorts/base/var/macports/build/_Users_Shared_Applications_MacPorts_base_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_guile/guile/work/guile-1.8.8/pre-inst-guile" ../scripts/snarf-check-and-output-texi          > guile-procedures.texi || { rm guile-procedures.texi; false; }

and then seems to do nothing. I waited 4 hours, and the process was not using any memory.

Attachments (2)

main.log (12.0 KB) - added by JadeNB1729@… 10 years ago.
macports-guile-pr44112-1.diff (2.2 KB) - added by dimitry@… 10 years ago.
Patch to fix hanging guile instances with newer versions of clang

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Could you attach the main.log file? (Its location is printed by the command "port logfile guile".)

Changed 10 years ago by JadeNB1729@…

Attachment: main.log added

comment:2 Changed 10 years ago by JadeNB1729@…

I have attached it. The last line ends mid-path:

:info:build make[1]: Entering directory `/Users/Shared/

comment:3 Changed 10 years ago by h_atac@…

Cc: h_atac@… added

Cc Me!

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Changed 10 years ago by dimitry@…

Patch to fix hanging guile instances with newer versions of clang

comment:5 Changed 10 years ago by dimitry@…

Please try this patch, which is adapted from the fix used in the FreeBSD ports repository introduced here: http://svnweb.freebsd.org/changeset/ports/352517

Summary:

  1. Use -fwrapv in CFLAGS, since guile depends on signed integer overflows.
  2. Fix grep + sed logic in guile-snarf.in to be compatible with the output of clang's preprocessor. This is achieved by adding additional newlines before the delimiters, which guile-snarf depends on.
  3. Similarly, in c-tokenize.c, clang's preprocessor outputs EOLs and hash marks in different places, confusing the lexer. Simply don't output them to fix the problem.
Last edited 10 years ago by dimitry@… (previous) (diff)

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

guile was updated to 2.2.10 a couple weeks ago.

comment:7 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

rrr... 2.0.11 in r129616

Note: See TracTickets for help on using tickets.