<div dir="ltr"><div dir="ltr">Also, the TeXShop upstream developer just now agreed to start using suffixes rather than stealth updates.  So disregard my suggestion to write to them.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 9:07 AM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<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"><div dir="ltr"><div>The upstream developer said they intend to release TeXShop 5.03 later today.  So port maintainers might as well wait for that, before portfile repair.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 7:30 AM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>> wrote:<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"><div dir="ltr"><div>Stealth upgrade detected.  This means the TeXShop developers changed their published source code file without changing the file name.  Version 5.02 was published on September 2.  Checksums in the Macports portfile were last fixed on September 5.  Then the upstream developers changed the source code file on September 9.  Please read more about this in the Macports FAQ, "stealth upgrade".</div><div><br></div><div>Macports tracks published source code files and uses checksums as a security measure to avoid tampering.  It would be constructive if you would contact the TeXShop developers and ask them to change the file name every time they make any change to a published source code file.  They could bump the version number, or add a suffix, or something.</div><div><br></div><div>In the future, you can detect a stealth upgrade yourself, by downloading the source code file directly from the source website, and looking for signs of changes after the portfile was last updated.  "There is more than one way to do this."  When you find a stealth update, please notify the port maintainers by filing a Trac ticket.</div><div><br></div><div>It looks like the port maintainers are responsive and will fix this portfile soon.  If you like, you can try to fix your own local copy of the portfile, so that you can complete your TeXShop installation.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 5:08 AM Gregory Dodwell <<a href="mailto:gregreedee@gmail.com" target="_blank">gregreedee@gmail.com</a>> wrote:<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"><div dir="ltr"><div>Macports base version 2.7.2</div><div>Mac OS 12.6</div><div>XCode 14 with Command-line tools installed.</div><div>M1 Macbook Pro</div><div><br></div><div>After performing my regular sudo port selfupdate; sudo port upgrade outdated maintenance routine I get TeXShop checksum errors.</div><div><br></div><div>Cleaning and reinstalling TeXShop doesn't help.<br></div><div><br></div><div>TeXShop is crucial for my role as a voluntary secretary for my local primary school P&C (I set the agendas in LaTeX, using texmaker).</div><div><br></div><div>Here's what the log says:</div><div><br></div><div>" ...</div><div>version:1<br>:debug:main Starting logging for TeXShop @5.02_0<br>:debug:sysinfo macOS 12.6 (darwin/21.6.0) arch arm<br>:debug:sysinfo MacPorts 2.7.2<br>:debug:sysinfo Xcode 14.0<br>:debug:sysinfo SDK 12<br>:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0<br>:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$<br>:msg:main --->  Computing dependencies for TeXShop:info:main .:debug:main TeXShop has no conflicts<br>:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$<br>:debug:main Searching for dependency: unzip<br>:debug:main Didn't find receipt, going to depspec regex for: unzip<br>:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$<br>:debug:main Executing org.macports.main (TeXShop)<br>:debug:main dropping privileges: euid changed to 503, egid changed to 502.<br>:debug:archivefetch archivefetch phase started at Fri Sep 16 20:41:05 AEST 2022<br>:msg:archivefetch --->  Fetching archive for TeXShop<br>:debug:archivefetch Executing org.macports.archivefetch (TeXShop)<br>:debug:archivefetch euid/egid changed to: 0/0<br>:debug:archivefetch chowned /opt/local/var/macports/incoming to macports<br>:debug:archivefetch euid/egid changed to: 503/502<br>:info:archivefetch --->  TeXShop-5.02_0.darwin_21.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified<br>:msg:archivefetch --->  Attempting to fetch TeXShop-5.02_0.darwin_21.arm64.tbz2 from <a href="https://packages.macports.org/TeXShop" target="_blank">https://packages.macports.org/TeXShop</a><br>:debug:archivefetch Fetching archive failed: The requested URL returned error: 404<br>:msg:archivefetch --->  Attempting to fetch TeXShop-5.02_0.darwin_21.arm64.tbz2 from <a href="https://ywg.ca.packages.macports.org/mirror/macports/packages/TeXShop" target="_blank">https://ywg.ca.packages.macports.org/mirror/macports/packages/TeXShop</a><br>:debug:archivefetch Fetching archive failed: The requested URL returned error: 404<br>:msg:archivefetch --->  Attempting to fetch TeXShop-5.02_0.darwin_21.arm64.tbz2 from <a href="https://kmq.jp.packages.macports.org/TeXShop" target="_blank">https://kmq.jp.packages.macports.org/TeXShop</a><br>:debug:archivefetch Fetching archive failed: The requested URL returned error: 404<br>:debug:archivefetch Privilege de-escalation not attempted as not running as root.<br>:debug:fetch fetch phase started at Fri Sep 16 20:41:08 AEST 2022<br>:notice:fetch --->  Fetching distfiles for TeXShop<br>:debug:fetch Executing org.macports.fetch (TeXShop)<br>:debug:fetch Privilege de-escalation not attempted as not running as root.<br>:debug:checksum checksum phase started at Fri Sep 16 20:41:08 AEST 2022<br>:notice:checksum --->  Verifying checksums for TeXShop<br>:debug:checksum Executing org.macports.checksum (TeXShop)<br>:info:checksum --->  Checksumming texshopsource502.zip<br>:debug:checksum Calculated (rmd160) is ae8bccdf9ad901070fec3d4f25b426b2415f1279<br>:error:checksum Checksum (rmd160) mismatch for texshopsource502.zip<br>:info:checksum Portfile checksum: texshopsource502.zip rmd160 a5d51d8d3f015b8dc588f903e2c7b5eb323384df<br>:info:checksum Distfile checksum: texshopsource502.zip rmd160 ae8bccdf9ad901070fec3d4f25b426b2415f1279<br>:debug:checksum Calculated (sha256) is c257ec0d870a5925ff92298ae67edcb40b5b87e842f0f60a67d890826e705251<br>:error:checksum Checksum (sha256) mismatch for texshopsource502.zip<br>:info:checksum Portfile checksum: texshopsource502.zip sha256 96c7af2c099b22d47b544eaafda642439f774cdd5859f11d5c68cce95f02b374<br>:info:checksum Distfile checksum: texshopsource502.zip sha256 c257ec0d870a5925ff92298ae67edcb40b5b87e842f0f60a67d890826e705251<br>:debug:checksum Calculated (size) is 171806461<br>:error:checksum Checksum (size) mismatch for texshopsource502.zip<br>:info:checksum Portfile checksum: texshopsource502.zip size 171794435<br>:info:checksum Distfile checksum: texshopsource502.zip size 171806461<br>:info:checksum The correct checksum line may be:<br>:info:checksum checksums           rmd160  ae8bccdf9ad901070fec3d4f25b426b2415f1279 \<br>:info:checksum                     sha256  c257ec0d870a5925ff92298ae67edcb40b5b87e842f0f60a67d890826e705251 \<br>:info:checksum                     size    171806461<br>:error:checksum Failed to checksum TeXShop: Unable to verify file checksums<br>:debug:checksum Error code: NONE<br>:debug:checksum Backtrace: Unable to verify file checksums<br>:debug:checksum     while executing<br>:debug:checksum "$procedure $targetname"<br>:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_TeXShop/TeXShop/main.log for details.</div><div>..."</div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>