🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Santiago Vila Sun, 22 Nov 2026 12:00
Bug#1154778: fortran-caffeine: FTBFS: ./././src/caffeine/prif_private_s.F90:507:7: error: Procedure 'assert_always' referenced i...
#5486
Author: Santiago Vila
Date: Sun, 22 Nov 2026 12:00
125 lines
8383 bytes
Package: src:fortran-caffeine
Version: 0.8.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202611/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:fortran-caffeine, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
  #include "assert_macros.h"
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
that expanded to:
  call assert_always(size(coshape_epp) == corank, "call_assert(" // "size(coshape_epp) == corank" // ")", "./././src/caffeine/prif_private_s.F90", 506)
  ^
./././src/caffeine/prif_private_s.F90:507:7: error: Procedure 'assert_always' referenced in pure subprogram 'compute_coshape_epp' must be pure too
        call_assert(size(ucobounds) == corank .or. size(ucobounds) == corank-1)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/include/assert_macros.h:25:33: in a macro defined here
  # define call_assert(assertion) call assert_always(assertion, "call_assert(" // CPP_STRINGIFY_SOURCE(assertion) // ")", __FILE__, __LINE__)
                                  ^^^^^^^^^^^^^^^^^^^
./././src/caffeine/prif_private_s.F90:4:1: included here
  #include "assert_macros.h"
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
that expanded to:
  call assert_always(size(ucobounds) == corank .or. size(ucobounds) == corank-1, "call_assert(" // "size(ucobounds) == corank .or. size(ucobounds) == corank-1" // ")", "./././src/caffeine/prif_private_s.F90", 507)
  ^
./././src/caffeine/prif_private_s.F90:513:9: error: Procedure 'assert_always' referenced in pure subprogram 'compute_coshape_epp' must be pure too
          call_assert_describe(product < huge(0_c_int), "Overflow in cobounds. product(coshape(a)) must be < 2 billion")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/include/assert_macros.h:26:55: in a macro defined here
  # define call_assert_describe(assertion, description) call assert_always(assertion, description, __FILE__, __LINE__)
                                                        ^^^^^^^^^^^^^^^^^^^
./././src/caffeine/prif_private_s.F90:4:1: included here
  #include "assert_macros.h"
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
that expanded to:
  call assert_always(product < huge(0_c_int),  "Overflow in cobounds. product(coshape(a)) must be < 2 billion", "./././src/caffeine/prif_private_s.F90", 513)
  ^
<ERROR> Compilation failed for object " src_caffeine_prif_private_s.F90.o "
<ERROR> stopping due to failed compilation
STOP 1
+ set +x
Defect reporting information:
--------------------------------------------------
Version info:
Caffeine version = "0.8.0"
external-modules = [ "assert_m" ]
link = ["gasnet-ibv-seq", "ibverbs", "hwloc", "pthread", "m", "assert", "mpi_usempif08", "mpi_usempi_ignore_tkr", "mpi_mpifh", "mpi", "open_mpi"]
--------------------------------------------------
Platform info:
Linux sbuild 6.12.117+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.117-1 (2026-11-12) x86_64 GNU/Linux
PRETTY_NAME="Debian GNU/Linux forky/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=forky
--------------------------------------------------
Install settings:
ID=Sun Nov 22 03:43:07 UTC 2026 sbuild
PREFIX=/<<PKGBUILDDIR>>/build-flang-22-ibv
FPM=/usr/bin/fpm
FC=/usr/lib/llvm-22/bin/flang-new
CC=/usr/bin/clang-22 -std=gnu23 -g -Werror=implicit-function-declaration -ffile-prefix-map=/buildroot=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
FFLAGS=-g -O3 -DASSERT_MULTI_IMAGE -DASSERT_PARALLEL_CALLBACKS -DHAVE_MULTI_IMAGE_SUPPORT -DJULIENNE_PARALLEL_CALLBACKS -DASSERTIONS -DCAF_NETWORK_IBV -D_FORTIFY_SOURCE=2 -cpp -I./include -I/usr/lib/x86_64-linux-gnu/fortran/flang-mod-22 -I/usr/include
CFLAGS=-g -O3 -DASSERT_MULTI_IMAGE -DASSERT_PARALLEL_CALLBACKS -DHAVE_MULTI_IMAGE_SUPPORT -DJULIENNE_PARALLEL_CALLBACKS -DASSERTIONS -DCAF_NETWORK_IBV -D_FORTIFY_SOURCE=2 -cpp -I./include -I/usr/lib/x86_64-linux-gnu/fortran/flang-mod-22 -I/usr/include
LDFLAGS=-D_GNU_SOURCE=1 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/fortran/flang -lmpi
link = ["gasnet-ibv-seq", "ibverbs", "hwloc", "pthread", "m", "assert", "mpi_usempif08", "mpi_usempi_ignore_tkr", "mpi_mpifh", "mpi", "open_mpi"]
GASNET=/usr/lib
GASNET_CONDUIT=ibv
GASNET_THREADMODE=seq
--------------------------------------------------
FPM : /usr/bin/fpm
-rwxr-xr-x 1 root root 11868728 May  5  2026 /usr/bin/fpm
-rwxr-xr-x 1 root root 12M May  5  2026 /usr/bin/fpm
Version:     0.13.0, alpha
Program:     fpm(1)
Description: A Fortran package manager and build system
Home Page:   https://github.com/fortran-lang/fpm
License:     MIT
OS Type:     Linux
--------------------------------------------------
FC : /usr/lib/llvm-22/bin/flang-new
lrwxrwxrwx 1 root root 5 Nov 13 14:43 /usr/lib/llvm-22/bin/flang-new -> flang
-rwxr-xr-x 1 root root 48M Nov 13 14:43 /usr/lib/llvm-22/bin/flang-new
Debian flang version 22.1.8 (4)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-22/bin
--------------------------------------------------
CC : /usr/bin/clang-22 -std=gnu23 -g -Werror=implicit-function-declaration -ffile-prefix-map=/buildroot=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
lrwxrwxrwx 1 root root 24 Nov 13 14:43 /usr/bin/clang-22 -> ../lib/llvm-22/bin/clang
-rwxr-xr-x 1 root root 132K Nov 13 14:43 /usr/bin/clang-22
Debian clang version 22.1.8 (4)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-22/bin
--------------------------------------------------

Oh no, the Caffeine build appears to have failed!
Please paste the ENTIRE output above into a new issue here:
   https://github.com/berkeleylab/caffeine/issues
make[1]: *** [debian/rules:52: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads