-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build #18
Comments
I guess your build dependencies are either to old or too new. Try this build in a virtual machine with clean Ubuntu, where you have satisfied the MLS build dependencies. If this error persists, then we can investigate further. |
i'm in a Quirky Linux named Xenial Xerus (Ubuntu 16.04 LTS). |
Yup, doesn't like Ubuntu 16.04 LTS, doesn't like OpenEmbeded Linux versions either (they use gcc6.3.0 as standard for it's small sizes of builds), looks like I have to try a deb buster next and see what happens, but sorry I'm not impressed at this point, I thought I had found something good to base with. With no earlier releases to try with either, this may be a stopper point. |
and debian buster can build with warnings, 0- a lot of warnings against busybox/miscutils/ and procps/ 1- at steps after AR util-linux/volume_id/lib.a 2- busybox binary setuid root to ensure all configured applets will work properly haven't tried burning and booting yet, that will happen on the first workstation with dvd r/w priviledges. |
And booting the iso gives errors > ALSA device list: Also> ata3: and ata4: both say SATA link down (SStatus 0 Scontrol 300) as I understand it, it means nothing is connected, but they are ssd's and ata3 was where it was built. at least I get a responsivea # prompt to start with, UPDATE: trying to shutdown / halt / etc gives a kernel panic. i'll persevere and try toybox ilo busybox and a updated kernel next, but not sure if it's suitable for my idea as an interim chroot base towards musl/clang/llvm. |
Problem with toybox relates to the init starting script failing and giving a kernel panic, I've asked Rob Landley and the Toybox team to have a look. An alpha quality kernel-toybox-syslinux script called minimal-2.sh is listed below, some #'d lines have wrapped. #!/bin/sh set -ex don't foget the empty last line if you copy it. |
Just an update at this point. From the Toybox team came the word that the inbuilt init wasn't at release state at this point, it's still classed at pending, their sugestion is to add and use oneit (which is) instead, by adding a link > I did say it's a test alpha, however it's ok otherwise at this point. I shall persevere, and update this thread as I go if you care to leave it open, as i like your system and if my output is of use to you, then have fun with it. |
Building is giving me this error from sccript lline 12>
make[1]: *** No rule to make target '/file/projects/minimal/minimal-linux-script-master/busybox-1.30.1/Makefile.local'. Stop.
make[1]: Nothing to be done for '/file/projects/minimal/minimal-linux-script-master/busybox-1.30.1/Makefile.custom'.
make[1]: Nothing to be done for '/file/projects/minimal/minimal-linux-script-master/busybox-1.30.1/scripts/Kbuild.include'.
make[1]: Nothing to be done for 'Makefile'.
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/basic/docproc
GEN include/applets.h
GEN include/usage.h
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN klibc-utils/Kbuild
GEN klibc-utils/Config.in
GEN libpwdgrp/Kbuild
GEN shell/Kbuild
GEN shell/Config.in
GEN libbb/Kbuild
GEN libbb/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN init/Kbuild
GEN init/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN selinux/Kbuild
GEN selinux/Config.in
GEN printutils/Kbuild
GEN printutils/Config.in
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN applets/Kbuild
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN editors/Kbuild
GEN editors/Config.in
GEN modutils/Kbuild
GEN modutils/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN runit/Kbuild
GEN runit/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN scripts/Kbuild
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:145:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:393:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:503:18: error: ‘EINTR’ undeclared (first use in this function)
if (errno == EINTR || errno == EAGAIN)
^
scripts/kconfig/mconf.c:503:18: note: each undeclared identifier is reported only once for each function it appears in
scripts/kconfig/mconf.c:503:36: error: ‘EAGAIN’ undeclared (first use in this function)
if (errno == EINTR || errno == EAGAIN)
^
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:851:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:485:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
scripts/Makefile.host:120: recipe for target 'scripts/kconfig/mconf.o' failed
make[2]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:443: recipe for target 'defconfig' failed
make[1]: *** [defconfig] Error 2
Makefile:423: recipe for target 'defconfig' failed
make: *** [defconfig] Error 2
Any ideas? I was planning on a toybox instead of busybox version, but that won't pass this problem either.
thanks
The text was updated successfully, but these errors were encountered: