Libfakeroot.so Cannot Be Preloaded?

I’m trying to build the latest version of masterpdfeditor, but the install keeps failing for some reason.

This is the error: ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

I noticed that the install of a few other packages had similar issues. How can I resolve this?

EDIT 0: Full Post of Upgrading MasterPDFEditor

Preparing...
Cloning masterpdfeditor build files...
Checking masterpdfeditor dependencies...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...

Building masterpdfeditor...
==> Making package: masterpdfeditor 5.7.40-4 (Sat 20 Mar 2021 12:02:07 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found master-pdf-editor-5.7.40-qt5.x86_64.tar.gz
==> Validating source_x86_64 files with sha1sums...
    master-pdf-editor-5.7.40-qt5.x86_64.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build masterpdfeditor

I can’t reproduce it. Make sure you have the base-devel group installed:

sudo pacman -Syu --needed base-devel

It comes back with there is nothing to do :smiley:

Are there any instructions to replicate or figure out the issue?

I updated the original post to include the information from pamac.

I can’t reproduce that either. Try doing it manually:

git clone https://aur.archlinux.org/masterpdfeditor.git
cd masterpdfeditor
makepkg -srcif
sarah@MidnightStarSign:~/masterpdfeditor$ makepkg -srcif
==> Making package: masterpdfeditor 5.7.40-4 (Sat 20 Mar 2021 02:04:19 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading master-pdf-editor-5.7.40-qt5.x86_64.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15.1M  100 15.1M    0     0  6831k      0  0:00:02  0:00:02 --:--:-- 6831k
==> Validating source_x86_64 files with sha1sums...
    master-pdf-editor-5.7.40-qt5.x86_64.tar.gz ... Passed
==> Extracting sources...
  -> Extracting master-pdf-editor-5.7.40-qt5.x86_64.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "masterpdfeditor"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: masterpdfeditor 5.7.40-4 (Sat 20 Mar 2021 02:04:23 PM EDT)
==> Installing package masterpdfeditor with pacman -U...
[sudo] password for sarah: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)      Old Version  New Version  Net Change

masterpdfeditor  5.7.40-2     5.7.40-4       0.00 MiB

Total Installed Size:  49.01 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [##########################] 100%
(1/1) checking package integrity                   [##########################] 100%
(1/1) loading package files                        [##########################] 100%
(1/1) checking for file conflicts                  [##########################] 100%
(1/1) checking available disk space                [##########################] 100%
:: Processing package changes...
(1/1) upgrading masterpdfeditor                    [##########################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
==> Cleaning up...
sarah@MidnightStarSign:~/masterpdfeditor$

There have been some issues with the PKGBUILD recently. I was able to successfully run it a few days ago (3/17). The comments on the AUR page may be of some help or give some insight:

https://aur.archlinux.org/packages/masterpdfeditor/

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.