[MacPorts] #54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses non-existing /lib/cpp as C preprocessor
MacPorts
noreply at macports.org
Sun Sep 10 05:28:20 UTC 2017
#54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses
non-existing /lib/cpp as C preprocessor
------------------------+---------------------------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: tiger leopard snowleopard
Port: guile |
------------------------+---------------------------------------
Comment (by kencu):
Worked on this a bit tonight. Adding the following block to the Portfile
did get considerably farther through the guile-2.2.2 build, but still
errors out in the end. Nonetheless, I think this is progress down the path
to success:
{{{
platform darwin powerpc {
compiler.whitelist macports-gcc-6
configure.args-append CPP=${configure.cpp}
configure.optflags -O2
configure.cflags-append -I${prefix}/lib/gcc7/gcc/ppc-apple-
darwin9/7.2.0/include
}
}}}
ultimately dies with
{{{
ranlib: file: .libs/libguile-2.2.a(wctype-h.o) has no symbols
CCLD guile
GEN guile-procedures.texi
cat: stdout: Broken pipe
/bin/sh: line 1: 19360 Done(1) cat alist.doc array-
handle.doc array-map.doc arrays.doc async.doc atomic.doc backtrace.doc
boolean.doc bitvectors.doc bytevectors.doc chars.doc control.doc
continuations.doc debug.doc deprecated.doc deprecation.doc dynl.doc
dynwind.doc eq.doc error.doc eval.doc evalext.doc expand.doc
extensions.doc fdes-finalizers.doc feature.doc filesys.doc fluids.doc
foreign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generalized-
arrays.doc generalized-vectors.doc goops.doc gsubr.doc guardians.doc
hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc
list.doc load.doc macros.doc mallocs.doc memoize.doc modules.doc
numbers.doc objprop.doc options.doc pairs.doc ports.doc print.doc
procprop.doc procs.doc promises.doc r6rs-ports.doc random.doc rdelim.doc
read.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc
srcprop.doc srfi-1.doc srfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc
stackchk.doc stacks.doc stime.doc strings.doc strorder.doc strports.doc
struct.doc symbols.doc syntax.doc threads.doc throw.doc trees.doc
unicode.doc uniform.doc values.doc variable.doc vectors.doc version.doc
vports.doc weak-set.doc weak-table.doc weak-vector.doc dynl.doc posix.doc
net_db.doc socket.doc regex-posix.doc
19361 Segmentation fault | GUILE_AUTO_COMPILE=0 ../meta/build-
env guild snarf-check-and-output-texi > guile-procedures.texi
}}}
but I wonder if this might be improved by changing the optflags from -Os
to -O2...
--
Ticket URL: <https://trac.macports.org/ticket/54124#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list