[MacPorts] #65596: qt4-mac fails on 10.6.8 Rosetta: FastMalloc.o error
MacPorts
noreply at macports.org
Tue Aug 2 12:13:33 UTC 2022
#65596: qt4-mac fails on 10.6.8 Rosetta: FastMalloc.o error
-------------------------------------------+-----------------------
Reporter: barracuda156 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard | Port: qt4-mac
-------------------------------------------+-----------------------
{{{
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp: In member
function ‘void QTWTF::TCMalloc_PageHeap::initializeScavenger()’:
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1485: error:
expected primary-expression before ‘^’ token
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1485: error:
expected primary-expression before ‘{’ token
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1485: error:
‘dispatch_source_set_event_handler’ was not declared in this scope
make[1]: *** [obj/release/FastMalloc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work
/qt-everywhere-opensource-src-4.8.7/src/script'
make: *** [sub-script-all-ordered] Error 2
}}}
After initial failure I did try adding this:
{{{
} elseif {${MAJOR} == 10 && ${MINOR} == 6 &&
[llength ${qt_arch_types}] == 1 &&
[lsearch -exact ${qt_arch_types} ppc] == 0} {
configure.args-append -carbon
configure.args-delete -optimized-qmake
}
}}}
But it still fails. Any ideas?
P. S. I recall it also failed on 10.6 PPC, but I did not tried to fix it
there. The current issue refers to 10.6.8 Rosetta, not 10.6 PPC.
--
Ticket URL: <https://trac.macports.org/ticket/65596>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list