#54604 closed defect (fixed)
kmymoney4 @4.7.2_5: *** No rule to make target `/kmymoneysettings.h', needed by `kmymoney/dialogs/settings/CMakeFiles/settings_autogen'. Stop.
Reported by: | Emanuelendr | Owned by: | mkae (Marko Käning) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | pixilla (Bradley Giesbrecht), tryonlinux (Jordan Tryon), SickTeddyBear | |
Port: | kmymoney4 |
Description
Hi all,
I use macports only to be able to have kmymoney on mac as I used this app for years in linux. After a couple of years non updating I decided to switch to the new version and followed the update guide on MacPort website (currently running OS Sierra). The port failed to build. After that I tried to:
- sudo port clean kmymoney4 and reinstall
- remove and reinstall macports
- complutely remoe all ports and delete all content of /otp/ dir
- restore previous macports files and apps through TM
- Manually install the kmymoney4 dependencies (as shown with port deps kmymoney4) before installing kmymoney4 itself
- tried using kmymoney4-devel.
Nothing changed, the error is:
sudo port install kmymoney4 ---> Computing dependencies for kmymoney4 ---> Fetching archive for kmymoney4 ---> Attempting to fetch kmymoney4-4.7.2_5.darwin_16.x86_64.tbz2 from https://packages.macports.org/kmymoney4 ---> Attempting to fetch kmymoney4-4.7.2_5.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/kmymoney4 ---> Attempting to fetch kmymoney4-4.7.2_5.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/kmymoney4 ---> Fetching distfiles for kmymoney4 ---> Verifying checksums for kmymoney4 ---> Extracting kmymoney4 ---> Applying patches to kmymoney4 ---> Configuring kmymoney4 ---> Building kmymoney4 Error: Failed to build kmymoney4: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kmymoney4/kmymoney4/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port kmymoney4 failed
main.log file attached.
Thanks
Attachments (1)
Change History (13)
Changed 7 years ago by Emanuelendr
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mkae removed |
---|---|
Owner: | set to mkae |
Status: | new → assigned |
Summary: | kmymoney4-4.7.2_5.darwin_16.x86_64 - Failed to build → kmymoney4 @4.7.2_5: *** No rule to make target `/kmymoneysettings.h', needed by `kmymoney/dialogs/settings/CMakeFiles/settings_autogen'. Stop. |
comment:2 Changed 7 years ago by tryonlinux (Jordan Tryon)
Cc: | tryonlinux added |
---|
comment:3 Changed 7 years ago by tryonlinux (Jordan Tryon)
I am having the same issue, Brand new mac mini with MacOS Serria. Installed nothing but MacPorts and Xcode (Including command line tools and accepted the license), got basically the same log file when trying to install, did multiple cleans as well.
comment:4 Changed 7 years ago by SickTeddyBear
Cc: | SickTeddyBear added |
---|
comment:5 Changed 7 years ago by raimue (Rainer Müller)
Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871373
Looks like the port needs a backport of this upstream change: https://cgit.kde.org/kmymoney.git/commit/?id=b0a68ca075928aa2
comment:6 Changed 7 years ago by Emanuelendr
Thanks for the reply raimue; unfortunately I'm not skilled enough to understand what needs to be done now to fix the problem. If it is something I have to do from "my side", could you please explain me how to do it?
comment:7 Changed 7 years ago by IanWadham
Attention Marko Kãning, old friend... :-)
At least three users now have this problem, including me. See the original report and comment 3 https://trac.macports.org/ticket/54604#comment:3 The impact is that we cannot install KMyMoney 4 on Sierra and so cannot access our financial records in OSX 10.12 Sierra.
comment:8 Changed 7 years ago by raimue (Rainer Müller)
https://github.com/macports/macports-ports/pull/799
I am not able to test this myself as kmymoney4 as way to many dependencies. If anyone can confirm that the fix works, I will merge the change.
comment:9 Changed 7 years ago by NicosPavlov
I tested the patch, and it indeed solves the compilation issue. I rapidly tested the application, and it seems to be working fine, although I do not have much experience with it.
comment:10 Changed 7 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:11 Changed 7 years ago by raimue (Rainer Müller)
Thank you for the confirmation, Nicos. I merged the change and the fixed kmymoney4 port should be available shortly.
comment:12 Changed 7 years ago by tryonlinux (Jordan Tryon)
Just an FYI, The fix worked for me too. Thank you very very much for fixing this! I can now go back to kmymoney on my mac instead of in a virtual box haha. I appreciate it!
kmymoney-main.log