kivy / kivy/python-for-android

psycopg2 recipe build fail

Đang mở
#2,816 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug recipe
Ngôn ngữ chính
Python
Star
8.9k
Fork
2k
Merge trung bình
12 giờ 20 phút
Pull request đã merge (30 ngày)
9

Mô tả

### Logs

```
[1m[INFO][0m: [36m-> directory context /home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/psycopg2/arm64-v8a__ndk_target_21/psycopg2[39m
[1m[90m[DEBUG][39m[0m: [90m->[0m running python3 setup.py build_ext --static-libpq[0m
[1m[90m[DEBUG][39m[0m: running build_ext
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: Error: pg_config executable not found.
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: pg_config is required to build psycopg2 from source. Please add the directory
[1m[90m[DEBUG][39m[0m: containing pg_config to the $PATH or specify the full executable path with the
[1m[90m[DEBUG][39m[0m: option:
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: python setup.py build_ext --pg-config /path/to/pg_config build ...
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: or with the pg_config option in 'setup.cfg'.
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: If you prefer to avoid building psycopg2 from source, please install the PyPI
[1m[90m[DEBUG][39m[0m: 'psycopg2-binary' package instead.
[1m[90m[DEBUG][39m[0m:
[1m[90m[DEBUG][39m[0m: For further information please check the 'doc/src/install.rst' file (also at
[1m[90m[DEBUG][39m[0m: ).
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Báo cáo xác định recipe psycopg2, lệnh setup.py build_ext --static-libpq và lỗi pg_config; trước tiên hãy tìm recipe đó và kiểm tra môi trường build của nó được chuẩn bị như thế nào. Hãy tái hiện bản build Android arm64-v8a, trong đó thành công được xác định là hoàn tất bản build của recipe psycopg2 mà không gặp lỗi do thiếu pg_config.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, postgresql, python
Lĩnh vực
build-system, mobile
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.