Git Product home page Git Product logo

Comments (4)

indygreg avatar indygreg commented on September 28, 2024 1

I fixed the editline build failure. But the Docker failure is still open.

from python-build-standalone.

indygreg avatar indygreg commented on September 28, 2024

I believe the docker-py API doesn't return the image ID when streaming build output: the function either returns a data structure or is a generator of output chunks. But I could be wrong here...

I suppose I can install Docker 17.05 and modify the code to parse the image ID from it.

Just to rule it out, are you using English? It is possible Docker is using non-English to print the image ID during build...

from python-build-standalone.

kshcherban avatar kshcherban commented on September 28, 2024

OS has English locale and no other languages are installed.
I will test with latest 18.09 docker and update the issue.

from python-build-standalone.

kshcherban avatar kshcherban commented on September 28, 2024

Here's output from 18.09

gdbm-linux64> make[2]: Nothing to be done for `install-exec-am'.
gdbm-linux64> make[2]: Nothing to be done for `install-data-am'.
gdbm-linux64> make[2]: Leaving directory `/build/gdbm-1.18.1'
gdbm-linux64> make[1]: Leaving directory `/build/gdbm-1.18.1'
/mnt/cpython-linux/build.py --platform linux64 libedit
downloading https://www.thrysoee.dk/editline/libedit-20181209-3.1.tar.gz to /mnt/build/libedit-20181209-3.1.tar.gz
successfully downloaded https://www.thrysoee.dk/editline/libedit-20181209-3.1.tar.gz
libedit-linux64> copying /mnt/build/binutils-linux64.tar to container
libedit-linux64> copying /mnt/build/clang-linux64.tar to container
Traceback (most recent call last):
  File "/mnt/cpython-linux/build.py", line 701, in <module>
    sys.exit(main())
  File "/mnt/cpython-linux/build.py", line 680, in main
    build_libedit(client, get_image(client, 'build'), platform=args.platform)
  File "/mnt/cpython-linux/build.py", line 326, in build_libedit
    install_tools_archive(container, BUILD / ('ncurses-%s.tar' % platform))
  File "/mnt/cpython-linux/build.py", line 162, in install_tools_archive
    copy_file_to_container(source, container, '/build')
  File "/mnt/cpython-linux/build.py", line 120, in copy_file_to_container
    tf.add(str(path), archive_path or path.name)
  File "/usr/local/lib/python3.7/tarfile.py", line 1928, in add
    tarinfo = self.gettarinfo(name, arcname)
  File "/usr/local/lib/python3.7/tarfile.py", line 1807, in gettarinfo
    statres = os.lstat(name)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/build/ncurses-linux64.tar'
Makefile:53: recipe for target '/mnt/build/libedit-linux64.tar' failed
make: *** [/mnt/build/libedit-linux64.tar] Error 1
rm /mnt/build/image-build.tar

from python-build-standalone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.