Fakeroot segmentation fault core dumped

I started to get this fakeroot issue when I had done a fresh install of manjaro linux and tried to install packages from AUR repos.
Currently can’t install any AUR packages that use fakeroot.
These are outputs of various commands ran on terminal.
$fakeroot

/usr/bin/fakeroot: line 178:  7338 Segmentation fault      (core dumped) FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" ${SHELL:-/bin/sh}

// install AUR package
$makepkg

Entering fakeroot environment...
/usr/bin/fakeroot: line 178:  9015 Segmentation fault      (core dumped) FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" "$@"

I tried $strace fakeroot, didnt help much.
Searched this issue on various platforms but couldn’t find exact match.

Can anyone help me out here ?

Additional details:
$fakeroot -v

fakeroot version 1.25.3

$mhwd-kernel -li

Currently running: 5.10.42-1-MANJARO (linux510)
   The following kernels are installed in your system:
    * linux510

Welcome to the forum! :wave:

Tip: When pasting terminal output on Discourse forums, one can either…

  • Highlight it and use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    text
    ```

  • Use HTML:

    <pre><code>
    text
    </pre></code>

Please edit your post accordingly.

Are you fully up to date and have the base-devel group installed? It’s required for using the AUR:

sudo pacman -Syu --needed base-devel

Thanks @Yochanan for your reply.
Updated post with your suggestions.
Yes, I ran
sudo pacman -Syu --needed base-devel
Here is the output

:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: autoconf-2.71-1 is up to date – skipping
warning: automake-1.16.3-1 is up to date – skipping
warning: binutils-2.36.1-3 is up to date – skipping
warning: bison-3.7.6-1 is up to date – skipping
warning: fakeroot-1.25.3-2 is up to date – skipping
warning: file-5.40-5 is up to date – skipping
warning: findutils-4.8.0-1 is up to date – skipping
warning: flex-2.6.4-3 is up to date – skipping
warning: gawk-5.1.0-1 is up to date – skipping
warning: gcc-11.1.0-1 is up to date – skipping
warning: gettext-0.21-1 is up to date – skipping
warning: grep-3.6-1 is up to date – skipping
warning: groff-1.22.4-5 is up to date – skipping
warning: gzip-1.10-3 is up to date – skipping
warning: libtool-2.4.6+42+gb88cebd5-16 is up to date – skipping
warning: m4-1.4.18-3 is up to date – skipping
warning: make-4.3-3 is up to date – skipping
warning: pacman-5.2.2-6 is up to date – skipping
warning: patch-2.7.6-8 is up to date – skipping
warning: pkgconf-1.7.3-1 is up to date – skipping
warning: sed-4.8-1 is up to date – skipping
warning: sudo-1.9.7-1 is up to date – skipping
warning: texinfo-6.7-3 is up to date – skipping
warning: which-2.21-5 is up to date – skipping
:: Starting full system upgrade…
there is nothing to do

Not quite. You used the Quote " button instead. :wink:

Should be much better now :slight_smile:

Still looking to get this fixed as I have some pending drivers that need to installed.
If possible can anyone suggest workaround until we get actual fix ?