Git Product home page Git Product logo

miyoomini-toolchain-buildroot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

miyoomini-toolchain-buildroot's Issues

wget unable to resolve host address

i got this error when running make sdk:

root@19888d62036a:~/buildroot# make sdk
/usr/bin/make -j1 O=/root/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[1]: Entering directory '/root/buildroot'
mkdir -p /root/buildroot/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" /usr/bin/make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/root/buildroot/output/build/buildroot-config -C support/kconfig -f Makefile.br conf
make[2]: Entering directory '/root/buildroot/support/kconfig'
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE  -I/root/buildroot/output/build/buildroot-config -DCONFIG_=\"\"   /root/buildroot/output/build/buildroot-config/conf.o /root/buildroot/output/build/buildroot-config/zconf.tab.o  -o /root/buildroot/output/build/buildroot-config/conf
make[2]: Leaving directory '/root/buildroot/support/kconfig'
make[1]: Leaving directory '/root/buildroot'
>>> host-skeleton  Extracting
>>> host-skeleton  Patching
>>> host-skeleton  Configuring
>>> host-skeleton  Building
>>> host-skeleton  Installing to host directory
>>> host-tar 1.29 Downloading
--2023-06-04 14:11:42--  http://ftpmirror.gnu.org/tar/tar-1.29.cpio.gz
Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'ftpmirror.gnu.org'
--2023-06-04 14:11:42--  http://sources.buildroot.net/tar/tar-1.29.cpio.gz
Resolving sources.buildroot.net (sources.buildroot.net)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'sources.buildroot.net'
--2023-06-04 14:11:42--  http://sources.buildroot.net/tar-1.29.cpio.gz
Resolving sources.buildroot.net (sources.buildroot.net)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'sources.buildroot.net'
make: *** [package/pkg-generic.mk:160: /root/buildroot/output/build/host-tar-1.29/.stamp_downloaded] Error 1

Dependencies install error

Issue:
install dependencies on line 7 in Dockerfile throws errors.
Steps to reproduce:
in repo, run make shell
Expected behavior:
Setup should pass and docker set up
Actual behavior:
Setup fails with below errors:

Traceback (most recent call last):
File "/usr/lib/python3.7/py_compile.py", line 212, in
sys.exit(main())
File "/usr/lib/python3.7/py_compile.py", line 204, in main
compile(filename, doraise=True)
File "/usr/lib/python3.7/py_compile.py", line 169, in compile
importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
File "", line 112, in _write_atomic
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.7/pycache/future.cpython-37.pyc.140326454036272'
dpkg: error processing package python3.7-minimal (--configure):
installed python3.7-minimal package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get -y update && apt-get -y install bc build-essential bzip2 bzr cmake cmake-curses-gui cpio git libncurses5-dev make rsync scons tree unzip wget && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
make: *** [makefile:9: .build] Error 100

How to install SDL2 on your released toolchain?

How could I install SDL2 to your released toolchain?

I extracted your toolchain in /opt/miyoomini-toolchain
Using SDL1.2 work well but I would like to use SDL2 :-/

So I git clone https://github.com/libsdl-org/SDL.git
Then I run ./configure --host=/opt/miyoomini-toolchain/usr/arm-linux-gnueabihf --build=x86_64-linux-gnu --prefix=/usr
And make

But I get the following errors:

Warning, configure is out of date, please re-run autogen.sh
/bin/bash build-scripts/updaterev.sh
  LTLINK build/libSDL2.la
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpulse-simple
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpulse
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ljack
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lwayland-egl
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lwayland-client
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lwayland-cursor
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lxkbcommon
collect2: error: ld returned 1 exit status
make: *** [Makefile:160: build/libSDL2.la] Error 1

So I guess I am missing something somewhere :p

Do you have any idea on how to do?

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.