#4892 closed defect (fixed)
Debbie can't compile GDAL Master (GDAL 3.3)
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | Website Management, Bots |
Component: | QA/buildbots | Version: | master |
Keywords: | Cc: |
Description
Different issue from GDAL 3.2 that was just fixed by EvenR.
This has been going on sometime between March 1st and March 19th (I have a huge gap of missing builds for some reason) but I've been distracted with other things.
for dir in python ; do (cd $dir; make build) || exit; done make[2]: Entering directory '/var/lib/jenkins/workspace/gdal/branches/3.3/gdal/swig/python' rm -f setup_vars.ini echo 'GNM_ENABLED=yes' >> setup_vars.ini python setup.py build WARNING: numpy not available! Array support will not be enabled Traceback (most recent call last): File "setup.py", line 348, in <module> readme = open('README.rst', encoding="utf-8").read() TypeError: 'encoding' is an invalid keyword argument for this
So I'm assuming maybe a newer Python or something is required for than what Debbie has installed.
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Just disabled python building for now. Don't really need it.
comment:3 by , 4 years ago
I should add debbie does have python and python3 installed, but tried to make it the default with
alias python='/usr/bin/python3'
but didn't seem to work
Note:
See TracTickets
for help on using tickets.
This stackoverflow suggests it's because of Python 2 and only supported in Python 3
https://stackoverflow.com/questions/12541370/typeerror-encoding-is-an-invalid-keyword-argument-for-this-function