FAQ
The build status page at http://build.golang.org/ lists 0d51e550279c
revision as building ok on all darwin targets. However, I get this:

--- FAIL: TestAbs (0.01 seconds)
path_test.go:763: Abs(".") error: EOF
path_test.go:763: Abs("b") error: EOF
path_test.go:763: Abs("../a") error: EOF
path_test.go:763: Abs("../a/b") error: EOF
path_test.go:763: Abs("../a/b/./c/../../.././a") error: EOF
FAIL
FAIL path/filepath 0.410s

Here is the checkout info:

hg tip:
changeset: 16648:0d51e550279c
tag: tip
user: Ian Lance Taylor <...>
date: Fri Apr 12 07:58:50 2013 -0700
summary: cmd/ld: if we fail from an unexpected PE flags value, print it

uname -a:
Darwin vlad 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST
2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

Any guidance?

Thanks!
Vlad

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dave Cheney at Apr 13, 2013 at 12:16 am
    Can you check that you do not have any other versions of Go in your path, and check that you have unset GOROOT.

    Cheers

    Dave


    On 13/04/2013, at 3:39 AM, Vlad wrote:

    The build status page at http://build.golang.org/ lists 0d51e550279c revision as building ok on all darwin targets. However, I get this:

    --- FAIL: TestAbs (0.01 seconds)
    path_test.go:763: Abs(".") error: EOF
    path_test.go:763: Abs("b") error: EOF
    path_test.go:763: Abs("../a") error: EOF
    path_test.go:763: Abs("../a/b") error: EOF
    path_test.go:763: Abs("../a/b/./c/../../.././a") error: EOF
    FAIL
    FAIL path/filepath 0.410s

    Here is the checkout info:

    hg tip:
    changeset: 16648:0d51e550279c
    tag: tip
    user: Ian Lance Taylor <...>
    date: Fri Apr 12 07:58:50 2013 -0700
    summary: cmd/ld: if we fail from an unexpected PE flags value, print it

    uname -a:
    Darwin vlad 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

    Any guidance?

    Thanks!
    Vlad
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Vlad at Apr 13, 2013 at 1:00 am
    Dave,

    Thanks for the suggestions.

    sudo find / -xdev -name go 2>/dev/nulll did not find anything relevant.

    Unsetting GOROOT and GOPATH did not fix it either. BTW, I am following your
    guide at
    http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go ,
    so building with all.bash may be something related to it?

    Vlad

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dave Cheney at Apr 13, 2013 at 1:23 am
    If its a bug related to my xcompile scripts, log an issue on GitHub.

    Cheers

    Dave


    On 13/04/2013, at 11:00 AM, Vlad wrote:

    Dave,

    Thanks for the suggestions.

    sudo find / -xdev -name go 2>/dev/nulll did not find anything relevant.

    Unsetting GOROOT and GOPATH did not fix it either. BTW, I am following your guide at http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go , so building with all.bash may be something related to it?

    Vlad
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Vlad at Apr 13, 2013 at 2:14 am
    I am not sure at all what this is related to. It does not look like an
    xcompile issue - I am not yet to that part. I am at the point where I am
    compiling go iytself with all.bash. I mentioned the instructions to provide
    context.
    On Friday, April 12, 2013 8:15:13 PM UTC-5, Dave Cheney wrote:

    If its a bug related to my xcompile scripts, log an issue on GitHub.

    Cheers

    Dave
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Vlad at Apr 13, 2013 at 10:18 am
    OK, I did not realize I was root on that machine.

    The problem, though, boils down to the go code failing when run under OSX
    root's temp directory as root (which it should not). Filed
    issue https://code.google.com/p/go/issues/detail?id=5286

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Vlad at Apr 13, 2013 at 10:34 am
    Dave,

    Thanks for the suggestions.

    sudo find / -xdev -name go 2>/dev/nulll did not find anything relevant.

    Unsetting GOROOT and GOPATH did not fix it either. BTW, I am following your
    guide
    at http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
    , so building with all.bash may be something related to it?

    Vlad
    On Friday, April 12, 2013 7:15:59 PM UTC-5, Dave Cheney wrote:

    Can you check that you do not have any other versions of Go in your path,
    and check that you have unset GOROOT.

    Cheers

    Dave



    On 13/04/2013, at 3:39 AM, Vlad <vl...@mvphybrid.com <javascript:>> wrote:

    The build status page at http://build.golang.org/ lists 0d51e550279c
    revision as building ok on all darwin targets. However, I get this:

    --- FAIL: TestAbs (0.01 seconds)
    path_test.go:763: Abs(".") error: EOF
    path_test.go:763: Abs("b") error: EOF
    path_test.go:763: Abs("../a") error: EOF
    path_test.go:763: Abs("../a/b") error: EOF
    path_test.go:763: Abs("../a/b/./c/../../.././a") error: EOF
    FAIL
    FAIL path/filepath 0.410s

    Here is the checkout info:

    hg tip:
    changeset: 16648:0d51e550279c
    tag: tip
    user: Ian Lance Taylor <...>
    date: Fri Apr 12 07:58:50 2013 -0700
    summary: cmd/ld: if we fail from an unexpected PE flags value, print it

    uname -a:
    Darwin vlad 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST
    2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

    Any guidance?

    Thanks!
    Vlad

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dave Cheney at Apr 13, 2013 at 10:37 am
    Thanks for your bug report, I'm glad you found the solution.
    On Sat, Apr 13, 2013 at 10:59 AM, Vlad wrote:
    Dave,

    Thanks for the suggestions.

    sudo find / -xdev -name go 2>/dev/nulll did not find anything relevant.

    Unsetting GOROOT and GOPATH did not fix it either. BTW, I am following your
    guide at
    http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
    , so building with all.bash may be something related to it?

    Vlad
    On Friday, April 12, 2013 7:15:59 PM UTC-5, Dave Cheney wrote:

    Can you check that you do not have any other versions of Go in your path,
    and check that you have unset GOROOT.

    Cheers

    Dave



    On 13/04/2013, at 3:39 AM, Vlad wrote:

    The build status page at http://build.golang.org/ lists 0d51e550279c
    revision as building ok on all darwin targets. However, I get this:

    --- FAIL: TestAbs (0.01 seconds)
    path_test.go:763: Abs(".") error: EOF
    path_test.go:763: Abs("b") error: EOF
    path_test.go:763: Abs("../a") error: EOF
    path_test.go:763: Abs("../a/b") error: EOF
    path_test.go:763: Abs("../a/b/./c/../../.././a") error: EOF
    FAIL
    FAIL path/filepath 0.410s

    Here is the checkout info:

    hg tip:
    changeset: 16648:0d51e550279c
    tag: tip
    user: Ian Lance Taylor <...>
    date: Fri Apr 12 07:58:50 2013 -0700
    summary: cmd/ld: if we fail from an unexpected PE flags value, print
    it

    uname -a:
    Darwin vlad 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST
    2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

    Any guidance?

    Thanks!
    Vlad

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 13, '13 at 12:16a
activeApr 13, '13 at 10:37a
posts8
users2
websitegolang.org

2 users in discussion

Vlad: 5 posts Dave Cheney: 3 posts

People

Translate

site design / logo © 2022 Grokbase