Giter Site home page Giter Site logo

Comments (11)

edannenberg avatar edannenberg commented on May 24, 2024

Thanks for reporting, fix should be in master by the weekend.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Hmm, I was not able to reproduce this, could you try again from a fresh state? If the issue still persists, what's your stage3 date?

from kubler.

soredake avatar soredake commented on May 24, 2024

Tried compiling all from a fresh state (after ./build.sh update), now musl is failing

 * Emerging cross-musl ...

 * musl failed :(
 * 
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-x86_64-pc-linux-musl-info.log
 * /var/log/portage/cross-x86_64-pc-linux-musl-musl.log.xz
 * /var/tmp/portage/cross-x86_64-pc-linux-musl/musl*/temp/musl-config.logs.tar.xz
failed to run image gentoobb/bob:20161013

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Odd, build ran fine yesterday. Try checking the logs for some clues:

docker ps -a
docker cp <build-container-id>:/var/log/portage/cross-x86_64-pc-linux-musl-info.log ~/musl.log

from kubler.

soredake avatar soredake commented on May 24, 2024

https://transfer.sh/bQaMZ/musl.log
https://transfer.sh/S9u3t/musl.log.xz

/usr/libexec/gcc/x86_64-pc-linux-musl/ld: cannot find Scrt1.o: No such file or directory
/usr/libexec/gcc/x86_64-pc-linux-musl/ld: cannot find crti.o: No such file or directory
/usr/libexec/gcc/x86_64-pc-linux-musl/ld: cannot find -lc
/usr/libexec/gcc/x86_64-pc-linux-musl/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

A case of bad timing, couple hours after I did the rebuild last thursday musl-1.1.15-r2 came out, which broke the build. Masked that version for now. Did a complete rebuild with stage 3 20161020 today, looks good.

from kubler.

soredake avatar soredake commented on May 24, 2024

After this gentoo/gentoo@78404f8, we definitely need to do something,

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Yep, I should have reported this upstream earlier. :(

https://bugs.gentoo.org/show_bug.cgi?id=605270

As a workaround you could restore the old 1.1.15 ebuild manually for now I guess.

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

How about sidestepping this by not cross-compiling and using a native musl stage3 as base instead? Will shake things up a bit, but its at least an alternative.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

I fear this will be a bit more of a shake up. :p But it has been quite a while since I last tried that, things might be a lot smoother now. As a very quick workaround I massaged a couple of lines in Buildconfig.sh and Dockerfile.template of busybox image to use default build container instead of musl. Nothing for production as the good old dns resolution bug in static glibc busybox is still alive, but enough for tinkering.

Bug got confirmed on Gentoo's bugtracker and seems to get some interest, hopefully resolved soon.

For the future it would be nice if different Gentoo stage3 could be supported at the same time, i.e. have a standard stage3 and musl stage3 coexist, would remove the need for crosscompiling musl stuff while still leaving easy outs if musl is not an option.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

@soredake I somewhat located the issue with PACKAGES.md generation. Only seems to happen when a new file is created, which apparently has the wrong permissions for the host user to add the final header. I fixed the issue in feat/multistage3 branch, generated rootfs.tar files now also get proper host UID/GID ownership.

Still can't reproduce the rm /usr/lib64/misc/ssh-keysign bit.

from kubler.

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.