From nobody Mon Apr 24 10:20:18 2023 X-Original-To: freebsd-questions@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 4Q4h3L4Wg6z46d9q for ; Mon, 24 Apr 2023 10:20:30 +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 4Q4h3J6g05z3Fjh for ; Mon, 24 Apr 2023 10:20:28 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=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 33OAKIpD063695 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Mon, 24 Apr 2023 12:20:18 +0200 (CEST) (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: <2d907551-d0b4-f674-2586-3216e35c530f@netfence.it> Date: Mon, 24 Apr 2023 12:20:18 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: Poudriere "bad file descriptor" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.86 X-Spamd-Result: default: False [-3.58 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.78)[-0.783]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XAW(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; BLOCKLISTDE_FAIL(0.00)[78.134.96.152:server fail]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Q4h3J6g05z3Fjh X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello. I run Poudriere on an amd64 server (8 cores Ryzen 7 with 32GiB of RAM and ZFS RAID5 on enterprise SSDs) which has always worked fine. Since I upgraded to 13.2, my bulk runs often err on some port. I looked in the logs of the failed port and always find the cause to be a "Bad file descrptor" message. Partial example from devel/pyside2 (but it's not always the same port): > ... > ===> py39-pyside2-5.15.2_2 depends on shared library: libQt5TextToSpeech.so - not found > ===> Installing existing package /packages/All/qt5-speech-5.15.8p1.pkg > [132amd64-default-job-06] Installing qt5-speech-5.15.8p1... > [132amd64-default-job-06] `-- Installing speech-dispatcher-0.11.2_1... > [132amd64-default-job-06] | `-- Installing dotconf-1.3_1... > [132amd64-default-job-06] | `-- Extracting dotconf-1.3_1: ...... done > [132amd64-default-job-06] | `-- Installing espeak-ng-1.51.1_3... > [132amd64-default-job-06] | | `-- Installing pcaudiolib-1.2... > [132amd64-default-job-06] | | `-- Extracting pcaudiolib-1.2: ..... done > [132amd64-default-job-06] | `-- Extracting espeak-ng-1.51.1_3: .......... done > [132amd64-default-job-06] | `-- Installing libltdl-2.4.7... > [132amd64-default-job-06] | `-- Extracting libltdl-2.4.7: ......... done > [132amd64-default-job-06] | `-- Installing libsndfile-1.2.0... > [132amd64-default-job-06] | | `-- Installing flac-1.4.2... > [132amd64-default-job-06] | | `-- Installing libogg-1.3.5,4... > [132amd64-default-job-06] | | `-- Extracting libogg-1.3.5,4: ......... done > [132amd64-default-job-06] | | `-- Extracting flac-1.4.2: .......... done > [132amd64-default-job-06] | | `-- Installing lame-3.100_4... > [132amd64-default-job-06] | | `-- Extracting lame-3.100_4: .......... done > [132amd64-default-job-06] | | `-- Installing libvorbis-1.3.7_2,3... > [132amd64-default-job-06] | | `-- Extracting libvorbis-1.3.7_2,3: .......... done > [132amd64-default-job-06] | | `-- Installing mpg123-1.31.3... > [132amd64-default-job-06] | | `-- Extracting mpg123-1.31.3: .......... done > [132amd64-default-job-06] | | `-- Installing opus-1.3.1... > [132amd64-default-job-06] | | `-- Extracting opus-1.3.1: .......... done > [132amd64-default-job-06] | `-- Extracting libsndfile-1.2.0: .......... done > [132amd64-default-job-06] `-- Extracting speech-dispatcher-0.11.2_1: ....... > pkg-static: Fail to chown /locale/pt_PT/symbols.dic:Bad file descriptor > [132amd64-default-job-06] `-- Extracting speech-dispatcher-0.11.2_1... done > ... Then the bulk continues, obviously skipping all dependent ports, but still building some hundred. Then, if I start the bulk again, ti usually works properly. I thought perhaps memory was at stake, so I looked into the logs to see if any process was killed out of swap space, but it wasn't. Anyone else seeing this? Any hint? bye & Thanks av.