Opened 2 years ago

Closed 2 years ago

#64144 closed defect (fixed)

rust: dyld: Library not loaded: /opt/local/lib/libcxx/libc++.1.0.dylib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: lion Cc: g5pw (Aljaž Srebrnič), catap (Kirill A. Korinsky)
Port: rust git-delta

Description

git-delta fails to build due to what appears to be a bug in rust:

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/77718/steps/install-port/logs/stdio

dyld: Library not loaded: /opt/local/lib/libcxx/libc++.1.0.dylib
  Referenced from: /opt/local/bin/rustc
  Reason: image not found

I see there was a recent commit to rust [5fc1fec717f6d409901360f4337bbc531f932945/macports-ports] which looks like it made significant changes to the port (for one thing, it removed legacysupport.use_mp_libcxx yes), but the revision was not increased. legacysupport.use_mp_libcxx yes changes the dependencies of the port, so at least for that reason the revision must be increased.

Change History (3)

comment:1 Changed 2 years ago by kencu (Ken)

Hah.

legacysupport.use_mp_libcxx yes was added solely to have access to the libc++.a static library, but lo and behold the mechanisms actually fully worked, and rust was built against the newer libc++.1.0.dylib !

Although this is what is supposed to happen, I will admit being kinda surprised, as it is usually so hard to make rust obey your wishes during building.

I guess we have learned to tame it to do our bidding (too well, in this case).

rust will need to be revbumped to rebuild it against the system libc++.dylib, which only affected some systems, but might as well revbump it for all for consistency.

comment:2 Changed 2 years ago by catap (Kirill A. Korinsky)

Indeed hah.

Let me bump revisions when.

comment:3 Changed 2 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 16d89b63b1f2661c0192604adb8bf19178cbfa30/macports-ports (master):

rust: bump revision

Closes: #64144

Note: See TracTickets for help on using tickets.