From nobody Tue Jan 11 09:29:06 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AEA821931D71 for ; Tue, 11 Jan 2022 09:29:20 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JY54H2KGSz4bZf; Tue, 11 Jan 2022 09:29:19 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 20B9T6q8027436 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 11 Jan 2022 10:29:07 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] Message-ID: Date: Tue, 11 Jan 2022 10:29:06 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US From: Andrea Venturoli Subject: Changing ClamAV user To: yasu@FreeBSD.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4JY54H2KGSz4bZf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Hello. I'm using Poudriere with 2021Q1 branch. Due to MIMEDefang needing this, I used to set CLAMAVUSER=mailnull in /usr/local/etc/poudriere.d/make.conf. Last time it didn't work. I saw #259987, so changed CLAMAVUSER=mailnull to _CLAMAVUSER=mailnull. Alas now building clamav fails in the stage phase with: > ===> Creating users > ** Cannot find any information about user `mailnull' in /usr/ports/UIDs. > *** Error code 1 This wasn't happening with previous quarterly. I tried adding mailnull to /usr/ports/UIDs: then clamav builds, but when I try to compile clamav-unofficial-sigs, it fails in the build-depends stage with the following log. > ===> clamav-unofficial-sigs-7.0.1 depends on executable: clamscan - not found > ===> Installing existing package /packages/All/clamav-0.104.1,1.pkg > [122amd64-default-job-01] Installing clamav-0.104.1,1... > [122amd64-default-job-01] `-- Installing arc-5.21p... > [122amd64-default-job-01] `-- Extracting arc-5.21p: .... done > [122amd64-default-job-01] `-- Installing arj-3.10.22_8... > [122amd64-default-job-01] `-- Extracting arj-3.10.22_8: .......... done > [122amd64-default-job-01] `-- Installing curl-7.80.0... > [122amd64-default-job-01] | `-- Installing libnghttp2-1.46.0... > [122amd64-default-job-01] | `-- Extracting libnghttp2-1.46.0: ....... done > [122amd64-default-job-01] | `-- Installing libssh2-1.10.0,3... > [122amd64-default-job-01] | `-- Extracting libssh2-1.10.0,3: .......... done > [122amd64-default-job-01] `-- Extracting curl-7.80.0: .......... done > [122amd64-default-job-01] `-- Installing json-c-0.15_1... > [122amd64-default-job-01] `-- Extracting json-c-0.15_1: .......... done > [122amd64-default-job-01] `-- Installing lha-1.14i_8... > [122amd64-default-job-01] `-- Extracting lha-1.14i_8: .. done > [122amd64-default-job-01] `-- Installing libmspack-0.10.1... > [122amd64-default-job-01] `-- Extracting libmspack-0.10.1: ...... done > [122amd64-default-job-01] `-- Installing libxml2-2.9.12... > [122amd64-default-job-01] `-- Extracting libxml2-2.9.12: .......... done > [122amd64-default-job-01] `-- Installing pcre2-10.39... > [122amd64-default-job-01] `-- Extracting pcre2-10.39: .......... done > [122amd64-default-job-01] `-- Installing unzoo-4.4_2... > [122amd64-default-job-01] `-- Extracting unzoo-4.4_2: .. done > ===> Creating groups. > Creating group 'clamav' with gid '106'. > Using existing group 'mail'. > ===> Creating users > Using existing user 'mailnull'. > ===> Creating homedir(s) > install: unknown group -o > pkg-static: PRE-INSTALL script failed > > Failed to install the following 1 package(s): /packages/All/clamav-0.104.1,1.pkg > *** Error code 1 > > Stop. > make: stopped in /usr/ports/security/clamav-unofficial-sigs Am I doing this wrong? What do I need to achieve this result? bye & Thanks av.