Opened 14 years ago

Closed 14 years ago

#24444 closed defect (worksforme)

tcpreplay checksum error

Reported by: drstrangep0rk@… Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: tcpreplay

Description (last modified by mf2k (Frank Schima))

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpreplay
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpreplay
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port tcpreplay.
DEBUG: Requested variant i386 is not provided by port tcpreplay.
DEBUG: Requested variant macosx is not provided by port tcpreplay.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libpcap 1.0.0_1 exists in the ports tree
DEBUG: libpcap 1.0.0_1  is the latest installed
DEBUG: libpcap 1.0.0_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port libpcap.
DEBUG: Requested variant i386 is not provided by port libpcap.
DEBUG: Requested variant macosx is not provided by port libpcap.
DEBUG: No need to upgrade! libpcap 1.0.0_1 >= libpcap 1.0.0_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: tcpdump 4.0.0_1 exists in the ports tree
DEBUG: tcpdump 4.0.0_1  is the latest installed
DEBUG: tcpdump 4.0.0_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port tcpdump.
DEBUG: Requested variant i386 is not provided by port tcpdump.
DEBUG: Requested variant macosx is not provided by port tcpdump.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: openssl 0.9.8n_0 exists in the ports tree
DEBUG: openssl 0.9.8n_0 +darwin is the latest installed
DEBUG: openssl 0.9.8n_0 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port openssl.
DEBUG: Requested variant macosx is not provided by port openssl.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.4_1 exists in the ports tree
DEBUG: zlib 1.2.4_1  is the latest installed
DEBUG: zlib 1.2.4_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.4_1 >= zlib 1.2.4_1
DEBUG: No need to upgrade! openssl 0.9.8n_0 >= openssl 0.9.8n_0
DEBUG: No need to upgrade! tcpdump 4.0.0_1 >= tcpdump 4.0.0_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libdnet
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libdnet 1.11_0 exists in the ports tree
DEBUG: libdnet 1.11_0  is the latest installed
DEBUG: libdnet 1.11_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libdnet
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port libdnet.
DEBUG: Requested variant i386 is not provided by port libdnet.
DEBUG: Requested variant macosx is not provided by port libdnet.
DEBUG: No need to upgrade! libdnet 1.11_0 >= libdnet 1.11_0
--->  Computing dependencies for tcpreplay
DEBUG: Searching for dependency: libpcap
DEBUG: Found Dependency: receipt exists for libpcap
DEBUG: Searching for dependency: tcpdump
DEBUG: Found Dependency: receipt exists for tcpdump
DEBUG: Searching for dependency: libdnet
DEBUG: Found Dependency: receipt exists for libdnet
DEBUG: Executing org.macports.main (tcpreplay)
DEBUG: Skipping completed org.macports.fetch (tcpreplay)
--->  Verifying checksum(s) for tcpreplay
DEBUG: Executing org.macports.checksum (tcpreplay)
--->  Checksumming tcpreplay-3.4.3.tar.gz
Error: Checksum (sha1) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz sha1 441365eefdad608d41ccce92cc995ebb8559f35c
Distfile checksum: tcpreplay-3.4.3.tar.gz sha1 016249e0e51d18b116675ecfeb94aaab1762855a
Error: Checksum (rmd160) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz rmd160 fc3430bd5a638d3f7bc9504032948598b4efede5
Distfile checksum: tcpreplay-3.4.3.tar.gz rmd160 d082fddbf75f6ba6b64fbf5902c50a6115942ef6
The correct checksum line may be:
checksums           md5     6242db4bff40fe53ea1d77c2f65ee5e5 \
                    sha1    016249e0e51d18b116675ecfeb94aaab1762855a \
                    rmd160  d082fddbf75f6ba6b64fbf5902c50a6115942ef6
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for tcpreplay): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (12)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to pmq@…
Port: tcpreplay added
Summary: Install tcpreplaytcpreplay checksum error

Please read the FAQ on checksum errors. You did not report the download mirror used. It worked fine for me.

comment:2 Changed 14 years ago by drstrangep0rk@…

rsync://rsync.macports.org/release/ports/ Default and then tried mirror in CA

comment:3 Changed 14 years ago by drstrangep0rk@…

Also from macPort Site Hash are

