[MacPorts] #50174: Latexdiff won't build because of checksum failure; breaks texlive
#50174: Latexdiff won't build because of checksum failure; breaks texlive -------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: latexdiff -------------------------+-------------------------------- When I try to build texlive, it triggers building of latexdiff. Specifically, it tries to download latexdiff-1.1.0_2.darwin_15.noarch.tbz2 port can't find this tarball because the most up-to-date version on the servers (at least the ones that I search) is latexdiff-1.1.0_2.darwin_14.noarch.tbz2 Unable to find the tarball it wants, port falls back to loading latexdiff.zip from CTAN. After downloading the zipfile, port raises a checksum verification error and crashes. I'm afraid I'm not sophisticated enough to know: 1. why is it that port wants to load version _15 2. why it falls back from loading a tarball to loading a zipfile 3. where the checksum it's using comes from and why it tries to apply the checksum for a tarball to a zip file. The exact error transcript is: {{{ ---> Fetching archive for latexdiff ---> Attempting to fetch latexdiff-1.1.0_2.darwin_15.noarch.tbz2 from http://packages.macports.org/latexdiff ---> Attempting to fetch latexdiff-1.1.0_2.darwin_15.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/latexdiff ---> Attempting to fetch latexdiff-1.1.0_2.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/latexdiff ---> Fetching distfiles for latexdiff ---> Attempting to fetch latexdiff.zip from http://mirrors.ibiblio.org/CTAN/support ---> Verifying checksums for latexdiff Error: Checksum (rmd160) mismatch for latexdiff.zip Error: Checksum (sha256) mismatch for latexdiff.zip Error: org.macports.checksum for port latexdiff returned: Unable to verify file checksums Error: Failed to install latexdiff }}} I will attach the logfile. -- Ticket URL: <https://trac.macports.org/ticket/50174> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by ars@…): I encountered the same behaviour, except on my configuration a different file is to be downloaded: latexdiff-1.1.0_2.darwin_11.noarch.tbz2 I did a totally new installation on a Mac OS 10.7.5. using the .pkg from macports. When trying to install texlive, the installation breaks due to the dependency on latexdiff. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by rpgoldman@…): Should have recorded this before: I am running 10.11.2 (El Capitan). -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Changes (by mojca@…): * cc: mojca@… (added) * status: new => closed * version: 2.3.4 => * resolution: => fixed Comment: I committed r144012. I wanted to switch to GitHub, but the repository there is not quite ready yet. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by rpgoldman@…): Thank you; works fine now. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by ryandesign@…): Has duplicate #50175. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by ars@…): my build was fixed, too. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Changes (by david.mcg.squire@…): * status: closed => reopened * resolution: fixed => -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by david.mcg.squire@…): This problem is back. This happened a few minutes ago, after I had cleaned latexdiff and tried again: {{{ ---> Computing dependencies for latexdiff ---> Fetching archive for latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://packages.macports.org/latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/latexdiff ---> Fetching distfiles for latexdiff ---> Verifying checksums for latexdiff Error: Checksum (rmd160) mismatch for latexdiff.zip Error: Checksum (sha256) mismatch for latexdiff.zip Error: org.macports.checksum for port latexdiff returned: Unable to verify file checksums }}} I am using 10.11.2 (El Capitan). -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Changes (by mojca@…): * status: reopened => closed * resolution: => fixed Comment: r144953 is now fetching files from GitHub. I realized that there is a "download" link that's different from the generated files straight from the source tree and that file look ok for now. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Changes (by david.mcg.squire@…): * status: closed => reopened * resolution: fixed => Comment: Still broken, I'm afraid. I just cleaned and tried again, and got exactly the same error: {{{ ---> Computing dependencies for latexdiff ---> Fetching archive for latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://packages.macports.org/latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/latexdiff ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/latexdiff ---> Fetching distfiles for latexdiff ---> Verifying checksums for latexdiff Error: Checksum (rmd160) mismatch for latexdiff.zip Error: Checksum (sha256) mismatch for latexdiff.zip Error: org.macports.checksum for port latexdiff returned: Unable to verify file checksums Please see the log file for port latexdiff for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_latexdiff/latexdiff/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} I don't know the details of how this works, but it seems to me from the log file that nothing was actually fetched. There is 404 message for every URL tried. Here is the log file: {{{ version:1 :msg:main ---> Computing dependencies for latexdiff:info:main .:debug:main latexdiff has no conflicts :debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$ :debug:main Searching for dependency: unzip :debug:main Didn't find receipt, going to depspec regex for: unzip :debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$ :debug:main Searching for dependency: perl5.22 :debug:main Found Dependency: receipt exists for perl5.22 :debug:main Searching for dependency: p5.22-algorithm-diff :debug:main Found Dependency: receipt exists for p5.22-algorithm-diff :msg:main :debug:main Executing org.macports.main (latexdiff) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 20 :debug:main euid changed to: 501 :debug:archivefetch archivefetch phase started at Sat Jan 23 22:32:22 AEDT 2016 :msg:archivefetch ---> Fetching archive for latexdiff :debug:archivefetch Executing org.macports.archivefetch (latexdiff) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 501/20 :info:archivefetch ---> latexdiff-1.1.1_0.darwin_15.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://packages.macports.org/latexdiff :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/latexdiff :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch latexdiff-1.1.1_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/latexdiff :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Sat Jan 23 22:32:34 AEDT 2016 :notice:fetch ---> Fetching distfiles for latexdiff :debug:fetch Executing org.macports.fetch (latexdiff) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Sat Jan 23 22:32:34 AEDT 2016 :notice:checksum ---> Verifying checksums for latexdiff :debug:checksum Executing org.macports.checksum (latexdiff) :info:checksum ---> Checksumming latexdiff.zip :debug:checksum Calculated (rmd160) is ee4c002be4865a01161bf45b2e2a5fd830e2b143 :error:checksum Checksum (rmd160) mismatch for latexdiff.zip :info:checksum Portfile checksum: latexdiff.zip rmd160 f79073607eacda0e15945717e3eaaa718075712c :info:checksum Distfile checksum: latexdiff.zip rmd160 ee4c002be4865a01161bf45b2e2a5fd830e2b143 :debug:checksum Calculated (sha256) is 9f0cc207d71a2225926cf9b8b87dbc4283c68de12db8a7708e780941516f13f6 :error:checksum Checksum (sha256) mismatch for latexdiff.zip :info:checksum Portfile checksum: latexdiff.zip sha256 d530d268dd54458d728218e9ec7b4d9e9bc2858148bab64f277143e6a40fccee :info:checksum Distfile checksum: latexdiff.zip sha256 9f0cc207d71a2225926cf9b8b87dbc4283c68de12db8a7708e780941516f13f6 :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 ee4c002be4865a01161bf45b2e2a5fd830e2b143 \ sha256 9f0cc207d71a2225926cf9b8b87dbc4283c68de12db8a7708e780941516f13f6 :error:checksum org.macports.checksum for port latexdiff returned: Unable to verify file checksums :debug:checksum Error code: NONE :debug:checksum Backtrace: Unable to verify file checksums while executing "portchecksum::checksum_main org.macports.checksum" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:checksum Warning: targets not executed for latexdiff: org.macports.install org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot :notice:checksum Please see the log file for port latexdiff for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_latexdiff/latexdiff/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by mojca@…): Did you update the ports properly? MacPorts should no longer look for `latexdiff.zip`. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by david.mcg.squire@…): I did "sudo port clean latexdiff", and then "sudo port upgrade outdated" (which was what I was doing when I first saw the failure). I figured cleaning would be enough, but now realise that I needed to update the port file itself. I've just done a "sudo port selfupdate", again followed by the steps above. This took a quite a while, as it triggered other (large) ports to update (surprisingly many, as I last did this only a couple of days ago).. The bottom line is that latexdiff installed without problem this time. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Changes (by mojca@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#50174: Latexdiff won't build because of checksum failure; breaks texlive --------------------------+-------------------------------- Reporter: rpgoldman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: latexdiff | --------------------------+-------------------------------- Comment (by mojca@…): Replying to [comment:13 david.mcg.squire@…]:
I did "sudo port clean latexdiff", and then "sudo port upgrade outdated" (which was what I was doing when I first saw the failure). I figured cleaning would be enough, but now realise that I needed to update the port file itself.
Sure. Just `"sudo port upgrade outdated"` without `"sudo port selfupdate"` (or updating a copy in your local tree if you have one) will never be enough if a problem your reported just got fixed. The large number of other ports could be a coincidence, but you always need to update (at least) the `Portfile` for port in question. -- Ticket URL: <https://trac.macports.org/ticket/50174#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts