Skip to content

gccgo: hugo tests fail with gccgo, works fine with gc #28669

@glaubitz

Description

@glaubitz

Trying to build hugo with gccgo fails because the testsuite fails with:

=== RUN   TestMethodToName
--- FAIL: TestMethodToName (0.00s)
        assertions.go:256: 
                        Error Trace:    templatefuncRegistry_test.go:34
                        Error:          Not equal: 
                                        expected: "$thunk0"
                                        actual  : "thunk0"
                                    
                                        Diff:
                                        --- Expected
                                        +++ Actual
                                        @@ -1 +1 @@
                                        -$thunk0
                                        +thunk0
                        Test:           TestMethodToName
FAIL
FAIL    github.com/gohugoio/hugo/tpl/internal   0.523s

Full log available at: https://people.debian.org/~glaubitz/gccgo-logs/hugo_0.47.1-2_amd64.build

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions