firasuke / mussel

The shortest and fastest script to build working cross compilers targeting musl libc
ISC License
88 stars 12 forks source link

./mussel.sh stops at ".. Installing musl headers..." #10

Closed ghost closed 2 years ago

ghost commented 2 years ago

While running ./mussel.sh x86-64 -k -l -o -p and having all the sources downloaded, the script just finishes on .. Installing musl headers... without giving any error. More details:

+=======================================================+
| mussel.sh - The fastest musl libc Toolchain Generator |
+-------------------------------------------------------+
|      Copyright (c) 2020-2022, Firas Khalil Khana      |
|     Distributed under the terms of the ISC License    |
+=======================================================+

Target Architecture:            x86-64

Optional C++ Support:           yes
Optional Linux Headers Support: yes
Optional OpenMP Support:        yes
Optional Parallel Support:      yes
Optional pkg-config Support:    yes

!. binutils source directory already exists, skipping...
!. binutils-2.38.tar.lz already exists, skipping...
.. Verifying binutils-2.38.tar.lz...
binutils-2.38.tar.lz: OK
.. Unpacking binutils-2.38.tar.lz...
=> binutils-2.38.tar.lz prepared.

!. gcc source directory already exists, skipping...
!. gcc-11.2.0.tar.xz already exists, skipping...
.. Verifying gcc-11.2.0.tar.xz...
gcc-11.2.0.tar.xz: OK
.. Unpacking gcc-11.2.0.tar.xz...
=> gcc-11.2.0.tar.xz prepared.

!. gmp source directory already exists, skipping...
!. gmp-6.2.1.tar.zst already exists, skipping...
.. Verifying gmp-6.2.1.tar.zst...
gmp-6.2.1.tar.zst: OK
.. Unpacking gmp-6.2.1.tar.zst...
=> gmp-6.2.1.tar.zst prepared.

!. isl source directory already exists, skipping...
!. isl-0.24.tar.xz already exists, skipping...
.. Verifying isl-0.24.tar.xz...
isl-0.24.tar.xz: OK
.. Unpacking isl-0.24.tar.xz...
=> isl-0.24.tar.xz prepared.

!. linux source directory already exists, skipping...
!. linux-5.14.15.tar.xz already exists, skipping...
.. Verifying linux-5.14.15.tar.xz...
linux-5.14.15.tar.xz: OK
.. Unpacking linux-5.14.15.tar.xz...
=> linux-5.14.15.tar.xz prepared.

!. mpc source directory already exists, skipping...
!. mpc-1.2.1.tar.gz already exists, skipping...
.. Verifying mpc-1.2.1.tar.gz...
mpc-1.2.1.tar.gz: OK
.. Unpacking mpc-1.2.1.tar.gz...
=> mpc-1.2.1.tar.gz prepared.

!. mpfr source directory already exists, skipping...
!. mpfr-4.1.0.tar.xz already exists, skipping...
.. Verifying mpfr-4.1.0.tar.xz...
mpfr-4.1.0.tar.xz: OK
.. Unpacking mpfr-4.1.0.tar.xz...
=> mpfr-4.1.0.tar.xz prepared.

!. musl source directory already exists, skipping...
!. musl-1.2.2.tar.gz already exists, skipping...
.. Verifying musl-1.2.2.tar.gz...
musl-1.2.2.tar.gz: OK
.. Unpacking musl-1.2.2.tar.gz...
=> musl-1.2.2.tar.gz prepared.

!. pkgconf source directory already exists, skipping...
!. pkgconf-1.8.0.tar.xz already exists, skipping...
.. Verifying pkgconf-1.8.0.tar.xz...
pkgconf-1.8.0.tar.xz: OK
.. Unpacking pkgconf-1.8.0.tar.xz...
=> pkgconf-1.8.0.tar.xz prepared.

.. Applying 0001-pure64-for-x86-64.patch from glaucus for gcc...
=> gcc patched with 0001-pure64-for-x86-64!

.. Cleaning builds directory...
=> builds cleaned.
.. Cleaning sysroot directory...
=> sysroot cleaned.

.. Preparing musl headers...
.. Installing musl headers...
firasuke commented 2 years ago

Can you post the log.txt file?

ghost commented 2 years ago
mussel Log File

CXX_SUPPORT: yes
LINUX_HEADERS_SUPPORT: yes
OPENMP_SUPPORT: yes
PARALLEL_SUPPORT: yes
PKG_CONFIG_SUPPORT: yes

XARCH: x86-64
LARCH: x86_64
MARCH: x86_64
XTARGET: x86_64-linux-musl
XGCCARGS: "--with-arch=x86-64 --with-tune=generic"

CFLAGS: "-O2"
CXXFLAGS: "-O2"

PATH: "/home/meth/meth/mussel/toolchain/bin:/usr/bin:/bin"
MAKE: "make INFO_DEPS= infodir= ac_cv_prog_lex_root=lex.yy MAKEINFO=true -j12"

Host Kernel: "Linux meth 5.17.4-arch1-1 #1 SMP PREEMPT Wed, 20 Apr 2022 18:29:28 +0000 x86_64 GNU/Linux"
Host Info:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo

Start Time: Sun Apr 24 13:24:38 PKT 2022

-----
prepare
-----

binutils-2.38.tar.lz: Ok
gcc-11.2.0.tar.xz: Ok
gmp-6.2.1.tar.zst: Ok
isl-0.24.tar.xz: Ok
linux-5.14.15.tar.xz: Ok
mpc-1.2.1.tar.gz: Ok
mpfr-4.1.0.tar.xz: Ok
musl-1.2.2.tar.gz: Ok
pkgconf-1.8.0.tar.xz: Ok

-----
patch
-----

patching file gcc/config/i386/t-linux64

-----
clean
-----

Cleaned builds.
Cleaned sysroot.

-----
*1) musl headers
-----

./tools/install.sh -D -m 644 include/aio.h /home/meth/meth/mussel/sysroot/usr/include/aio.h
./tools/install.sh -D -m 644 include/alloca.h /home/meth/meth/mussel/sysroot/usr/include/alloca.h
./tools/install.sh -D -m 644 include/ar.h /home/meth/meth/mussel/sysroot/usr/include/ar.h
./tools/install.sh -D -m 644 include/arpa/ftp.h /home/meth/meth/mussel/sysroot/usr/include/arpa/ftp.h
./tools/install.sh -D -m 644 include/arpa/inet.h /home/meth/meth/mussel/sysroot/usr/include/arpa/inet.h
./tools/install.sh -D -m 644 include/arpa/nameser.h /home/meth/meth/mussel/sysroot/usr/include/arpa/nameser.h
./tools/install.sh -D -m 644 include/arpa/nameser_compat.h /home/meth/meth/mussel/sysroot/usr/include/arpa/nameser_compat.h
./tools/install.sh -D -m 644 include/arpa/telnet.h /home/meth/meth/mussel/sysroot/usr/include/arpa/telnet.h
./tools/install.sh -D -m 644 include/arpa/tftp.h /home/meth/meth/mussel/sysroot/usr/include/arpa/tftp.h
./tools/install.sh -D -m 644 include/assert.h /home/meth/meth/mussel/sysroot/usr/include/assert.h
mkdir -p lib
make: mkdir: No such file or directory
make: *** [Makefile:96: lib] Error 127
make: *** Waiting for unfinished jobs....
firasuke commented 2 years ago

make: mkdir: No such file or directory

You don't have mkdir installed? It's part of your host's core utilities.

What host system are you using?

firasuke commented 2 years ago

Closing since I didn't receive any feedback from you regarding this issue.

Feel free to open if the issue still presists.