[MacPorts] #57032: mozjs52 @52.6.0 configure failure
MacPorts
noreply at macports.org
Sat Aug 25 19:10:54 UTC 2018
#57032: mozjs52 @52.6.0 configure failure
------------------------+----------------------
Reporter: ballapete | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords: leopard
Port: mozjs52 |
------------------------+----------------------
Comment (by ballapete):
Could be he problem comes from these lines in `config.log`:
{{{
DEBUG: | #elif __powerpc64__
DEBUG: | %CPU "ppc64"
DEBUG: | #elif __powerpc__
DEBUG: | %CPU "ppc"
}}}
These are tests on lower case strings, but GCC defines UPPER CASE STRINGS.
So `configure` has to state: `ERROR: Target C compiler target CPU
(unknown) does not match --target CPU (powerpc)`. Some more files seem to
think it's FORTRAN time in reverse:
{{{
./js/src/ctypes/CTypes.cpp:#if defined(SPARC) || defined(__powerpc__)
./js/src/jit/arm/llvm-compiler-rt/assembly.h:#if defined(__POWERPC__) ||
defined(__powerpc__) || defined(__ppc__)
./js/src/vm/TraceLogging.cpp:#elif defined(__powerpc__)
./memory/jemalloc/src/include/jemalloc/internal/jemalloc_internal.h.in:#
ifdef __powerpc__
./memory/jemalloc/src/include/jemalloc/internal/mb.h:#elif
defined(__powerpc__)
./memory/mozjemalloc/jemalloc.c:#ifdef __powerpc__
./mfbt/EndianUtils.h:#elif defined(__APPLE__) || defined(__powerpc__) ||
defined(__ppc__)
./mfbt/double-conversion/utils.h: defined(__powerpc__) ||
defined(__ppc__) || defined(__ppc64__) || \
./mfbt/lz4.c: || defined(__powerpc__) || defined(__ppc__) ||
defined(__PPC__) \
./nsprpub/pr/include/md/_beos.cfg:#ifdef __powerpc__
./nsprpub/pr/include/md/_beos.h:#ifdef __powerpc__
./nsprpub/pr/include/md/_freebsd.cfg:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_freebsd.h:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_linux.cfg:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_linux.h:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_linux.h:#if defined(__powerpc__) &&
!defined(__powerpc64__)
./nsprpub/pr/include/md/_linux.h:#ifdef __powerpc__
./nsprpub/pr/include/md/_linux.h:#endif /*__powerpc__*/
./nsprpub/pr/include/md/_linux.h:#ifdef __powerpc__
./nsprpub/pr/include/md/_linux.h:#endif /*__powerpc__*/
./nsprpub/pr/include/md/_netbsd.cfg:#elif defined(__powerpc__) ||
defined(__m68k__)
./nsprpub/pr/include/md/_netbsd.h:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_netbsd.h:#if defined(__i386__) ||
defined(__sparc__) || defined(__m68k__) || defined(__powerpc__)
./nsprpub/pr/include/md/_openbsd.cfg:#elif defined(__powerpc__) ||
defined(__m68k__)
./nsprpub/pr/include/md/_openbsd.h:#elif defined(__powerpc__)
./nsprpub/pr/include/md/_openbsd.h:#elif defined(__powerpc__)
./nsprpub/pr/include/pratom.h: defined(__powerpc__) || \
./python/mozbuild/mozbuild/configure/constants.py: ('ppc',
'__powerpc__'),
Übereinstimmungen in Binärdatei
./python/mozbuild/mozbuild/configure/constants.pyc
./python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py:
'__powerpc__': 1,
./python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py:
'__powerpc__': 1,
}}}
Since my tongue is more like that of a snail (Anglo-German insiders joke)
*I* have no idea where to start patching because I do not speak Python…
--
Ticket URL: <https://trac.macports.org/ticket/57032#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list