Spec URL: http://dl.dropbox.com/u/4165082/google-go-0.3.spec SRPM URL: http://dl.dropbox.com/u/4165082/google-go-20100120-0.3.src.rpm Description: This is my first package. I am seeking a sponsor. Google Go is aimed at producing a language which compiles quickly, has fast execution time, and comes with built in concurrency support. This is a devel-snapshot of the plan9 style compilers for Go. The developers have created a rather elegant build system for Go, however shaping it into the FHS has taken a bit of work. So when deciding where to place the files in light of the FHS I tried to use gcc as my guide as much as possible. RPMLINT ERRORS :25 Errors are because of the following reasons: 1. Statically linked binarys: The reason for this is that Go is incapable of generating dynamically linked binary at the moment, so all Go binary will be static. 2. Files which end in .go are Go source code, and do not require shebang. 3. Python scripts starting with "#!/usr/bin/env python" this is on purpose. 4. ~place-holder~ is not a backup file. 5. Go.plist is not a shell script, and does not require shebang. WARNINGS: 833 The warnings are almost all because of the presense of "devel" files. Google-Go is a devel package, it doesn't really make sense to create two packages when both would be required for Go development, so I have made them as a single package. RPMLINT ERROR OUTPUT: google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/hgpatch/hgpatch google-go.x86_64: E: statically-linked-binary /usr/bin/gofmt google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/ebnflint/ebnflint google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/godoc/godoc google-go.x86_64: E: statically-linked-binary /usr/bin/godoc google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/gofmt/gofmt google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/cgo/cgo google-go.x86_64: E: statically-linked-binary /usr/bin/ebnflint google-go.x86_64: E: statically-linked-binary /usr/bin/cgo google-go.x86_64: E: statically-linked-binary /usr/lib64/google-go/20100120/src/cmd/goyacc/goyacc google-go.x86_64: E: statically-linked-binary /usr/bin/goyacc google-go.x86_64: E: statically-linked-binary /usr/bin/hgpatch google-go.x86_64: E: missing-PT_GNU_STACK-section /usr/lib64/google-go/20100120/src/pkg/debug/elf/testdata/gcc-386-freebsd-exec google-go.x86_64: E: standard-dir-owned-by-package /usr/bin google-go.x86_64: E: non-executable-script /usr/lib64/google-go/20100120/src/pkg/syscall/mksysnum_nacl.sh 0644 /usr/bin/perl google-go.x86_64: E: script-without-shebang /usr/lib64/google-go/20100120/test/hashmap.go google-go.x86_64: E: non-executable-script /usr/share/google-go/20100120/dashboard/builder.sh 0644 /bin/sh google-go.x86_64: E: non-executable-script /usr/lib64/google-go/20100120/lib/codereview/codereview.py 0644 /usr/bin/env google-go.x86_64: E: backup-file-in-package /usr/lib64/google-go/20100120/pkg/~place-holder~ google-go.x86_64: E: script-without-shebang /usr/lib64/google-go/20100120/src/cmd/godoc/snippet.go google-go.x86_64: E: non-executable-script /usr/share/google-go/20100120/dashboard/buildcontrol.py 0644 /usr/bin/env google-go.x86_64: E: non-executable-script /usr/lib64/google-go/20100120/src/cmd/clean.bash 0644 /usr/bin/env google-go.x86_64: E: non-executable-script /usr/lib64/google-go/20100120/src/pkg/xgb/go_client.py 0644 /usr/bin/env google-go.x86_64: E: zero-length /usr/lib64/google-go/20100120/src/pkg/runtime/nacl/signals.h google-go.x86_64: E: script-without-shebang /usr/share/google-go/20100120/bbedit/Go.plist
Warning: building this srpm will delete files on your system: %prep rm -rf %{_builddir}/*
Updated spec and src.rpm Old URL's will no longer work, please use the updated files. http://dl.dropbox.com/u/4165082/google-go-0.4.spec http://dl.dropbox.com/u/4165082/google-go-20100120-0.4.src.rpm
Spec file incorrectly named, must bee %{name}.spec
Would also be nice if you could take a look on the guidelines: https://fedoraproject.org/wiki/Packaging:Guidelines there several things that are missing (src url, where is build section etc). Also create a fedora account and store files on fedorapeople, a koji scratch build would be nice too. Seems like you need to talk to upstream so the package could be packaged in FHS compatible style.
Go will be part of gcc so this could be dropped I guess. http://lwn.net/Articles/371466/
Fine with me.
There's a difference between Go and gccgo, however. Specifically, gccgo has a couple of limitations: http://golang.org/doc/gccgo_install.html#Unimplemented The lack of garbage collection makes it mostly a non-starter for serious development right now.
The spec/srpm have gone away. Any chance they can be reposted?
Alex, are you still interested in getting this approved?
*** This bug has been marked as a duplicate of bug 610934 ***