Date: Thu, 7 Mar 2024 12:22:09 +0100 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: Daniel Engberg <daniel.engberg.lists@pyret.net> Cc: Daniel Engberg <diizzy@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: ea45a9a53499 - main - cad/PrusaSlicer: Mark BROKEN Message-ID: <CAGwOe2adJ-rES4gpgj-4s8dmHEmrtzRZp%2B%2BmJPYs-LueR3piJQ@mail.gmail.com> In-Reply-To: <0d76f19c6d2e3e2b70a2ccc07c71e1ce@mail.infomaniak.com> References: <202403031936.423JaMcm054153@gitrepo.freebsd.org> <CAGwOe2ZE6huqiTAV6zUpJqG6NxmkE2ado2M3oskp972pvBa8DA@mail.gmail.com> <0d76f19c6d2e3e2b70a2ccc07c71e1ce@mail.infomaniak.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000fbdfa40613104931 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 6, 2024 at 10:34=E2=80=AFPM Daniel Engberg < daniel.engberg.lists@pyret.net> wrote: > On 2024-03-04T18:34:16.000+01:00, Fernando Apestegu=C3=ADa < > fernando.apesteguia@gmail.com> wrote: > > On Sun, Mar 3, 2024 at 8:36=E2=80=AFPM Daniel Engberg <diizzy@freebsd.= org> > wrote: > > > > > > > The branch main has been updated by diizzy: > > > > > > URL: > > > > https://cgit.FreeBSD.org/ports/commit/?id=3Dea45a9a534994a1bf97a162168902= cebbca1f4c1 > > > > > > commit ea45a9a534994a1bf97a162168902cebbca1f4c1 > > > Author: Daniel Engberg <diizzy@FreeBSD.org> > > > AuthorDate: 2024-03-03 08:29:04 +0000 > > > Commit: Daniel Engberg <diizzy@FreeBSD.org> > > > CommitDate: 2024-03-03 19:26:10 +0000 > > > > > > cad/PrusaSlicer: Mark BROKEN > > > > > > Fails to build, error: no member named 'prior' in namespace > 'boost' > > > > > > Reported by: pkg-fallout > > > --- > > > cad/PrusaSlicer/Makefile | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile > > > index dc125244df20..936e76216daf 100644 > > > --- a/cad/PrusaSlicer/Makefile > > > +++ b/cad/PrusaSlicer/Makefile > > > @@ -12,6 +12,8 @@ WWW=3D https://www.prusa3d.com/prusaslice= r/ > > > LICENSE=3D AGPLv3 > > > LICENSE_FILE=3D ${WRKSRC}/LICENSE > > > > > > +BROKEN=3D fails to build, error: no member named > 'prior' in > > > namespace 'boost' > > > + > > > > > > > Can we revert this? > > It is an issue with math/cgal and not cad/PrusaSlicer ( > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277480) > > > > Cheers. > > > > > > > > > BUILD_DEPENDS=3D cereal>=3D1.3.0.10:devel/cereal \ > > > cgal>=3D5.0.2:math/cgal \ > > > opencascade>=3D7.7.0:cad/opencascade > > > > Hi, > > It breaks Prusaslicer either way? > > https://pdr2.bofh.network/data/140-diizzy/2024-03-02_16h50m15s/logs/error= s/PrusaSlicer-2.6.0_8.log I just realized I didn't attach the patch to the PR :S It is attached now. With that patch in math/cgal, cad/PrusaSlicer builds fine. My main point is this. We should mark ports as BROKEN when *they* are broken, not when the dependencies are. Otherwise, if/when the dependency is fixed those ports would remain marked as BROKEN unless someone keeps track of what ports where marked that way because of a flaw in the dependency. There are 9 ports depending on math/cgal.I didn't check if any other ports are broken, but any port that includes the same header from math/cgal will fail to build unless they also include boost/next_prior.hpp by any chance The patch in the PR should be upstreamed too and/or math/cgal. > > > Best regards, > Daniel > --000000000000fbdfa40613104931 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 6, 2024 at 10:34=E2=80=AF= PM Daniel Engberg <<a href=3D"mailto:daniel.engberg.lists@pyret.net">dan= iel.engberg.lists@pyret.net</a>> wrote:<br></div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex">On 2024-03-04T18:34:16.000+01:00, Fernando Apest= egu=C3=ADa <<a href=3D"mailto:fernando.apesteguia@gmail.com" target=3D"_= blank">fernando.apesteguia@gmail.com</a>> wrote:<br> >=C2=A0 On Sun, Mar 3, 2024 at 8:36=E2=80=AFPM Daniel Engberg <<a hre= f=3D"mailto:diizzy@freebsd.org" target=3D"_blank">diizzy@freebsd.org</a>>= ; wrote:<br> > <br> > <br> > >=C2=A0 =C2=A0 The branch main has been updated by diizzy:<br> > > <br> > >=C2=A0 URL:<br> > >=C2=A0 <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Dea45= a9a534994a1bf97a162168902cebbca1f4c1" rel=3D"noreferrer" target=3D"_blank">= https://cgit.FreeBSD.org/ports/commit/?id=3Dea45a9a534994a1bf97a162168902ce= bbca1f4c1</a><br> > > <br> > >=C2=A0 commit ea45a9a534994a1bf97a162168902cebbca1f4c1<br> > >=C2=A0 Author:=C2=A0 =C2=A0 =C2=A0Daniel Engberg <diizzy@FreeBS= D.org><br> > >=C2=A0 AuthorDate: 2024-03-03 08:29:04 +0000<br> > >=C2=A0 Commit:=C2=A0 =C2=A0 =C2=A0Daniel Engberg <diizzy@FreeBS= D.org><br> > >=C2=A0 CommitDate: 2024-03-03 19:26:10 +0000<br> > > <br> > >=C2=A0 =C2=A0 =C2=A0 cad/PrusaSlicer: Mark BROKEN<br> > > <br> > >=C2=A0 =C2=A0 =C2=A0 Fails to build, error: no member named 'p= rior' in namespace 'boost'<br> > > <br> > >=C2=A0 =C2=A0 =C2=A0 Reported by:=C2=A0 =C2=A0 pkg-fallout<br> > >=C2=A0 ---<br> > >=C2=A0 =C2=A0cad/PrusaSlicer/Makefile | 2 ++<br> > >=C2=A0 =C2=A01 file changed, 2 insertions(+)<br> > > <br> > >=C2=A0 diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Mak= efile<br> > >=C2=A0 index dc125244df20..936e76216daf 100644<br> > >=C2=A0 --- a/cad/PrusaSlicer/Makefile<br> > >=C2=A0 +++ b/cad/PrusaSlicer/Makefile<br> > >=C2=A0 @@ -12,6 +12,8 @@ WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = <a href=3D"https://www.prusa3d.com/prusaslicer/" rel=3D"noreferrer" target= =3D"_blank">https://www.prusa3d.com/prusaslicer/</a><br> > >=C2=A0 =C2=A0LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0AGPLv3<br> > >=C2=A0 =C2=A0LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE<br> > > <br> > >=C2=A0 +BROKEN=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 fails to build, error: no member named 'prior' in<br> > >=C2=A0 namespace 'boost'<br> > >=C2=A0 +<br> > > <br> >=C2=A0 <br> > Can we revert this?<br> > It is an issue with math/cgal and not cad/PrusaSlicer (<br> > <a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277480"= rel=3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla/sho= w_bug.cgi?id=3D277480</a>) <br></blockquote><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"> > <br> > Cheers.<br> > <br> > <br> > <br> > >=C2=A0 =C2=A0 =C2=A0BUILD_DEPENDS=3D cereal&gt;=3D1.3.0.10:dev= el/cereal \<br> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cga= l&gt;=3D5.0.2:math/cgal \<br> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ope= ncascade&gt;=3D7.7.0:cad/opencascade<br> > <br> <br> Hi,<br> <br> It breaks Prusaslicer either way?<br> <a href=3D"https://pdr2.bofh.network/data/140-diizzy/2024-03-02_16h50m15s/l= ogs/errors/PrusaSlicer-2.6.0_8.log" rel=3D"noreferrer" target=3D"_blank">ht= tps://pdr2.bofh.network/data/140-diizzy/2024-03-02_16h50m15s/logs/errors/Pr= usaSlicer-2.6.0_8.log</a></blockquote><div><br></div><div>I just realized I= didn't attach the patch to the PR :S</div><div>It is attached now.<br>= </div><div>With that patch in math/cgal, cad/PrusaSlicer builds fine.</div>= <div><br></div><div>My main point is this. We should mark ports as BROKEN w= hen *they* are broken, not when the dependencies are.</div><div>Otherwise, = if/when the dependency is fixed those ports would remain marked as BROKEN u= nless someone keeps track of what ports where marked that way because of a = flaw in the dependency.</div><div>There are 9 ports depending on math/cgal.= I didn't check if any other ports are broken, but any port that include= s the same header from math/cgal will fail to build unless they also includ= e boost/next_prior.hpp by any chance</div><div>=C2=A0</div><div>The patch i= n the PR should be upstreamed too and/or math/cgal.<br></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex"><br> <br> Best regards,<br> Daniel<br> </blockquote></div></div> --000000000000fbdfa40613104931--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2adJ-rES4gpgj-4s8dmHEmrtzRZp%2B%2BmJPYs-LueR3piJQ>