#40462: kmymoney4 @4.6.3 rebuild error ---------------------------------+------------------- Reporter: mario.gleirscher@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: kmymoney4 | ---------------------------------+------------------- Comment (by mk@…): Great! You may stick with KMyMoney's development version, since it is quite stable these days. ---- I have located the problem in your file as this: {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kmymoney4/kmymoney4/work/kmymoney-4.6.3/kmymoney/mymoney/mymoneymoney.cpp:167:13: error: no viable conversion from '__gmp_expr<typename __gmp_resolve_expr<__mpq_struct [1], __mpz_struct [1]>::value_type, __gmp_binary_expr<__gmp_expr<__mpq_struct [1], struct __gmp_binary_expr<class __gmp_expr<mpq_t, mpq_t>, class __gmp_expr<mpq_t, mpq_t>, struct __gmp_binary_minus> >, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>, struct __gmp_binary_multiplies>>' to '__gmp_expr<mpz_t, mpz_t>' :info:build mpz_class right = (valueRef() - mpq_class(left)) * denom; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/include/gmpxx.h:1468:3: note: candidate constructor not viable: no known conversion from '__gmp_ }}} This class crossed my way on KMM's developer mailing list at October 6th of 2012. More info can be found in [http://gmplib.org/manual/C_002b_002b- Interface-Integers.html#C_002b_002b-Interface-Integers here]. Unfortunately I don't have a fix for this at hand right now, but I remember that some changes were made with respect to this in git master... '''Right now I realize that kmymoney4 also doesn't build on my Snow Leopard anymore.''' Since 4.6.4 is going to be released in October and kmymoney4-devel is reasonably stable, I figure it doesn't make sense to try to come up with a fix for this issue anymore. Stay tuned! -- Ticket URL: <https://trac.macports.org/ticket/40462#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X