installed port wants to rebuild

Stanton Sanderson stansand at
Fri Nov 8 20:10:38 UTC 2019

> On Nov 7, 2019, at 10:39 PM, Ryan Schmidt <ryandesign at> wrote:
> On Nov 7, 2019, at 21:23, Stan Sanderson wrote:
>> OS X 10.14, all installed ports up-to-date.
>> Re: kmymoney4-devel
>> Since the recent problem with kdepimlibs4 was solved (thanks!),  port upgrade outdated consistently ends with
>> --->  Scanning binaries for linking errors
>> --->  Found 2 broken files, matching files to ports      
>> --->  Found 1 broken port, determining rebuild order
>> You can always run 'port rev-upgrade' again to fix errors.
>> The following ports will be rebuilt: kmymoney4-devel @4.8.1-20171206
>> port installed kmymon* returns
>> kmymoney4-devel @4.8.1-20171206_2 (active)
>> and, indeed, it is running normally. However, Iā€™m wondering where the ā€œ_2ā€ came from
> 2 is the revision of the port. We increment the revision of a port when we need to push a change out to you without changing the version of the port.
>> , why I am prompted to rebuild each time,
> Because MacPorts has identified that it is broken, in other words it links with libraries which don't exist or aren't working. If you run `sudo port -d rev-upgrade` it will tell you specifically what files are involved.
>> and how to correct it.
> Allowing the rev-upgrade process to rebuild the port should be the correction. If that build is failing, show us the main.log.

Following rev-upgrade, 

--->  Applying patches to kmymoney4-devel
--->  Configuring kmymoney4-devel
Warning: reinplace s|%PREFIX%|/opt/local|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/CMakeLists.txt
--->  Building kmymoney4-devel
Error: Failed to build kmymoney4-devel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kmymoney4-devel/kmymoney4-devel/main.log for details.
Error: rev-upgrade failed: Error rebuilding kmymoney4-devel

Excerpt of main.log attached. Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 180144 bytes
Desc: not available
URL: <>
-------------- next part --------------

More information about the macports-users mailing list