[Bug 285303] lang/pocl: pocl 4.0 build failed in poudriere.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Mar 2025 08:45:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285303

            Bug ID: 285303
           Summary: lang/pocl: pocl 4.0 build failed in poudriere.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@sysctl.cz
                CC: ohartmann@walstatt.org
                CC: ohartmann@walstatt.org
             Flags: maintainer-feedback?(ohartmann@walstatt.org)

Hi,
I have a problem with this error in pocl 4.0.

est_command_buffer.c.o -c
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffer.c
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffer.c:147:15:
error: too few arguments to function call, expected 12, have 11
  143 |       CHECK_CL_ERROR (ext.clCommandCopyBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  144 |           command_buffer, NULL, buffer_src1, buffer_tile1,
  145 |           tile_index * tile_size, 0, tile_size, tile_sync_point ? 1 :
0,
  146 |           tile_sync_point ? &tile_sync_point : NULL,
&copy_sync_points[0],
  147 |           NULL));
      |               ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expanded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expanded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))                           
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffer.c:157:37:
error: too few arguments to function call, expected 16, have 15
  153 |       CHECK_CL_ERROR (ext.clCommandCopyBufferRectKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154 |           command_buffer, NULL, buffer_src2, buffer_tile2, src_origin,
  155 |           dst_origin, tile_region, tile_region[0], 0, tile_region[0],
0,
  156 |           tile_sync_point ? 1 : 0, tile_sync_point ? &tile_sync_point :
NULL,
  157 |           &copy_sync_points[1], NULL));
      |                                     ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expanded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expanded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))                           
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffer.c:168:37:
error: too few arguments to function call, expected 12, have 11
  165 |       CHECK_CL_ERROR (ext.clCommandCopyBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |           command_buffer, NULL, buffer_res, buffer_dst, 0,
  167 |           tile_index * tile_size, tile_size, 1, &nd_sync_point,
  168 |           &res_copy_sync_point, NULL));
      |                                     ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expanded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expanded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))                           
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffer.c:174:67:
error: too few arguments to function call, expected 12, have 11
  172 |       CHECK_CL_ERROR (ext.clCommandFillBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  173 |           command_buffer, NULL, buffer_tile1, &zero, sizeof (zero), 0,
  174 |           tile_size, 1, &nd_sync_point, &fill_sync_points[0], NULL));
      |                                                                   ^
:

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