-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
I see that in our .travis.yml file, we have
Line 23 in 1d22ccb
- python setup.py -q install |
I tried to run it in a Docker container with Python 3.7 and Go 1.12 compiler installed. However, it fails with the following error messages.
root@5b1d7a99e130:/work/python# python setup.py -q install
$ GOPATH=/tmp/tmp0933ggqq go get -d
/tmp/ccx6kWHo.o: In function `main':
test.c:(.text+0xa): undefined reference to `f'
collect2: error: ld returned 1 exit status
$ CGO_CFLAGS=-I/usr/local/include/python3.7m CGO_LDFLAGS=-Wl,--unresolved-symbols=ignore-all GOPATH=/tmp/tmp0933ggqq go build -buildmode=c-shared -o /work/python/build/lib.linux-x86_64-3.7/recordio/librecordio.cpython-37m-x86_64-linux-gnu.so
zip_safe flag not set; analyzing archive contents...
recordio.__pycache__.librecordio.cpython-37: module references __file__
recordio.__pycache__.recordio.cpython-37: module references __file__
May I know what is the purpose of the command python setup.py -q install
? Why does it run in Travis CI but not in my container? How am I supposed to make it running in my container?
Metadata
Metadata
Assignees
Labels
No labels