Date: Wed, 2 Nov 2022 16:21:44 +0000 From: Doug Rabson <dfr@rabson.org> To: Guido Falsi <mad@madpilot.net> Cc: freebsd-pkgbase@freebsd.org Subject: Re: New conflict on if_wg.h in runtime package Message-ID: <CACA0VUhU2NjaU=tJhvXqcrO0%2BBcgSA_cGrkeYTy3upKzucw1uQ@mail.gmail.com> In-Reply-To: <c1e4cdb7-51b0-7a6b-7ada-fd22cb8d94f7@madpilot.net> References: <edc66854-7f9e-9383-643a-7ffb76b60890@madpilot.net> <CACA0VUiU8zvWgiwcUs8-sg6PmcQiMGGu-1v8j0HBGQPj2_VFzA@mail.gmail.com> <c1e4cdb7-51b0-7a6b-7ada-fd22cb8d94f7@madpilot.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, 2 Nov 2022 at 16:07, Guido Falsi <mad@madpilot.net> wrote: > On 02/11/22 16:32, Doug Rabson wrote: > > > > > > On Wed, 2 Nov 2022 at 13:54, Guido Falsi <mad@madpilot.net > > <mailto:mad@madpilot.net>> wrote: > > > > Hi! > > > > I am trying to upgrade head using packaged base and I'm getting this > > error now: > > > > pkg: FreeBSD-runtime-dev-14.snap20221102095743 conflicts with > > FreeBSD-runtime-14.snap20221102095743 (installs files into the same > > place). Problematic file: /usr/include/dev/wg/if_wg.h > > > > Looks like for some reason if_wg.h ended up in both packages. > > > > Am I doing something wrong and can I work around this or should this > be > > fixed in the sources? > > > > > > This seems to be a problem in pkgbase. Packages are built using the > > metalog generated from the various install commands during the build - > > if_wg.h has two entries in the metalog, one with > > tags=package=runtime,dev and one with tags=package=runtime. Can you open > > a bug on bugs.freebsd.org <http://bugs.freebsd.org>? > > > > > > > sure! > I think the problem is caused by the 'copies' target in src/include which is where the second metalog entry happens. From my limited understanding, this target shouldn't create metalog entries but I'm not sure how to stop it. > > [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Nov 2022 at 16:07, Guido Falsi <<a href="mailto:mad@madpilot.net">mad@madpilot.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 02/11/22 16:32, Doug Rabson wrote:<br> > <br> > <br> > On Wed, 2 Nov 2022 at 13:54, Guido Falsi <<a href="mailto:mad@madpilot.net" target="_blank">mad@madpilot.net</a> <br> > <mailto:<a href="mailto:mad@madpilot.net" target="_blank">mad@madpilot.net</a>>> wrote:<br> > <br> > Hi!<br> > <br> > I am trying to upgrade head using packaged base and I'm getting this<br> > error now:<br> > <br> > pkg: FreeBSD-runtime-dev-14.snap20221102095743 conflicts with<br> > FreeBSD-runtime-14.snap20221102095743 (installs files into the same<br> > place). Problematic file: /usr/include/dev/wg/if_wg.h<br> > <br> > Looks like for some reason if_wg.h ended up in both packages.<br> > <br> > Am I doing something wrong and can I work around this or should this be<br> > fixed in the sources?<br> > <br> > <br> > This seems to be a problem in pkgbase. Packages are built using the <br> > metalog generated from the various install commands during the build - <br> > if_wg.h has two entries in the metalog, one with <br> > tags=package=runtime,dev and one with tags=package=runtime. Can you open <br> > a bug on <a href="http://bugs.freebsd.org" rel="noreferrer" target="_blank">bugs.freebsd.org</a> <<a href="http://bugs.freebsd.org" rel="noreferrer" target="_blank">http://bugs.freebsd.org</a>>?<br> > <br> > <br> <br> <br> sure!<br></blockquote><div><br></div><div>I think the problem is caused by the 'copies' target in src/include which is where the second metalog entry happens. From my limited understanding, this target shouldn't create metalog entries but I'm not sure how to stop it.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br> </blockquote></div></div>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACA0VUhU2NjaU=tJhvXqcrO0%2BBcgSA_cGrkeYTy3upKzucw1uQ>
