You are not logged in.

#1 2019-10-23 21:56:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

[Solved] pacman 5.2 - makepkg warning wrt empty PACKAGER

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

#2 2019-10-23 22:32:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,643
Website

Re: [Solved] pacman 5.2 - makepkg warning wrt empty PACKAGER

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 packagesZsh and other configs

Offline

#3 2019-10-23 23:10:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,084

Re: [Solved] pacman 5.2 - makepkg warning wrt empty PACKAGER

Online

#4 2019-10-24 05:23:29

a821
Member
Registered: 2012-10-31
Posts: 381

Re: [Solved] pacman 5.2 - makepkg warning wrt empty PACKAGER

Offline

#5 2019-10-24 08:15:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: [Solved] pacman 5.2 - makepkg warning wrt empty PACKAGER

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

Board footer

Powered by FluxBB