find: /usr/bin/echo: No such file or directory

Đang mở
#3,404 1 bình luận 2 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@AndreMiras đang làm issue này rồi.

Từ ngày 2/11/2026.

  • #3406 của @AndreMiras — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

pythonforandroid/recipe.py contains:

    def strip_object_files(self, arch, env, build_dir=None):
        if build_dir is None:
            build_dir = self.get_build_dir(arch.arch)
        with current_directory(build_dir):
            info('Stripping object files')
            shprint(sh.find, '.', '-iname', '*.so', '-exec',
                    '/usr/bin/echo', '{}', ';', _env=env)
            shprint(sh.find, '.', '-iname', '*.so', '-exec',
                    env['STRIP'].split(' ')[0], '--strip-unneeded',
                    # '/usr/bin/strip', '--strip-unneeded',
                    '{}', ';', _env=env)

But on macOS Big Sur, there is no /usr/bin/echo

% which echo
echo: shell built-in command

% ls -l /bin/echo /usr/bin/echo
ls: /usr/bin/echo: No such file or directory
-rwxr-xr-x  1 root  wheel  120848 17 jan  2026 /bin/echo*

When building, this produces the error:

[INFO]:    Stripping object files
[DEBUG]:   -> running find . -iname *.so -exec /usr/bin/echo {} ;
[DEBUG]:   	find: /usr/bin/echo: No such file or directory
Ngôn ngữ chính
Python
Star
8.9k
Fork
2.1k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của kivy/python-for-android

Tất cả issue của kivy/python-for-android

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.