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>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005c529a062600e1c6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 3, 2024 at 5:29=E2=80=AFAM Michael Osipov <michaelo@freebsd.org= > wrote: > On 2024-11-02 21:38, Vladimir Druzenko wrote: > > 02.11.2024 19:59, Daniel Engberg =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> > >> > >> 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=3Dutil-linux-2.39.4_2 > >> > >> > >> _FILE_COMPLETE_OPTIONS_LIST=3DCAL FLOCK GETOPT HARDLINK UUID > >> > >> > >> OPTIONS_FILE_UNSET+=3DCAL > >> > >> > >> OPTIONS_FILE_UNSET+=3DFLOCK > >> > >> > >> OPTIONS_FILE_SET+=3DGETOPT > >> > >> > >> OPTIONS_FILE_UNSET+=3DHARDLINK > >> > >> > >> OPTIONS_FILE_UNSET+=3DUUID > >> > >> > >> > >> > >> > >> $ 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=3D281625#c3. I am not > happy with this replacement. > > M > As I said in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281934#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 --0000000000005c529a062600e1c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>On Sun, Nov 3, 2024 at 5:29=E2=80=AFAM Michael Osipov= <<a href=3D"mailto:michaelo@freebsd.org">michaelo@freebsd.org</a>> w= rote:</div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">On 2024-11-02 21:38, Vladimir Druzenko wrote:<br> > 02.11.2024 19:59, Daniel Engberg =D0=BF=D0=B8=D1=88=D0=B5=D1=82:<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0Hello!<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0Installing util-linux-2.39.4_2...<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0pkg-static: util-linux-2.39.4_2 conflicts with = e2fsprogs-<br> >>=C2=A0 =C2=A0 =C2=A0libblkid-1.47.1<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0(installs files into the same place). Problemat= ic file:<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0/usr/local/include/blkid/blkid.h<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0$ cat /var/db/ports/devel_util-linux/options<br= > >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0# This file is auto-generated by 'make conf= ig'.<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0# Options for util-linux-2.39.4_2<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0_OPTIONS_READ=3Dutil-linux-2.39.4_2<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0_FILE_COMPLETE_OPTIONS_LIST=3DCAL FLOCK GETOPT = HARDLINK UUID<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0OPTIONS_FILE_UNSET+=3DCAL<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0OPTIONS_FILE_UNSET+=3DFLOCK<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0OPTIONS_FILE_SET+=3DGETOPT<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0OPTIONS_FILE_UNSET+=3DHARDLINK<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0OPTIONS_FILE_UNSET+=3DUUID<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0$ pkg info -r e2fsprogs-libblkid-1.47.1<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0e2fsprogs-libblkid-1.47.1:<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 e2fs= progs-core-1.47.1<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0-- <br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0Best regards,<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >>=C2=A0 =C2=A0 =C2=A0Vladimir Druzenko<br> >><br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> >><br> >><br> >> Hi,<br> >><br> >> Unrelated, submit a PR<br> >><br> >> Best regards,<br> >> Daniel<br> > <br> > Related: after this commit you can't install textproc/xmlto if you= have <br> > 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=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281625#c3" r= el=3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_= bug.cgi?id=3D281625#c3</a>. I am not <br> happy with this replacement.<br> <br> M<br></blockquote><div><br></div><div><div>As I said in=C2=A0<a href=3D"htt= ps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281934#c2">https://bugs.fr= eebsd.org/bugzilla/show_bug.cgi?id=3D281934#c2</a>, I don't mean to rem= ove misc/getopt.</div></div><div><br></div><div>I have made the following c= hanges:</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><d= iv><br></div><div>That means it does not bring unnecessary dependencies fro= m devel/util-linux to getopt's dependent ports.</div><div>It should fix= all issues.</div><div><br></div><div>Regards,</div><div>sunpoet</div></div= ></div> --0000000000005c529a062600e1c6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58Ty=z378JfBA=9dE=3hmZr2LhzFAU-NO%2B=M63y0D9UqHw>