Opened 15 years ago
Closed 14 years ago
#22476 closed request (fixed)
Add port for the Go Programming Language
Reported by: | luis.beca@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | nerdling (Jeremy Lavergne), jweede@…, lstoll@…, celil.rufat@…, pbhogan@…, oliver.saunders@…, junyaogura@… | |
Port: | go gc gccgo |
Description
Please consider adding The Go Programming Language to MacPorts.
Attachments (1)
Change History (19)
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
Cc: | snc@… added |
---|---|
Port: | go gc gccgo added |
comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)
Cc: | jweede@… added |
---|
comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)
The present portfile is working up until the tests.
--- FAIL: log.TestAllLog log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "/opt/local/var/macports/build/_Users_macports_lang_go/work/go-1.0/src/pkg/log/log_test.go:60: hello 23 world" log output should match "^/[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "/opt/local/var/macports/build/_Users_macports_lang_go/work/go-1.0/src/pkg/log/log_test.go:58: hello 23 world" log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] /[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 20:25:14.920977 /opt/local/var/macports/build/_Users_macports_lang_go/work/go-1.0/src/pkg/log/log_test.go:60: hello 23 world" log output should match "^XXX[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9] /[A-Za-z0-9_/\\-]+\\.go:[0-9]+: hello 23 world$" is "XXX2009/11/11 20:25:14.921262 /opt/local/var/macports/build/_Users_macports_lang_go/work/go-1.0/src/pkg/log/log_test.go:58: hello 23 world" FAIL make[1]: *** [test] Error 1 make: *** [log.test] Error 2
However, this looks like a correct regex. Anyone got any ideas?
comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)
Hm, i think their regex doesn't allow a period in the name. Strange?
comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)
Also, if I understand the gccgo portion correctly, that's simply compiling a gcc branch. Sounds like a variant should be added to the gcc ports for that feature.
Changed 15 years ago by nerdling (Jeremy Lavergne)
comment:7 Changed 15 years ago by nerdling (Jeremy Lavergne)
I've updated the portfile:
- overrides the build phase entirely
- moves downloaded files from
${distname}
to${name}
to avoid failing a test with a "." in the directory path. Note: changing${distname}
causes the mercurial download to fail.
comment:9 Changed 15 years ago by nefar@…
I don't think that will allow you to compile much. That port will not be referencing the packages by the looks of it, whereas my port has necessary wrappers.
comment:11 Changed 15 years ago by nefar@…
Also, I'm curious why snc added this when I told him I was already doing it.
comment:18 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I'm thinking two separate ports: one for gccgo and one for gc. Thoughts?