You are not logged in.

#1 2024-08-26 15:40:49

noberuf
Member
Registered: 2024-08-26
Posts: 10

[SOLVED] makepkg fails

Solution: allocated more cores to makepkg with brought it down to 20mins

I am trying to install glibc-eac from the AUR.

I have installed plenty of stuff from the AUR previously with no issue.

I have updated my system prior to this using Pacman

I use git clone to download the package

cd into it then use the makepkg command

Then displays this.

[user@machine-0 glibc-eac]$ makepkg
==> Making package: glibc-eac 2.40-1 (Mon Aug 26 16:31:04 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating glibc git repo...
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found sdt.h
  -> Found sdt-config.h
  -> Found reenable_DT_HASH.patch
==> Validating source files with b2sums...
    glibc ... Passed
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
==> Extracting sources...
  -> Creating working copy of glibc git repo...
Reset branch 'makepkg'
==> Starting prepare()...
patching file Makeconfig
Hunk #1 succeeded at 380 (offset 2 lines).
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether g++ can link programs... yes
checking for systemtap static probe support... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 loongarch m68k microblaze checking for grep that handles long lines and -e... /sbin/grep
checking for egrep... /sbin/grep -E
mips nios2 or1k powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /sbin/grep
checking for egrep... (cached) /sbin/grep -E
sparc x86_64 checking whether gcc compiles in -mx32 mode by default... no

checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ld... ld
checking version of ld... 2.43.0, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 4.4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.22.5, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 7.1, ok
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... gawk
checking version of gawk... 5.3.0, ok
checking for bison... bison
checking version of bison... 3.8.2, ok
checking if gcc is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.12.5, ok
checking for use of fpu sysdeps directories... yes
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking whether the linker supports textrels along with ifunc... yes
checking for GNU attribute retain support... yes
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking LD_LIBRARY_PATH variable... ok
checking for bash... /sbin/bash
checking for perl... /sbin/perl
checking for install-info... /sbin/install-info
checking for .set assembler directive... yes
checking linker support for protected data symbol... no
checking linker support for INSERT in linker script... yes
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for libunwind-support in compiler... no
checking whether --noexecstack is desirable for .S files... yes
checking for linker that supports -z execstack... yes
checking for linker that supports -z start-stop-gc... yes
checking for linker that supports --depaudit... yes
checking for linker that supports -z pack-relative-relocs... yes
checking for linker that supports --no-dynamic-linker... yes
checking for -static-pie... yes
checking for -fpie... yes
checking for GLOB_DAT reloc... yes
checking for tls descriptor support... gnu2
checking if -Wno-ignored-attributes is required for aliases... 
checking whether cc puts quotes around section names... no
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for compiler option to disable generation of FMA instructions... -ffp-contract=off
checking for compiler option that -fsignaling-nans... -fsignaling-nans
checking if gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes
checking for libgd... yes
checking for is_selinux_enabled in -lselinux... no
checking for maximum supported _FORTIFY_SOURCE level... 3
checking whether the assembler requires one version per symbol... no
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... yes
running configure fragment for sysdeps/unix/sysv/linux/x86_64/64
running configure fragment for sysdeps/unix/sysv/linux/x86_64
running configure fragment for sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 3.2.0 or later
checking for kernel header at least 4.4... ok
checking for symlinks in /usr/include... ok
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/x86_64
checking -mprefer-vector-width=128... yes
checking for linker that supports -z mark-plt... yes
checking whether CET can be enabled... yes
checking whether assembler supports CET... yes
checking whether -mamx-tile works properly... yes
checking whether -mapxf is enabled... no
running configure fragment for sysdeps/x86
checking for linker x86 ISA level support... yes
checking for LAHF/SAHF instruction support... no
checking for MOVBE instruction support... no
checking for ISA level support... baseline
checking whether -fPIC is default... yes
checking whether -fPIE is default... yes
checking if we can build programs as PIE... yes
checking if we can build static PIE programs... yes
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
make -r PARALLELMFLAGS="" -C /home/user/Downloads/test/glibc-eac/src/glibc objdir=`pwd` all
make[1]: Entering directory '/home/user/Downloads/test/glibc-eac/src/glibc'

After this the terminal goes wild and all i get are blocks of text

gawk -f scripts/gen-sorted.awk \
       -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual po argp localedata timezone rt conform debug mathvec support dlfcn elf' \
       -v srcpfx='' \
       sysdeps/nptl/Subdirs sysdeps/unix/inet/Subdirs sysdeps/posix/Subdirs assert/Depend catgets/Depend debug/Depend hesiod/Depend iconvdata/Depend intl/Depend libio/Depend localedata/Depend malloc/Depend mathvec/Depend nis/Depend nscd/Depend nss/Depend posix/Depend resolv/Depend rt/Depend stdio-common/Depend stdlib/Depend string/Depend support/Depend time/Depend wcsmbs/Depend > /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-sorted-tmp
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-sorted-tmp /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-sorted
sed '/^[        ]*%/!s/#.*$//;/^[       ]*$/d;s/^[      ]*%/#/' \
    sysdeps/unix/sysv/linux/x86_64/64/shlib-versions sysdeps/unix/sysv/linux/shlib-versions nptl/shlib-versions nptl_db/shlib-versions shlib-versions \
| gcc -E -undef    -Iinclude   -I/home/user/Downloads/test/glibc-eac/src/glibc-build  -Isysdeps/unix/sysv/linux/x86_64/64  -Isysdeps/unix/sysv/linux/x86_64/include -Isysdeps/unix/sysv/linux/x86_64  -Isysdeps/unix/sysv/linux/x86/include -Isysdeps/unix/sysv/linux/x86  -Isysdeps/x86/nptl  -Isysdeps/unix/sysv/linux/wordsize-64  -Isysdeps/x86_64/nptl  -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux  -Isysdeps/nptl  -Isysdeps/pthread  -Isysdeps/gnu  -Isysdeps/unix/inet  -Isysdeps/unix/sysv  -Isysdeps/unix/x86_64  -Isysdeps/unix  -Isysdeps/posix  -Isysdeps/x86_64/64  -Isysdeps/x86_64/fpu/multiarch  -Isysdeps/x86_64/fpu  -Isysdeps/x86/fpu  -Isysdeps/x86_64/multiarch  -Isysdeps/x86_64  -Isysdeps/x86/include -Isysdeps/x86  -Isysdeps/ieee754/float128  -Isysdeps/ieee754/ldbl-96/include -Isysdeps/ieee754/ldbl-96  -Isysdeps/ieee754/dbl-64  -Isysdeps/ieee754/flt-32  -Isysdeps/wordsize-64  -Isysdeps/ieee754  -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include-fixed -isystem /usr/include -D_LIBC_REENTRANT  -include include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
           > /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v.iT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v.iT /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v.i > /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.vT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.vT /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v
gawk -f scripts/soversions.awk /home/user/Downloads/test/glibc-eac/src/glibc-build/shlib-versions.v > /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.iT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.iT /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.i
(while read which lib number setname; do \
   eval seen_$which=1; \
   test x"$which" = xDEFAULT || continue; \
   case $number in \
     [0-9]*) echo "$lib.so-version=.$number"; \
             echo "all-sonames+=$lib=$lib.so\$($lib.so-version)";;\
     *)      echo "$lib.so-version=$number"; \
             echo "all-sonames+=$lib=\$($lib.so-version)";;\
   esac; \
 done; \
 echo soversions.mk-done = t;) < /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.i > /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.mkT; exit 0
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.mkT /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.mk
sed '/^[        ]*%/!s/#.*$//;/^[       ]*$/d;s/^[      ]*%/#/' \
    csu/Versions iconv/Versions locale/Versions assert/Versions ctype/Versions intl/Versions catgets/Versions math/Versions setjmp/Versions signal/Versions stdlib/Versions stdio-common/Versions libio/Versions dlfcn/Versions nptl/Versions rt/Versions malloc/Versions string/Versions wcsmbs/Versions time/Versions dirent/Versions posix/Versions io/Versions termios/Versions resource/Versions misc/Versions socket/Versions sysvipc/Versions gmon/Versions wctype/Versions argp/Versions debug/Versions nptl_db/Versions inet/Versions resolv/Versions nss/Versions hesiod/Versions sunrpc/Versions nis/Versions login/Versions elf/Versions sysdeps/unix/sysv/linux/x86_64/Versions sysdeps/unix/sysv/linux/wordsize-64/Versions sysdeps/unix/sysv/linux/Versions sysdeps/x86_64/fpu/Versions sysdeps/x86_64/Versions sysdeps/x86/Versions sysdeps/ieee754/float128/Versions sysdeps/wordsize-64/Versions \
