Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1987569 - hugo: FTBFS in Fedora rawhide/f35
Summary: hugo: FTBFS in Fedora rawhide/f35
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hugo
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Athos Ribeiro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1996439
Blocks: F35FTBFS F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-29 15:17 UTC by Fedora Release Engineering
Modified: 2021-10-29 22:53 UTC (History)
5 users (show)

Fixed In Version: hugo-0.80.0-4.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-30 20:46:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2021-07-29 15:17 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2021-07-29 15:17 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2021-07-29 15:17 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2021-07-29 15:17:02 UTC
hugo failed to build from source in Fedora rawhide/f35

https://koji.fedoraproject.org/koji/taskinfo?taskID=72378675


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix hugo at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
hugo will be orphaned. Before branching of Fedora 36,
hugo will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-07-29 15:17:08 UTC
Created attachment 1807728 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-07-29 15:17:11 UTC
Created attachment 1807729 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 15:17:14 UTC
Created attachment 1807730 [details]
state.log

Comment 4 Fedora Release Engineering 2021-08-01 04:27:56 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 5 Ben Cotton 2021-08-10 13:20:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Fedora Release Engineering 2021-08-22 04:24:23 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 7 Fedora Release Engineering 2021-09-12 04:23:58 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 8 W. Michael Petullo 2021-09-17 17:20:50 UTC
This seems to be due to the churn related to Go packages:

Package go-rpm-macros-3.0.11-2.fc35.x86_64 is already installed.
Package golang-github-bep-golibsass-devel-1.0.0-2.fc35.noarch is already installed.
Error: 
 Problem 1: conflicting requests
  - nothing provides golang(go.etcd.io/etcd/clientv3) needed by golang-gocloud-devel-0.21.0-3.fc35~bootstrap.noarch
  - nothing provides golang(go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes) needed by golang-gocloud-devel-0.21.0-3.fc35~bootstrap.noarch
 Problem 2: package golang-github-gohugoio-testmodbuilder-devel-0-0.7.20201030git72e1e0c.fc35.noarch requires golang(github.com/gohugoio/hugo/hugofs/glob), but none of the providers can be installed
  - package golang-github-gohugoio-testmodbuilder-devel-0-0.7.20201030git72e1e0c.fc35.noarch requires golang(github.com/gohugoio/hugo/modules), but none of the providers can be installed
  - package golang-github-gohugoio-hugo-devel-0.80.0-2.fc34.noarch requires golang(gocloud.dev/blob), but none of the providers can be installed
  - package golang-github-gohugoio-hugo-devel-0.80.0-2.fc34.noarch requires golang(gocloud.dev/blob/azureblob), but none of the providers can be installed
  - package golang-github-gohugoio-hugo-devel-0.80.0-2.fc34.noarch requires golang(gocloud.dev/blob/fileblob), but none of the providers can be installed
  - package golang-github-gohugoio-hugo-devel-0.80.0-2.fc34.noarch requires golang(gocloud.dev/blob/gcsblob), but none of the providers can be installed
  - package golang-github-gohugoio-hugo-devel-0.80.0-2.fc34.noarch requires golang(gocloud.dev/blob/s3blob), but none of the providers can be installed
  - conflicting requests
  - nothing provides golang(go.etcd.io/etcd/clientv3) needed by golang-gocloud-devel-0.21.0-3.fc35~bootstrap.noarch
  - nothing provides golang(go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes) needed by golang-gocloud-devel-0.21.0-3.fc35~bootstrap.noarch

Comment 9 W. Michael Petullo 2021-09-24 22:58:39 UTC
The churn surrounding the Go packages seems to have settled. From what I can tell we are back to the original cause of this FTBFS.

Comment 10 W. Michael Petullo 2021-09-29 21:41:47 UTC
I made some progress.

It seems that the API exported by golang-github-getkin-kin-openapi-devel changed out from under Hugo. the README.md from golang-github-getkin-kin-openapi-devel contains:
    
    ## Sub-v0 breaking API changes
    
    ### v0.61.0
    * Renamed `openapi2.Swagger` to `openapi2.T`.
    * Renamed `openapi2conv.FromV3Swagger` to `openapi2conv.FromV3`.
    * Renamed `openapi2conv.ToV3Swagger` to `openapi2conv.ToV3`.
    * Renamed `openapi3.LoadSwaggerFromData` to `openapi3.LoadFromData`.
    * Renamed `openapi3.LoadSwaggerFromDataWithPath` to `openapi3.LoadFromDataWithPath`.
    * Renamed `openapi3.LoadSwaggerFromFile` to `openapi3.LoadFromFile`.
    * Renamed `openapi3.LoadSwaggerFromURI` to `openapi3.LoadFromURI`.
    * Renamed `openapi3.NewSwaggerLoader` to `openapi3.NewLoader`.
    * Renamed `openapi3.Swagger` to `openapi3.T`.
    * Renamed `openapi3.SwaggerLoader` to `openapi3.Loader`.
    * Renamed `openapi3filter.ValidationHandler.SwaggerFile` to `openapi3filter.ValidationHandler.File`.
    * Renamed `routers.Route.Swagger` to `routers.Route.Spec`.
    
The latest version of the Hugo package now includes a patch to make use of this new symbol name, T.

However, this exposes another error:

[...]
PASS
ok  	github.com/gohugoio/hugo/common/para	0.002s
github.com/gohugoio/hugo/common/text
--- FAIL: TestPositionStringFormatter (0.00s)
    position_test.go:27: 
        error:
          values are not equal
        got:
          "\x1b[1;36m/my/file.txt|13|12\x1b[0m"
        want:
          "/my/file.txt|13|12"
        stack:
          /home/mike/rpmbuild/BUILD/hugo-0.80.0/_build/src/github.com/gohugoio/hugo/common/text/position_test.go:27
            c.Assert(createPositionStringFormatter(":file|:col|:line")(pos), qt.Equals, "/my/file.txt|13|12")
        
FAIL
exit status 1
FAIL	github.com/gohugoio/hugo/common/text	0.002s
error: Bad exit status from /var/tmp/rpm-tmp.6H8SLx (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.6H8SLx (%check)

Comment 12 Fedora Update System 2021-09-30 20:56:12 UTC
FEDORA-2021-540a68a98b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-540a68a98b

Comment 13 Fedora Update System 2021-10-01 01:39:46 UTC
FEDORA-2021-540a68a98b has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-540a68a98b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-540a68a98b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2021-10-29 22:53:30 UTC
FEDORA-2021-540a68a98b has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.