<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 24 Sep 2022, at 4:00 pm, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 24 Sep 2022, at 3:52 pm, Arjun Salyan <<a href="mailto:arjun@macports.org" class="">arjun@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The output of "<font class="">port info pciids” from the same Docker container says:</font><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Build Dependencies:   clang-3.4</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">And the</span> PortIndex on the same machine (generated using </font></span><span class="pl-s" style="box-sizing: border-box; background-color: rgba(255, 213, 65, 0.15);"><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">“</span></font><font face="ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace" class=""><span style="color: var(--color-prettylights-syntax-string); white-space: pre;" class="">-p </span></font></span><span class="pl-s" style="color: var(--color-prettylights-syntax-string); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; white-space: pre; background-color: rgba(255, 213, 65, 0.15);">macosx_19_i386”)</span><span style="" class=""> has:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">depends_build port:clang-15</span></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div>right, but these are fake dependencies as per what you get on a real MacOS system. i.e. on macOS12 (but it will be the same on others)</div></div></div></blockquote><div><br class=""></div><div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">small correction. I actually ran this on a 10.9 VM, not macOS12. Point remains the same though…</div><div class=""><br class=""></div></div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">MacVM109 ~ > port info pciids</div><div class="">pciids @2022.09.09 (sysutils)</div><div class=""><br class=""></div><div class="">Description:          This repository contains the history of the pci.ids file, which is automatically generated from the PCI ID Database at <a href="https://pci-ids.ucw.cz/" class="">https://pci-ids.ucw.cz</a>.</div><div class="">Homepage:             <a href="https://pci-ids.ucw.cz/" class="">https://pci-ids.ucw.cz</a></div><div class=""><br class=""></div><div class="">Platforms:            darwin</div><div class="">License:              (GPL-2+ or BSD)</div><div class="">Maintainers:          <a href="mailto:i0ntempest@macports.org" class="">Email: i0ntempest@macports.org</a>, GitHub: i0ntempest</div><div class="">                      Policy: openmaintainer</div><div class=""><br class=""></div><div class="">So no build deps.</div><div class=""><br class=""></div><div class="">So I go back to my original question. Why are these reps appearing when running this on linux.</div><div class=""><br class=""></div><div class="">The problem is its giving incorrect information on the web site w.r.t. what is actually needed on macOS.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div></div><div class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">The MacPorts docker image used is <a href="https://github.com/arjunsalyan/macports-ubuntu" class="">https://github.com/arjunsalyan/macports-ubuntu</a> (Docker hub:  <a href="https://hub.docker.com/r/arjunsalyan/macports-ubuntu" class="">https://hub.docker.com/r/arjunsalyan/macports-ubuntu</a> )</div></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 24-Sep-2022, at 3:10 PM, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 24 Sep 2022, at 9:52 am, Mojca Miklavec <<a href="mailto:mojca.miklavec.lists@gmail.com" class="">mojca.miklavec.lists@gmail.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><span class="">On Sat, 24 Sept 2022 at 10:30, Chris Jones wrote:</span><br class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">Hi,</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">I have noticed the ports web site appears to give some odd looking dependencies between ports. Take as a random example</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class=""><a href="https://ports.macports.org/port/pciids/details/" class="">https://ports.macports.org/port/pciids/details/</a></span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">clang-15 is listed as a build dep. if you check the port file though I see no reason for this at all, in fact the port does not build anything and just installs a single file during destroot. So why does the site give the build dep it does ? Just running</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">port info pciids</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">On macOS12 does not give any deps, as expected.</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">I guess a probably related question is what OS is used to generate the deps, as these do vary across OSes, particularly build deps, and this is something the site does not take into account.</span><br class=""></blockquote><span class=""></span><br class=""><span class="">The list is generated inside a Docker container (that is: on Linux),</span><br class=""><span class="">apparently with "-p macosx_19_i386":</span><br class=""><span class=""></span><br class=""><span class=""><a href="https://github.com/macports/macports-webapp/blob/22e548bd3dd05860f53e1d16899b1e8364c69796/app/parsing_scripts/git_update.py#L59" class="">https://github.com/macports/macports-webapp/blob/22e548bd3dd05860f53e1d16899b1e8364c69796/app/parsing_scripts/git_update.py#L59</a></span><br class=""></div></blockquote><div class=""><br class=""></div>Ah, it runs on linux..<div class=""><div class=""><br class=""></div><span class="pl-s1" style="box-sizing: border-box; caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">subprocess</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">.</span><span class="pl-en" style="color: var(--color-prettylights-syntax-entity); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">run</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">([</span><span class="pl-s" style="color: var(--color-prettylights-syntax-string); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">'portindex'</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">, </span><span class="pl-s" style="color: var(--color-prettylights-syntax-string); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">'-p'</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">, </span><span class="pl-s" style="color: var(--color-prettylights-syntax-string); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">'macosx_19_i386'</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">, </span><span class="pl-s" style="color: var(--color-prettylights-syntax-string); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);">'-x'</span><span style="caret-color: rgb(49, 59, 69); color: rgb(49, 59, 69); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgba(255, 213, 65, 0.15);" class="">])</span></div><div class=""><div class=""><br class=""></div><div class="">Do I understand the above correctly in that it is supposed to mimic a Darwin 19 machine ?</div><div class=""><br class=""></div><div class="">I think my question still remains, regardless of the arch why is clang-x being listed as a build dep, for a port that doesn’t need it ?</div><div class=""><br class=""></div><div class="">Chris<br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><span class=""></span><br class=""><span class="">Mojca</span><br class=""></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></body></html>