FTBFS in resolute: sbuild-build-depends-main-dummy:amd64 Depends libgwengui-qt5-dev

Bug #2141869 reported by Mitsuya Shibata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mozc (Debian)
New
Unknown
mozc (Ubuntu)
Fix Committed
Undecided
Mitsuya Shibata

Bug Description

Mozc (2.29.5160.102+dfsg-1.4ubuntu3) is currently failing to build from source (FTBFS) on resolute. As a result, there are no Mozc related packages in the repository.

https://launchpadlibrarian.net/846489822/buildlog_ubuntu-resolute-amd64.mozc_2.29.5160.102+dfsg-1.4ubuntu3_BUILDING.txt.gz

---
E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. sbuild-build-depends-main-dummy:amd64=0.invalid.0 is selected for install
   2. sbuild-build-depends-main-dummy:amd64 Depends libgwengui-qt5-dev
      but none of the choices are installable:
      [no choices]
---

In libgwengui-qt5-dev, the package name changed because it transitioned from Qt5 to Qt6.

https://salsa.debian.org/aqbanking-team/pkg-libgwenhywfar/-/commit/538f453cfa19c042e87d39af4c62ec2490c82c33

However, it looks like the current Mozc no longer uses libgwengui, so it might be enough to simply remove it from Build-Depends.

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

If I remove libgqengui-qt5-dev from debian/control, I get an error like this.

---
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -labsl_string_view: No such file or directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -labsl_random_internal_pool_urbg: No such file or directory
---

It seems that even if I install libabsl-dev, it does not create files like libabsl_string_view.so.

---
$ ls -l /usr/lib/x86_64-linux-gnu/libabsl_string*
lrwxrwxrwx 1 root root 35 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_string_view.so.20240722 -> libabsl_string_view.so.20240722.0.0
-rw-r--r-- 1 root root 14584 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_string_view.so.20240722.0.0
-rw-r--r-- 1 root root 243932 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings.a
lrwxrwxrwx 1 root root 27 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings.so -> libabsl_strings.so.20260107
lrwxrwxrwx 1 root root 31 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_strings.so.20240722 -> libabsl_strings.so.20240722.0.0
-rw-r--r-- 1 root root 129344 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_strings.so.20240722.0.0
lrwxrwxrwx 1 root root 31 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings.so.20260107 -> libabsl_strings.so.20260107.0.0
-rw-r--r-- 1 root root 145728 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings.so.20260107.0.0
-rw-r--r-- 1 root root 17182 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.a
lrwxrwxrwx 1 root root 36 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.so -> libabsl_strings_internal.so.20260107
lrwxrwxrwx 1 root root 40 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.so.20240722 -> libabsl_strings_internal.so.20240722.0.0
-rw-r--r-- 1 root root 18832 Sep 18 23:46 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.so.20240722.0.0
lrwxrwxrwx 1 root root 40 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.so.20260107 -> libabsl_strings_internal.so.20260107.0.0
-rw-r--r-- 1 root root 18832 Feb 1 18:27 /usr/lib/x86_64-linux-gnu/libabsl_strings_internal.so.20260107.0.0
---

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

On Debian sid, libabsl was updated to 20260107 the other day (Bug #1118630). In line with that, resolute also moved to 20260107, but for some reason 20240722 still seems to remain in the repository.

In my environment, libabsl20240722 got installed via ubuntu-dev-tools. This will be fixed by "re2 20250805-1build2" package.

---
$ apt why libabsl20240722
libabsl20240722:amd64 is selected for install because:
1. ubuntu-dev-tools:amd64 is selected for install
2. ubuntu-dev-tools:amd64 依存 devscripts (>= 2.11.0~)
3. devscripts:amd64 推奨 licensecheck
4. licensecheck:amd64 依存 libstring-license-perl
5. libstring-license-perl:amd64 依存 libregexp-pattern-license-perl
6. libregexp-pattern-license-perl:amd64 推奨 libre-engine-re2-perl
7. libre-engine-re2-perl:amd64 依存 libre2-11-absl20240722
8. libre2-11:amd64 依存 libabsl20240722 (>= 20240722.0-1)
---

It looks like mozc also needs to migrate to libabsl20260107.

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

This is a debdiff to fix FTBFS of mozc on Resolute. I built this in sbuild and it builds successfully, and I installed it to Resolute, mozc works as intended.

Changed in mozc (Ubuntu):
assignee: nobody → Mitsuya Shibata (cosmos-door)
status: New → In Progress
Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

I attach the build log too.

After this, I plan to check whether the same problem happens on the Debian side, and then report it to Debian.

description: updated
Changed in mozc (Debian):
status: Unknown → New
Revision history for this message
Alessandro Astone (aleasto) wrote :

Sponsored, thank you.

Changed in mozc (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.