Your message dated Fri, 20 Nov 2026 17:34:51 +0000
with message-id <[email protected]>
and subject line Bug#1135358: fixed in lfortran 0.69.0-2
has caused the Debian Bug report #1135358,
regarding lfortran: please include the jupyter kernel in the build
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1135358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135358
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lfortran
Version: 0.63.0-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
please consider building lfortran with jupyter backend support.
the patch to do this is:
***
diff --git a/debian/lfortran.install b/debian/lfortran.install
index 9960ec2..ef02be8 100644
--- a/debian/lfortran.install
+++ b/debian/lfortran.install
@@ -1,6 +1,6 @@
usr/bin/lfortran
-#/usr/share/jupyter/kernels/fortran/kernel.json
-#/usr/share/jupyter/kernels/fortran/logo-svg.svg
+usr/share/jupyter/kernels/fortran/kernel.json
+usr/share/jupyter/kernels/fortran/logo-svg.svg
usr/share/lfortran/*
usr/lib/*/*.mod /usr/lib/${DEB_HOST_MULTIARCH}/fortran/lfortran-mod-0/
share/lfortran/lfortran-completion.bash /usr/share/bash-completion/completions/
diff --git a/debian/rules b/debian/rules
index a1e9227..e4042d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,6 @@ BUILDDIR=debian/build
execute_before_dh_auto_clean:
rm -fr $(BUILDDIR) version
-# -DWITH_XEUS=yes for Jupyter kernel support
-# not currently compiling ?
-
ARCH_FLAGS=$(if $(filter $(DEB_TARGET_ARCH), riscv64), -march=rv64gc
-mabi=lp64d,)
@@ -38,7 +35,7 @@ override_dh_auto_configure:
-DWITH_FMT=yes \
-DWITH_BFD=yes \
-DLLVM_DIR=/usr/lib/llvm-21/cmake \
- -DWITH_XEUS=no \
+ -DWITH_XEUS=yes \
-DWITH_KOKKOS=no \
-DWITH_MLIR=yes \
-DCMAKE_Fortran_MODULE_DIRECTORY=/usr/lib/$(DEB_HOST_MULTIARCH)/fortran/lfortran-mod-0
\
***
Also, it would be nice to have the newest lfortran in stable-backports.
I actually built this package on debian-stable using llvm-19 (since the
stable-backports version of llvm-21 is currently missing the openmp library).
The additional changes needed to build on debian stable (and this is what I
actually tested) are:
***
diff --git a/debian/control b/debian/control
index 838d672..df15d7c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,11 +11,10 @@ Build-Depends: debhelper-compat (= 13),
python3,
libfmt-dev,
libedit-dev,
- libsframe-dev,
- llvm-21-dev [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64 !m68k
!sh4 !x32],
+ llvm-19-dev [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64 !m68k
!sh4 !x32],
libunwind-dev [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64
!m68k !sh4 !x32],
- libmlir-21-dev [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64
!m68k !sh4 !x32],
- mlir-21-tools [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64
!m68k !sh4 !x32],
+ libmlir-19-dev [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64
!m68k !sh4 !x32],
+ mlir-19-tools [!armhf !hurd-i386 !sparc64 !powerpc !alpha !hppa !loong64
!m68k !sh4 !x32],
libjsoncpp-dev,
binutils-dev,
libiberty-dev,
@@ -33,7 +32,7 @@ Architecture: any
Provides: fortran-compiler, lfortran-mod-0
Built-Using: ${Built-Using}
Depends: ${misc:Depends}, ${shlibs:Depends}, liblfortran-runtime0 ( =
${binary:Version}),
- clang-21,
+ clang-19,
python3:any ,
liblfortran-dev ( = ${binary:Version}),
Description: Modern interactive LLVM-based Fortran compiler
diff --git a/debian/lfortran.install b/debian/lfortran.install
index 9960ec2..ef02be8 100644
--- a/debian/lfortran.install
+++ b/debian/lfortran.install
@@ -1,6 +1,6 @@
usr/bin/lfortran
-#/usr/share/jupyter/kernels/fortran/kernel.json
-#/usr/share/jupyter/kernels/fortran/logo-svg.svg
+usr/share/jupyter/kernels/fortran/kernel.json
+usr/share/jupyter/kernels/fortran/logo-svg.svg
usr/share/lfortran/*
usr/lib/*/*.mod /usr/lib/${DEB_HOST_MULTIARCH}/fortran/lfortran-mod-0/
share/lfortran/lfortran-completion.bash /usr/share/bash-completion/completions/
diff --git a/debian/patches/series b/debian/patches/series
index 2e69332..9e38819 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,7 +1,7 @@
# shared-zlib.patch
# static zstd is needed for BFD if LLVM not used
# shared-zstd.patch
-clang-21.patch
+# clang-21.patch
static-bfd.patch
cmake-version.patch
build-script.patch
diff --git a/debian/rules b/debian/rules
index a1e9227..a7375de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,6 @@ BUILDDIR=debian/build
execute_before_dh_auto_clean:
rm -fr $(BUILDDIR) version
-# -DWITH_XEUS=yes for Jupyter kernel support
-# not currently compiling ?
-
ARCH_FLAGS=$(if $(filter $(DEB_TARGET_ARCH), riscv64), -march=rv64gc
-mabi=lp64d,)
@@ -37,12 +34,12 @@ override_dh_auto_configure:
-DWITH_LSP=yes \
-DWITH_FMT=yes \
-DWITH_BFD=yes \
- -DLLVM_DIR=/usr/lib/llvm-21/cmake \
- -DWITH_XEUS=no \
+ -DLLVM_DIR=/usr/lib/llvm-19/cmake \
+ -DWITH_XEUS=yes \
-DWITH_KOKKOS=no \
-DWITH_MLIR=yes \
-DCMAKE_Fortran_MODULE_DIRECTORY=/usr/lib/$(DEB_HOST_MULTIARCH)/fortran/lfortran-mod-0
\
- -DCMAKE_PREFIX_PATH=/usr/lib/llvm-21/lib/cmake/mlir
+ -DCMAKE_PREFIX_PATH=/usr/lib/llvm-19/lib/cmake/mlir
override_dh_gencontrol:
@@ -57,7 +54,7 @@ override_dh_auto_test:
@echo Bypass tests on this build
override_dh_shlibdeps:
- dh_shlibdeps -l/usr/lib/llvm-21/lib -- --ignore-missing-info
+ dh_shlibdeps -l/usr/lib/llvm-19/lib -- --ignore-missing-info
override_dh_dwz:
@echo "DWZ fails on .debug_attr sections in some archs; don't use"
***
cheers, daniel
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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
Versions of packages lfortran depends on:
ii clang-19 1:19.1.7-3+b1
ii libc6 2.41-12+deb13u2
ii libgcc-s1 14.2.0-19
ii liblfortran-dev 0.63.0-1
ii liblfortran-runtime0 0.63.0-1
ii libstdc++6 14.2.0-19
ii libunwind8 1.8.1-0.1
ii libxeus-zmq6 3.1.0-0.3
ii libxeus11 5.1.1-0.1
ii python3 3.13.5-1
lfortran recommends no packages.
lfortran suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: lfortran
Source-Version: 0.69.0-2
Done: Alastair McKinstry <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lfortran, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated lfortran package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 20 Nov 2026 16:54:56 +0000
Source: lfortran
Architecture: source
Version: 0.69.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Closes: 1135358 1143024
Changes:
lfortran (0.69.0-2) unstable; urgency=medium
.
* Move to llvm-23 as llvm default
* Update clang-21.patch to clang-23.patch
* Remove obsolete patches: iconsistent-objids.patch float128.patch
* Only add Juypter kernel on !long64,!armhf,!i386; breaks build
Closes: #1135358
* moduledir-directory.patch: Use correct runtime module directory
Closes: #1143024
* Change llvm-dwarfdump -> llvm-dwarfdump-23 as llvm-dwarfdump does not
exist
Checksums-Sha1:
3d054baddaa97886697d3cd447210bc5bd79a614 2779 lfortran_0.69.0-2.dsc
ba87f0c544ac7c9ad4953466ffe2a4a1b3896abd 12288 lfortran_0.69.0-2.debian.tar.xz
ce0ffedb4ab938d7d236db4c4230b691d5abd358 10912
lfortran_0.69.0-2_arm64.buildinfo
Checksums-Sha256:
8352316cf407be379d7d3bd152ba0a27894a90b70552d676e8010d993b7b7741 2779
lfortran_0.69.0-2.dsc
7cc5ba5671d837491cbf1490cc96e68e13adcaafea5c35d2b15dfa83e7d60f2d 12288
lfortran_0.69.0-2.debian.tar.xz
2b9b7a1372cf5088c8d07fdf7144fb2c44401d90dd0e763fbfb227e9986d6575 10912
lfortran_0.69.0-2_arm64.buildinfo
Files:
9c758c3856230d8e4646e02f9a9fbac3 2779 devel optional lfortran_0.69.0-2.dsc
7be51d6799ddb91c81c83b6ed76bbda4 12288 devel optional
lfortran_0.69.0-2.debian.tar.xz
d9c7e12f1c80dc1874b4215db61de4df 10912 devel optional
lfortran_0.69.0-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmsAfjwACgkQy+a7Tl2a
06X0Ig//dts2o3TEu6dw/qEA3mo1+4hH6o4agnsq4cADQOVXbp59vMMIREyRNmL1
adalAIJs+wvNhBm/xIk8kVXG3ID+Oo8OWUsnHJ+ah/f0o3y1dibMl5uQvtI4fU7r
tMnp4H5Ftopxg4fKR9tGQx29etsRU5+I1kzAypHC/q38kwtkUZe1is4Zd7XoinK3
iOFCf2LuH3cDWHa0n86W4TBOPRR+YAocSNNlXYbdBupUTqaIpcvX0NfLuV0HYmvR
m1ihWXFjfxeiXqvdzZkk0up2N/9+9haBcnNuMFjzWtrD0k+IDyFWMF0nMAFOpYBW
ZNmTz0J8L3Uqtm7PYAxLtzBZdMzzw7ROHGKmn7eWKXuV091ysd1LKne7drRdvxH/
UChzZ8ilg9BCQReKW5rMx479VBTxLhnpxcsdZjbCQ9+cHx1GzYN8ZjFl4SDJmxyd
8T+FZQb3+LeoOWyJrI5AY6m4vdN9AzYaPA3bAqXx3I9yBnJi8OHBOYMf4C3QXKfm
9TZ7ymL335PpT+VLYBSZxUEX54mTubvdgm1e7kpuXuuj4LsfzZ3lK4VaqP88x9NQ
i1AmYHTxEH/gTSpgxDJtRv3PGIwXAe1jj6k+j3T3ILk3RClIaYvEOlwSw9bEZ3xs
jULKIjbLDD2JjeSVbcE0nb3rj91XiPIeUc/2O4r8IOt3GmCzmI4=
=FK0i
-----END PGP SIGNATURE-----
pgpeziuegx3Hq.pgp
Description: PGP signature
--- End Message ---