pantry icon indicating copy to clipboard operation
pantry copied to clipboard

New/gnu.org/glibc

Open mxcl opened this issue 1 year ago • 5 comments

My attempt at #147

mxcl avatar Feb 01 '24 13:02 mxcl

This fails, but I'm hoping dosu bot has a clue

mxcl avatar Feb 01 '24 13:02 mxcl

oh ok, it didn't build successfully for me on my local machine. I'll have to look into that… could be the pkgx docker image doesn't have the pre-reqs installed? That would be an oopsie.

Still, nice! It built. Tests fail. Which begs the question: how do you test this?

mxcl avatar Feb 02 '24 18:02 mxcl

how do you test this?

right. i think the answer is something like this: https://github.com/pkgxdev/pantry/blob/7976e914b9a90a5cee5aa9edcba86bff69426b52/projects/gnu.org/glibc/package.yml#L68-L100

jhheider avatar Feb 02 '24 18:02 jhheider

k the local build issues are due to us building into macOS mounted volume and the case insensitive filesystem.

Ref https://github.com/openrisc/or1k-glibc/issues/10

Which is annoying. What we need I guess is the inverse: everything is in a persistent linux docker volume and somehow we make it mounted locally so you can easily browse it.

Or something

mxcl avatar Feb 03 '24 15:02 mxcl

Running in a local docker container I can get it all built, actually using it is problematic.

The resulting binary we create segfaults in some of the glibc runtime code that starts the executable. Tracing it with ChatGPT I ended up trying to run bin/ld.so manually, which also segfaults. Not sure if that is the key here or not.

mxcl avatar Feb 05 '24 15:02 mxcl