Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2024 19:57:26 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Michael Osipov <michaelo@freebsd.org>
Cc:        Vladimir Druzenko <vvd@freebsd.org>, Daniel Engberg <diizzy@freebsd.org>, ports-committers@freebsd.org,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: c8ace2f4ca96 - main - */*: Switch from misc/getopt to devel/util-linux
Message-ID:  <CAMHz58Ty=z378JfBA=9dE=3hmZr2LhzFAU-NO%2B=M63y0D9UqHw@mail.gmail.com>
In-Reply-To: <37558443-ee5a-42af-ac0c-11d64be561f1@FreeBSD.org>
References:  <202411021210.4A2CAjqo005269@gitrepo.freebsd.org> <d0a55020-97d3-4ec2-a01c-8a370a1bdb96@freebsd.org> <08c1d3828fd20c5d42f8bf2047645bb5@mail.infomaniak.com> <54dd6800-83ea-4c9d-8445-048b18fb4ee6@freebsd.org> <37558443-ee5a-42af-ac0c-11d64be561f1@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Nov 3, 2024 at 5:29 AM Michael Osipov <michaelo@freebsd.org> wrote:

> On 2024-11-02 21:38, Vladimir Druzenko wrote:
> > 02.11.2024 19:59, Daniel Engberg пишет:
> >>
> >>
> >>     Hello!
> >>
> >>
> >>
> >>
> >>
> >>     Installing util-linux-2.39.4_2...
> >>
> >>
> >>     pkg-static: util-linux-2.39.4_2 conflicts with e2fsprogs-
> >>     libblkid-1.47.1
> >>
> >>
> >>     (installs files into the same place). Problematic file:
> >>
> >>
> >>     /usr/local/include/blkid/blkid.h
> >>
> >>
> >>
> >>
> >>
> >>     $ cat /var/db/ports/devel_util-linux/options
> >>
> >>
> >>     # This file is auto-generated by 'make config'.
> >>
> >>
> >>     # Options for util-linux-2.39.4_2
> >>
> >>
> >>     _OPTIONS_READ=util-linux-2.39.4_2
> >>
> >>
> >>     _FILE_COMPLETE_OPTIONS_LIST=CAL FLOCK GETOPT HARDLINK UUID
> >>
> >>
> >>     OPTIONS_FILE_UNSET+=CAL
> >>
> >>
> >>     OPTIONS_FILE_UNSET+=FLOCK
> >>
> >>
> >>     OPTIONS_FILE_SET+=GETOPT
> >>
> >>
> >>     OPTIONS_FILE_UNSET+=HARDLINK
> >>
> >>
> >>     OPTIONS_FILE_UNSET+=UUID
> >>
> >>
> >>
> >>
> >>
> >>     $ pkg info -r e2fsprogs-libblkid-1.47.1
> >>
> >>
> >>     e2fsprogs-libblkid-1.47.1:
> >>
> >>
> >>             e2fsprogs-core-1.47.1
> >>
> >>
> >>
> >>
> >>
> >>     --
> >>
> >>
> >>     Best regards,
> >>
> >>
> >>     Vladimir Druzenko
> >>
> >>
> >>
> >>
> >> Hi,
> >>
> >> Unrelated, submit a PR
> >>
> >> Best regards,
> >> Daniel
> >
> > Related: after this commit you can't install textproc/xmlto if you have
> > installed sysutils/fusefs-ext2 or sysutils/e2fsprogs.
>
> This very similar to what I have explained in the PR: it is not a
> drop-in replacement:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281625#c3. I am not
> happy with this replacement.
>
> M
>

As I said in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281934#c2, I
don't mean to remove misc/getopt.

I have made the following changes:
1. Re-added the misc/getopt port.
2. Change it to use util-linux repo.
3. Move all ports back to use it.

That means it does not bring unnecessary dependencies from devel/util-linux
to getopt's dependent ports.
It should fix all issues.

Regards,
sunpoet

[-- Attachment #2 --]
<div dir="ltr"><div>On Sun, Nov 3, 2024 at 5:29 AM Michael Osipov &lt;<a href="mailto:michaelo@freebsd.org">michaelo@freebsd.org</a>&gt; wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2024-11-02 21:38, Vladimir Druzenko wrote:<br>
&gt; 02.11.2024 19:59, Daniel Engberg пишет:<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     Hello!<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     Installing util-linux-2.39.4_2...<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     pkg-static: util-linux-2.39.4_2 conflicts with e2fsprogs-<br>
&gt;&gt;     libblkid-1.47.1<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     (installs files into the same place). Problematic file:<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     /usr/local/include/blkid/blkid.h<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     $ cat /var/db/ports/devel_util-linux/options<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     # This file is auto-generated by &#39;make config&#39;.<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     # Options for util-linux-2.39.4_2<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     _OPTIONS_READ=util-linux-2.39.4_2<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     _FILE_COMPLETE_OPTIONS_LIST=CAL FLOCK GETOPT HARDLINK UUID<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     OPTIONS_FILE_UNSET+=CAL<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     OPTIONS_FILE_UNSET+=FLOCK<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     OPTIONS_FILE_SET+=GETOPT<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     OPTIONS_FILE_UNSET+=HARDLINK<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     OPTIONS_FILE_UNSET+=UUID<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     $ pkg info -r e2fsprogs-libblkid-1.47.1<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     e2fsprogs-libblkid-1.47.1:<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;             e2fsprogs-core-1.47.1<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     -- <br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     Best regards,<br>
&gt;&gt;<br>
&gt;&gt;                  <br>
&gt;&gt;     Vladimir Druzenko<br>
&gt;&gt;<br>
&gt;&gt;                <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Unrelated, submit a PR<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Daniel<br>
&gt; <br>
&gt; Related: after this commit you can&#39;t install textproc/xmlto if you have <br>
&gt; installed sysutils/fusefs-ext2 or sysutils/e2fsprogs.<br>
<br>
This very similar to what I have explained in the PR: it is not a <br>
drop-in replacement: <br>
<a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281625#c3" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281625#c3</a>. I am not <br>
happy with this replacement.<br>
<br>
M<br></blockquote><div><br></div><div><div>As I said in <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281934#c2">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281934#c2</a>, I don&#39;t mean to remove misc/getopt.</div></div><div><br></div><div>I have made the following changes:</div><div>1. Re-added the misc/getopt port.</div><div>2. Change it to use util-linux repo.</div><div>3. Move all ports back to use it.</div><div><br></div><div>That means it does not bring unnecessary dependencies from devel/util-linux to getopt&#39;s dependent ports.</div><div>It should fix all issues.</div><div><br></div><div>Regards,</div><div>sunpoet</div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58Ty=z378JfBA=9dE=3hmZr2LhzFAU-NO%2B=M63y0D9UqHw>