thrift/0.13.0-6 FTBFS in Impish

Bug #1940473 reported by Lucas Kanashiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thrift (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

thrift/0.13.0-6 failed to build and it is blocked in impish-proposed for a while. See the full build log:

https://launchpadlibrarian.net/549888170/buildlog_ubuntu-impish-amd64.thrift_0.13.0-6_BUILDING.txt.gz

The error is caused by the lack of PHP 8 support in this version. Here is the upstream bug for this:

https://issues.apache.org/jira/projects/THRIFT/issues/THRIFT-5318?filter=allissues

It was fixed by this commit:

https://github.com/apache/thrift/commit/b04e39a7e91d7828cce9168c4660b89400930ee5

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

After backporting the upstream commit mentioned in the description, I got another error, but now related to the Go extension. Go 1.16 expects a go.mod file by default and thrift Go extension does not contain that, let's set GO111MODULE to off to avoid this error.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

The attached debdiff fixes the FTBFS.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Added an extra DEP-3 header to the patch.

tags: added: patch
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

I uploaded the proposed changes to this PPA:

https://launchpad.net/~lucaskanashiro/+archive/ubuntu/testing

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks, Lucas.

The debdiff LGTM; I built the package locally with it. A couple of minor comments:

1) Don't forget to remove the "~ppa1" suffix from the version string :-).

2) When pointing to an upstream bug, DEP-3 says that we should just use the "Bug:" header (without the "-Upstream" suffix).

+1 with those fixed.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for the review Sergio. I addressed your comments and already uploaded the package.

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

This bug was fixed in the package thrift - 0.13.0-6ubuntu1

---------------
thrift (0.13.0-6ubuntu1) impish; urgency=medium

  * d/p/THRIFT-5318_support_php8.patch: Backport upstream patch to add support
    for PHP 8 (LP: #1940473).
  * d/rules: export GO111MODULE=off, this will make go.mod file not mandatory.

 -- Lucas Kanashiro <email address hidden> Wed, 18 Aug 2021 17:05:38 -0300

Changed in thrift (Ubuntu):
status: New → Fix Released
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.