[Bug 240618] databases/tiledb: fix build on non-x86

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 16 16:46:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240618

            Bug ID: 240618
           Summary: databases/tiledb: fix build on non-x86
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Created attachment 207541
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207541&action=edit
patch

Build on non-x86 currently fails with:
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:280:4:
error: #warning Hardware-acceleration detection not implemented for the target
architecture. Only the generic shuffle/unshuffle routines will be available.
[-Werror=cpp]
  280 |   #warning Hardware-acceleration detection not implemented for the
target architecture. Only the generic shuffle/unshuffle routines will be
available.
      |    ^~~~~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:
In function 'blosc::shuffle_implementation_t
blosc::get_shuffle_implementation()':
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:290:22:
error: unused variable 'cpu_features' [-Werror=unused-variable]
  290 |   blosc_cpu_features cpu_features = blosc_get_cpu_features();
      |                      ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Don't add -Werror to fix build.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list