From nobody Sat Oct 8 12:10:43 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 4Ml3t92xkRz4fFps for ; Sat, 8 Oct 2022 12:10:57 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ml3t76zdkz3X4y for ; Sat, 8 Oct 2022 12:10:55 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 298CAiQm098548; Sat, 8 Oct 2022 21:10:45 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 8 Oct 2022 21:10:43 +0900 From: Tomoaki AOKI To: Xavier Humbert Cc: FreeBSD Ports ML Subject: Re: portugrade stalls at deinstall stage (sometimes) Message-Id: <20221008211043.25659fef6317e55bd02994a5@dec.sakura.ne.jp> In-Reply-To: <60994331-813c-3cd0-65c1-21ade106dedd@groumpf.org> References: <60994331-813c-3cd0-65c1-21ade106dedd@groumpf.org> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Ml3t76zdkz3X4y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [-1.60 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; HAS_ORG_HEADER(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, 8 Oct 2022 13:25:23 +0200 Xavier Humbert wrote: > Hi, > > I didn't already track the root cause of this : when using portupgrade, > it stalls at deinstall stage. Ctrl-T show it waiting at select() > > ============================================================================================= > --->  Updating dependency info > --->  Uninstallation of e2fsprogs-libuuid-1.46.5 started at: Sat, 08 Oct > 2022 13:03:36 +0200 > --->  Fixing up dependencies before creating a package > --->  Backing up the old version > pkg: unknown format pkg, using the default > --->  Uninstalling the old version > [Reading data from pkg(8) ... - 1554 packages found - done] > --->  Deinstalling 'e2fsprogs-libuuid-1.46.5' > load: 0.29  cmd: ruby30 81513 [select] 2829.30r 3.19u 9.33s 0% 52220k > mi_switch+0xbf sleepq_catch_signals+0x2e3 sleepq_wait_sig+0x9 > _cv_wait_sig+0xeb seltdwait+0x9d kern_poll_kfds+0x4b7 kern_poll+0x9f > sys_ppoll+0x6f amd64_syscall+0x10c fast_syscall_common+0xf8 > ^C > Interrupted. > > Interrupted. > [root@numenor ports]# - 1554 packages found - done] > stty: tcsetattr: Input/output error > ============================================================================================= > > Switching to the port directory and typing 'make reinstall clean' runs > without problem. This is really fastidious when one have >10 ports to > upgrade > > An idea ? > > Cheers, > > Xavier > > -- > Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer > https://www.amdh.fr Hi. It's already reported and patch to fix is proposed. But not yet committed. See Bug 266386 [1] and Bug 266362 [2] for details. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266386 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266362 -- Tomoaki AOKI