Skip site navigation (1)Skip section navigation (2)
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&gt;=3D1.3.0.10:devel/cereal \
> > >                  cgal&gt;=3D5.0.2:math/cgal \
> > >                  opencascade&gt;=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 &lt;<a href=3D"mailto:daniel.engberg.lists@pyret.net">dan=
iel.engberg.lists@pyret.net</a>&gt; 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 &lt;<a href=3D"mailto:fernando.apesteguia@gmail.com" target=3D"_=
blank">fernando.apesteguia@gmail.com</a>&gt; wrote:<br>
&gt;=C2=A0 On Sun, Mar 3, 2024 at 8:36=E2=80=AFPM Daniel Engberg &lt;<a hre=
f=3D"mailto:diizzy@freebsd.org" target=3D"_blank">diizzy@freebsd.org</a>&gt=
; wrote:<br>
&gt; <br>
&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 The branch main has been updated by diizzy:<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 URL:<br>
&gt; &gt;=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>
&gt; &gt; <br>
&gt; &gt;=C2=A0 commit ea45a9a534994a1bf97a162168902cebbca1f4c1<br>
&gt; &gt;=C2=A0 Author:=C2=A0 =C2=A0 =C2=A0Daniel Engberg &lt;diizzy@FreeBS=
D.org&gt;<br>
&gt; &gt;=C2=A0 AuthorDate: 2024-03-03 08:29:04 +0000<br>
&gt; &gt;=C2=A0 Commit:=C2=A0 =C2=A0 =C2=A0Daniel Engberg &lt;diizzy@FreeBS=
D.org&gt;<br>
&gt; &gt;=C2=A0 CommitDate: 2024-03-03 19:26:10 +0000<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 cad/PrusaSlicer: Mark BROKEN<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 Fails to build, error: no member named &#39;p=
rior&#39; in namespace &#39;boost&#39;<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 Reported by:=C2=A0 =C2=A0 pkg-fallout<br>
&gt; &gt;=C2=A0 ---<br>
&gt; &gt;=C2=A0 =C2=A0cad/PrusaSlicer/Makefile | 2 ++<br>
&gt; &gt;=C2=A0 =C2=A01 file changed, 2 insertions(+)<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Mak=
efile<br>
&gt; &gt;=C2=A0 index dc125244df20..936e76216daf 100644<br>
&gt; &gt;=C2=A0 --- a/cad/PrusaSlicer/Makefile<br>
&gt; &gt;=C2=A0 +++ b/cad/PrusaSlicer/Makefile<br>
&gt; &gt;=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>;
&gt; &gt;=C2=A0 =C2=A0LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0AGPLv3<br>
&gt; &gt;=C2=A0 =C2=A0LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE<br>
&gt; &gt; <br>
&gt; &gt;=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 &#39;prior&#39; in<br>
&gt; &gt;=C2=A0 namespace &#39;boost&#39;<br>
&gt; &gt;=C2=A0 +<br>
&gt; &gt; <br>
&gt;=C2=A0 <br>
&gt; Can we revert this?<br>
&gt; It is an issue with math/cgal and not cad/PrusaSlicer (<br>
&gt; <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">
&gt; <br>
&gt; Cheers.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0BUILD_DEPENDS=3D cereal&amp;gt;=3D1.3.0.10:dev=
el/cereal \<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cga=
l&amp;gt;=3D5.0.2:math/cgal \<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ope=
ncascade&amp;gt;=3D7.7.0:cad/opencascade<br>
&gt; <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&#39;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&#39;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>