# $Id$
2	
3	PortSystem          1.0
4	
5	name                tcpreplay
6	categories          net security
7	version             3.4.3
8	platforms           darwin
9	maintainers         pmq openmaintainer
10	
11	description         Replay pcap files at arbitrary speeds onto the network
12	long_description    \
13	    Tcpreplay is a suite of BSD licensed tools written by Aaron Turner for \
14	    *NIX operating systems which gives you the ability to use previously \
15	    captured traffic in libpcap format to test a variety of network devices. \
16	    It allows you to classify traffic as client or server, rewrite Layer 2, 3 \
17	    and 4 headers and finally replay the traffic back onto the network and \
18	    through other devices such as switches, routers, firewalls, NIDS and \
19	    IPS's. Tcpreplay supports both single and dual NIC modes for testing both \
20	    sniffing and inline devices.
21	
22	homepage            http://tcpreplay.synfin.net
23	master_sites        sourceforge
24	checksums           sha1 441365eefdad608d41ccce92cc995ebb8559f35c \
25	                    rmd160 fc3430bd5a638d3f7bc9504032948598b4efede5
26	
27	# TODO use libpcapnav
28	# libdnet is required for fragroute support
29	depends_lib         port:libpcap port:tcpdump port:libdnet
30	
31	configure.args      --with-libpcap=${prefix} \
32	                    --with-tcpdump=${prefix}/sbin/tcpdump
Error: Checksum (sha1) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz sha1 441365eefdad608d41ccce92cc995ebb8559f35c
Distfile checksum: tcpreplay-3.4.3.tar.gz sha1 016249e0e51d18b116675ecfeb94aaab1762855a
Error: Checksum (rmd160) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz rmd160 fc3430bd5a638d3f7bc9504032948598b4efede5
Distfile checksum: tcpreplay-3.4.3.tar.gz rmd160 d082fddbf75f6ba6b64fbf5902c50a6115942ef6
The correct checksum line may be:

Did sync and port selfupdate.

Which mirror are you using?

comment:4 Changed 14 years ago by drstrangep0rk@…

Getting this now with slef update to main mirror

--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
net/tcpreplay/
deleting net/tcpreplay/work

comment:5 Changed 14 years ago by drstrangep0rk@…

Cleaning all.

comment:6 Changed 14 years ago by pmq@…

Resolution: worksforme
Status: newclosed

As macsforever2000@ pointed out, port clean --all <portname> and port install <portname> will probably do it.

comment:7 Changed 14 years ago by drstrangep0rk@…

Resolution: worksforme
Status: closedreopened

Did not do it, Hash are different, will check manually...

--->  Checksumming tcpreplay-3.4.3.tar.gz
Error: Checksum (sha1) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz sha1 441365eefdad608d41ccce92cc995ebb8559f35c
Distfile checksum: tcpreplay-3.4.3.tar.gz sha1 016249e0e51d18b116675ecfeb94aaab1762855a
Error: Checksum (rmd160) mismatch for tcpreplay-3.4.3.tar.gz
Portfile checksum: tcpreplay-3.4.3.tar.gz rmd160 fc3430bd5a638d3f7bc9504032948598b4efede5
Distfile checksum: tcpreplay-3.4.3.tar.gz rmd160 d082fddbf75f6ba6b64fbf5902c50a6115942ef6
The correct checksum line may be:
checksums           md5     6242db4bff40fe53ea1d77c2f65ee5e5 \
                    sha1    016249e0e51d18b116675ecfeb94aaab1762855a \
                    rmd160  d082fddbf75f6ba6b64fbf5902c50a6115942ef6
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums

comment:8 Changed 14 years ago by drstrangep0rk@…

Looks like there is a 3.4.4 on the developers site. Also various versions of 3.4.3. Last update 9 days ago, may need to be updated on your end... SHA1 do no match from developers site.

comment:9 Changed 14 years ago by jmroot (Joshua Root)

Ugh, WikiFormatting, please. I fixed your existing comments. You still haven't stated which mirror your distfile was downloaded from. This is shown during the fetch phase. For example, here I'm getting the file from aarnet.au.distfiles.macports.org:

% sudo port -v checksum tcpreplay
Password:
--->  Computing dependencies for tcpreplay.
--->  Fetching tcpreplay
--->  tcpreplay-3.4.3.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/tcpreplay
--->  Attempting to fetch tcpreplay-3.4.3.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/tcpreplay
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  927k  100  927k    0     0   129k      0  0:00:07  0:00:07 --:--:--  140k
--->  Verifying checksum(s) for tcpreplay
--->  Checksumming tcpreplay-3.4.3.tar.gz

(As you can see above, the checksums match for me too.)

comment:10 Changed 14 years ago by drstrangep0rk@…

Mirror was in the post from 20 hours ago. Please view change history, thanks

  1. Wiki format whatever was the default...
  2. Post from 20 hours ago is bellow, macforever2000 did not state the mirror, I am set to the default as stated in post from 20 hours ago. I cannot use off shore at this point. In ../etc/macports/sources.conf set to the CA site [default]. AU is outside the US. Is their a mirror with the correct hash or one that matches the hash from developers site in the US?? I downloaded the one from the developers site so at this point I am fine, it does seem you have a checksum failure however.
  3. Have you checked the HASH in the US? It may be worth a look...
  4. As of this point the checksum at rsync://rsync.macports.org/release/ports/ fails. There is a mismatch, power to openssl sha1 <source.tar> Just want to let you know at this point. Not trying to fustrate you.

Thanks for all your help...

EOM< < < Copy from orignal Change History.

++++++++ Changed 20 hours ago by drstrangep0rk@…

rsync://rsync.macports.org/release/ports/ Default and then tried mirror in CA

comment:11 Changed 14 years ago by jmroot (Joshua Root)

I did read all the comments. The rsync server is not where the distfiles come from.

comment:12 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.