Bug 162621 - lang/go: godoc broken
Summary: lang/go: godoc broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Julien Laffaye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 21:30 UTC by Andy Kosela
Modified: 2011-11-26 23:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Kosela 2011-11-16 21:30:10 UTC
In the latest lang/go go-20111005 godoc is broken

zork $ export GOROOT=/usr/local/go
zork $ godoc fmt
panic: open /usr/local/go/lib/godoc/codewalk.html: no such file or directory

runtime.panic+0x92 /usr/ports/lang/go/work/go-20111005/src/pkg/runtime/proc.c:1254
        runtime.panic(0x81d9f40, 0x38648680)
template.Must+0x43 /usr/ports/lang/go/work/go-20111005/src/pkg/template/helper.go:24
        template.Must(0x0, 0x38648660, 0x38648680, 0x0, 0x38648660, ...)
main.readTemplate+0x223 /usr/ports/lang/go/work/go-20111005/src/cmd/godoc/godoc.go:543
        main.readTemplate(0x821db24, 0xd, 0x3, 0x80576d0)
main.readTemplates+0x28 /usr/ports/lang/go/work/go-20111005/src/cmd/godoc/godoc.go:560
        main.readTemplates()
main.main+0x15e /usr/ports/lang/go/work/go-20111005/src/cmd/godoc/main.go:254
        main.main()
runtime.mainstart+0xf /usr/ports/lang/go/work/go-20111005/src/pkg/runtime/386/asm.s:96
        runtime.mainstart()
runtime.goexit /usr/ports/lang/go/work/go-20111005/src/pkg/runtime/proc.c:246
        runtime.goexit()
----- goroutine created by -----
_rt0_386+0xbf /usr/ports/lang/go/work/go-20111005/src/pkg/runtime/386/asm.s:83

There is no /usr/local/go/lib
Comment 1 Edwin Groothuis freebsd_committer 2011-11-16 21:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jlaffaye

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-11-26 22:56:59 UTC
jlaffaye    2011-11-26 22:56:45 UTC

  FreeBSD ports repository

  Modified files:
    lang/go              Makefile distinfo pkg-plist 
  Log:
  - Update go to 20111017 (r60.3)
  - Install the lib folder to fix goinstall [1]
  
  Reported by:    Andy Kosela <akosela@andykosela.com> [1]
  PR:             ports/162621
  Feature safe:   yes
  
  Revision  Changes    Path
  1.10      +7 -5      ports/lang/go/Makefile
  1.8       +2 -2      ports/lang/go/distinfo
  1.9       +17 -1     ports/lang/go/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Julien Laffaye freebsd_committer 2011-11-26 22:57:52 UTC
State Changed
From-To: open->closed

Fixed in the last port version.