Bug 261201

Summary: security/clamav: Fails to build when _CLAMAVUSER is set: ** Cannot find any information about user `....' in /usr/ports/UIDs.
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: Yasuhiro Kimura <yasu>
Status: Open ---    
Severity: Affects Some People Keywords: needs-qa, regression
Priority: --- Flags: bugzilla: maintainer-feedback? (yasu)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
GIT diff none

Description ml 2022-01-14 15:06:07 UTC
Created attachment 231006 [details]
GIT diff

The port supports changing clamav's user, by settings _CLAMAVUSER in make.conf.
However, setting this to an unknown user will make Poudriere fail in the stage phase, with:

> ===> Creating users
> ** Cannot find any information about user `....' in /usr/ports/UIDs.
> *** Error code 1

This wasn't happening with previous quarterly.
I compared the Makefile with the one from security/clamav-lts and saw it handles this differently.

Applying the same solution I can compile the new version too.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-14 23:31:11 UTC
^Triage: [tags] in issue Titles are deprecated