| gcc -E -undef    -Iinclude   -I/home/user/Downloads/test/glibc-eac/src/glibc-build  -Isysdeps/unix/sysv/linux/x86_64/64  -Isysdeps/unix/sysv/linux/x86_64/include -Isysdeps/unix/sysv/linux/x86_64  -Isysdeps/unix/sysv/linux/x86/include -Isysdeps/unix/sysv/linux/x86  -Isysdeps/x86/nptl  -Isysdeps/unix/sysv/linux/wordsize-64  -Isysdeps/x86_64/nptl  -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux  -Isysdeps/nptl  -Isysdeps/pthread  -Isysdeps/gnu  -Isysdeps/unix/inet  -Isysdeps/unix/sysv  -Isysdeps/unix/x86_64  -Isysdeps/unix  -Isysdeps/posix  -Isysdeps/x86_64/64  -Isysdeps/x86_64/fpu/multiarch  -Isysdeps/x86_64/fpu  -Isysdeps/x86/fpu  -Isysdeps/x86_64/multiarch  -Isysdeps/x86_64  -Isysdeps/x86/include -Isysdeps/x86  -Isysdeps/ieee754/float128  -Isysdeps/ieee754/ldbl-96/include -Isysdeps/ieee754/ldbl-96  -Isysdeps/ieee754/dbl-64  -Isysdeps/ieee754/flt-32  -Isysdeps/wordsize-64  -Isysdeps/ieee754  -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include-fixed -isystem /usr/include -D_LIBC_REENTRANT  -include include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
           > /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v.iT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v.iT /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v.i > /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.vT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.vT /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v
