File size: 1,461 Bytes
660c0b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Problems with etc/DependencyInstaller.sh and md5 on boost

Subcategory: Dependency installation

## Conversation

### oharboe
What's going on here?

```bash

$ etc/DependencyInstaller.sh -prefix=~/openroad-tools/ -common

[deleted]

Length: 136670223 (130M) [application/x-gzip]

Saving to: ‘boost_1_80_0.tar.gz.1’



boost_1_80_0.tar.gz 100%[===================>] 130,34M  2,37MB/s    in 65s



2023-03-27 16:56:06 (2,02 MB/s) - ‘boost_1_80_0.tar.gz.1’ saved [136670223/136670223]



+ md5sum -c /dev/fd/63

++ echo '077f074743ea7b0cb49c6ed43953ae95  boost_1_80_0.tar.gz'

boost_1_80_0.tar.gz: FAILED

md5sum: WARNING: 1 computed checksum did NOT match

+ exit 1

```

### oharboe
Hmm.... I suspect a manifestation of https://github.com/The-OpenROAD-Project/OpenROAD/issues/3096

### vvbandeira
The problem is that the first download failed, and the file was not correctly deleted.

New download:
```

boost_1_80_0.tar.gz 100%[===================>] 130,34M  2,37MB/s    in 65s

```

Saving with the `.1` suffix:
```

2023-03-27 16:56:06 (2,02 MB/s) - ‘boost_1_80_0.tar.gz.1’ saved [136670223/136670223]

```

Checking against the file without the suffix:
```

+ md5sum -c /dev/fd/63

++ echo '077f074743ea7b0cb49c6ed43953ae95  boost_1_80_0.tar.gz'

```

I will propose a PR that uses `mktemp` that should avoid this and the #3096 issues. You can manually delete the folder/offending file for now -- apologies for the inconvenience.