Bug 261201 - security/clamav: Fails to build when _CLAMAVUSER is set: ** Cannot find any information about user `....' in /usr/ports/UIDs.
Summary: security/clamav: Fails to build when _CLAMAVUSER is set: ** Cannot find any i...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yasuhiro Kimura
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2022-01-14 15:06 UTC by ml
Modified: 2022-01-14 23:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yasu)
koobs: merge-quarterly?


Attachments
GIT diff (466 bytes, text/plain)
2022-01-14 15:06 UTC, ml
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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