Bug 257070 - devel/util-linux install-conflicts with misc/e2fsprogs-libblkid
Summary: devel/util-linux install-conflicts with misc/e2fsprogs-libblkid
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
Depends on: 221293
Blocks: 251489
  Show dependency treegraph
Reported: 2021-07-09 03:38 UTC by Graham Perrin
Modified: 2022-01-29 11:58 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-07-09 03:38:12 UTC
root@mowa219-gjp4-8570p:~ # pkg install devel/util-linux
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        util-linux: 2.36_2 [FreeBSD]

Number of packages to be installed: 1

The process will require 2 MiB more space.
479 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching util-linux-2.36_2.txz: 100%  479 KiB 490.2kB/s    00:01    
Checking integrity... done (2 conflicting)
  - util-linux-2.36_2 [FreeBSD] conflicts with e2fsprogs-libblkid-1.46.2 [installed] on /usr/local/include/blkid/blkid.h
  - util-linux-2.36_2 [FreeBSD] conflicts with e2fsprogs-1.46.2 [installed] on /usr/local/man/man8/blkid.8.gz
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 5 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        util-linux: 2.36_2 [FreeBSD]

Number of packages to be installed: 1

The process will require 2 MiB more space.

Proceed with this action? [y/N]: y
Fetching e2fsprogs-libblkid-1.46.2.txz: 100%   35 KiB  35.4kB/s    00:01    
Fetching e2fsprogs-1.46.2.txz: 100%    1 MiB   1.3MB/s    00:01    
[1/5] Deinstalling e2fsprogs-libblkid-1.46.2...
[1/5] Deleting files for e2fsprogs-libblkid-1.46.2: 100%
[1/5] Installing e2fsprogs-libblkid-1.46.2...
[1/5] Extracting e2fsprogs-libblkid-1.46.2: 100%
[2/5] Deinstalling e2fsprogs-1.46.2...
[2/5] Deleting files for e2fsprogs-1.46.2: 100%
[2/5] Installing e2fsprogs-1.46.2...
[2/5] Extracting e2fsprogs-1.46.2: 100%
[3/5] Installing util-linux-2.36_2...
pkg: util-linux-2.36_2 conflicts with e2fsprogs-libblkid-1.46.2 (installs files into the same place).  Problematic file: /usr/local/include/blkid/blkid.h
root@mowa219-gjp4-8570p:~ # date ; uname -KUv
Fri Jul  9 04:36:45 BST 2021
FreeBSD 14.0-CURRENT #100 main-n247798-f39dd6a9784: Thu Jul  8 07:38:23 BST 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  1400025 1400025
root@mowa219-gjp4-8570p:~ #
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2021-07-09 14:03:32 UTC
Well indeed:

> $ fgrep blkid.h devel/util-linux/pkg-plist misc/e2fsprogs-libblkid/pkg-plist
> devel/util-linux/pkg-plist:include/blkid/blkid.h
> misc/e2fsprogs-libblkid/pkg-plist:include/blkid/blkid.h
Both ports' maintainers CC'ed.
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2021-07-09 14:51:39 UTC
Known issue in util-linux, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251489#c3

I was considering to close this as DUPLICATE but will defer that decision to yuri@.
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2021-12-15 00:31:30 UTC
over to maintainer. Yuri@, could you please see how to resolve the many incompatibilities that the util-linux port causes?