LC_ALL=C gawk -f scripts/versionlist.awk /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v > /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.defT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.defT /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.def
{ while read which lib version setname; do \
    test x"$which" = xDEFAULT || continue; \
    test -z "$setname" || echo "$lib : $setname"; \
  done < /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.i; \
  cat /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.def; \
} | LC_ALL=C gawk -f scripts/firstversions.awk > /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.allT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.allT /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.all
( echo 'sysd-versions-subdirs = csu iconv locale localedata iconvdata assert ctype intl catgets math setjmp signal stdlib stdio-common libio dlfcn nptl rt malloc string wcsmbs timezone time dirent posix io termios resource misc socket sysvipc gmon gnulib wctype manual po argp conform debug mathvec support nptl_db inet resolv nss hesiod sunrpc nis nscd login elf sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic' ; \
  cat /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.v \
  | LC_ALL=C gawk -v buildroot=/home/user/Downloads/test/glibc-eac/src/glibc-build/ -v defsfile=/home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.all \
                    -v move_if_change='/bin/sh scripts/move-if-change' \
                    -f scripts/versions.awk; \
) > /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-versionsT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-versionsT /home/user/Downloads/test/glibc-eac/src/glibc-build/sysd-versions
touch /home/user/Downloads/test/glibc-eac/src/glibc-build/versions.stmp
gawk -f scripts/haveversions.awk /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.all > /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.mkT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.mkT /home/user/Downloads/test/glibc-eac/src/glibc-build/Versions.mk
printf "#include <time64-compat.h>\n#ifdef TIME64_NON_DEFAULT\nhave-time64-compat = yes\n#endif" \
| gcc -E -undef    -Iinclude   -I/home/user/Downloads/test/glibc-eac/src/glibc-build  -Isysdeps/unix/sysv/linux/x86_64/64  -Isysdeps/unix/sysv/linux/x86_64/include -Isysdeps/unix/sysv/linux/x86_64  -Isysdeps/unix/sysv/linux/x86/include -Isysdeps/unix/sysv/linux/x86  -Isysdeps/x86/nptl  -Isysdeps/unix/sysv/linux/wordsize-64  -Isysdeps/x86_64/nptl  -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux  -Isysdeps/nptl  -Isysdeps/pthread  -Isysdeps/gnu  -Isysdeps/unix/inet  -Isysdeps/unix/sysv  -Isysdeps/unix/x86_64  -Isysdeps/unix  -Isysdeps/posix  -Isysdeps/x86_64/64  -Isysdeps/x86_64/fpu/multiarch  -Isysdeps/x86_64/fpu  -Isysdeps/x86/fpu  -Isysdeps/x86_64/multiarch  -Isysdeps/x86_64  -Isysdeps/x86/include -Isysdeps/x86  -Isysdeps/ieee754/float128  -Isysdeps/ieee754/ldbl-96/include -Isysdeps/ieee754/ldbl-96  -Isysdeps/ieee754/dbl-64  -Isysdeps/ieee754/flt-32  -Isysdeps/wordsize-64  -Isysdeps/ieee754  -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include-fixed -isystem /usr/include -D_LIBC_REENTRANT  -include include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x assembler-with-cpp - > /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mk.iT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mk.iT /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mk.i
sed '/^[        ]*#/d;/^[       ]*$/d' /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mk.i > /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mkT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mkT /home/user/Downloads/test/glibc-eac/src/glibc-build/time64-compat.mk
(echo "ifeq (\$(subdir)\$(build-mathvec),mathyes)"; \
 echo; \
 echo "extra-test-objs += \\"; \
 for i in "" "-avx" "-avx2" "-avx512f"; do \
   echo "  test-libmvec$i.o \\"; \
 done; \
 echo "# extra-test-objs"; \
 echo; \
 for i in "" "-avx" "-avx2" "-avx512f"; do \
   for t in test-double-libmvec-acos test-double-libmvec-acosh test-double-libmvec-asin test-double-libmvec-asinh test-double-libmvec-atan test-double-libmvec-atan2 test-double-libmvec-atanh test-double-libmvec-cbrt test-double-libmvec-cos test-double-libmvec-cosh test-double-libmvec-erf test-double-libmvec-erfc test-double-libmvec-exp test-double-libmvec-exp10 test-double-libmvec-exp2 test-double-libmvec-expm1 test-double-libmvec-hypot test-double-libmvec-log test-double-libmvec-log10 test-double-libmvec-log1p test-double-libmvec-log2 test-double-libmvec-pow test-double-libmvec-sin test-double-libmvec-sincos test-double-libmvec-sinh test-double-libmvec-tan test-double-libmvec-tanh test-float-libmvec-acosf test-float-libmvec-acoshf test-float-libmvec-asinf test-float-libmvec-asinhf test-float-libmvec-atanf test-float-libmvec-atan2f test-float-libmvec-atanhf test-float-libmvec-cbrtf test-float-libmvec-cosf test-float-libmvec-coshf test-float-libmvec-erff test-float-libmvec-erfcf test-float-libmvec-expf test-float-libmvec-exp10f test-float-libmvec-exp2f test-float-libmvec-expm1f test-float-libmvec-hypotf test-float-libmvec-logf test-float-libmvec-log10f test-float-libmvec-log1pf test-float-libmvec-log2f test-float-libmvec-powf test-float-libmvec-sinf test-float-libmvec-sincosf test-float-libmvec-sinhf test-float-libmvec-tanf test-float-libmvec-tanhf; do \
     echo "\$(objpfx)$t$i: \\"; \
     echo "  \$(objpfx)$t$i.o \\"; \
     echo "  \$(objpfx)test-libmvec$i.o \$(libmvec)"; \
     echo; \
   done; \
 done; \
 for t in acos acosh asin asinh atan atan2 atanh cbrt cos cosh erf erfc exp exp10 exp2 expm1 hypot log log10 log1p log2 pow sin sincos sinh tan tanh ; do \
   echo "CFLAGS-test-double-libmvec-$t.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags)"; \
   echo "CFLAGS-test-double-libmvec-$t-avx.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(double-vlen4-arch-ext-cflags)"; \
   echo "CFLAGS-test-double-libmvec-$t-avx2.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(double-vlen4-arch-ext2-cflags)"; \
   echo "CFLAGS-test-double-libmvec-$t-avx512f.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(double-vlen8-arch-ext-cflags)"; \
   echo; \
   echo "CFLAGS-test-float-libmvec-${t}f.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags)"; \
   echo "CFLAGS-test-float-libmvec-${t}f-avx.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(float-vlen8-arch-ext-cflags)"; \
   echo "CFLAGS-test-float-libmvec-${t}f-avx2.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(float-vlen8-arch-ext2-cflags)"; \
   echo "CFLAGS-test-float-libmvec-${t}f-avx512f.c = \\"; \
   echo "  \$(libmvec-abi-test-cflags) \\"; \
   echo "  \$(float-vlen16-arch-ext-cflags)"; \
   echo; \
 done; \
 echo "endif"; \
 echo "ifeq (\$(subdir),benchtests)"; \
 for t in acos acosh asin asinh atan atan2 atanh cbrt cos cosh erf erfc exp exp10 exp2 expm1 hypot log log10 log1p log2 pow sin sinh tan tanh ; do \
   echo "CFLAGS-bench-double-vlen4-$t.c = \\"; \
   echo "  \$(double-vlen4-arch-ext-cflags)"; \
   echo "CFLAGS-bench-double-vlen4-avx2-$t.c = \\"; \
   echo "  \$(double-vlen4-arch-ext2-cflags)"; \
   echo "CFLAGS-bench-double-vlen8-$t.c = \\"; \
   echo "  \$(double-vlen8-arch-ext-cflags)"; \
   echo; \
   echo "CFLAGS-bench-float-vlen8-${t}f.c = \\"; \
   echo "  \$(float-vlen8-arch-ext-cflags)"; \
   echo "CFLAGS-bench-float-vlen8-avx2-${t}f.c = \\"; \
   echo "  \$(float-vlen8-arch-ext2-cflags)"; \
   echo "CFLAGS-bench-float-vlen16-${t}f.c = \\"; \
   echo "  \$(float-vlen16-arch-ext-cflags)"; \
   echo; \
 done; \
 echo "endif") > /home/user/Downloads/test/glibc-eac/src/glibc-build/libmvec.mkT
