Bug 224985 - devel/idutils error in CONFLICTS
Summary: devel/idutils error in CONFLICTS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-08 08:58 UTC by Trond Endrestøl
Modified: 2021-02-27 08:25 UTC (History)
3 users (show)

See Also:
tobik: maintainer-feedback-


Attachments
Patch for devel/idutils/Makefile (419 bytes, patch)
2018-01-08 08:58 UTC, Trond Endrestøl
no flags Details | Diff
Patch for devel/idutils/Makefile removing CONFLICTS and adding g prefix (613 bytes, patch)
2018-01-08 09:24 UTC, Trond Endrestøl
no flags Details | Diff
Patch for devel/idutils/pkg-plist (856 bytes, patch)
2018-01-08 09:25 UTC, Trond Endrestøl
no flags Details | Diff
Patch for devel/idutils/Makefile removing CONFLICTS, adding g prefix, and incrementing PORTREVISION (742 bytes, patch)
2018-01-08 09:52 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2018-01-08 08:58:48 UTC
Created attachment 189502 [details]
Patch for devel/idutils/Makefile

devel/idutils/Makefile proudly proclaims the following conflicts:

CONFLICTS=	coreutils-[0-9]* linux-gid-[0-9]* sh-utils-[0-9]*

Neither linux-gid nor sh-utils can be found anywhere in the ports tree. None of the files for sysutils/coreutils overlap with devel/idutils, according to their respective pkg-plist files.

Thus, the CONFLICTS line should be removed all together, see attached patch.
Comment 1 Trond Endrestøl 2018-01-08 09:15:31 UTC
(In reply to Trond.Endrestol from comment #0)

pkg-static: idutils-4.6_2 conflicts with coreutils-8.28 (installs files into the same place).  Problematic file: /usr/local/bin/gid

My bad.

Any resolution to this small hiccup?

Would it be acceptable to install idutils' gid as ggid or iid or giid?
Maybe the overall prefix should be "g" as for coreutils.

At any rate, the CONFLICTS line should be reduced to coreutils-[0-9]*.
Comment 2 Trond Endrestøl 2018-01-08 09:24:37 UTC
Created attachment 189504 [details]
Patch for devel/idutils/Makefile removing CONFLICTS and adding g prefix
Comment 3 Trond Endrestøl 2018-01-08 09:25:04 UTC
Created attachment 189505 [details]
Patch for devel/idutils/pkg-plist
Comment 4 Trond Endrestøl 2018-01-08 09:52:37 UTC
Created attachment 189506 [details]
Patch for devel/idutils/Makefile removing CONFLICTS, adding g prefix, and incrementing PORTREVISION
Comment 5 Peter Jeremy freebsd_committer freebsd_triage 2018-03-05 05:41:28 UTC
Sorry for the delay, it fell off my radar.

linux-gid has been removed.  I'm not sure what happened to sh-utils but agree it no longer exists under that name.

I am loath to add a leading 'g' to all the utilities since that seems both arbitrary and excessive.  I will consider some alternatives.
Comment 6 Tobias Kortkamp freebsd_committer freebsd_triage 2019-01-12 12:44:18 UTC
(In reply to Peter Jeremy from comment #5)
Any news?
Comment 7 Li-Wen Hsu freebsd_committer freebsd_triage 2020-06-16 23:59:23 UTC
Over to maintainer.
Comment 8 commit-hook freebsd_committer freebsd_triage 2021-02-27 08:10:06 UTC
A commit references this bug:

Author: tobik
Date: Sat Feb 27 08:09:31 UTC 2021
New revision: 566675
URL: https://svnweb.freebsd.org/changeset/ports/566675

Log:
  devel/idutils: Resolve conflict with coreutils

  pkg-static: idutils-4.6_2 conflicts with coreutils-8.28 (installs files into the same place).  Problematic file: /usr/local/bin/gid

  For lack of a better solution resolve this by prefixing gid with a g.
  It is now installed as ggid.

  linux-gid and sh-utils no longer seem to exist in the tree, so drop
  CONFLICTS completely.

  PR:		224985
  Submitted by:	Trond.Endrestol@ximalas.info
  Approved by:	peterj (maintainer timeout, 3 years)

Changes:
  head/devel/idutils/Makefile
  head/devel/idutils/files/patch-lisp_idutils.el
  head/devel/idutils/pkg-message
  head/devel/idutils/pkg-plist
  head/sysutils/coreutils/Makefile
Comment 9 commit-hook freebsd_committer freebsd_triage 2021-02-27 08:25:11 UTC
A commit references this bug:

Author: tobik
Date: Sat Feb 27 08:24:29 UTC 2021
New revision: 566677
URL: https://svnweb.freebsd.org/changeset/ports/566677

Log:
  devel/idutils: Patch defid for the gid -> ggid rename too

  PR:		224985

Changes:
  head/devel/idutils/Makefile
  head/devel/idutils/files/patch-src_defid