Incompatible with go 1 release

Bug #975500 reported by lamvak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gommap
Fix Released
Undecided
Unassigned

Bug Description

Cannot compile. Complains about os.Error, but cannot say if that's the only issue, for it fails with "too many errors".
go get launchpad.net/gommap gives:

# launchpad.net/gommap
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:31: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:40: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:51: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:78: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:93: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:104: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:115: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:126: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:137: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:151: undefined: os.Error
/usr/share/go/src/pkg/launchpad.net/gommap/gommap.go:151: too many errors

Tags: release1
Revision history for this message
lamvak (lamvak) wrote :

This patch allowed me to compile and successfully import / use gommap with newest go.
Had to remove consts.c But then I was able to just go build, not using GNU make. (The results of the consts.c existed in my checkout anyways.)
This patch makes it only possible to build gommap, but it feels like gommap needs a little project-level reconsideration.

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

As you've seen, I've updated gommap after a period of stagnation. Please let me know what you think of the new API.

Changed in gommap:
status: New → Fix Released
Revision history for this message
lamvak (lamvak) wrote :

LGTM

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.