[MacPorts] #69760: libnice fails to build

MacPorts noreply at macports.org
Mon Jul 22 08:43:33 UTC 2024


#69760: libnice fails to build
----------------------+----------------------
  Reporter:  Fut1l3   |      Owner:  dbevans
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.9.3
Resolution:           |   Keywords:
      Port:  libnice  |
----------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:3 qwertychouskie]:
 > Compilation seems to be flaky

 I would not characterize it as "flaky" which implies intermittency. I
 would characterize it as failing.

 It did not used to fail. We successfully built it on the buildbot workers.

 > {{{
 > Command '['install_name_tool', '/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-
 ports_ports_net_libnice/libnice/work/destroot/opt/local/lib/gstreamer-1.0/libgstnice.dylib',
 '-delete_rpath', '@loader_path/../nice', '-delete_rpath',
 '/opt/local/lib', '-delete_rpath', '/opt/local/lib', '-id',
 '/opt/local/lib/gstreamer-1.0/libgstnice.dylib', '-change',
 '@rpath/libnice.10.dylib', '/opt/local/lib/libnice.10.dylib', '-change',
 '@rpath/libgstnice.dylib',
 '/opt/local/lib/gstreamer-1.0/libgstnice.dylib']' returned non-zero exit
 status 1.
 > }}}

 I see the same when I try to build on my macOS 12 system today. Running
 the command manually we see what the problem is:

 {{{
 % sudo -u macports install_name_tool /opt/local/var/macports/build
 /_Volumes_Shared_macports-
 ports_net_libnice/libnice/work/destroot/opt/local/lib/gstreamer-1.0/libgstnice.dylib
 -delete_rpath @loader_path/../nice -delete_rpath /opt/local/lib
 -delete_rpath /opt/local/lib -id
 /opt/local/lib/gstreamer-1.0/libgstnice.dylib -change
 @rpath/libnice.10.dylib /opt/local/lib/libnice.10.dylib -change
 @rpath/libgstnice.dylib /opt/local/lib/gstreamer-1.0/libgstnice.dylib
 error:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
 "-delete_rpath /opt/local/lib" specified more than once
 Usage:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
 [-change old new] ... [-rpath old new] ... [-add_rpath new] ...
 [-delete_rpath old] ... [-id name] input
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69760#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list