[MacPorts] #37144: kmymoney fails to compile after upgrade
#37144: kmymoney fails to compile after upgrade ---------------------------+-------------------------------- Reporter: dmollaaliod@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: kmymoney ---------------------------+-------------------------------- I just upgraded ports and did "sudo port selfupdate" and "sudo port upgrade outdated". However kmymoney failed to upgrade. I uninstalled it and tried to instal without success. The first error I noticed in the logfile is a compilation error (complete logfile attached): :info:build /opt/local/lib/qt3/include/qpair.h:66:8: error: field has incomplete type 'MyMoneyTransaction' :info:build T1 first; :info:build ^ :info:build ./viewinterface.moc:166:31: note: in instantiation of template class 'QPair<MyMoneyTransaction, MyMoneySplit>' requested here -- Ticket URL: <https://trac.macports.org/ticket/37144> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Changes (by ryandesign@…): * cc: pixilla@… (added) * owner: macports-tickets@… => mk@… Old description:
I just upgraded ports and did "sudo port selfupdate" and "sudo port upgrade outdated". However kmymoney failed to upgrade. I uninstalled it and tried to instal without success. The first error I noticed in the logfile is a compilation error (complete logfile attached):
:info:build /opt/local/lib/qt3/include/qpair.h:66:8: error: field has incomplete type 'MyMoneyTransaction' :info:build T1 first; :info:build ^ :info:build ./viewinterface.moc:166:31: note: in instantiation of template class 'QPair<MyMoneyTransaction, MyMoneySplit>' requested here
New description: I just upgraded ports and did "sudo port selfupdate" and "sudo port upgrade outdated". However kmymoney failed to upgrade. I uninstalled it and tried to instal without success. The first error I noticed in the logfile is a compilation error (complete logfile attached): {{{ :info:build /opt/local/lib/qt3/include/qpair.h:66:8: error: field has incomplete type 'MyMoneyTransaction' :info:build T1 first; :info:build ^ :info:build ./viewinterface.moc:166:31: note: in instantiation of template class 'QPair<MyMoneyTransaction, MyMoneySplit>' requested here }}} -- -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): I am sorry to see that kmymoney doesn't build on ML anymore. Since kmymoney 1.0.5 is not supported anymore I would suggest upgrading to kmymoney4(-devel) in your case! -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): I just realized that you, of course, used clang to build it. I wonder what would happen if you would blacklist clang... (Unfortunately I do not have a ML to test this on.) Are you familiar with setting up your own portfiles and subsequent port building? -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): This is what I got so far:
Try if including "mymoneytransaction.h" and "mymoneysplit.h" in "viewinterface.h" makes a difference. After all, it complains about forward declarations which means these objects are not really known but the definition is needed.
Regards, Thomas Baumgart
-- Ticket URL: <https://trac.macports.org/ticket/37144#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by dmollaaliod@…): I tried to install kmynoney4 instead. It took several hours to install and I didn't see any errors in the installation. However when I tried to run it I got an error from drkonqi (I don't know what that program does): "drkonqi quit unexpectedly". Replying to [comment:4 mk@…]:
This is what I got so far:
Try if including "mymoneytransaction.h" and "mymoneysplit.h" in "viewinterface.h" makes a difference. After all, it complains about forward declarations which means these objects are not really known but the definition is needed.
Regards, Thomas Baumgart
-- Ticket URL: <https://trac.macports.org/ticket/37144#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by dmollaaliod@…): I got the same error when I tried to run kmymoney4-devel (after uninstalling kmymoney4 and installing kmymoney4-devel). Replying to [comment:5 dmollaaliod@…]:
I tried to install kmynoney4 instead. It took several hours to install and I didn't see any errors in the installation. However when I tried to run it I got an error from drkonqi (I don't know what that program does): "drkonqi quit unexpectedly".
Replying to [comment:4 mk@…]:
This is what I got so far:
Try if including "mymoneytransaction.h" and "mymoneysplit.h" in "viewinterface.h" makes a difference. After all, it complains about forward declarations which means these objects are not really known but the definition is needed.
Regards, Thomas Baumgart
-- Ticket URL: <https://trac.macports.org/ticket/37144#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): You need to make sure that dbus is properly launched. (During installation of dbus a few comments were spat out which tell you how to start dbus via 2 launchctl calls.) -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by macsforever2000@…): You can discover what they are again by incanting the following. {{{ port notes dbus }}} -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by dmollaaliod@…): Now it works, thanks! To sum up, I installed kmymoney4, then typed the commands to start dbus. Replying to [comment:8 macsforever2000@…]:
You can discover what they are again by incanting the following.
{{{ port notes dbus }}}
-- Ticket URL: <https://trac.macports.org/ticket/37144#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): OK, but the original problem: the fix for kmymoney 1.0.5 is still to be tested! -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by dmollaaliod@…): When I installed kmymoney4 I had to uninstall qt3 and wait for nearly one day to build qt4 and kmymoney4. If I'm going to test whether kmymoney installs, won't I need to uninstall qt4 and kmymoney4? Looks to me it's best to stick to kmymoney4. Replying to [comment:10 mk@…]:
OK, but the original problem: the fix for kmymoney 1.0.5 is still to be tested!
-- Ticket URL: <https://trac.macports.org/ticket/37144#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by pixilla@…): Replying to [comment:11 dmollaaliod@…]:
When I installed kmymoney4 I had to uninstall qt3 and wait for nearly
one day to build qt4 and kmymoney4. If I'm going to test whether kmymoney installs, won't I need to uninstall qt4 and kmymoney4? You can deactivate a port which keeps the built packages but removes the installed files from the system. {{{ man port sudo port deactivate kmymoney4 qt4-mac sudo port activate qt4-mac kmymoney4 }}} -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): Hmm, I think it is not sufficient to deactivate just the two ports. There might be many more dependencies to take into account. I guess if you are happy with the new KMM version, stick with it for now, since I know it takes ages to build all its dependencies. (Perhaps one can find someone with a faster machine and nerves to test this.) The ticket should stay open until then. PS: kmymoney4(-devel) still has some minor glitches. If you stumble over them, please file tickets accordingly. You could install kmymoney4-devel to stay at the tip of development. -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kmymoney | ----------------------------+------------------- Comment (by mk@…): Just tried to address this issue on ML by r100274. -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37144: kmymoney: error: field has incomplete type 'MyMoneyTransaction' ----------------------------+-------------------- Reporter: dmollaaliod@… | Owner: mk@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: kmymoney | ----------------------------+-------------------- Changes (by mk@…): * status: new => closed * resolution: => fixed Comment: Adding missing dep for pkgconfig in r100275 solved this issue. (Actually this was failing to build on all three buildbots!) -- Ticket URL: <https://trac.macports.org/ticket/37144#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts