[Bug 259942] sysutils/fusefs-ext2 and flavoured sysutils/e2fsprogs@nobootfsck

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Nov 2021 04:55:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259942

            Bug ID: 259942
           Summary: sysutils/fusefs-ext2 and flavoured
                    sysutils/e2fsprogs@nobootfsck
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cgit.freebsd.org/ports/tree/sysutils/fusefs-ex
                    t2/Makefile
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com
                CC: ehaupt@FreeBSD.org, mandree@FreeBSD.org
                CC: ehaupt@FreeBSD.org, mandree@FreeBSD.org

It seems that requirements of sysutils/fusefs-ext2 are not met by the
nobootfsck flavour of sysutils/e2fsprogs. 

From
<https://cgit.freebsd.org/ports/commit/sysutils/e2fsprogs/Makefile?id=54b26298c82275501e6dcc6c733d21c0a6bf0d9f>: 

> - nobootfsck: do not install into /sbin, but this makes fsck
>   unavailable for ext2/ext3/ext4 file systems before $PREFIX/ is
>   mounted

– I'm not certain, but I doubt that this is enough to make the flavour truly
non-satisfactory. 

----

root@mowa219-gjp4-8570p-freebsd:~ # pkg install -f -r poudriere
e2fsprogs-nobootfsck
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
  - e2fsprogs-nobootfsck-1.46.4_1 [poudriere] conflicts with e2fsprogs-1.46.4_1
[installed] on /usr/local/bin/chattr
Checking integrity... done (0 conflicting)
The following 7 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        dsbmc: 1.2_1
        dsbmd: 1.11.4
        e2fsprogs: 1.46.4_1
        fusefs-ext2: 0.0.10_2
        unetbootin: 702

New packages to be INSTALLED:
        e2fsprogs-nobootfsck: 1.46.4_1 [poudriere]

Installed packages to be REINSTALLED:
        pkg-1.17.5 [poudriere]

Number of packages to be removed: 5
Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The operation will free 3 MiB.

Proceed with this action? [y/N]: n
root@mowa219-gjp4-8570p-freebsd:~ # pkg delete -f e2fsprogs
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        e2fsprogs: 1.46.4_1

Number of packages to be removed: 1

The operation will free 6 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling e2fsprogs-1.46.4_1...
[1/1] Deleting files for e2fsprogs-1.46.4_1: 100%
root@mowa219-gjp4-8570p-freebsd:~ # pkg install -r poudriere
e2fsprogs-nobootfsck
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
pkg: unetbootin has a missing dependency: e2fsprogs
pkg: fusefs-ext2 has a missing dependency: e2fsprogs
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        e2fsprogs-nobootfsck: 1.46.4_1 [poudriere]

Number of packages to be installed: 1

The process will require 6 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing e2fsprogs-nobootfsck-1.46.4_1...
[1/1] Extracting e2fsprogs-nobootfsck-1.46.4_1: 100%
=====
Message from e2fsprogs-nobootfsck-1.46.4_1:

--
Note: this is a modified version of the e2fsprogs package, not the official
package. Report all building and run-time trouble that originates in the
package to the port maintainer, mandree@FreeBSD.org.
root@mowa219-gjp4-8570p-freebsd:~ # pkg check -d
Checking all packages: 100%
fusefs-ext2 has a missing dependency: e2fsprogs
unetbootin has a missing dependency: e2fsprogs

>>> Missing package dependencies were detected.
>>> Found 1 issue(s) in the package database.

Checking integrity... done (2 conflicting)
  - e2fsprogs-1.46.4_1 [FreeBSD] conflicts with e2fsprogs-nobootfsck-1.46.4_1
[installed] on /usr/local/bin/chattr
  - e2fsprogs-1.46.4_1 [FreeBSD] conflicts with e2fsprogs-nobootfsck-1.46.4_1
[poudriere] on /usr/local/bin/chattr
Checking integrity... done (0 conflicting)
The following packages will be installed:

New packages to be INSTALLED:
        e2fsprogs: 1.46.4_1 [FreeBSD]

Installed packages to be REINSTALLED:
        e2fsprogs-nobootfsck-1.46.4_1 [FreeBSD]

Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The process will require 6 MiB more space.
1 MiB to be downloaded.

>>> Try to fix the missing dependencies? [y/N]: y
[1/1] Fetching e2fsprogs-nobootfsck-1.46.4_1.pkg: 100%    1 MiB   1.3MB/s   
00:01    
[1/2437] Deinstalling e2fsprogs-nobootfsck-1.46.4_1...
[1/2437] Deleting files for e2fsprogs-nobootfsck-1.46.4_1: 100%
[2/2437] Installing e2fsprogs-1.46.4_1...
[2/2437] Extracting e2fsprogs-1.46.4_1: 100%
[2/2437] Installing e2fsprogs-nobootfsck-1.46.4_1...
pkg: e2fsprogs-nobootfsck-1.46.4_1 conflicts with e2fsprogs-1.46.4_1 (installs
files into the same place).  Problematic file: /usr/local/bin/chattr
>>> Summary of actions performed:

e2fsprogs dependency has been fixed

>>> Missing dependencies were fixed successfully.
root@mowa219-gjp4-8570p-freebsd:~ # date ; pkg -vv | grep url ; pkg -vv | grep
enabled 
Sat Nov 20 04:43:28 GMT 2021
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
    url             :
"https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    enabled         : no,
    enabled         : yes,
root@mowa219-gjp4-8570p-freebsd:~ # uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #115
main-n250650-ef396441ceb: Sat Nov 13 23:52:09 GMT 2021    
root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
 amd64 1400041 1400041
root@mowa219-gjp4-8570p-freebsd:~ #

-- 
You are receiving this mail because:
You are the assignee for the bug.