I get warnings installing from AUR

Hi, I am installing virtualbox-ext-oracle from AUR. I run yay -S virtualbox-ext-oracle but it gives me two warnings.

:: Proceed with install? [Y/n] y
==> Making package: virtualbox-ext-oracle 7.0.14-1 (Wed 17 Jan 2024 02:11:53 PM CET)
==> Retrieving sources…
→ Downloading Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17.4M 100 17.4M 0 0 2817k 0 0:00:06 0:00:06 --:–:-- 3445k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums…
Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack … Passed
:: (1/1) Parsing SRCINFO: virtualbox-ext-oracle
==> Making package: virtualbox-ext-oracle 7.0.14-1 (Wed 17 Jan 2024 02:12:02 PM CET)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack
==> Validating source files with sha256sums…
Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack … Passed
==> Removing existing $srcdir/ directory…
==> Extracting sources…
==> Starting prepare()…
==> Sources are ready.
==> Making package: virtualbox-ext-oracle 7.0.14-1 (Wed 17 Jan 2024 02:12:07 PM CET)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment…
==> Starting package()…
==> Tidying install…
→ Removing libtool files…
→ Purging unwanted files…
→ Removing static library files…
→ Compressing man and info pages…
==> Checking for packaging issues…
==> Creating package “virtualbox-ext-oracle”…
→ Generating .PKGINFO file…
→ Generating .BUILDINFO file…
→ Adding install file…
→ Generating .MTREE file…
→ Compressing package…
==> Leaving fakeroot environment.
==> Finished making: virtualbox-ext-oracle 7.0.14-1 (Wed 17 Jan 2024 02:12:10 PM CET)

Is this normal and is it safe installing this package?

The first warning is about skipping pgp signatures, and can be ignored as this is most likely intentional skipped by the packager

The second warning is a build warning, no clue if this is a problem though

1 Like

Warnings are often informational, and not critical errors. This is just giving you some information. It is not a problem. It is a normal warning to see.

This warning occurs because, if I am not mistaken, yay is using the -e option with makepkg; from man makepkg:

   -e, --noextract
       Do not extract source files or run the prepare() function (if present); use whatever source already exists in the $srcdir/ directory. This is
       handy if you want to go into $srcdir/ and manually patch or tweak code...

yay uses this flag so that a user can apply patches or make edits/corrections to a package that needs them.

Note that using the -e option can cause problems with poorly written PKGBUILDs - for example, there was a problem like this last year in the AUR package signal-desktop-beta, you can read the comments on the package’s AUR page.

2 Likes

Thank you @fred666 and @Stagger_Lee for your replies!
I installed the package after your explanation!

1 Like

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