Code Monkey home page Code Monkey logo

Comments (6)

bauen1 avatar bauen1 commented on August 15, 2024

Can you confirm if each of the paths exists ?
/home/ivan/minimal/src/work/sysroot/lib
/home/ivan/minimal/src/work/sysroot/lib64
/home/ivan/minimal/src/work/sysroot/usr/lib
/home/ivan/minimal/src/work/sysroot/usr/lib64
/home/ivan/minimal/src/work/sysroot/usr/local/lib
/home/ivan/minimal/src/work/sysroot/usr/local/lib64
/usr/lib/gcc/x86_64-linux-gnu/5
The last one seems odd to me.
I should have noted that the sysroot.specs file needs to be regenerated if you move the projects location because it contains absolute paths.

from minimal.

ivandavidov avatar ivandavidov commented on August 15, 2024
ivan@ubuntu:~$ cd /home/ivan/minimal/src/work/sysroot/lib
ivan@ubuntu:~/minimal/src/work/sysroot/lib$

ivan@ubuntu:~/minimal/src/work/sysroot/lib$ cd /home/ivan/minimal/src/work/sysroot/lib64
bash: cd: /home/ivan/minimal/src/work/sysroot/lib64: No such file or directory

ivan@ubuntu:~/minimal/src/work/sysroot/lib$ cd /home/ivan/minimal/src/work/sysroot/usr/lib
ivan@ubuntu:~/minimal/src/work/sysroot/usr/lib$

ivan@ubuntu:~/minimal/src/work/sysroot/usr/lib$ cd /home/ivan/minimal/src/work/sysroot/usr/lib64
bash: cd: /home/ivan/minimal/src/work/sysroot/usr/lib64: No such file or directory

ivan@ubuntu:~/minimal/src/work/sysroot/usr/lib$ cd /home/ivan/minimal/src/work/sysroot/usr/local/lib
bash: cd: /home/ivan/minimal/src/work/sysroot/usr/local/lib: No such file or directory

ivan@ubuntu:~/minimal/src/work/sysroot/usr/lib$ cd /home/ivan/minimal/src/work/sysroot/usr/local/lib64
bash: cd: /home/ivan/minimal/src/work/sysroot/usr/local/lib64: No such file or directory

ivan@ubuntu:~/minimal/src/work/sysroot/usr/lib$ cd /usr/lib/gcc/x86_64-linux-gnu/5
ivan@ubuntu:/usr/lib/gcc/x86_64-linux-gnu/5$ 

The lib64 directory doesn't exist because glibc is compiled with --prefix= and all shared objects are generated in the src/work/sysroot/lib folder.

The last folder is computed from the output of gcc -print-libgcc-file-name and in my case this gives /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a.

from minimal.

bauen1 avatar bauen1 commented on August 15, 2024

Are you sure that the sysroot (glibc, etc ...) have been compiled ?
There should not be any issue with the spec file itself.

from minimal.

ivandavidov avatar ivandavidov commented on August 15, 2024

The sysroot is fine and I can produce MLL ISO image which also works fine. I have only tried the dhcp and nweb bundles so far. The dhcp bundle works fine (there is no compilation work there) and MLL gets IP via DHCP but the nweb bundle fails and the actual binary is not produced.

I have pushed my latest changes. Using the latest kernel and glibc shouldn't be the root cause of this issue. Nevertheless, I'll also give it a try with the older kernel and glibc.

from minimal.

ivandavidov avatar ivandavidov commented on August 15, 2024

I have removed the -spec functionality in order to workaround the issue.

from minimal.

ivandavidov avatar ivandavidov commented on August 15, 2024

I'm closing this issue since the overlay bundle build process is stable for now. The idea behind the proposed -specs feature is great and I am willing to adopt it in the future if it is stable enough.

from minimal.

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.