Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30433 closed defect (invalid)

subversion @ 1.6.17 fails to build on 10.7 Lion

Reported by: james.andres@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion subversion Cc:
Port: subversion

Description

*port output is attached.*

And the detailed output from running /usr/bin/make -j2 -w all manually

make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion/subversion/work/subversion-1.6.17'
cd subversion/libsvn_client && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion/subversion/work/subversion-1.6.17/libtool --tag=CC --silent --mode=link /Developer/usr/bin/llvm-gcc-4.2  -O2 -arch x86_64     -L/opt/local/lib -arch x86_64    -L/opt/local/lib/db46 -L/opt/local/lib -L/opt/local/lib/db46 -L/opt/local/lib  -rpath /opt/local/lib -o libsvn_client-1.la  add.lo blame.lo cat.lo changelist.lo checkout.lo cleanup.lo cmdline.lo commit.lo commit_util.lo compat_providers.lo copy.lo ctx.lo delete.lo deprecated.lo diff.lo export.lo externals.lo info.lo list.lo locking_commands.lo log.lo merge.lo mergeinfo.lo prop_commands.lo ra.lo relocate.lo repos_diff.lo repos_diff_summarize.lo resolved.lo revert.lo revisions.lo status.lo switch.lo update.lo url.lo util.lo version.lo ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /opt/local/lib/libaprutil-1.la  -ldb-4.6    -lexpat -liconv /opt/local/lib/libapr-1.la -lpthread -lintl  -framework Security -framework CoreFoundation -framework CoreServices
ld: can't open output file for writing: .libs/libsvn_client-1.0.0.0.dylib, errno=13 for architecture x86_64
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_client/libsvn_client-1.la] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion/subversion/work/subversion-1.6.17'

Attachments (1)

main.log (290.6 KB) - added by james.andres@… 13 years ago.
port main.log for subversion build on 10.7 lion.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by james.andres@…

Attachment: main.log added

port main.log for subversion build on 10.7 lion.

comment:1 Changed 13 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: newclosed

Here's your problem:

:info:build libtool: link: `/opt/local/lib/libintl.la' is not a valid libtool archive

That should be provided by the gettext port, so you will probably be able to fix things by doing:

sudo port -f uninstall gettext
sudo port clean --all gettext
sudo port install gettext
sudo port clean subversion
sudo port install subversion

comment:2 Changed 13 years ago by james.andres@…

Thanks, that did the trick.

For anyone else stuck with a similar issue, I had to do a few more steps before the problem was resolved:

# Add --follow-dependencies or Gettext won't install properly
sudo port -f --follow-dependencies uninstall gettext
sudo port clean --all gettext
sudo port install gettext
# ... re-install whatever dependencies from gettext you want (eg: gsed, gawk)
sudo port clean subversion
sudo port install subversion
Note: See TracTickets for help on using tickets.