[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1051036: opencc FTCBFS: opencc_dict not found



Source: opencc
Version: 1.1.6+ds1-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

opencc fails to cross build from source. It normally runs its built
opencc_dict during build, but in a cross build that is not possible and
it expects a built opencc_dict for the build architecture to be
installed. I'm attaching a patch to add this dependency. Please
observe that since this dependency has a positive build profile, it is
normally inactive. It is only relevant to cross builds. Native builds
continue to use the built opencc_dict.

Helmut
diff --minimal -Nru opencc-1.1.6+ds1/debian/changelog opencc-1.1.6+ds1/debian/changelog
--- opencc-1.1.6+ds1/debian/changelog	2022-12-10 13:10:03.000000000 +0100
+++ opencc-1.1.6+ds1/debian/changelog	2023-09-01 14:32:04.000000000 +0200
@@ -1,3 +1,10 @@
+opencc (1.1.6+ds1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add B-D: opencc <cross> for opencc_dict. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 01 Sep 2023 14:32:04 +0200
+
 opencc (1.1.6+ds1-1) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru opencc-1.1.6+ds1/debian/control opencc-1.1.6+ds1/debian/control
--- opencc-1.1.6+ds1/debian/control	2022-07-23 18:53:38.000000000 +0200
+++ opencc-1.1.6+ds1/debian/control	2023-09-01 14:32:02.000000000 +0200
@@ -17,6 +17,7 @@
  googletest <!nocheck>,
  libmarisa-dev,
  libtclap-dev,
+ opencc <cross>,
  pkg-kde-tools,
  pybind11-dev,
  python3:any,

Reply to: