Opened 15 years ago

Closed 14 years ago

#23459 closed defect (duplicate)

qt4-mac conflicts with xmlrpcxx

Reported by: eschnett (Erik Schnetter) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: mf2k (Frank Schima), ryandesign (Ryan Carsten Schmidt)
Port: qt4-mac, qt4-mac-devel

Description (last modified by mf2k (Frank Schima))

Building qt4-mac 4.6.1 fails on my system. I receive the error message

bindings/js/JSDOMWindowCustom.cpp: In member function 'JSC::JSValue WebCore::JSDOMWindow::atob(JSC::ExecState*, const JSC::ArgList&)':
bindings/js/JSDOMWindowCustom.cpp:1015: error: 'base64Decode' was not declared in this scope
bindings/js/JSDOMWindowCustom.cpp: In member function 'JSC::JSValue WebCore::JSDOMWindow::btoa(JSC::ExecState*, const JSC::ArgList&)':
bindings/js/JSDOMWindowCustom.cpp:1041: error: 'base64Encode' was not declared in this scope
make[2]: *** [obj/debug/JSDOMWindowCustom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

I tracked down the problem to the include file Base64.h. qt4-mac provides this file, but instead a file base64.h (note the different case) installed in /opt/local/include by port xmlprcxx 0.7.0 is used. The files are incompatible.

This problem seems similar to #18723 (qt4-mac won't install).

Change History (10)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

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

Try the following workaround and let us know if it works for you.

sudo port clean qt4-mac
sudo port deactivate xmlprcxx
sudo port install qt4-mac

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:4 Changed 15 years ago by eschnett (Erik Schnetter)

Yes, this workaround works for me. Thank you!

-erik

comment:5 Changed 15 years ago by mf2k (Frank Schima)

You probably did this already but I neglected to mention that you can then activate xmlprcxx afterwards.

sudo port activate xmlprcxx

comment:6 Changed 15 years ago by mf2k (Frank Schima)

In the meantime, I added the conflict with xmlprcxx in r63194.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: qt4-mac-devel added

And I added the conflict to qt4-mac-devel in r63196, so that we keep those ports similar.

Shall we resolve this ticket then?

comment:8 in reply to:  7 Changed 15 years ago by mf2k (Frank Schima)

Replying to ryandesign@…:

Shall we resolve this ticket then?

I consider this a workaround until a proper solution is found. So I vote to keep it open just like #20199 which has a similar workaround.

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: qt4-mac conflicts with xmlprcxxqt4-mac conflicts with xmlrpcxx

There is no port called xmlprcxx. The port is called xmlrpcxx. eXtensible Markup Language Remote Procedure Call for C++. I fixed the conflict declarations in qt4-mac and qt4-mac-devel in r64849.

comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

I'm going to call this a duplicate of #20199.

Note: See TracTickets for help on using tickets.