mv -f /home/user/Downloads/test/glibc-eac/src/glibc-build/libmvec.mkT /home/user/Downloads/test/glibc-eac/src/glibc-build/libmvec.mk
gawk -v buildlist="iconvprogs iconvdata ldconfig libmemusage libpcprofile librpcsvc locale_programs memusagestat nonlib nscd extramodules libnldbl libsupport testsuite testsuite_internal" -f scripts/gen-libc-modules.awk /home/user/Downloads/test/glibc-eac/src/glibc-build/soversions.i > /home/user/Downloads/test/glibc-eac/src/glibc-build/libc-modules.T
/bin/sh scripts/move-if-change /home/user/Downloads/test/glibc-eac/src/glibc-build/libc-modules.T /home/user/Downloads/test/glibc-eac/src/glibc-build/libc-modules.h
^Cmake: *** [Makefile:9: all] Interrupt

==> ERROR: Aborted by user! Exiting...

I have left this to run before for 30mins and it just keeps going

Last edited by noberuf (2024-08-26 17:25:12)

Offline

#2 2024-08-26 15:45:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] makepkg fails

What kind of hardware is this on (CPU and RAM at least)?

There's no sign that anything went wrong in your build, you just interrupted it before it completed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-08-26 15:48:07

Whoracle
Member
Registered: 2010-11-02
Posts: 219

