Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 651
    • Issues 651
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 183
    • Merge Requests 183
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #10737

Closed
Open
Opened Aug 18, 2019 by Sören Tempel@nmeumMaintainer
  • Report abuse
  • New issue
Report abuse New issue

GOCACHE is not disabled by default

During the go package rebuild I noticed that testing/singularity fails with errors like:

/usr/lib/go/src/strconv/atof.go:13:8: can't open import: "math": open /home/buildozer/.cache/go-build/79/79d9756126d791338847a2dbc18ee32a7b97d2a211859da41333ad0c3aab0060-d: no such file or directory

It builds fine locally though.

These errors seem to be related to the Go compiler. It seems that some distributions disable the compiler cache for their builders which might be a good idea. Void Linux, for instance, disables it through their go template file: https://github.com/void-linux/void-packages/blob/371de6a0318b1e7ad86c26e84d946c66004e44d9/srcpkgs/go/template#L34

One very easy way to disable it in alpine would be adding export GOCACHE=off to /etc/abuild.conf.

Edited Aug 18, 2019 by Sören Tempel
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
Aports
Assign labels
  • View project labels
Reference: alpine/aports#10737