Giter VIP home page Giter VIP logo

Comments (6)

eyberg avatar eyberg commented on August 17, 2024

document that we currently only support 11.5.0 for now

nanovms/nanos#241

from ops.

eyberg avatar eyberg commented on August 17, 2024

I think we need to add libnss && certs to the node pkg

➜  tn  ops load node_v11.15.0 -a bob.js
Downloading.. /Users/eyberg/go/bin/.packages/node_v11.15.0.tar.gz
 15.62 MiB / 15.62 MiB [=======================================================] 100.00% 7.30 MiB/s 2s
Extracting /Users/eyberg/go/bin/.packages/node_v11.15.0.tar.gz...
/var/folders/7q/rszjwjd14tl2cndscyy1q5jh0000gn/T/resolv=>/etc/resolv.conf
/var/folders/7q/rszjwjd14tl2cndscyy1q5jh0000gn/T/hostname=>/proc/sys/kernel/hostname
bob.js=>bob.js
.staging/node_v11.15.0/node=>node_v11.15.0/node
.staging/node_v11.15.0/package.manifest=>node_v11.15.0/package.manifest
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/libc.so.6=>lib/x86_64-linux-gnu/libc.so.6
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/libdl.so.2=>lib/x86_64-linux-gnu/libdl.so.2
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/libgcc_s.so.1=>lib/x86_64-linux-gnu/libgcc_s.so.1
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/libm.so.6=>lib/x86_64-linux-gnu/libm.so.6
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/libpthread.so.0=>lib/x86_64-linux-gnu/libpthread.so.0
.staging/node_v11.15.0/sysroot/lib/x86_64-linux-gnu/librt.so.1=>lib/x86_64-linux-gnu/librt.so.1
.staging/node_v11.15.0/sysroot/lib64/ld-linux-x86-64.so.2=>lib64/ld-linux-x86-64.so.2
.staging/node_v11.15.0/sysroot/usr/lib/x86_64-linux-gnu/libstdc++.so.6=>usr/lib/x86_64-linux-gnu/libstdc++.so.6
booting image ...
assigned: 10.0.2.15
epoll_wait error: requested fd 16 (eventmask 19) missing check
epoll_wait error: requested fd 18 (eventmask 19) missing check
dns.js:113
    throw new ERR_INVALID_OPT_VALUE('family', family);
    ^

TypeError [ERR_INVALID_OPT_VALUE]: The value "4294967295" is invalid for option "family"
    at lookup (dns.js:113:11)
    at net.js:979:5
    at defaultTriggerAsyncIdScope (internal/async_hooks.js:294:19)
    at lookupAndConnect (net.js:978:3)
    at TLSSocket.Socket.connect (net.js:913:5)
    at Object.connect (_tls_wrap.js:1248:12)
    at Agent.createConnection (https.js:119:22)
    at Agent.createSocket (_http_agent.js:227:26)
    at Agent.addRequest (_http_agent.js:185:10)
    at new ClientRequest (_http_client.js:261:16)
epoll_wait error: requested fd 11 (eventmask 19) missing check
epoll_wait error: requested fd 13 (eventmask 19) missing check
exit_groupexit status 1
➜  node_v11.15.0  tree
.
├── node
├── package.manifest
└── sysroot
    ├── lib
    │   └── x86_64-linux-gnu
    │       ├── libc.so.6
    │       ├── libdl.so.2
    │       ├── libgcc_s.so.1
    │       ├── libm.so.6
    │       ├── libpthread.so.0
    │       └── librt.so.1
    ├── lib64
    │   └── ld-linux-x86-64.so.2
    └── usr
        └── lib
            └── x86_64-linux-gnu
                └── libstdc++.so.6

7 directories, 10 files

from ops.

cbarraford avatar cbarraford commented on August 17, 2024

@eyberg are you sure you want to document that we only support 11.5.0? Its presumed by the results of ops list, yes?

from ops.

eyberg avatar eyberg commented on August 17, 2024

kind of - someone could download a newer/older version && build a similar package and find it breaking - afaik it's not fixed yet - until it is i think it's worth having in the docs - as a general rule of thumb though - we're going to run into this sort of issue quite a lot w/random software for a while - i suppose if it's noted in an issue for now that's good enough for 'documentation' but agreed that any package we build implies that we've blessed it to a certain degree - this can be closed once libnss && certs are pkg'd in

from ops.

mkhon avatar mkhon commented on August 17, 2024

I think older versions(including 10.x) are supported now

from ops.

cbarraford avatar cbarraford commented on August 17, 2024

@eyberg do you think its worthwhile to have a page per package with notes etc etc? Or do you want to just open an issue like you suggested?

from ops.

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.