Skip to content

error building on FreeBSD #1854

Closed
Closed
@duncan-bayne

Description

@duncan-bayne

Describe the problem

When I try to build arduino-cli with task build, I receive the following error:

$ task build
task: [go:build] go build -v -ldflags ' -X github.com/arduino/arduino-cli/version.versionString=git-snapshot -X github.com/arduino/arduino-cli/version.commit=aa41d72e -X github.com/arduino/arduino-cli/version.date=2022-08-29T12:47:49Z '
github.com/arduino/arduino-cli/i18n
# github.com/arduino/arduino-cli/i18n
i18n/detect.go:24:9: undefined: getLocaleIdentifier
task: Failed to run task "go:build": exit status 2

To reproduce

  1. git clone https://github.com/arduino/arduino-cli/
  2. cd arduino-cli
  3. task build

Expected behavior

I'd expect arduino-cli to compile without errors.

Arduino CLI version

aa41d72

Operating system

N/A

Operating system version

FreeBSD 13.1-RELEASE GENERIC amd64

Additional context

  • FreeBSD 13.1-RELEASE GENERIC amd64
  • Task version: v3.14.1 (h1:myTmEIbMbQx2D+g5lJvnbSqX531HmxiaQuefAqz8ISA=)
  • go version go1.18.5 freebsd/amd64

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

conclusion: resolvedIssue was resolvedos: linuxSpecific to Linux operating systemtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions