pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/games/eureka



Jonathan Perkin wrote:
> * On 2020-05-15 at 15:59 BST, Michael Baeuerle wrote:
> > 
> > +# Error on SmartOS 20200130T160054Z/x86_64:
> > +# [...]
> > +# src/e_basis.cc:1200:57: error: expected ',' or '...' before numeric constant
> > +#  1200 | static void ChecksumSector(crc32_c& crc, const Sector * SEC)
> > +#       |                                                         ^~~
> > +# src/e_basis.cc: In function 'void ChecksumSector(crc32_c&, const Sector*)':
> > +# src/e_basis.cc:1202:12: error: base operand of '->' is not a pointer
> > +#  1202 |  crc += SEC->floorh;
> > +#       |            ^~
> > +BROKEN_ON_PLATFORM=        SunOS-*-*  
> 
> Please don't do this, there is absolutely no benefit in adding BROKEN
> for things that can easily be fixed, and makes it much harder to
> investigate.
> 
> There is no harm in having packages show up in bulk build reports,
> after all that's the entire point of publishing them!  Users can then,
> if they notice a package is unavailable, go and find out what the
> cause is.  Packages that are marked as BROKEN just show up as
> unavailable with no useful details at all.
> 
> I've gone ahead and fixed the package, as well as removing this.

Thank you for fixing the package!

I have added it after reading this section of the documentation:
| 
| 21.1.7. Packages that cannot or should not be built
| 
| There are several reasons why a package might be instructed to not build
| under certain circumstances. If the package builds and runs on most
| platforms, the exceptions should be noted with BROKEN_ON_PLATFORM. [...]

Maybe this section should list the reasons, when BROKEN_ON_PLATFORM should
be used (or not).

-- 
Regards,
Michael Bäuerle



Home | Main Index | Thread Index | Old Index