Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version argument does not output acmetool version #53

Closed
w00kie opened this issue Jan 4, 2016 · 4 comments
Closed

Version argument does not output acmetool version #53

w00kie opened this issue Jan 4, 2016 · 4 comments

Comments

@w00kie
Copy link

w00kie commented Jan 4, 2016

When running acme tool --version all I get is version information about Go.

francois@kessel /var/www $ acmetool --version
go version go1.5.1 linux/amd64 gc cgo=true
build unknown

Then reason I want to see the version is that I had acmetool installed from source before and just started using the Ubuntu PPA release and would like to make sure apt-get correctly overwrote my previous installation.

@hlandau
Copy link
Owner

hlandau commented Jan 6, 2016

For versioning information, build as follows:

$ make USE_BUILDINFO=1

@hlandau hlandau closed this as completed Jan 6, 2016
@w00kie
Copy link
Author

w00kie commented Jan 6, 2016

Could you update the binaries so they are built with this option? As stated, I am installing from the Ubuntu PPA.

@hlandau
Copy link
Owner

hlandau commented Jan 6, 2016

Huh?

Downloads$ tar xvf acmetool-v0.0.27-linux_amd64_cgo.tar.gz 
acmetool-v0.0.27-linux_amd64_cgo/
acmetool-v0.0.27-linux_amd64_cgo/bin/
acmetool-v0.0.27-linux_amd64_cgo/bin/acmetool
acmetool-v0.0.27-linux_amd64_cgo/doc/
acmetool-v0.0.27-linux_amd64_cgo/doc/acmetool.8
acmetool-v0.0.27-linux_amd64_cgo/README.md
Downloads$ cd acmetool-v0.0.27-linux_amd64_cgo
acmetool-v0.0.27-linux_amd64_cgo$ ./bin/acmetool --version
go version go1.5.2 linux/amd64 gc cgo=true
built by travis
git github.com/alecthomas/template 14fd436dd20c3cc65242a9f396b61bfc8a3926fc heads/master
git github.com/alecthomas/units 2efee857e7cfd4f3d0138cc3cbb1b4966962b93a heads/master
git github.com/coreos/go-systemd 4f14f6deef2da87e4aa59e6c1c1f3e02ba44c5e1 heads/master
git github.com/godbus/dbus a1b8ba5163b7f041b22761461eabd02b70d1f824 heads/master
git github.com/hlandau/acme 3b0a5c5ed2604169f3a5c06fc027f04a3fe1c896 v0.0.27
git github.com/hlandau/degoutils 84ffe62d5c43845c9cf4de43a94dd1c0ad102eb4 heads/master
git github.com/hlandauf/gspt 25f3bd3f5948489aa5f31c949310ae9f2b0e956c heads/master
git github.com/hlandauf/pb 0c1cdefd84b3b1937c4e54309f3a817d9c683bab heads/master
git github.com/hlandau/xlog c37f75515760879c01260fdb842000f8af5c665c heads/master
git github.com/mattn/go-isatty 56b76bdf51f7708750eac80fa38b952bb9f32639 heads/master
git github.com/ogier/pflag 6f7159c3154e7cd4ab30f6cc9c58fa3fd0f22325 heads/master
git github.com/peterhellberg/link 1053d3b2893eeebd482fce32550ec24bebed308c heads/master
git github.com/satori/go.uuid d41af8bb6a7704f00bc3b7cba9355ae6a5a80048 heads/master
git github.com/shiena/ansicolor a422bbe96644373c5753384a59d678f7d261ff10 heads/master
git github.com/square/go-jose 37934a899dd03635373fd1e143936d32cfe48d31 heads/master
git golang.org/x/crypto f18420efc3b4f8e9f3d51f6bd2476e92c46260e9 heads/master
git golang.org/x/net 0cb26f788dd4625d1956c6fd97ffc4c90669d129 heads/master
git gopkg.in/alecthomas/kingpin.v2 8852570bd3865e9c4d4cb7cf5001c4295b07cad5 tags/v2.1.8
git gopkg.in/hlandau/configurable.v1 41496864a1fe3e0fef2973f22372b755d2897402 v1.0.1
git gopkg.in/hlandau/easyconfig.v1 c54c1752c0585f34484ae2f218366984d2234ede v1.0.12
git gopkg.in/hlandau/service.v2 88289e1ff32ad5b17c5b19d3d9680af98b036d0d v2.0.12
git gopkg.in/hlandau/svcutils.v1 71059456e8e64b0913a61a46dd1898853222905e v1.0.3
git gopkg.in/tylerb/graceful.v1 48afeb21e2fcbcff0f30bd5ad6b97747b0fae38e tags/v1.2.3
git gopkg.in/yaml.v2 f7716cbe52baa25d2e9b0d0da546fcf909fc16b4 heads/master

Same for the PPA.

@w00kie
Copy link
Author

w00kie commented Jan 7, 2016

Alright, so I was right to check this. The acmetool I built from source in the past was in /usr/local/bin/ but the one from the PPA was in /usr/bin and /usr/local/bin has priority in my PATH.

Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants