Bug#1053405: darktable: FTBFS on arm64 (gcc bug?)
Gianfranco Costamagna
locutusofborg at debian.org
Thu Oct 5 07:56:00 BST 2023
control: reassign -1 src:gcc-13
control: found -1 13.2.0-4
control: affects -1 src:darktable.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677
According to upstream, we need a patch that was added some days ago on 13 branch
G.
On Wed, 4 Oct 2023 08:21:31 +0200 Gianfranco Costamagna <locutusofborg at debian.org> wrote:
> Hello,
>
> >
> > Do you think maybe there should be a debian gcc bug? after all, the
> > distinction you point to is a difference of debian version.
> >
>
> Not really sure, somewhat it fails with gcc-12 too, so it might be something that was even backported to older gcc, or something else
>
>
> For sure, it builds if we disable OPENMP support
>
> diff -Nru darktable-4.4.2/debian/changelog darktable-4.4.2/debian/changelog
> --- darktable-4.4.2/debian/changelog 2023-08-20 12:26:40.000000000 +0000
> +++ darktable-4.4.2/debian/changelog 2023-10-03 15:58:01.000000000 +0000
> @@ -1,3 +1,10 @@
> +darktable (4.4.2-1.1) unstable; urgency=medium
> +
> + * Disable openmp for arm64 builds (LP: #2038351)
> + See Debian bug: #1053405
> +
> + -- Mitchell Dzurick <mitchell.dzurick at canonical.com> Tue, 03 Oct 2023 08:58:01 -0700
> +
> darktable (4.4.2-1) unstable; urgency=medium
>
> * Update to new upstream version 4.4.2.
> diff -Nru darktable-4.4.2/debian/rules darktable-4.4.2/debian/rules
> --- darktable-4.4.2/debian/rules 2023-08-20 12:26:40.000000000 +0000
> +++ darktable-4.4.2/debian/rules 2023-10-03 15:58:01.000000000 +0000
> @@ -20,7 +20,12 @@
> dh $@
>
> override_dh_auto_configure: cmake/version.cmake
> +ifeq ($(DEB_HOST_ARCH),arm64)
> + # Disable OPENMP for arm64 builds. See LP: #2038351
> + dh_auto_configure -- -DBINARY_PACKAGE_BUILD=1 -DCMAKE_BUILD_TYPE=Release -DRAWSPEED_ENABLE_LTO=ON -DUSE_OPENMP=OFF
> +else
> dh_auto_configure -- -DBINARY_PACKAGE_BUILD=1 -DCMAKE_BUILD_TYPE=Release -DRAWSPEED_ENABLE_LTO=ON
> +endif
>
> describe-current-version:
> git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20231005/1003e009/attachment-0001.sig>
More information about the Pkg-phototools-devel
mailing list