<div dir="ltr">I've filed a new ticket, is it ok?<div><a href="https://trac.macports.org/ticket/64777">https://trac.macports.org/ticket/64777</a><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left" valign="bottom" width="107" style="line-height:0;vertical-align:bottom;padding-right:10px;padding-top:20px;padding-bottom:20px"><br><a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" style="text-decoration:none" target="_blank"><img src="https://thumbs.about.me/thumbnail/users/d/a/r/dardo82_emailsig.jpg?_1502271206_256" alt="" width="105" height="70" style="margin:0;padding:0;display:block;border:1px solid #eeeeee">
</a>
</td>
<td align="left" valign="bottom" style="line-height:1.1;vertical-align:bottom;padding-top:20px;padding-bottom:20px">
<img src="https://about.me/t/sig?u=dardo82" width="1" height="1" style="border:0;margin:0;padding:0;width:1;height:1;overflow:hidden">
<div style="font-size:18px;font-weight:bold;color:#333333;font-family:'Proxima Nova',Helvetica,Arial,sans-serif!important">Michele Venturi</div>
<a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" style="text-decoration:none;font-size:12px;color:#2b82ad;font-family:'Proxima Nova',Helvetica,Arial,sans-serif!important" target="_blank">about.me/dardo82
</a>
</td>
</tr>
</tbody>
</table>
</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 7 mar 2022 alle ore 17:51 Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk">jonesc@hep.phy.cam.ac.uk</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
whatever you think relevant, from the discussion here. If its not clear <br>
it can be added to later on so don't worry about including everything at <br>
first. But please lets have the discussion in trac rather than here...<br>
<br>
On 07/03/2022 4:28 pm, Michele Venturi wrote:<br>
> What should I include in the bug report to make it clear?<br>
> <br>
> Il lun 7 mar 2022, 17:25 Marius Schamschula <<a href="mailto:lists@schamschula.com" target="_blank">lists@schamschula.com</a> <br>
> <mailto:<a href="mailto:lists@schamschula.com" target="_blank">lists@schamschula.com</a>>> ha scritto:<br>
> <br>
> Michele,<br>
> <br>
> Please submit a MacPorts ticket!<br>
> <br>
> Other users may search trac if they encounter the same issue. We can<br>
> also link to any upstream tickets from there.<br>
> <br>
>> On Mar 7, 2022, at 10:22 AM, Michele Venturi <<a href="mailto:dardo82@gmail.com" target="_blank">dardo82@gmail.com</a><br>
>> <mailto:<a href="mailto:dardo82@gmail.com" target="_blank">dardo82@gmail.com</a>>> wrote:<br>
>><br>
>> Should I submit a bug report before we even know if it's a<br>
>> MacPorts specific issue? Or how do we find that out?<br>
>><br>
>> Il lun 7 mar 2022, 16:47 Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" target="_blank">jonesc@hep.phy.cam.ac.uk</a><br>
>> <mailto:<a href="mailto:jonesc@hep.phy.cam.ac.uk" target="_blank">jonesc@hep.phy.cam.ac.uk</a>>> ha scritto:<br>
>><br>
>><br>
>><br>
>> On 07/03/2022 3:31 pm, Michele Venturi wrote:<br>
>> > I have the required libraries in /usr/lib/swift too,but MPV<br>
>> is looking<br>
>> > for them in /opt/local/lib,so it doesn't find them:<br>
>> ><br>
>> > otool -l $(which mpv)<br>
>> > ...<br>
>> > cmd LC_RPATH<br>
>> > cmdsize 32<br>
>> > path /opt/local/lib (offset 12)<br>
>> ><br>
>> > Should we change RPATH or add symbolic links?<br>
>><br>
>> No, those are not the solutions here. If there is an issue<br>
>> with the<br>
>> build on 10.13 we should fix that instead, rather than apply<br>
>> after-the-fact bandaids.<br>
>><br>
>> The first thing to determine is if its a MacPorts specific<br>
>> issue due to<br>
>> how the build is performed, or an upstream issue. Either way<br>
>> please<br>
>> submit a bug report to macports trac so the discussion on this<br>
>> can<br>
>> continue there.<br>
>><br>
>> Chris<br>
>><br>
>> ><br>
>> > Michele Venturi<br>
>> > <a href="http://about.me/dardo82" rel="noreferrer" target="_blank">about.me/dardo82</a> <<a href="http://about.me/dardo82" rel="noreferrer" target="_blank">http://about.me/dardo82</a>><br>
>> <<a href="http://about.me/dardo82" rel="noreferrer" target="_blank">http://about.me/dardo82</a> <<a href="http://about.me/dardo82" rel="noreferrer" target="_blank">http://about.me/dardo82</a>>><br>
>> ><br>
>> ><br>
>> <<a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" rel="noreferrer" target="_blank">https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb</a><br>
>> <<a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" rel="noreferrer" target="_blank">https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb</a>>><br>
>><br>
>> ><br>
>> > Michele Venturi<br>
>> > <a href="http://about.me/dardo82" rel="noreferrer" target="_blank">about.me/dardo82</a> <<a href="http://about.me/dardo82" rel="noreferrer" target="_blank">http://about.me/dardo82</a>><br>
>> ><br>
>> <<a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" rel="noreferrer" target="_blank">https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb</a><br>
>> <<a href="https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" rel="noreferrer" target="_blank">https://about.me/dardo82?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb</a>>><br>
>><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > Il giorno lun 7 mar 2022 alle ore 15:46 Ryan Schmidt<br>
>> > <<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a> <mailto:<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>><br>
>> <mailto:<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a><br>
>> <mailto:<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>>>> ha scritto:<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Mar 7, 2022, at 08:34, Michele Venturi wrote:<br>
>> ><br>
>> > > If I install MPV without Xcode I get an error when I<br>
>> launch it:<br>
>> > ><br>
>> > > dyld: Library not loaded:<br>
>> @rpath/libswiftAVFoundation.dylib<br>
>> > > Referenced from: /opt/local/bin/mpv<br>
>> > > Reason: image not found<br>
>> > ><br>
>> > > It's missing something,have you tried to execute it<br>
>> on 10.13?<br>
>> ><br>
>> > I have not.<br>
>> ><br>
>> > I guess you're right, in relation to the Swift language<br>
>> usage I<br>
>> > mentioned earlier, this port does appear to need<br>
>> > libswiftAVFoundation.dylib at runtime. And maybe it is<br>
>> expecting to<br>
>> > find it within Xcode on your system. (It depends on what<br>
>> @rpath<br>
>> > expands to. I forget what the command is to interrogate<br>
>> a binary<br>
>> > about its rpaths.)<br>
>> ><br>
>> > Swift is still a new programming language and I don't<br>
>> think we have<br>
>> > many ports in MacPorts that use Swift so I'm not sure if<br>
>> this should<br>
>> > be considered normal or not.<br>
>> ><br>
>> > I see that I have many copies of<br>
>> libswiftAVFoundation.dylib on my<br>
>> > system, within various applications' bundles, so I guess<br>
>> Apple<br>
>> > expects people to include copies of the Swift dylibs<br>
>> with their<br>
>> > application.<br>
>> ><br>
>> > On my 10.15 system, it does not link with<br>
>> > @rpath/libswiftAVFoundation.dylib. It links with various<br>
>> Swift<br>
>> > dylibs in /usr/lib/swift. Maybe the port can be made to<br>
>> do so on<br>
>> > 10.13 as well.<br>
>> ><br>
>> > You should file a bug report about this mpv problem.<br>
>> ><br>
>><br>
> <br>
</blockquote></div>