FTBFS on python2 removal

Bug #1864290 reported by Mitsuya Shibata
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mozc (Ubuntu)
Fix Released
High
Unassigned

Bug Description

mozc cannot build current focal because /usr/bin/python is removed.

https://launchpad.net/ubuntu/+source/mozc/2.23.2815.102+dfsg-8build1

INFO: Running: ninja -v -C out_linux/Release ibus_mozc mozc_emacs_helper mozc_server mozc_renderer fcitx-mozc uim-mozc
ninja: Entering directory `out_linux/Release'
[1/629] cd ../../usage_stats; python ../build_tools/protoc_wrapper.py "--project_root=.." "--protoc_command=protoc" "--proto=usage_stats.proto" "--cpp_out=../out_linux/Release/gen/proto_out"
FAILED: gen/proto_out/usage_stats/usage_stats.pb.h gen/proto_out/usage_stats/usage_stats.pb.cc
cd ../../usage_stats; python ../build_tools/protoc_wrapper.py "--project_root=.." "--protoc_command=protoc" "--proto=usage_stats.proto" "--cpp_out=../out_linux/Release/gen/proto_out"
/bin/sh: 1: python: not found

Tags: ftbfs
Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Upstream of mozc package doesn't prepare to support python3 yet.
I attach patch which just use "/usr/bin/python2" instead of "/usr/bin/python" on build package.

Could you sponsor it?

Changed in mozc (Ubuntu):
status: New → In Progress
Mathew Hodson (mhodson)
tags: added: ftbfs
Changed in mozc (Ubuntu):
importance: Undecided → High
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for the fix! Sponsored to focal.

Changed in mozc (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mozc - 2.23.2815.102+dfsg-8ubuntu1

---------------
mozc (2.23.2815.102+dfsg-8ubuntu1) focal; urgency=medium

  * Add d/patches/workaround_python2.patch
    Use "python2" explicitly in gyp scripts to workaround for focal
    (LP: #1864290).

 -- Mitsuya Shibata <email address hidden> Sat, 22 Feb 2020 18:01:18 +0900

Changed in mozc (Ubuntu):
status: Fix Committed → 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.