Opened 6 years ago

Closed 6 years ago

#57445 closed defect (invalid)

antigraingeometry @2.5 checksum mismatch

Reported by: basmac Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: antigraingeometry

Description

Trying to download in Mojave - last section of debug
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
DEBUG: OS darwin/18.0.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
--->  Computing dependencies for antigraingeometry
DEBUG: antigraingeometry has no conflicts
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Searching for dependency: autoconf
DEBUG: Found Dependency: receipt exists for autoconf
DEBUG: Searching for dependency: automake
DEBUG: Found Dependency: receipt exists for automake
DEBUG: Searching for dependency: libtool
DEBUG: Found Dependency: receipt exists for libtool
DEBUG: Searching for dependency: freetype
DEBUG: Found Dependency: receipt exists for freetype
DEBUG: Executing org.macports.main (antigraingeometry)
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Skipping completed org.macports.archivefetch (antigraingeometry)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (antigraingeometry)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Wed Oct 24 08:04:44 MDT 2018
--->  Verifying checksums for antigraingeometry
DEBUG: Executing org.macports.checksum (antigraingeometry)
--->  Checksumming agg-2.5.tar.gz
DEBUG: Calculated (md5) is 4748c6a5f2b5ae40137c49db3018a185
Error: Checksum (md5) mismatch for agg-2.5.tar.gz
Portfile checksum: agg-2.5.tar.gz md5 0229a488bc47be10a2fee6cf0b2febd6
Distfile checksum: agg-2.5.tar.gz md5 4748c6a5f2b5ae40137c49db3018a185
DEBUG: Calculated (sha1) is 16e55cd09a2b3d7fe689d86dc06b691ba406fc58
Error: Checksum (sha1) mismatch for agg-2.5.tar.gz
Portfile checksum: agg-2.5.tar.gz sha1 08f23da64da40b90184a0414369f450115cdb328
Distfile checksum: agg-2.5.tar.gz sha1 16e55cd09a2b3d7fe689d86dc06b691ba406fc58
DEBUG: Calculated (rmd160) is c953c237214fc7efee7a1a0fa4fc9a7463ece17d
Error: Checksum (rmd160) mismatch for agg-2.5.tar.gz
Portfile checksum: agg-2.5.tar.gz rmd160 fac24d8ea56ee0a87307189f73c432b07b6d3c50
Distfile checksum: agg-2.5.tar.gz rmd160 c953c237214fc7efee7a1a0fa4fc9a7463ece17d
The correct checksum line may be:
checksums           md5     4748c6a5f2b5ae40137c49db3018a185 \
                    sha1    16e55cd09a2b3d7fe689d86dc06b691ba406fc58 \
                    rmd160  c953c237214fc7efee7a1a0fa4fc9a7463ece17d \
                    sha256  a7d25b7c09333d3468cebb324915bcfdb72fbc2b659d60445ffdef7c730e917c \
                    size    4669440
Error: Failed to checksum antigraingeometry: Unable to verify file checksums
DEBUG: Error code: NONE
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_antigraingeometry/antigraingeometry/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port antigraingeometry failed
bash-3.2# port info antigraingeometry
antigraingeometry @2.5_3 (graphics, devel)
Variants:             sdl, universal

Description:          Anti-Grain Geometry (AGG) is a general purpose graphical toolkit written completely in standard and platform independent C++. It can be used in many areas of computer programming where high quality 2D graphics is an essential part of the project. For example, if you render 2D geographic maps AGG is
                      a must. AGG uses only C++ and standard C runtime functions, such as memcpy, sin, cos, sqrt, etc. The basic algorithms don't even use C++ Standard Template Library. Thus, AGG can be used in a very large number of applications, including embedded systems.
Homepage:             http://www.antigrain.com/

Build Dependencies:   pkgconfig, autoconf, automake, libtool
Library Dependencies: freetype
Platforms:            darwin
License:              GPL-2+
Maintainers:          none
bash-3.2#

Change History (10)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: antigraingeometry removed
Summary: antigraingeometry md5 errorantigraingeometry: checksum error

comment:2 Changed 6 years ago by mf2k (Frank Schima)

You did not specify the mirror that you downloaded the archive from. Have you read the FAQ about checksum errors?

