[From nobody Tue Oct 20 12:39:04 2026
Received: (at submit) by bugs.debian.org; 9 Oct 2026 14:01:07 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA,
 FVGT_m_MULTI_ODD,NO_RELAYS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 45; hammy, 150; neutral, 133; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*Ad:N*Bug, 0.000-+--HTo:N*Debian,
 0.000-+--forky
Return-path: &lt;seb128@ubuntu.com&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;seb128@ubuntu.com&gt;) id 1xFB9n-002fVG-2b
 for submit@bugs.debian.org; Fri, 09 Oct 2026 14:01:07 +0000
Content-Type: multipart/mixed; boundary=&quot;===============0545796728915436465==&quot;
MIME-Version: 1.0
From: Sebastien Bacher &lt;seb128@ubuntu.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: sift: ships prebuilt x86-64 binaries from bin/web,
 FTBFS on other architectures
Message-ID: &lt;179155446641.468736.17142838916858072289.reportbug@seb128-ThinkPad-T16&gt;
X-Mailer: reportbug 13.2.0+ubuntu1
Date: Fri, 09 Oct 2026 16:01:06 +0200
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============0545796728915436465==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: sift
Version: 6.2.1-2
Severity: important
Tags: patch ftbfs
X-Debbugs-Cc: seb128@ubuntu.com
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu stonking ubuntu-patch

Hi,

The sift 6.2.1 upstream tarball contains a bin/web/ directory with five
prebuilt x86-64 executables:

  bin/web/allowed_subst_html
  bin/web/process_alignment
  bin/web/seqs_to_matrixweb
  bin/web/seqs_to_msf
  bin/web/seqs_to_msf_web

src/Makefile doesn't build them (their sources are in src/, but they are not
in BIN), and debian/rules installs the whole bin/ tree with
&quot;dh_install ... -Xlinux -Xsolaris bin&quot;, so these upstream binaries end up in
/usr/lib/sift/bin/web/ in the amd64 package rather than being built from
source. Nothing in the package uses them (they are web-server helpers).

Since sift is in non-free and only built on amd64 in Debian (#987606), this
goes unnoticed there, but on every other architecture the build fails in
dh_strip:

  objcopy: Unable to recognise the architecture of the input file
  `debian/sift/usr/lib/sift/bin/web/seqs_to_msf_web'

Ubuntu builds sift on all architectures, so we hit this; the previous
version (4.0.3b) didn't have bin/web.

The attached change excludes bin/web from the installation, which fixes the
build on other architectures and stops shipping binaries that weren't built
from source. The only change in the amd64 package is that /usr/lib/sift/bin/web/
is gone. (An alternative would be to build those tools from src/, if they are
considered useful, or to repack the tarball without them.)

Ubuntu upload: sift 6.2.1-2ubuntu1.

Thanks,
Sebastien Bacher



-- System Information:
Debian Release: forky/sid
  APT prefers resolute-updates
  APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.0-38-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--===============0545796728915436465==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=&quot;sift-no-bin-web.diff&quot;

--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,8 @@
 
 override_dh_install:
 	# lkajan: fastaseqs comes from the blimps package, this source does not have rules for creating it
-	dh_install -X.svn -X.swp -XIntersectFeatures.jar -XManuals -Xfastaseqs -Xlinux -Xsolaris bin $(prefix)/lib/sift/
+	# bin/web contains prebuilt x86-64 binaries, not built from source here
+	dh_install -X.svn -X.swp -XIntersectFeatures.jar -XManuals -Xfastaseqs -Xlinux -Xsolaris -Xbin/web bin $(prefix)/lib/sift/
 	#dh_install bin/IntersectFeatures.jar $(pkgdatadir)/
 	dh_install -X.svn -X.swp blimps/docs $(prefix)/share/sift/blimps/
 

--===============0545796728915436465==--
]