[MacPorts] #36426: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope
#36426: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope ----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: lmms ----------------------+-------------------------------- Build currently fails on OS X 10.6 after a port selfupdate and clean. {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp:27:20: error: Qt/QtXml: No such file or directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp: In member function ‘virtual void ZynAddSubFxInstrument::saveSettings(QDomDocument&, QDomElement&)’: /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp:179: error: ‘QDir’ was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp: In member function ‘virtual void ZynAddSubFxInstrument::loadSettings(const QDomElement&)’: /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp:240: error: ‘QDir’ was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp: In member function ‘void ZynAddSubFxInstrument::initPlugin()’: /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope make[2]: *** [plugins/zynaddsubfx/CMakeFiles/zynaddsubfx.dir/ZynAddSubFx.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/36426> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Changes (by jmr@…): * cc: michaelld@… (added) Comment: I guess it should be QtXml/QtXml? Would the location have changed when moving qt4-mac to a framework build? FYI, you ran portindex in a directory with no portfiles, so it did nothing. But it doesn't matter because selfupdate runs it correctly for you. -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by deesto@…): Replying to [comment:2 jmr@…]:
I guess it should be QtXml/QtXml? Would the location have changed when moving qt4-mac to a framework build? I'm not sure; LMK if there's anything you'd like me to test.
Replying to [comment:2 jmr@…]:
FYI, you ran portindex in a directory with no portfiles, so it did nothing. But it doesn't matter because selfupdate runs it correctly for you. Right; sorry: I had already run a full index and was just trying to show (poorly I suppose) that I'd already done so for that port.
-- Ticket URL: <https://trac.macports.org/ticket/36426#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by michaelld@…): lmms installs fine for me on 10.8 using Xcode 4.5.1 and the "new" qt4-mac. Please do: {{{ sudo port clean lmms sudo port selfupdate sudo port upgrade lmms }}} and if that doesn't work then attach the log file; consider compressing it first. Debugging issue such as this are always easier with a complete log especially include the configure stage. -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by hihid27@…): I had a similar problem like yours, what I had to do was modify a the {{{ #include <Qt/QtXml> }}} in a file from the plugin. What you have to do is do the usual {{{sudo port install lmms}}} and let it try to install lmms, and probably fail (if not, yay!). Then, find your way to macport's build directory for this (it should be something such as "/opt/local/var/macports/build/" (to open this in finder type {{{open /opt/local/var/macports/build}}} In that directory, find a file that contains lmms somewhere in it's name. Then in that directory, find your way to {{{plugins/zynaddsubfx}}}. Find the file named "ZynAddSubFx.cpp", and copy it (or hit command+c). Open terminal, enter: {{{sudo pico}}} press the spacebar, and then paste (or hit command+v) and hit enter (it should look something like {{{sudo pico /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp}}}). Press the down arrow until you see: {{{ #include <Qt/QtXml> }}} and change that to: {{{ #include <QtXml> }}} Now run {{{sudo port install lmms}}} again and it should work! -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by deesto@…): Thanks hihid27! Editing that plugin file worked and enabled me to upgrade from lmms @0.4.12_0 to lmms @0.4.13_0, and to continue to update my other installed ports. In my case, the file to edit (after the failed upgrade had created the build directory) was: {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp}}} So, narrowing the include scope from {{{Qt/QtXml}}} to {{{QtXml}}} in the source seems like it would be a sufficient fix. -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by wanthalf@…): Yes, it works! So? How about fixing the port? Anyone still alive? -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: bordinalberto@… (added) Comment: Has duplicate #41838. -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------- Reporter: deesto@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------- Reporter: deesto@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: lmms | -----------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r114860 -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts