Opened 4 years ago

Closed 4 years ago

#61523 closed defect (fixed)

subversion-perlbindings-5.28 package fail to install on Big Sur

Reported by: jyavenard (Jean-Yves Avenard) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: elventear (Pepe Barbe), jeffmcclure (Jeff McClure), fritzt0, MaddTheSane (C.W. Betts), Sebastian-Maier (Sebastian Maier), michaellass (Michael Lass)
Port: subversion-perlbindings

Description

% sudo port install subversion-perlbindings-5.28
--->  Computing dependencies for subversion-perlbindings-5.28
--->  Fetching archive for subversion-perlbindings-5.28
--->  Attempting to fetch subversion-perlbindings-5.28-1.13.0_0.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/subversion-perlbindings-5.28
--->  Attempting to fetch subversion-perlbindings-5.28-1.13.0_0.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/subversion-perlbindings-5.28
--->  Attempting to fetch subversion-perlbindings-5.28-1.13.0_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/subversion-perlbindings-5.28
--->  Building subversion-perlbindings-5.28
Error: Failed to build subversion-perlbindings-5.28: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_subversion-perlbindings/subversion-perlbindings-5.28/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port subversion-perlbindings-5.28 failed

Attachments (1)

main.log (211.5 KB) - added by jyavenard (Jean-Yves Avenard) 4 years ago.

Download all attachments as: .zip

Change History (16)

Changed 4 years ago by jyavenard (Jean-Yves Avenard)

Attachment: main.log added

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Undefined symbol errors. Probably the well-known macOS 11+ libtool bug. Patch is available in the libtool port.

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Port: subversion-perlbindings added

comment:3 in reply to:  1 Changed 4 years ago by jyavenard (Jean-Yves Avenard)

Replying to ryandesign:

Undefined symbol errors. Probably the well-known macOS 11+ libtool bug. Patch is available in the libtool port.

can you provides step on how to get around it for now? port's libtool is installed.

Version 0, edited 4 years ago by jyavenard (Jean-Yves Avenard) (next)

comment:4 Changed 4 years ago by elventear (Pepe Barbe)

Cc: elventear added

comment:5 Changed 4 years ago by jeffmcclure (Jeff McClure)

Cc: jeffmcclure added

comment:6 Changed 4 years ago by jeffmcclure (Jeff McClure)

I've got the same issue on Big Sur. Trying to install "git +svn" requires p5.28-svn-simple

comment:7 Changed 4 years ago by fritzt0

Cc: fritzt0 added

comment:8 Changed 4 years ago by MaddTheSane (C.W. Betts)

Cc: MaddTheSane added

comment:9 Changed 4 years ago by fritzt0

I managed to build the subversion-perlbindings-5.28 port by adding the following line:

SVN_PERL_LIBS = -L/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE -lperl

to the Makefile:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_subversion-perlbindings/subversion-perlbindings-5.28/work/subversion-1.13.0/Makefile

It requires you to split the installation process in order to be able to make that change after the configure phase. However, a more permanent solution would be great.

comment:10 Changed 4 years ago by Sebastian-Maier (Sebastian Maier)

Cc: Sebastian-Maier added

comment:11 Changed 4 years ago by michaellass (Michael Lass)

Cc: michaellass added

comment:12 in reply to:  10 ; Changed 4 years ago by jeffmcclure (Jeff McClure)

Replying to Sebastian-Maier:

I added the line to the top of the make file and then executed "sudo port build subversion-perlbindings-5.28" but it still failed. any assistance is appreciated.

comment:13 in reply to:  12 Changed 4 years ago by hjinn

Replying to jeffmcclure:

Replying to Sebastian-Maier:

I added the line to the top of the make file and then executed "sudo port build subversion-perlbindings-5.28" but it still failed. any assistance is appreciated.

In my case, I added a symlink in /Library/Developer/CommandLineTools/SDKs/ directory like this.

cd /Library/Developer/CommandLineTools/SDKs/
sudo ln -s MacOSX11.1.sdk MacOSX11.0.sdk

And also applied fritzt0's patch to make it work.

comment:14 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Making a symlink to an SDK is not recommended.

comment:15 Changed 4 years ago by blair (Blair Zajac)

Owner: set to blair
Resolution: fixed
Status: newclosed

In c9c22abf8ed1aa9161e485558c0fd2fc09a9a3fe/macports-ports (master):

subversion-perlbindings: fix build on Big Sur.

Copy patch from devel/subversion/files/dynamic_lookup-11.patch.

Fixes: #61523

Note: See TracTickets for help on using tickets.