Genymobile / Genymobile/scrcpy

install_release.sh fails in meson command

Open
#3,955 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

**Environment**
- OS: ubuntu 16.04LTS
- scrcpy version: trying to build v2.0 manually
- installation method: install_release.sh
- device model: n/a
- Android version: n/a

**Describe the bug**
Trying to manually build v2.0 as the latest available for my ubuntu 16.04LTS is 1.25

The following steps were done,
- git clone https://github.com/Genymobile/scrcpy
- cd scrcpy
- git checkout tags/v2.0 -b v2.0
- ./install_release.sh

and meson is complaining about `[Errno 2] No such file or directory: '/home/twong/Workspace/open-sources/scrcpy/setup'`

```
$ meson --version
0.29.0
```

```
~/Workspace/open-sources/scrcpy$ ./install_release.sh
[scrcpy] Downloading prebuilt server...
--2023-04-27 18:01:52-- https://github.com/Genymobile/scrcpy/releases/download/v1.25/scrcpy-server-v1.25
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/111583593/56d38689-d880-43f5-983d-76d677072f25?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230428%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230428T010152Z&X-Amz-Expires=300&X-Amz-Signature=b1a5858c8d2ec9a03f07fd3804917aee1cec0ed53fdd672be4f833bf42c1a918&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=111583593&response-content-disposition=attachment%3B%20filename%3Dscrcpy-server-v1.25&response-content-type=application%2Foctet-stream [following]
--2023-04-27 18:01:52-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/111583593/56d38689-d880-43f5-983d-76d677072f25?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230428%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230428T010152Z&X-Amz-Expires=300&X-Amz-Signature=b1a5858c8d2ec9a03f07fd3804917aee1cec0ed53fdd672be4f833bf42c1a918&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=111583593&response-content-disposition=attachment%3B%20filename%3Dscrcpy-server-v1.25&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42151 (41K) [application/octet-stream]
Saving to: ‘scrcpy-server’

scrcpy-server 100%[=======================================================================>] 41.16K --.-KB/s in 0.003s

2023-04-27 18:01:53 (11.9 MB/s) - ‘scrcpy-server’ saved [42151/42151]

[scrcpy] Verifying prebuilt server...
scrcpy-server: OK
[scrcpy] Building client...
Error during basic setup:

[Errno 2] No such file or directory: '/home/twong/Workspace/open-sources/scrcpy/setup'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with install_release.sh and its Meson build step; compare the v2.0 checkout and installed Meson 0.29.0 with the reported missing setup path. Reproduce the command on the stated environment, then verify that the script completes the client build without the reported Errno 2.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, shell
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.