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

Fix v2.3.0 build errors #2

Open
cpick opened this issue May 30, 2018 · 0 comments
Open

Fix v2.3.0 build errors #2

cpick opened this issue May 30, 2018 · 0 comments

Comments

@cpick
Copy link
Owner

cpick commented May 30, 2018

The v2.3.0 relesase has been merged into the debian branch in commit 9b97f6f (see #1), but the code does not build as previous versions had.

Currently, doing a dpkg-buildpackage -us -uc failes with:

dpkg-buildpackage: source package hub
dpkg-buildpackage: source version 2.3.0-0ubuntu0ppa1
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by Chris Pick <[email protected]>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build src
 fakeroot debian/rules clean
dh clean --buildsystem=golang --with=golang
   dh_testdir -O--buildsystem=golang
   dh_auto_clean -O--buildsystem=golang
   dh_clean -O--buildsystem=golang
 dpkg-source -b src
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field
dpkg-source: warning: source directory 'src' is not <sourcepackage>-<upstreamversion> 'hub-2.3.0'
dpkg-source: info: building hub in hub_2.3.0-0ubuntu0ppa1.tar.gz
dpkg-source: info: building hub in hub_2.3.0-0ubuntu0ppa1.dsc
 debian/rules build
dh build --buildsystem=golang --with=golang
   dh_testdir -O--buildsystem=golang
   dh_update_autotools_config -O--buildsystem=golang
   dh_auto_configure -O--buildsystem=golang
   dh_auto_build -O--buildsystem=golang
can't load package: package github.com/github/hub: no buildable Go source files in /home/ubuntu/src/obj-x86_64-linux-gnu/src/github.com/github/hub
	go install -v
can't load package: package .: no buildable Go source files in /home/ubuntu/src/obj-x86_64-linux-gnu
dh_auto_build: go install -v returned exit code 1
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
This was referenced May 30, 2018
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

1 participant