[MacPorts] #37546: doxygen @1.8.3: +wizard fails to build
MacPorts
noreply at macports.org
Sun Jan 6 05:36:01 PST 2013
#37546: doxygen @1.8.3: +wizard fails to build
----------------------+---------------------
Reporter: raimue@… | Owner: css@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: doxygen
----------------------+---------------------
doxygen @1.8.3 fails to build with the +wizard variant.
From the attached main.log:
{{{
:info:build /usr/bin/clang++ -headerpad_max_install_names -arch x86_64
-arch i386 -Xarch_x86_64 -mmacosx-version-min
:info:build ld: warning: ld: warning: ld: warning: ignoring file
/opt/local/Library/Frameworks/QtCore.framework/QtCo
:info:build
:info:build
:info:build Undefined symbols for architecture i386:
:info:build "qDrawShadePanel(QPainter*, QRect const&, QPalette const&,
bool, int, QBrush const*)", referenced from
:info:build ColorPicker::paintEvent(QPaintEvent*) in wizard.o
:info:build "qt_message_output(QtMsgType, char const*)", referenced
from:
:info:build QDebug::~QDebug() in doxywizard.o
:info:build "qRegisterResourceData(int, unsigned char const*, unsigned
char const*, unsigned char const*)", refere
:info:build qInitResources_doxywizard() in qrc_doxywizard.o
:info:build __GLOBAL__I_a in qrc_doxywizard.o
:info:build "qUnregisterResourceData(int, unsigned char const*, unsigned
char const*, unsigned char const*)", refe
:info:build qCleanupResources_doxywizard() in qrc_doxywizard.o
:info:build
qCleanupResources_doxywizard__dest_class__::~qCleanupResources_doxywizard__dest_class__()
in qrc_d
:info:build "endl(QTextStream&)", referenced from:
:info:build Expert::saveTopic(QTextStream&, QDomElement&,
QTextCodec*, bool) in expert.o
:info:build Expert::writeConfig(QTextStream&, bool) in expert.o
:info:build InputStrList::writeValue(QTextStream&, QTextCodec*) in
inputstrlist.o
}}}
I think the reason is the inclusion of `-arch i386` in the compilation
above. This argument is at least passed in
`doxygen-1.8.3/addon/doxywizard/Makefile.doxywizard` in CFLAGS/CXXFLAGS. A
patch and reinplace should be used to select the arch currently building
for only. I tested with the patch from ticket #37522 applied, against
qt4-mac @4.8.4_2+quartz on Mac OS X 10.8.2 Mountain Lion.
The previous version doxygen @1.8.1.1_1+wizard did work fine for me. I
assume changes by upstream introduced these universal arch selections that
break the port now for me.
--
Ticket URL: <https://trac.macports.org/ticket/37546>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list