[MacPorts] #39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow _XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName
#39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow _XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName --------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Keywords: | Port: magicspp --------------------------+----------------------- Using ports built from MacPorts trunk, magicspp fails to build: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_XCloseDisplay", referenced from: :info:build magics::CairoDriver::close() in CairoDriver.o :info:build "_XCreateSimpleWindow", referenced from: :info:build magics::CairoDriver::setupNewSurface() const in CairoDriver.o :info:build "_XMapWindow", referenced from: :info:build magics::CairoDriver::setupNewSurface() const in CairoDriver.o :info:build "_XNextEvent", referenced from: :info:build magics::CairoDriver::close() in CairoDriver.o :info:build "_XOpenDisplay", referenced from: :info:build magics::CairoDriver::setupNewSurface() const in CairoDriver.o :info:build "_XSelectInput", referenced from: :info:build magics::CairoDriver::setupNewSurface() const in CairoDriver.o :info:build "_XStoreName", referenced from: :info:build magics::CairoDriver::setupNewSurface() const in CairoDriver.o :info:build ld: symbol(s) not found for architecture x86_64 }}} Presumably if magicspp builds ok with MacPorts 2.1.x, then it was relying on the overlinking that MacPorts trunk no longer does, and whatever library provides those symbols (`-lX11`?) should be added to the LDFLAGS. -- Ticket URL: <https://trac.macports.org/ticket/39702> MacPorts <http://www.macports.org/> Ports system for OS X
#39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow _XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: magicspp | ---------------------------+----------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: The attached patch fixes the problem for me, while also fixing a quoting problem in the port. -- Ticket URL: <https://trac.macports.org/ticket/39702#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow _XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: fixed | Keywords: haspatch Port: magicspp | ---------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Committed in r108113. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/39702#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts