Opened 2 weeks ago

Closed 2 weeks ago

#71140 closed defect (invalid)

p5.34-locale-gettext checksum mismatch

Reported by: Sheshlok (Shesh) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-locale-gettext

Description (last modified by Sheshlok (Shesh))

--->  Computing dependencies for p5.34-locale-gettext
--->  Fetching archive for p5.34-locale-gettext
--->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://packages.macports.org/p5.34-locale-gettext
--->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from http://fco.it.packages.macports.org/p5.34-locale-gettext
--->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/p5.34-locale-gettext
--->  Fetching distfiles for p5.34-locale-gettext
--->  Attempting to fetch gettext-1.07.tar.gz from http://sunsite.icm.edu.pl/pub/CPAN/modules/by-module/Locale
--->  Verifying checksums for p5.34-locale-gettext
Error: Checksum (rmd160) mismatch for gettext-1.07.tar.gz
Error: Checksum (sha256) mismatch for gettext-1.07.tar.gz
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/perl5/gettext-1.07.tar.gz.html
Error: Failed to checksum p5.34-locale-gettext: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-locale-gettext/p5.34-locale-gettext/main.log for details.
Error: Problem while installing p5.34-locale-gettext
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Change History (9)

comment:1 Changed 2 weeks ago by Sheshlok (Shesh)

Summary: Cannot upgrad ports starting with p5.34-locale-gettext in MacOS Sequoia (M1 Pro)Cannot upgrade ports starting with p5.34-locale-gettext in MacOS Sequoia (M1 Pro)

comment:2 Changed 2 weeks ago by Sheshlok (Shesh)

Description: modified (diff)

comment:3 Changed 2 weeks ago by Sheshlok (Shesh)

Summary: Cannot upgrade ports starting with p5.34-locale-gettext in MacOS Sequoia (M1 Pro)Cannot upgrade ports starting with libssh2 (p5.34-locale-gettext) in MacOS Sequoia (M1 Pro)

comment:4 Changed 2 weeks ago by jmroot (Joshua Root)

Port: p5-locale-gettext added
Summary: Cannot upgrade ports starting with libssh2 (p5.34-locale-gettext) in MacOS Sequoia (M1 Pro)p5.34-locale-gettext checksum mismatch

comment:5 Changed 2 weeks ago by jmroot (Joshua Root)

I can't reproduce this downloading from the same server that you got the file from. What is in the HTML file that you got?

comment:6 Changed 2 weeks ago by Sheshlok (Shesh)

Hi - Here are the contents of the HTML file that I got. https://gist.github.com/Sheshlok/a233cbd8bd6c92a30b75f480b77fb65e Also, here is the output of main.log

:debug:main Starting logging for p5.34-locale-gettext @1.70.0_1
:debug:sysinfo macOS 15.0.1 (darwin/24.0.0) arch arm
:debug:sysinfo MacPorts 2.10.2
:debug:sysinfo Xcode none, CLT 16.0.0.0.1.1724870825
:debug:sysinfo SDK 15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
:msg:main --->  Computing dependencies for p5.34-locale-gettext:info:main .:debug:main p5.34-locale-gettext has no conflicts
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:debug:main Searching for dependency: perl5.34
:debug:main Found Dependency: receipt exists for perl5.34
:debug:main Searching for dependency: gettext-runtime
:debug:main Found Dependency: receipt exists for gettext-runtime
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Executing org.macports.main (p5.34-locale-gettext)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Mon Oct 21 08:33:54 IST 2024
:msg:archivefetch --->  Fetching archive for p5.34-locale-gettext
:debug:archivefetch Executing org.macports.archivefetch (p5.34-locale-gettext)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://packages.macports.org/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from http://fco.it.packages.macports.org/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Oct 21 08:33:57 IST 2024
:notice:fetch --->  Fetching distfiles for p5.34-locale-gettext
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
:debug:fetch Executing org.macports.fetch (p5.34-locale-gettext)
:info:fetch --->  gettext-1.07.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5
:notice:fetch --->  Attempting to fetch gettext-1.07.tar.gz from http://sunsite.icm.edu.pl/pub/CPAN/modules/by-module/Locale
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Oct 21 08:34:01 IST 2024
:notice:checksum --->  Verifying checksums for p5.34-locale-gettext
:debug:checksum Executing org.macports.checksum (p5.34-locale-gettext)
:info:checksum --->  Checksumming gettext-1.07.tar.gz
:debug:checksum Calculated (rmd160) is 363d2f7f86dd2369ef759e214db989b5d5366ce5
:error:checksum Checksum (rmd160) mismatch for gettext-1.07.tar.gz
:info:checksum Portfile checksum: gettext-1.07.tar.gz rmd160 0f5efafdfa6ede6b766cbb5dac12c980b3566068
:info:checksum Distfile checksum: gettext-1.07.tar.gz rmd160 363d2f7f86dd2369ef759e214db989b5d5366ce5
:debug:checksum Calculated (sha256) is f02f383eb7f4df91a7f258798391359e5875bf597a1fd76c3891162c9db53a89
:error:checksum Checksum (sha256) mismatch for gettext-1.07.tar.gz
:info:checksum Portfile checksum: gettext-1.07.tar.gz sha256 909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15
:info:checksum Distfile checksum: gettext-1.07.tar.gz sha256 f02f383eb7f4df91a7f258798391359e5875bf597a1fd76c3891162c9db53a89
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:notice:checksum The file has been moved to: /opt/local/var/macports/distfiles/perl5/gettext-1.07.tar.gz.html
:error:checksum Failed to checksum p5.34-locale-gettext: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-locale-gettext/p5.34-locale-gettext/main.log for details.
version:1
:debug:main Starting logging for p5.34-locale-gettext @1.70.0_1
:debug:sysinfo macOS 15.0.1 (darwin/24.0.0) arch arm
:debug:sysinfo MacPorts 2.10.2
:debug:sysinfo Xcode none, CLT 16.0.0.0.1.1724870825
:debug:sysinfo SDK 15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
:msg:main --->  Computing dependencies for p5.34-locale-gettext:info:main .:debug:main p5.34-locale-gettext has no conflicts
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:debug:main Searching for dependency: perl5.34
:debug:main Found Dependency: receipt exists for perl5.34
:debug:main Searching for dependency: gettext-runtime
:debug:main Found Dependency: receipt exists for gettext-runtime
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Executing org.macports.main (p5.34-locale-gettext)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Mon Oct 21 09:12:27 IST 2024
:msg:archivefetch --->  Fetching archive for p5.34-locale-gettext
:debug:archivefetch Executing org.macports.archivefetch (p5.34-locale-gettext)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://packages.macports.org/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from http://fco.it.packages.macports.org/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch p5.34-locale-gettext-1.70.0_1.darwin_24.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/p5.34-locale-gettext
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Oct 21 09:12:29 IST 2024
:notice:fetch --->  Fetching distfiles for p5.34-locale-gettext
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
:debug:fetch Executing org.macports.fetch (p5.34-locale-gettext)
:info:fetch --->  gettext-1.07.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5
:notice:fetch --->  Attempting to fetch gettext-1.07.tar.gz from http://sunsite.icm.edu.pl/pub/CPAN/modules/by-module/Locale
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Oct 21 09:12:32 IST 2024
:notice:checksum --->  Verifying checksums for p5.34-locale-gettext
:debug:checksum Executing org.macports.checksum (p5.34-locale-gettext)
:info:checksum --->  Checksumming gettext-1.07.tar.gz
:debug:checksum Calculated (rmd160) is 963eb39f9495efe006f7b96734875e0fea90aa0f
:error:checksum Checksum (rmd160) mismatch for gettext-1.07.tar.gz
:info:checksum Portfile checksum: gettext-1.07.tar.gz rmd160 0f5efafdfa6ede6b766cbb5dac12c980b3566068
:info:checksum Distfile checksum: gettext-1.07.tar.gz rmd160 963eb39f9495efe006f7b96734875e0fea90aa0f
:debug:checksum Calculated (sha256) is 1bcec645c037aa114b9495f35dba7bb18ac8c8311e1a0b0b01bdfee57cfcc7cd
:error:checksum Checksum (sha256) mismatch for gettext-1.07.tar.gz
:info:checksum Portfile checksum: gettext-1.07.tar.gz sha256 909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15
:info:checksum Distfile checksum: gettext-1.07.tar.gz sha256 1bcec645c037aa114b9495f35dba7bb18ac8c8311e1a0b0b01bdfee57cfcc7cd
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:notice:checksum The file has been moved to: /opt/local/var/macports/distfiles/perl5/gettext-1.07.tar.gz.html
:error:checksum Failed to checksum p5.34-locale-gettext: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-locale-gettext/p5.34-locale-gettext/main.log for details.

comment:7 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

If you give that file an .html extension and open it in your browser, you see:

Pozor!
Pokusili jste se vstoupit na stránku http://sunsite.icm.edu.pl:80/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz kterou společnost Wefe - Apac považuje za nebezpečnou.
Detekované hrozby: Malware

Kontaktní údaje

Pokud věříte, že jde o chybu, kontaktujte prosím svého administrátora.
Email:

which translates to:

Attention!
You have tried to access http://sunsite.icm.edu.pl:80/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz which Wefe - Apac considers unsafe.
Threats detected: Malware

Contact details

If you believe this is an error, please contact your administrator.
E-mail:

I'm not sure who "Wefe - Apac" or why they're interfering with your Internet connection but you'll either have to contact them and ask them to stop doing that or else switch to correctly functioning DNS servers as mentioned at MisbehavingServers.

If you visit the sunsite URL above maybe you'll get a better formatting of the error message, such as one that includes the email address to contact.

Version 0, edited 2 weeks ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:8 Changed 2 weeks ago by Sheshlok (Shesh)

Thank you for the idea. Wefe is my ISP. I was able to bypass them and update all the ports by connecting to internet through a VPN first and then running sudo port selfupdate and then sudo port upgrade outdated . Please consider this thread closed.

comment:9 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.