You are not logged in.
On my system I don't have an entry for PACKAGER in makepkg.conf or PKGBUILDs .
This has never caused warnings and resulted in
packager = Unknown Packager
in .PKGINFO files.
with pacman 5.2 I get this warning twice from makepkg :
==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
full makepkg output below.
Is there a way to avoid these warnings other then setting a value for PACKAGER ?
$ makepkg -Crs
==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
==> Making package: flashplayer-standalone 32.0.0.270-1 (wo 23 okt 2019 23:48:05 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for panoramix:
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change Download Size
community/gendesk 1.0.4-1 0.76 MiB 0.17 MiB
Total Download Size: 0.17 MiB
Total Installed Size: 0.76 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gendesk-1.0.4-1-x86_64 170.2 KiB 6.39 MiB/s 00:00 [####################################################] 100%
(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) installing gendesk [####################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Downloading flashplayer-standalone-32.0.0.270.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8310k 100 8310k 0 0 9092k 0 --:--:-- --:--:-- --:--:-- 9082k
==> Validating source files with sha256sums...
flashplayer-standalone-32.0.0.270.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting flashplayer-standalone-32.0.0.270.tar.gz with bsdtar
==> Starting prepare()...
[flashplayer-standalone] Generating desktop file... ok
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
==> 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 "flashplayer-standalone"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: flashplayer-standalone 32.0.0.270-1 (wo 23 okt 2019 23:48:21 CEST)
==> Removing installed dependencies...
checking dependencies...
Package (1) Old Version Net Change
gendesk 1.0.4-1 -0.76 MiB
Total Removed Size: 0.76 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing gendesk [####################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$
Last edited by Lone_Wolf (2019-10-25 10:34:27)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Think you have to modify /usr/share/makepkg/lint_config/variable.sh and comment out that line and replace it with true. Dirty hack but works.
...
# pacman should be able to extract an email address from PACKAGER for WKD key lookup
local match='^([^<>]+ )?<[^<>]*>$'
if ! [[ $PACKAGER =~ $match ]]; then
true
#warning "$(gettext "PACKAGER should have the format 'Example Name <email@address.invalid>'")"
fi
...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Offline
Offline
Looks like there are multiple options then :
- edit /usr/share/makepkg/lint_config/variable.sh
- use pacman-git (fix has been added to master)
- ignore warning until next release
- set PACKAGER to a dummy value
Thanks for the help.
Last edited by Lone_Wolf (2019-10-24 08:15:54)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline