Closed MyChuan closed 7 months ago
Hi @MyChuan,
I had the same error today with the Windows build. I assumed it was because the Python version was too old, so I updated the runner. Guess what? It worked!
Try to upgrade to Python >= 3.9
Best regards, Benoit
Hi @MyChuan,
I had the same error today with the Windows build. I assumed it was because the Python version was too old, so I updated the runner. Guess what? It worked!
Try to upgrade to Python >= 3.9
Best regards, Benoit
OK,let me try it, thank you!
Hi @MyChuan,
I had the same error today with the Windows build. I assumed it was because the Python version was too old, so I updated the runner. Guess what? It worked!
Try to upgrade to Python >= 3.9
Best regards, Benoit
I get another error,“/root/zbc/projects/pdfium-binaries/pdfium-binaries/.gclient_entries missing, .gclient file in parent directory /root/zbc/projects/pdfium-binaries/pdfium-binaries might not be the file you want to use.
Traceback (most recent call last):
File "/root/zbc/projects/pdfium-binaries/pdfium-binaries/depot_tools/gn.py", line 93, in
Hi @MyChuan,
I don't know. The build works on Ubuntu, and it's all that matters to me. As I said in #90:
The goal of the project is to provide PDFium binaries, nothing more. The build scripts in this repository are just a side-product of this process. Those scripts only need to run on GitHub-hosted runners, and I have no intention of making them portable.
To build PDFium on unsupported Linux distributions, please follow the official instructions.
Thank you for your understanding.
Best regards, Benoit
Hi @MyChuan,
I don't know. The build works on Ubuntu, and it's all that matters to me. As I said in #90:
The goal of the project is to provide PDFium binaries, nothing more. The build scripts in this repository are just a side-product of this process. Those scripts only need to run on GitHub-hosted runners, and I have no intention of making them portable. To build PDFium on unsupported Linux distributions, please follow the official instructions.
Thank you for your understanding.
Best regards, Benoit
I get, thank you all the same!
step 1, I'm run the sh by command "./build.sh -b chromium/5670 linux arm64". step 2, the error is "E: 软件包 libc6-i386 没有可安装候选 E: 无法定位软件包 gcc-9-multilib E: 无法定位软件包 g++-9-aarch64-linux-gnu E: 无法按照正则表达式 g++-9-aarch64-linux-gnu 找到任何软件包 E: 软件包 gcc-9-aarch64-linux-gnu:i386 没有可安装候选", then i comment it out. step 3, the error is "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree." when it reaches gclient sync -r origin/chromium/5670 --no-history --shallow, but i can get the codes from gclient, then i copy it in this place. step 4, the error is "gn gen /root/zbc/projects/pdfium-binaries/pdfium-binaries/pdfium/out Traceback (most recent call last): File "/root/zbc/projects/pdfium-binaries/pdfium-binaries/depot_tools/gn.py", line 14, in
import gclient_paths
File "/root/zbc/projects/pdfium-binaries/pdfium-binaries/depot_tools/gclient_paths.py", line 24, in
def FindGclientRoot(from_dir, filename='.gclient'):
File "/usr/lib/python3.7/functools.py", line 477, in lru_cache
raise TypeError('Expected maxsize to be an integer or None')
TypeError: Expected maxsize to be an integer or None
"
How can i resolve the problems? Looking forward to your help.