[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574371: ITP: go -- The compiler for Google's Go programming language.



Hi again,

I went ahead and pushed my latest changes to hg.debian.org.  Now
you can install google-go and "godoc -http=:6060" will work as
expected.  For my needs, that’s good enough for it to be usable,
though I expect there will be plenty of other problems to fix
as I try it out more.

One more thought.

While working on the package, I had something like this
diff applied:

-- 8< --
diff --git a/src/cmd/make.bash b/src/cmd/make.bash
index d0fda7d..639fa4b 100755
--- a/src/cmd/make.bash
+++ b/src/cmd/make.bash
@@ -5,8 +5,6 @@
 
 set -e
 
-bash clean.bash
-
 GOBIN="${GOBIN:-$HOME/bin}"
 
 . "$GOROOT"/src/Make.$GOARCH
diff --git a/src/make.bash b/src/make.bash
index b718bb9..051d37d 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -43,7 +43,6 @@ fi
 	cd "$GOROOT"/src/pkg;
 	bash deps.bash	# do this here so clean.bash will work in the pkg directory
 )
-bash "$GOROOT"/src/clean.bash
 
 for i in lib9 libbio libmach cmd pkg libcgo cmd/cgo cmd/ebnflint cmd/godoc cmd/gofmt cmd/goinstall cmd/goyacc cmd/hgpatch
 do
-- >8 --

To try out a change in the packaging, I would use:

 ; rm debian/*.stamp debian/*.debhelper.log
 ; rm -fr debian/google-go/
 ; fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck

and I would not have to wait a long time.

I think this change would be useful for anyone trying to build from
source in Debian, since “debian/rules clean” already takes care of the
‘clean’ step.  So it would be nice to get upstream to
include some knob to tweak this.

Ciao,
Jonathan



Reply to: