Issue building after install from Arch AUR #179

Closed
opened 2018-12-23 21:58:33 +00:00 by cryptoquick · 1 comment

Hi, I tried installing cwtch-git using yay, which apparently uses the latest on Git. I don't know if there is a way to specify which git hash or tag to use with yay, but presumably master fails to build.

The error was in the build test step:

# cwtch.im/cwtch/server/metrics
server/metrics/monitors.go:62: Errorf call has arguments but no formatting directives
FAIL	cwtch.im/cwtch/server/metrics [build failed]
==> ERROR: A failure occurred in check().
    Aborting...
Error making: cwtch-git

Presumably it tried using master on Git:

Fetching https://cwtch.im/cwtch?go-get=1
Parsing meta tags from https://cwtch.im/cwtch?go-get=1 (status code 200)
get "cwtch.im/cwtch": found meta tag get.metaImport{Prefix:"cwtch.im/cwtch", VCS:"git", RepoRoot:"https://git.openprivacy.ca/cwtch.im/cwtch"} at https://cwtch.im/cwtch?go-get=1
cwtch.im/cwtch (download)

I'm using an x86 Arch distro (Antergos).

Hi, I tried installing `cwtch-git` using `yay`, which apparently uses the latest on Git. I don't know if there is a way to specify which git hash or tag to use with yay, but presumably master fails to build. The error was in the build test step: ``` # cwtch.im/cwtch/server/metrics server/metrics/monitors.go:62: Errorf call has arguments but no formatting directives FAIL cwtch.im/cwtch/server/metrics [build failed] ==> ERROR: A failure occurred in check(). Aborting... Error making: cwtch-git ``` Presumably it tried using master on Git: ``` Fetching https://cwtch.im/cwtch?go-get=1 Parsing meta tags from https://cwtch.im/cwtch?go-get=1 (status code 200) get "cwtch.im/cwtch": found meta tag get.metaImport{Prefix:"cwtch.im/cwtch", VCS:"git", RepoRoot:"https://git.openprivacy.ca/cwtch.im/cwtch"} at https://cwtch.im/cwtch?go-get=1 cwtch.im/cwtch (download) ``` I'm using an x86 Arch distro (Antergos).
Author

This is probably still an issue, but I got around it by installing docker and building with that. I use it at work, so I'm not unfamiliar with it, but I'm not used to running system programs in docker. I'm also not sure how I'm going to distribute this. In fact, I have a lot of questions! I'll try to put together a list, or even better, find the answers by RTFS with what little Go exposure I have, and I might be able to contribute some docs... :)

This is probably still an issue, but I got around it by installing docker and building with that. I use it at work, so I'm not unfamiliar with it, but I'm not used to running system programs in docker. I'm also not sure how I'm going to distribute this. In fact, I have a lot of questions! I'll try to put together a list, or even better, find the answers by RTFS with what little Go exposure I have, and I might be able to contribute some docs... :)
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch#179
No description provided.