Sync hugo 0.113.0-2 (universe) from Debian unstable (main)

Bug #2025668 reported by Anthony Fok
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hugo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Please sync hugo 0.112.7-1 (universe) from Debian unstable (main)

Explanation of the Ubuntu delta and why it can be dropped:
  * Merge from Debian unstable. Remaining changes:
    - 0004-skip-tests-that-access-the-internet.patch: add TestGetResourceHead
      to this patch as it tries to access the internet.
    - 0006-skip-special-character-tests.patch: skip some tests that are
      incompatible with the character sets in ppc64el.
0004-skip-tests-that-access-the-internet.patch was integrated into 0.111.2-1.
0006-skip-special-character-tests.patch is no longer necessary with go1.20.

Changelog entries since current mantic version 0.110.0-1ubuntu1:

hugo (0.112.7-1) unstable; urgency=medium

  * New upstream version 0.112.7
  * Update versioned dependencies as per go.mod
  * Remove 0002-disable-TestPageWithLastmodFromGitInfo.patch
    as TestPageWithLastmodFromGitInfo was removed upstream,
    and refresh 0003-increase-timeout-in-TestPageBundlerSiteRegular.patch
  * Install testscripts/commands/*.txt so that TestCommands() does not fail
    with "no txtar nor txt scripts found in dir testscripts/commands"
  * Add debian/patches/0002-skip-TestCommands-mod.patch to remove
    testscripts/commands/mod.txt which fails during Debian package build
  * Update file list in debian/copyright

 -- Anthony Fok <email address hidden> Thu, 29 Jun 2023 02:26:46 -0600

hugo (0.111.3-1) unstable; urgency=medium

  * New upstream version 0.111.3
  * Bump dependency golang-github-niklasfasching-go-org-dev (>= 1.6.6)
    as per upstream go.mod

 -- Anthony Fok <email address hidden> Thu, 16 Mar 2023 02:41:31 -0600

hugo (0.111.2-1) unstable; urgency=medium

  * New upstream version 0.111.2
  * Add TestGetResourceHead to 0004-skip-tests-that-access-the-internet.patch.
    Thanks to William 'jawn-smith' Wilson for the contributing from Ubuntu!
  * Bump versioned dependencies as per go.mod
  * Add temporary local copy of github.com/bep/lazycache v0.2.0
    and its dependency github.com/hashicorp/golang-lru/v2 v2.0.1
  * Update file list in debian/copyright
  * Fix Lintian mismatched-override source-is-missing warning. The override
    was added for hugo 0.110.0-1 but turns out to be a false positive.
    Thanks to William Desportes for fixing the issue in lintian 2.116.2!

 -- Anthony Fok <email address hidden> Thu, 09 Mar 2023 04:13:04 -0700

Revision history for this message
Dave Jones (waveform) wrote :

Looks good; I'll set this going. Thanks!

Dave Jones (waveform)
Changed in hugo (Ubuntu):
status: New → In Progress
Revision history for this message
Dave Jones (waveform) wrote :

Oh dear, that doesn't seem to like building: https://launchpad.net/ubuntu/+source/hugo/0.112.7-1 -- I note Debian sid is now on 0.113.0-1. Is it worth sync'ing that instead?

Changed in hugo (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Anthony Fok (foka) wrote :

Hi Dave,

Thank you so much for looking into this, and for letting me know of the FTBFS:

    # google.golang.org/grpc/binarylog/grpc_binarylog_v1
    src/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go:46:17: undefined: proto.ProtoPackageIsVersion4

Yes, 0.113.0-1 is worth sync'ing instead of 0.112.7-1, though I suspect it would stop at the same "undefined: proto.ProtoPackageIsVersion4" error.

May I get back to you in a day or two? I will try building this package on mantic and try to find a solution.

Thanks and Cheers!

Revision history for this message
Anthony Fok (foka) wrote :

I now start to understand what's going on. It is related to

- https://bugs.debian.org/1026139
- golang-google-grpc-dev 1.33.3-2 in Ubuntu mantic and in Debian sid
- golang-google-grpc-dev 1.38.0-5 in Ubuntu mantic-proposed

In a nutshell, from what I understand bassed on the discussions on OFTC #debian-golang IRC channel between 2023-06-23 and 2023-06-28, golang-google-grpc 1.38.0-5, still experimental in nature, got mistakenly/prematurely uploaded to Debian unstable and broke quite a few packages due to the switch from golang-github-golang-protobuf-1-3-dev to golang-github-golang-protobuf-1-5-dev.

Debian's golang-google-grpc was somehow magically reverted to 1.33.3-2 (with apt-get) and unbroke everything, even though https://tracker.debian.org/pkg/golang-google-grpc still shows 1.38.0-5.
And yes, 1.38.0-5 got sync'ed into mantic-proposed too.

Oh, wait, kibi explained that the package was actually not reverted:

<kibi> foka: we talked about doing that, but that wasn't implemented yet
<kibi> you can see the following, but that's just part of the RC bugginess:
<kibi> golang-google-grpc | 1.33.3-2 | unstable | source
<kibi> golang-google-grpc | 1.38.0-5 | unstable | source
<foka> kibi: So "apt install" sees only the first entry and installs golang-google-grpc-dev 1.33.3-2, a happy accident? I was wondering because hugo magically builds fine on buildd.debian.org while it fails on Ubuntu mantic (because mantic-proposed has golang-google-grpc 1.38.0-5)
<kibi> I think an accident, due to the way architecture: all packages are exposed. Since there are missing builds for the new version, I think the old binaries are still exposed in binary-<arch> Packages.

I guess we'll wait until "1.XX.is-really.1.33.3-2 revert" is uploaded before hugo build would pass.
Let's continue with this sync request after that? :-)

Thanks again!

Revision history for this message
Dave Jones (waveform) wrote :

> I guess we'll wait until "1.XX.is-really.1.33.3-2 revert" is uploaded before hugo build would pass.
> Let's continue with this sync request after that? :-)

Sure, no hurry! I'll try and keep an eye on this (I'm now subscribed to the bug), but if I'm too slow getting back to you, do feel free to throw ubuntu-sponsors back in the subscribe list. The sponsorship queue's getting a lot more attention recently and it should be serviced pretty quickly.

Anthony Fok (foka)
summary: - Sync hugo 0.112.7-1 (universe) from Debian unstable (main)
+ Sync hugo 0.113.0-1 (universe) from Debian unstable (main)
Revision history for this message
Anthony Fok (foka) wrote (last edit ): Re: Sync hugo 0.113.0-1 (universe) from Debian unstable (main)

Thank you Dave!

Good news! golang-google-grpc-dev 1.38.0+really1.33.3-1 has landed in mantic-proposed!

And hugo 0.113.0-1 built successfully inside my local LXD VM^H^H container running mantic too,
so yes, when you are free, please try sync'ing hugo from Debian again,
and see if it builds to the end (keeping my fingers crossed...)

Many thanks!

Revision history for this message
Dave Jones (waveform) wrote :

Heh - I was about to go sync this, this morning and Launchpad beat me to it! I guess once syncpackage removes the delta, even if it's subsequently unsuccessful in building, the auto-sync takes over and hence 0.113.0-1 is already in the -proposed pocket.

Unfortunately it's also failed to build on all archs, though the error looks quite different. I haven't been through the logs on all the archs yet, but the amd64 one at least looks to be a trivial case of the test-suite trying to reach the internet:

ERROR 2023/07/05 20:46:57 Failed to get JSON resource "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2F1626985695280603138%2Fstatus%2F877500564405444608": Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2F1626985695280603138%2Fstatus%2F877500564405444608": dial tcp: lookup publish.twitter.com on 127.0.0.53:53: no such host

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hugo - 0.113.0-2

---------------
hugo (0.113.0-2) unstable; urgency=medium

  * Skip TestEmbeddedShortcodes except during autopkgtest
    as the tested {{< tweet >}} shortcode needs access to the internet.
    Thanks to Dave Jones for helping me with syncing to Ubuntu! (LP: #2025668)

 -- Anthony Fok <email address hidden> Thu, 06 Jul 2023 09:15:58 -0600

Changed in hugo (Ubuntu):
status: Incomplete → Fix Released
Anthony Fok (foka)
summary: - Sync hugo 0.113.0-1 (universe) from Debian unstable (main)
+ Sync hugo 0.113.0-2 (universe) from Debian unstable (main)
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.