From nobody Mon Jul 18 08:20:57 2022 X-Original-To: ports-bugs@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 4LmZfd4dfxz4WhSY for ; Mon, 18 Jul 2022 08:20:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LmZfd2HNTz4Kw2 for ; Mon, 18 Jul 2022 08:20:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LmZfd1MGgzY6r for ; Mon, 18 Jul 2022 08:20:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26I8Kv7q049363 for ; Mon, 18 Jul 2022 08:20:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26I8KvoS049362 for ports-bugs@FreeBSD.org; Mon, 18 Jul 2022 08:20:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265289] Error building sysutils/fusefs-ext2 with read-only system root directory Date: Mon, 18 Jul 2022 08:20:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mc@jscc.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ehaupt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658132457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yXzp4W1OvdCQOwSZJpBE63lJ7TCiJfUdvdKjsn2ALtI=; b=qyqOL4zhZxkiE82NGwM5f2C/WuFg2r3c+zE90V2LzWqQxr1XWcp/k8GzmkyrzaOqogE/dX 2mh4OQhlCTASqhWWID03wTT/ISQnsp72EVuxj7IMDIkcD4h4F9XsIYoTTFVcuhyJBdPEXE vbXWjJFqpJgdSpal59YFpdGeb9BUbrFwzyy9dwfE/YYXzjCXvDL8+dHiXbMlzinihM3J9T 9ixwo2GkxBxEs5d+PQ1od9mPNsgm70R6TSeMKWBQIw8GxzikmSBif4QRmhtwD/EICpJ9jJ WJvyJNt8+yJHokPL9/6I08HbOxdhFciuNTOzTEJtuE0w0rupqVyDLWxSL8XVaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658132457; a=rsa-sha256; cv=none; b=nExjFyzoCew5o8avywXSGzrpLbHkoGnLwuOqBXL//O6gaor8QUdLwBO8yL8lHRA2MTH+bT sQU+Rqj7jvTFXvIdn/mIrAFHcmUlDucrun4ioCboR/Qtlj/nLrPpQODBkfl3mgZ6g0sDA8 LF0/z30ZHfRT/wuHKCquLkNkJ0sdTCSrHYYA4v6NyXGlIDIdSS2m5kgrUPYxHUupLQFbj1 Vvu4qj1Wb3J0KmeiuRePcXSW46Xokw06k8iZi3KPKJnhWJVYiN3OYPJrXcW/supxEqWoM5 7nAgwA1ZcWrPrP/BnF83A55bMQarqODnJvFcCC2Cc4zzFGUXROVtFMDHjqlBbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265289 Bug ID: 265289 Summary: Error building sysutils/fusefs-ext2 with read-only system root directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: mc@jscc.ru Flags: maintainer-feedback?(ehaupt@FreeBSD.org) Assignee: ehaupt@FreeBSD.org Created attachment 235326 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235326&action= =3Dedit Using sysutils/e2fsprogs@nobootfsck as a dependency for sysutils/fusefs-ext2 ------------------------------------------------- #synth just-build sysutils/fusefs-ext2 =3D=3D=3D> fusefs-ext2-0.0.10_3 depends on executable: mke2fs - not found =3D=3D=3D> Installing existing package /packages/All/e2fsprogs-1.46.5_1.p= kg Installing e2fsprogs-1.46.5_1... `-- Installing e2fsprogs-libblkid-1.46.5... | `-- Installing e2fsprogs-libuuid-1.46.5... | `-- Extracting e2fsprogs-libuuid-1.46.5: .......... done `-- Extracting e2fsprogs-libblkid-1.46.5: .......... done `-- Installing gettext-runtime-0.21... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.21: .......... done Extracting e2fsprogs-1.46.5_1:=20 pkg-static: Fail to create temporary file: /sbin/.pkgtemp.e2fsck.ihJYgaA5Q8MD:Read-only file system Extracting e2fsprogs-1.46.5_1... done Failed to install the following 1 package(s): /packages/All/e2fsprogs-1.46.5_1.pkg *** Error code 1 Stop. ------------------------------------------------- sysutils/e2fsprogs tries to install e2fsck(8) to /sbin; it is a read-only directory in synth(1) build environment. There is a flavor sysutils/e2fsprogs@nobootfsck that doesn't put anything outside $LOCALBASE,= but sysutils/fusefs-ext2 tries to use sysutils/e2fsprogs@default and fails. I don't think fusefs ext2 support (used mainly for mounting external drives) needs boottime fsck in its default configuration. Why don't we use sysutils/e2fsprogs@nobootfsck as default dependency to allow read-only syst= em root? And if you need boottime e2fsck, you know how to use sysutils/e2fsprogs@default or sysutils/e2fsprogs@roothardlinks. The attached patch was tested on my system, synth(1) building of sysutils/fusefs-ext2 is OK; mke2fs, mounting, writing, unmounting, e2fsck, remounting and reading external drive work correctly. --=20 You are receiving this mail because: You are the assignee for the bug.=