Closed noelmullankuzhy closed 3 months ago
Thanks for the report; unfortunately, I can't reproduce what you're seeing - a clean 3.11 build of lru-dict for iOS simulator arm64 completes successfully.
I suspect the problem might be something I've assumed about the build environment; the error would be consistent with a None
value being passed in as an argument to a build call. Can I ask you to share the log file that was generated in errors
for this build? That might give a hint as to where things have gone wrong.
By the way I had faced another issue while setting up mobile-forge
. The issue and the steps I have taken to solve it are mentioned in #36. Please read through that also. I suspect the issues could be related. When running source ./setup-iOS.sh 3.11
the script make_dep_wheels.py
fails and I had to manually copy files to Dist
folder to make it work. Your suspicion regarding assumptions about build environment could be true.
As I suspected, the issue is an assumption about the build environment. The compiler environment is copying over some "useful default" values for HOME, TMPDIR, and a couple of other variables - but if those aren't present in the user's environment, they're passed in as None, which causes the error you're seeing. The problem value in this case is LANG - I thought that it was safe to assume that was set, but apparently not.
I've corrected this in #38. Thanks for the report, and apologies for the inconvenience.
Describe the bug
There is an issue when mobile-forge install steps are followed. Issue is happening when forging for any target.
env_list.append(k + b'=' + os.fsencode(v)) ^^^^^^^^^^^^^^ File "<frozen os>", line 812, in fsencode TypeError: expected str, bytes or os.PathLike object, not NoneType
Steps to reproduce
Expected behavior
Corresponding wheel is generated
Screenshots
No response
Environment
Logs
Additional context
No response