[MacPorts] #54435: Building libcaca at 0.99.beta19_6+x11 on a PPC fails unless cppunit compiled with GCC6
MacPorts
noreply at macports.org
Fri Jul 7 13:47:14 UTC 2017
#54435: Building libcaca at 0.99.beta19_6+x11 on a PPC fails unless cppunit compiled
with GCC6
--------------------------+---------------------
Reporter: josephsacco | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: powerpc
Port: libcaca |
--------------------------+---------------------
Changes (by mf2k):
* keywords: PPC libcaca cppunit OSX 10.5.8 => powerpc
Old description:
> If cppunit is installed and was compiled with GCC4.2, building libcaca
> will fail in the test directory on a PPC, due to missing symbols for PPC
> in cppunit.
>
> The Portfile for libcaca contains the line
>
> PortGroup cxx11 1.1
>
> which will force the libcaca build to use GCC6 on a PPC. If cppunit is
> installed and was compiled with GCC4.2, the libcaca build will fail in
> the test directory due to missing symbols for PPC.
>
> Recompiling cppunit with GCC6 fixes the problem. Someone who knows a lot
> more about Portfiles than I do could probably force the recompilation of
> cppunit from within the libcaca Portfile.
>
> -Joseph
New description:
If cppunit is installed and was compiled with GCC4.2, building libcaca
will fail in the test directory on a PPC, due to missing symbols for PPC
in cppunit.
The Portfile for libcaca contains the line
{{{
PortGroup cxx11 1.1
}}}
which will force the libcaca build to use GCC6 on a PPC. If cppunit is
installed and was compiled with GCC4.2, the libcaca build will fail in the
test directory due to missing symbols for PPC.
Recompiling cppunit with GCC6 fixes the problem. Someone who knows a lot
more about Portfiles than I do could probably force the recompilation of
cppunit from within the libcaca Portfile.
-Joseph
--
--
Ticket URL: <https://trac.macports.org/ticket/54435#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list