[From nobody Tue Apr 21 07:23:06 2026
Received: (at submit) by bugs.debian.org; 16 Apr 2026 20:47:39 +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=-18.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_PASS,SPF_PASS,
 UNPARSEABLE_RELAY,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, 35; hammy, 150; neutral, 213; spammy,
 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--forky,
 0.000-+--HTo:N*Debian, 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking
Return-path: &lt;debian@rtps.co&gt;
Received: from mail.rtps.co ([2a01:4f9:c010:80b7::1]:55044)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;debian@rtps.co&gt;) id 1wDTcg-00C7SK-13
 for submit@bugs.debian.org; Thu, 16 Apr 2026 20:47:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rtps.co; s=mail;
 t=1776371921; bh=Dgs87Y2UUyR7QZkc1hXtS2EByPOTJwMqkW6hhW8htxg=;
 h=From:To:Subject:Date:From;
 b=UbltYIBjlPYUCS58z0v6TLmvIZorCHBjSr96gDrx5wS95vTunQht2U8LW0vFGYBjk
 2WHNTKdKWo58eJ10Q1nqLkLamVQS8gszj2v4A3Rbg4IdZ2A9rD7WHHVbND2OSnymVx
 /e+9OT0gAOUsfoCbCXY5Yk0aVegufvXB56fYMff/191Vrgtf8sLUOgYXFvxCj70E8C
 XnXq0GrqWCtyDWVxQMdtLflQ/WTfo4cHtTmxU1ImNl+Ns3kmSQ6dT3J1l7rOPEbgi2
 FKECpswPB0nfuJ4YboZX5BxTVX/CpZWzHpuD+i74okQA05zy8uclxFbwNimxrV5hd5
 e4SsUTkB0Hl/w==
Received: from localhost (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
 (No client certificate requested)
 by mail.rtps.co (Postfix) with ESMTPSA id C52DD1F939;
 Thu, 16 Apr 2026 20:38:41 +0000 (UTC)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Luke &lt;debian@rtps.co&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: ImportError: IfcOpenShell not built for 'linux/64bit/python3.13'
Message-ID: &lt;177637190830.276431.57523371037268315.reportbug@steamdeck.lan&gt;
X-Mailer: reportbug 13.2.0
Date: Thu, 16 Apr 2026 21:38:28 +0100
X-Greylist: delayed 526 seconds by postgrey-1.37 at buxtehude;
 Thu, 16 Apr 2026 20:47:38 UTC
Delivered-To: submit@bugs.debian.org

Package: python3-ifcopenshell
Version: 0.8.1+dfsg1-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Attempting to import ifcopenshell fails with a python `ImportError`:

```shell
	$ python3 -c &quot;import ifcopenshell&quot;
	Traceback (most recent call last):
	  File &quot;/usr/lib/python3/dist-packages/ifcopenshell/__init__.py&quot;, line 84, in &lt;module&gt;
	    from . import ifcopenshell_wrapper
	  File &quot;/usr/lib/python3/dist-packages/ifcopenshell/ifcopenshell_wrapper.py&quot;, line 10, in &lt;module&gt;
	    from . import _ifcopenshell_wrapper
	ImportError: libsvgfill.so: cannot open shared object file: No such file or directory

	During handling of the above exception, another exception occurred:

	Traceback (most recent call last):
	  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
	    import ifcopenshell
	  File &quot;/usr/lib/python3/dist-packages/ifcopenshell/__init__.py&quot;, line 86, in &lt;module&gt;
	    raise ImportError(&quot;IfcOpenShell not built for '%s'&quot; % python_distribution)
	ImportError: IfcOpenShell not built for 'linux/64bit/python3.13'


It looks like there are two issues here. The first, is a failure to load
libsvgfill.so. Indeed the svgfill application shipped as part of the
`ifcopenshell` package fails with the same error:

	$ svgfill
	svgfill: error while loading shared libraries: libsvgfill.so: cannot open shared object file: No such file or directory
	$ ldd `which svgfill`
	linux-vdso.so.1 (0x00007f2e1817b000)
	libsvgfill.so =&gt; not found
	libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2e17e00000)
	libgcc_s.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2e18119000)
	libc.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f2e17c08000)
	libm.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007f2e17b12000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2e1817d000)
	$ find / -name libsvgfill.so 2&gt;/dev/null || echo not found
	not found

It looks like the `.install` files in the debian/ directory doesn't glob the
necessary shared libraries. I'll try and provide a patch, though I don't really
know what I'm doing here, so I'll probably need your help.

The second part is the error message for the `ImportError` is a red herring, as
the missing shared object which causes the ifcopenshell_wrapper sub-import to
fail is assumed to be an architectural build failure by the python package:

	$ grep -B 3 ImportError /usr/lib/python3/dist-packages/ifcopenshell/__init__.py
	try:
	    from . import ifcopenshell_wrapper
	except Exception:
	    raise ImportError(&quot;IfcOpenShell not built for '%s'&quot; % python_distribution)


However, I think that's really an upstream (stylistic) problem, and is of little
import (L(OL())) if the library import correctly.


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

Kernel: Linux 6.19.11+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-ifcopenshell depends on:
ii  libc6                            2.42-14
ii  libgcc-s1                        16-20260322-1
ii  libgmp10                         2:6.3.0+dfsg-5+b1
ii  libifcopenshell0.8.1             0.8.1+dfsg1-2
ii  libmpfr6                         4.2.2-3
ii  libocct-foundation-7.9           7.9.2+dfsg-4
ii  libocct-modeling-algorithms-7.9  7.9.2+dfsg-4
ii  libocct-modeling-data-7.9        7.9.2+dfsg-4
ii  libpython3.13                    3.13.12-1
ii  libstdc++6                       16-20260322-1
ii  python3                          3.13.9-3
ii  python3-shapely                  2.1.2-1+b1

python3-ifcopenshell recommends no packages.

python3-ifcopenshell suggests no packages.

-- no debconf information
]