Bug 1945900 Comment 16 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Dave Vasilevsky [:vasi] from comment #7)
> Anyhow, it looks like only Ubuntu 24.11 oracular has the new 7zip in the repo. (The package has also changed names in modern Ubuntu versions.)  I don't see us switching to a non-LTS version.

I confirm you're right. 24.04 doesn't have it. This ]`try` commit](https://hg.mozilla.org/try/rev/63ce7cf09f906b7cd175b8793df85d2deb4c6e31) still [outputs](https://firefox-ci-tc.services.mozilla.com/tasks/bM5NZqYBSHqVtaJO9zVJHQ/runs/0/logs/public/logs/live.log#L885):

```
[task 2025-02-05T11:37:06.519Z] Retrieving 'http://ftp.stage.mozaws.net/pub/firefox/candidates/136.0b1-candidates/build2/mac/en-US/Firefox 136.0b1.dmg' from cache...
[task 2025-02-05T11:37:06.645Z] ERROR: Dangerous link path was ignored : Firefox/[] : /Applications
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 0.ddm
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 1.Apple_partition_map
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 2.Apple_Driver_ATAPI
[task 2025-02-05T11:37:13.193Z] ERROR: Unsupported Method : 3.hfsx
[task 2025-02-05T11:37:13.196Z] Couldn't find .app package
```
I could repro the behavior locally and here's the version I got:

```
$ 7z -h

7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
 64-bit locale=en_US.UTF-8 Threads:10 OPEN_MAX:1048576
```


> Some options:
> 1. Fetch a moden 7z binary from eg: upstream 7zip. These seem to run fine on 20.04, and can handle lzma-compressed Firefox.

I tried locally and this approach works on the 24.04 image but not the 20.04. Here's what I get: 

```
$ ./7zz Firefox\ 136.0b1.dmg
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./7zz)
```

That makes sense to me because 20.04 ships `libc6` v2.31. 

So I guess we need to upgrade both the Ubuntu base image and download 7zip 24.09.
(In reply to Dave Vasilevsky [:vasi] from comment #7)
> Anyhow, it looks like only Ubuntu 24.11 oracular has the new 7zip in the repo. (The package has also changed names in modern Ubuntu versions.)  I don't see us switching to a non-LTS version.

I confirm you're right. 24.04 doesn't have it. This [`try` commit](https://hg.mozilla.org/try/rev/63ce7cf09f906b7cd175b8793df85d2deb4c6e31) still [outputs](https://firefox-ci-tc.services.mozilla.com/tasks/bM5NZqYBSHqVtaJO9zVJHQ/runs/0/logs/public/logs/live.log#L885):

```
[task 2025-02-05T11:37:06.519Z] Retrieving 'http://ftp.stage.mozaws.net/pub/firefox/candidates/136.0b1-candidates/build2/mac/en-US/Firefox 136.0b1.dmg' from cache...
[task 2025-02-05T11:37:06.645Z] ERROR: Dangerous link path was ignored : Firefox/[] : /Applications
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 0.ddm
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 1.Apple_partition_map
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 2.Apple_Driver_ATAPI
[task 2025-02-05T11:37:13.193Z] ERROR: Unsupported Method : 3.hfsx
[task 2025-02-05T11:37:13.196Z] Couldn't find .app package
```
I could repro the behavior locally and here's the version I got:

```
$ 7z -h

7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
 64-bit locale=en_US.UTF-8 Threads:10 OPEN_MAX:1048576
```


> Some options:
> 1. Fetch a moden 7z binary from eg: upstream 7zip. These seem to run fine on 20.04, and can handle lzma-compressed Firefox.

I tried locally and this approach works on the 24.04 image but not the 20.04. Here's what I get: 

```
$ ./7zz Firefox\ 136.0b1.dmg
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./7zz)
```

That makes sense to me because 20.04 ships `libc6` v2.31. 

So I guess we need to upgrade both the Ubuntu base image and download 7zip 24.09.
(In reply to Dave Vasilevsky [:vasi] from comment #7)
> Anyhow, it looks like only Ubuntu 24.11 oracular has the new 7zip in the repo. (The package has also changed names in modern Ubuntu versions.)  I don't see us switching to a non-LTS version.

I confirm you're right. 24.04 doesn't have it. This [`try` commit](https://hg.mozilla.org/try/rev/63ce7cf09f906b7cd175b8793df85d2deb4c6e31) still [outputs](https://firefox-ci-tc.services.mozilla.com/tasks/bM5NZqYBSHqVtaJO9zVJHQ/runs/0/logs/public/logs/live.log#L885):

```
[task 2025-02-05T11:37:06.519Z] Retrieving 'http://ftp.stage.mozaws.net/pub/firefox/candidates/136.0b1-candidates/build2/mac/en-US/Firefox 136.0b1.dmg' from cache...
[task 2025-02-05T11:37:06.645Z] ERROR: Dangerous link path was ignored : Firefox/[] : /Applications
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 0.ddm
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 1.Apple_partition_map
[task 2025-02-05T11:37:12.724Z] ERROR: Unsupported Method : 2.Apple_Driver_ATAPI
[task 2025-02-05T11:37:13.193Z] ERROR: Unsupported Method : 3.hfsx
[task 2025-02-05T11:37:13.196Z] Couldn't find .app package
```
I could repro the behavior locally and here's the version I got:

```
$ 7z -h

7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
 64-bit locale=en_US.UTF-8 Threads:10 OPEN_MAX:1048576
```


> Some options:
> 1. Fetch a moden 7z binary from eg: upstream 7zip. These seem to run fine on 20.04, and can handle lzma-compressed Firefox.

I tried locally and this approach works on the 24.04 image but not the 20.04. Here's what I get: 

```
$ ./7zz Firefox\ 136.0b1.dmg
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./7zz)
./7zz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./7zz)
```

That makes sense to me because 20.04 turns out to [ship `libc6` v2.31](https://packages.ubuntu.com/focal/libc6). 

So I guess we need to upgrade both the Ubuntu base image and download 7zip 24.09.

Back to Bug 1945900 Comment 16