Package: unoconv
Version: 0.7-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?

On riscv64, trying to install unoconv results in a failure because this 
architecture does not have libreoffice package:

root@ubuntu:~# apt install unoconv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 unoconv : Depends: python3-uno (>= 4.0) but it is not installable
           Recommends: libreoffice-writer but it is not installable
           Recommends: libreoffice-draw but it is not installable
           Recommends: libreoffice-calc but it is not installable
           Recommends: libreoffice-impress but it is not installable
E: Unable to correct problems, you have held broken packages.
root@ubuntu:~# apt install python3-uno
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3-uno is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3-uno' has no installation candidate

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Given the strong dependency of unoconv with python3-uno (which is part of 
libreoffice package), adding a build dependency would fix that problem by not 
building unoconv for riscv64.

-- System Information:
Debian Release: bullseye/sid
  APT prefers hirsute-updates
  APT policy: (500, 'hirsute-updates'), (500, 'hirsute-security'), (500, 
'hirsute'), (100, 'hirsute-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.0-31-generic (SMP w/16 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unoconv depends on:
ii  python3      3.9.4-1
pn  python3-uno  <none>

Versions of packages unoconv recommends:
pn  libreoffice-calc     <none>
pn  libreoffice-draw     <none>
pn  libreoffice-impress  <none>
pn  libreoffice-writer   <none>

unoconv suggests no packages.
diff -Nru unoconv-0.7/debian/changelog unoconv-0.7/debian/changelog
--- unoconv-0.7/debian/changelog        2019-10-26 17:07:44.000000000 +0200
+++ unoconv-0.7/debian/changelog        2021-09-20 07:41:32.000000000 +0200
@@ -1,3 +1,10 @@
+unoconv (0.7-3) unstable; urgency=medium
+
+  * d/control: Add build dependency to python3-uno to avoid building this 
package
+    on architectures that do not have libreoffice (eg.: riscv64). 
+
+ -- Alexandre Ghiti <[email protected]>  Mon, 20 Sep 2021 07:41:32 
+0200
+
 unoconv (0.7-2) unstable; urgency=high
 
   * d/control: update Vcs-* fields.
diff -Nru unoconv-0.7/debian/control unoconv-0.7/debian/control
--- unoconv-0.7/debian/control  2019-10-26 17:07:44.000000000 +0200
+++ unoconv-0.7/debian/control  2021-09-20 07:41:30.000000000 +0200
@@ -2,7 +2,7 @@
 Section: text
 Priority: extra
 Maintainer: Vincent Bernat <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 7.0.50~), python3-uno
 Build-Depends-Indep: asciidoc
 Standards-Version: 3.9.6
 Homepage: http://dag.wieers.com/home-made/unoconv/

Reply via email to