[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
Mon May 8 15:42:58 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 ballapete):
Replying to [comment:12 kencu]:
> I wonder if the `bash` on 10.4 and 10.5 is just too old for this script?
Why is it happening only there?
>
It's /bin/sh, which is "GNU bash, version 3.2.17(1)-release (powerpc-
apple-darwin9.0)." It works OK. The problem is with the files that build
Guile. The set of executables involved in executing the right side of the
pipe perform (minimised with `sort -u`):
{{{
+
DYLD_LIBRARY_PATH=/opt/local/var/macports/build/.../guile/work/guile-2.2.2
/guile-readline/.libs
+
DYLD_LIBRARY_PATH=/opt/local/var/macports/build/.../guile/work/guile-2.2.2/libguile/.libs:
/opt/local/var/macports/build/.../guile/work/guile-2.2.2/guile-
readline/.libs
+
DYLD_LIBRARY_PATH=/opt/local/var/macports/build/.../guile/work/guile-2.2.2/libguile/.libs:
/opt/local/var/macports/build/.../guile/work/guile-2.2.2/libguile/.libs:
/opt/local/var/macports/build/.../guile/work/guile-2.2.2/guile-
readline/.libs
+
LTDL_LIBRARY_PATH=/opt/local/var/macports/build/.../guile/work/guile-2.2.2/libguile:
/opt/local/var/macports/build/.../guile/work/guile-2.2.2/guile-readline
+
LTDL_LIBRARY_PATH=/opt/local/var/macports/build/.../guile/work/guile-2.2.2
/guile-readline
}}}
Only *one* directory with *one* `dylib` exists:
`/opt/local/var/macports/build/.../guile/work/guile-2.2.2/libguile/.libs`.
So the last assignments seem wrong. Anyway, `gbd` explains:
{{{
gdb -arch ppc --core=/cores/core.27026
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC
2009)
...
This GDB was configured as "powerpc-apple-darwin".
Core was generated by
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_guile/guile/work/guile-2.2.2/libguile/.libs/guile'.
}}}
So it's neither cat nor bash nor the OS but the recently built guile
binary that crashes and produces the ΒΌ GB big core files.
--
Ticket URL: <https://trac.macports.org/ticket/54124#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list