careful-mechanic-89327
04/04/2023, 10:32 AM12:24:56.74 [ERROR] 1 Exception encountered:
Engine traceback:
in select
in pants.core.goals.check.check
in pants.backend.scala.goals.check.scalac_check (scalac)
in pants.backend.scala.compile.scalac.compile_scala_source
in pants.jvm.compile.compile_classpath_entries
in pants.jvm.resources.assemble_resources_jar
in pants.engine.process.fallible_to_exec_result_or_raise
Traceback (most recent call last):
File "/Users/jbenito/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.1Nnv7r/install/lib/python3.9/site-packages/pants/engine/process.py", line 275, in fallible_to_exec_result_or_raise
raise ProcessExecutionFailure(
pants.engine.process.ProcessExecutionFailure: Process 'Build resources JAR for sdk/transport-security-web-lib/src/test/resources:resources' failed with exit code 1.
stdout:
stderr:
/usr/bin/touch: illegal option -- d
usage:
touch [-A [-][[hh]mm]SS] [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
Do you have why this could be happening?
Thanks in advanceenough-analyst-54434
04/04/2023, 12:44 PMtouch -d ...
where BSD / Mac need touch -t ...
.careful-mechanic-89327
04/04/2023, 12:49 PM2.14.0
enough-analyst-54434
04/04/2023, 12:51 PMcareful-mechanic-89327
04/04/2023, 12:52 PM2.15
?enough-analyst-54434
04/04/2023, 12:55 PMenough-analyst-54434
04/04/2023, 12:57 PMenough-analyst-54434
04/04/2023, 12:57 PMenough-analyst-54434
04/04/2023, 12:59 PMso, I should update to 2.15 ?
@careful-mechanic-89327 no. From what I can tell the bug is present in 2.13.1 and newer.
careful-mechanic-89327
04/04/2023, 1:00 PMenough-analyst-54434
04/04/2023, 1:00 PMcareful-mechanic-89327
04/04/2023, 1:02 PMcareful-mechanic-89327
04/04/2023, 1:02 PMancient-vegetable-10556
04/04/2023, 3:21 PMman touch
into your terminal, and send me me the contents of the SYNOPSIS
block at the top, and the mac os version date listed at the bottom of the page?SYNOPSIS
touch [-A [-][[hh]mm]SS] [-achm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]]
[-d YYYY-MM-DDThh:mm:SS[.frac][tz]] file ...
macOS 12.6 June 1, 2018 macOS 12.6
enough-analyst-54434
04/04/2023, 3:23 PMancient-vegetable-10556
04/04/2023, 3:24 PMtouch
supports -d
as well as `-t`; GNU and BSD touch
also support obsolescent arguments with a 2-digit year… which will leave us well supported until December 2038 🙄 )ancient-vegetable-10556
04/04/2023, 3:28 PM-t
is supported on GNU touch, so that’s probably the way to go here.ancient-vegetable-10556
04/04/2023, 5:08 PMcareful-mechanic-89327
04/05/2023, 8:17 AM