comment:3 Changed 6 years ago by basmac

Keywords: antigraingeometry added
Summary: antigraingeometry: checksum errorantigraingeometry md5 error
I am doing a first install of Macports on Mojave, here is download information

bash-3.2# port selfupdate
--->  Updating MacPorts base sources using rsync
poMacPorts base version 2.5.4 installed,
MacPorts base version 2.5.4 downloaded.
--->  Updating the ports tree
rt clean --dist --->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
bash-3.2# port clean --dist antigraingeometry
--->  Cleaning antigraingeometry
bash-3.2# port install antigraingeometry
--->  Computing dependencies for antigraingeometry
--->  Fetching archive for antigraingeometry
--->  Attempting to fetch antigraingeometry-2.5_3.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/antigraingeometry
--->  Attempting to fetch antigraingeometry-2.5_3.darwin_18.x86_64.tbz2 from https://packages.macports.org/antigraingeometry
--->  Attempting to fetch antigraingeometry-2.5_3.darwin_18.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/antigraingeometry
--->  Fetching distfiles for antigraingeometry
--->  Attempting to fetch agg-2.5.tar.gz from http://www.antigrain.com/
--->  Verifying checksums for antigraingeometry
Error: Checksum (md5) mismatch for agg-2.5.tar.gz
Error: Checksum (sha1) mismatch for agg-2.5.tar.gz
Error: Checksum (rmd160) mismatch for agg-2.5.tar.gz
Error: Failed to checksum antigraingeometry: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_antigraingeometry/antigraingeometry/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port antigraingeometry failed
bash-3.2#

comment:4 Changed 6 years ago by Schamschula (Marius Schamschula)

This looks suspicious. The www.antigrain.com web site has the source code as unchanged since 2006.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

It fetched fine for me from a mirror. So yes, maybe the source is corrupt now.

comment:6 Changed 6 years ago by basmac

On packages.macports.org can a antigraingeometry-2.5_3.darwin_18.x86_64.tbz2 be made for Mojave ?

comment:7 Changed 6 years ago by jmroot (Joshua Root)

Keywords: antigraingeometry removed
Summary: antigraingeometry md5 errorantigraingeometry @2.5 checksum mismatch

comment:8 Changed 6 years ago by jmroot (Joshua Root)

I downloaded from both antigrain.com and one of our mirrors, and the files were identical.

% openssl dgst -rmd160 ~/Downloads/agg-2.5.tar.gz
RIPEMD160(/Users/josh/Downloads/agg-2.5.tar.gz)= fac24d8ea56ee0a87307189f73c432b07b6d3c50
% openssl dgst -rmd160 /opt/local/var/macports/distfiles/antigraingeometry/agg-2.5.tar.gz 
RIPEMD160(/opt/local/var/macports/distfiles/antigraingeometry/agg-2.5.tar.gz)= fac24d8ea56ee0a87307189f73c432b07b6d3c50

Your file must have been corrupted somehow.

comment:9 Changed 6 years ago by basmac

Thanks for the help - it works now
bash-3.2# port install antigraingeometry
--->  Computing dependencies for antigraingeometry
--->  Verifying checksums for antigraingeometry
Error: Checksum (md5) mismatch for agg-2.5.tar.gz
Error: Checksum (sha1) mismatch for agg-2.5.tar.gz
Error: Checksum (rmd160) mismatch for agg-2.5.tar.gz
Error: Failed to checksum antigraingeometry: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_antigraingeometry/antigraingeometry/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port antigraingeometry failed
bash-3.2# port clean --dist antigraingeometry
--->  Cleaning antigraingeometry
bash-3.2# port install antigraingeometry
--->  Computing dependencies for antigraingeometry
--->  Fetching archive for antigraingeometry
--->  Attempting to fetch antigraingeometry-2.5_3.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/antigraingeometry
--->  Attempting to fetch antigraingeometry-2.5_3.darwin_18.x86_64.tbz2.rmd160 from http://ywg.ca.packages.macports.org/mirror/macports/packages/antigraingeometry
--->  Installing antigraingeometry @2.5_3
--->  Activating antigraingeometry @2.5_3
--->  Cleaning antigraingeometry
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
bash-3.2#

comment:10 Changed 6 years ago by mf2k (Frank Schima)

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