Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

error building on FreeBSD #1854

Closed
Closed
Assignees
Labels
conclusion: resolvedIssue was resolved os: linuxSpecific to Linux operating system topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@duncan-bayne

Description

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月29日T12: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 resolved os: linuxSpecific to Linux operating system topic: codeRelated to content of the project itself type: 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

      AltStyle によって変換されたページ (->オリジナル) /