pkgsrc-Users archive

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

Re: devel/bazel fails to build



On 25/12/14 03:41PM, Greg Troxel wrote:
> 
> Does this build for anyone else?
> 

None that I'm aware of. I investigated this a while ago:

* This is a known issue: https://issuetracker.google.com/issues/393136104
  The commonly shared and dirty fix involves patching bazel/build_defs.bzl 
  - which contains a bunch of flags to pass to the compiler *including
  Werror* - and pass `-Wno-error=c23-extensions'. This is at least
  what FreeBSD and Fedora are doing. Using BUILDLINK_TRANSFORM could be
  a possible workaround but IIRC it didn't work on my side.

* There is an open PR (pkg/59590) for bazel on GNATS.[1] 
  Likely, tsutsui reported it because bazel breaks japanese input related
  packages.
  [1] https://mail-index.netbsd.org/pkgsrc-bugs/2025/08/12/msg074234.html

* The issue was brought up on tech-pkg, and ryo replied clarifying
  what's holding back an apparently simple fix.[2] Our bazel package
  uses a custom distfile with all the patches already applied, so
  hypothetically, to keep this patch-less setup as it is, the fix should
  applied before rebuilding the tarball. It's not clear why doing this
  requires a Linux environment.
  https://mail-index.netbsd.org/tech-pkg/2025/08/08/msg031433.html

-- 
PVO | https://retrobsd.ddns.net

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index