[MacPorts] #59712: subversion @1.13.0 runs svnversion during the build, which fails
MacPorts
noreply at macports.org
Sun Nov 17 16:04:36 UTC 2019
#59712: subversion @1.13.0 runs svnversion during the build, which fails
------------------------+------------------------
Reporter: ryandesign | Owner: danielluke
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: subversion
------------------------+------------------------
subversion evidently runs the just-built svnversion at some point during
the build. This crashes, because the libraries it's linked with haven't
been installed yet, and I guess it's not setting DYLD_LIBRARY_PATH to the
path where they were built. (I assume that the fix will be setting that
variable.)
This does not cause the build of subversion to fail, but whatever it's
running svnversion for can't be getting the correct result. Whether that's
important, I don't know.
On old Mac OS X versions like 10.6 that ship with an old copy of
subversion, the failure is:
{{{
Symbol not found: _svn_pool_create_allocator
Referenced from:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_subversion/subversion/work/subversion-1.13.0/subversion/svnversion/svnversion
Expected in: /usr/lib/libsvn_subr-1.0.dylib
}}}
On new macOS versions like 10.14 that don't ship with subversion, the
failure is:
{{{
Library not loaded: /opt/local/lib/libsvn_wc-1.0.dylib
Referenced from: /opt/local/var/macports/*/svnversion
Reason: image not found
}}}
Attached are two crash logs I found on our buildbot workers.
--
Ticket URL: <https://trac.macports.org/ticket/59712>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list