Opened 7 years ago

Last modified 5 years ago

#54435 closed defect

Building libcaca@0.99.beta19_6+x11 on a PPC fails unless cppunit compiled with GCC6 — at Version 2

Reported by: josephsacco Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: powerpc Cc:
Port: libcaca

Description (last modified by mf2k (Frank Schima))

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

Change History (2)

comment:1 Changed 7 years ago by kencu (Ken)

but cppunit is also in the cxx11 1.1 portgroup, so it should never compile with gcc42, and this should have happened for you behind the scenes. Perhaps cppunit needs a revbump? Defer to michael here.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: powerpc added; PPC libcaca cppunit OSX 10.5.8 removed
Note: See TracTickets for help on using tickets.