Re: [SOLVED] makepkg fails

So, you don't get an error, you are interrupting the compile process. And the question is what exactly?

Compiling takes time, how much depends on the software. While I haven't ever compiled glibc, upwards of 30 minutes is something I'd expect, depending on your hardware.

Offline

#4 2024-08-26 15:49:10

noberuf
Member
Registered: 2024-08-26
Posts: 10

Re: [SOLVED] makepkg fails

Trilby wrote:

What kind of hardware is this on (CPU and RAM at least)?

There's no sign that anything went wrong in your build, you just interrupted it before it completed.

I have a 8700k and 16GB of memory

I ran it again just for illustration if i don't terminate it will go on forever

Offline

#5 2024-08-26 15:55:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] makepkg fails

Cool!  Can I learn more about your time dilation technology that allows you to fit "forever" into three and a half minutes?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2024-08-26 16:11:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED] makepkg fails

We need tiG-toCC, a fork of gcc that plays an advertisement every 30 seconds to keep the users entertained.
@noberuf, run makepkg and watch a lot of cat videos - building glibc will easily take north of an hour, depending on the sideload much longer.

Offline

#7 2024-08-26 16:20:08

loqs
Member
Registered: 2014-03-06
Posts: 18,893

Re: [SOLVED] makepkg fails

How many jobs have you configured make to run in parallel?

Offline

#8 2024-08-26 17:21:35

noberuf
Member
Registered: 2024-08-26
Posts: 10

Re: [SOLVED] makepkg fails

loqs wrote:

How many jobs have you configured make to run in parallel?

No i had not set this up.

Just did it now and it finished compiling in 20 mins.

I did not expect compiling to take longer than 30 mins.

Allocating more cores helped a lot.

Thank you for the help.

Offline

Board footer

Powered by FluxBB