Bug#1119731: cmor: FTBFS: ModuleNotFoundError: No module named 'numpy'
Santiago Vila
sanvila at debian.org
Fri Oct 31 11:28:15 GMT 2025
Package: src:cmor
Version: 3.13.0-1
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/202510/
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:cmor, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf config.sub config.log config.status libcmor.a libcmor.so.2 build test_grid configure CMIP5
rm -rf CMOR.egg-info
rm -f ipcc_test_code Makefile setup.py *.mod compile_line.txt include/cmor_locale.h cmor.pc test_unit_cat_unique
find . -name '*.nc' -delete
find . -name '*.o' -delete
find . -name '*.pic_o' -delete
find . -name '*.pyc' -delete
# Delete pyproject.toml; causes pip to ignore -no-cache-dir and try downloads
rm -f pyproject.toml
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/libcmor2t64.substvars debian/libcmor-dev.substvars debian/python3-cmor.substvars debian/files
rm -fr -- debian/libcmor2t64/ debian/tmp/ debian/libcmor-dev/ debian/python3-cmor/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary
dh_update_autotools_config
cp -a --update=none --reflink=auto config.guess debian/.debhelper/bucket/files/7d1e3c79b86de601c3a0457855ab854dffd15163f53c91edac54a7be2e9c931b.tmp
mv debian/.debhelper/bucket/files/7d1e3c79b86de601c3a0457855ab854dffd15163f53c91edac54a7be2e9c931b.tmp debian/.debhelper/bucket/files/7d1e3c79b86de601c3a0457855ab854dffd15163f53c91edac54a7be2e9c931b
cp -f /usr/share/misc/config.guess ./config.guess
dh_autoreconf
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o -type l -printf "symlink %p
" > debian/autoreconf.before
grep -q ^XDT_ configure.ac
autoreconf -f -i
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o -type l -printf "symlink %p
" > debian/autoreconf.after
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ln -sf /usr/share/misc/config.sub
dh_auto_configure -- --disable-color --enable-verbose-test --with-python \
UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp" PYTHONEXEC=python3.13 \
CFLAGS="-I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security " LDFLAGS="-Wl,-z,relro" SZLIBFLAGS=" -lsz"
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --disable-color --enable-verbose-test --with-python UUIDLDFLAGS=-lossp-uuid UUIDFLAGS=-I/usr/include/ossp PYTHONEXEC=python3.13 CFLAGS="-I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security " LDFLAGS=-Wl,-z,relro SZLIBFLAGS=" -lsz"
./configure: line 2473: git: command not found
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
TARGET: linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for ranlib... ranlib
checking for gfortran... gfortran
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran... -L/usr/lib/gcc/x86_64-linux-gnu/15 -L/usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/15/../../.. -L/lib -L/usr/lib -lgfortran -lm -lquadmath
checking for json_object_new_object in -ljson-c... yes
checking for uuid_generate in -luuid... yes
checking for ut_parse in -ludunits2... yes
checking for nc_inq_var_deflate in -lnetcdf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup.py
config.status: creating compile_line.txt
config.status: creating include/cmor_locale.h
config.status: creating cmor.pc
configure:
configure: ************************************************************************
configure: SUMMARY
configure: VERSION: 3.13.0 (commit: )
configure: ************************************************************************
configure:
configure: ........................................................................
configure: ... COMPILERS
configure: ........................................................................
configure:
configure: FORTRAN
configure: FC=gfortran
configure: F77=
configure: FFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
configure: FCFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
configure: ........................................................................
configure: ... EXTERNALS ...
configure: ........................................................................
configure:
configure: SZLIB
configure: CFLAGS : -lsz
configure: LDFLAGS :
configure:
configure: JSONC
configure: CFLAGS :
configure: LDFLAGS : -ljson-c
configure:
configure: UUID
configure: CFLAGS :
configure: LDFLAGS : -luuid
configure:
configure: UDUNITS2
configure: CFLAGS :
configure: LDFLAGS : -ludunits2
configure:
configure: NetCDF4
configure: CFLAGS :
configure: LDFLAGS : -lnetcdf
configure:
configure: PYTHON
configure: Built using python: python3
configure:
configure: Type "make" to build cmor
configure: Type "make install" to build and install cmor to /usr
configure:
configure: Type "make test" to build and test cmor code only
configure: Type "make test_C" to build cmor and test C only
configure: Type "make test_fortran" to build cmor and test fortran only
configure:
configure: You can compile C or FORTRAN code using the compilation lines shown in file: compile_line.txt and printed bellow:
configure:
configure:
# The following line will compile "C" code mycode.c with cmor,
# additional libraries mycode.c may requires should be added to this line
gcc -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 mycode.c -L/usr/lib -I/usr/include -L. -lcmor -lnetcdf -ludunits2 -ljson-c -luuid -Wl,-z,relro -lm -o mycode
# The following line will compile "FORTRAN" code mycode.f90 with cmor, additional libraries mycode.f90 may requires should be added to this line
gfortran -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection mycode.f90 -L/usr/lib -L. -lcmor -lnetcdf -ludunits2 -ljson-c -luuid -o mycode
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/libcmor-dev.debhelper.log debian/libcmor2t64.debhelper.log debian/python3-cmor.debhelper.log
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make FC=f95
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor.c
Src/cmor.c: In function âcmor_writeâ:
Src/cmor.c:5038:13: warning: âstrncatâ specified bound 1024 equals destination size [-Wstringop-overflow=]
5038 | strncat(outname, "/", CMOR_MAX_STRING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_add_tracebackâ:
Src/cmor.c:454:42: warning: â%sâ directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=]
454 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info);
| ^~ ~~~~~~~~~~~~~~~~~~~
Src/cmor.c:454:9: note: âsprintfâ output 17 or more bytes (assuming 1040) into a destination of size 1024
454 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_open_inpathFileâ:
Src/cmor.c:1318:57: warning: âsnprintfâ output may be truncated before the last format character [-Wformat-truncation=]
1318 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path,
| ^
Src/cmor.c:1318:13: note: âsnprintfâ output 2 or more bytes (assuming 1025) into a destination of size 1024
1318 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1319 | szFilename);
| ~~~~~~~~~~~
Src/cmor.c: In function âcmor_outpath_existâ:
Src/cmor.c:1801:28: warning: â/tmpâ directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
1801 | sprintf(msg,"%s/tmp%i.cmor.test",
| ^~~~
Src/cmor.c:1801:13: note: âsprintfâ output between 16 and 1049 bytes into a destination of size 1024
1801 | sprintf(msg,"%s/tmp%i.cmor.test",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1802 | cmor_current_dataset.outpath, pid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_define_zfactors_varsâ:
Src/cmor.c:2063:37: warning: â_bndsâ directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
2063 | sprintf(msg, "%s_bnds",
| ^~~~~
Src/cmor.c:2063:21: note: âsprintfâ output between 6 and 1029 bytes into a destination of size 1024
2063 | sprintf(msg, "%s_bnds",
| ^~~~~~~~~~~~~~~~~~~~~~~
2064 | cmor_axes[cmor_vars[var_id].axes_ids[m]].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcreate_singleton_dimensionsâ:
Src/cmor.c:4682:51: warning: â_bndsâ directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
4682 | snprintf(msg, CMOR_MAX_STRING, "%s_bnds", cmor_axes[j].id);
| ^~~~~
Src/cmor.c:4682:17: note: âsnprintfâ output between 6 and 1029 bytes into a destination of size 1024
4682 | snprintf(msg, CMOR_MAX_STRING, "%s_bnds", cmor_axes[j].id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_close_variableâ:
Src/cmor.c:6824:33: warning: â.copyâ directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
6824 | sprintf(msg, "%s.copy", outname);
| ^~~~~
Src/cmor.c:6824:17: note: âsprintfâ output between 6 and 1029 bytes into a destination of size 1024
6824 | sprintf(msg, "%s.copy", outname);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c:6827:45: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=]
6827 | "Output file ( %s ) already exists,\n! "
| ^~
......
6832 | "at: %s.copy", outname, outname);
| ~~~~~~~
Src/cmor.c:6826:21: note: âsnprintfâ output between 206 and 2252 bytes into a destination of size 1024
6826 | snprintf(msg, CMOR_MAX_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6827 | "Output file ( %s ) already exists,\n! "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6828 | "remove file or use CMOR_REPLACE or\n! "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6829 | "CMOR_APPEND for CMOR_NETCDF_MODE value\n! "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6830 | "in cmor_setup for convenience the file\n! "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6831 | "you were trying to write has been saved\n! "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6832 | "at: %s.copy", outname, outname);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_setupâ:
Src/cmor.c:960:48: warning: â%.4iâ directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
960 | snprintf(msg, CMOR_MAX_STRING, "%s_%.4i-%.2i-%.2iT%.2i:%.2i:%.2i",
| ^~~~
Src/cmor.c:960:44: note: directive argument in the range [-2147481748, 2147483647]
960 | snprintf(msg, CMOR_MAX_STRING, "%s_%.4i-%.2i-%.2iT%.2i:%.2i:%.2i",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c:960:44: note: directive argument in the range [-2147483647, 2147483647]
Src/cmor.c:960:13: note: âsnprintfâ output between 21 and 1096 bytes into a destination of size 1024
960 | snprintf(msg, CMOR_MAX_STRING, "%s_%.4i-%.2i-%.2iT%.2i:%.2i:%.2i",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
961 | tmplogfile, ptr->tm_year + 1900, ptr->tm_mon + 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
962 | ptr->tm_mday, ptr->tm_hour, ptr->tm_min, ptr->tm_sec);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_setGblAttrâ:
Src/cmor.c:3083:52: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 1009 [-Wformat-truncation=]
3083 | snprintf(msg, CMOR_MAX_STRING, "Creation Date:(%s) MD5:",
| ^~
Src/cmor.c:3083:5: note: âsnprintfâ output between 22 and 1045 bytes into a destination of size 1024
3083 | snprintf(msg, CMOR_MAX_STRING, "Creation Date:(%s) MD5:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3084 | cmor_tables[nVarRefTblID].date);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Src/cmor.c:10:
./include/cmor.h:213:39: warning: â output prepared for â directive output may be truncated writing 21 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
213 | #define GLOBAL_ATT_TITLE_MSG "%s output prepared for %s"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c:3113:36: note: in expansion of macro âGLOBAL_ATT_TITLE_MSGâ
3113 | snprintf(msg, CMOR_MAX_STRING, GLOBAL_ATT_TITLE_MSG, ctmp, ctmp2);
| ^~~~~~~~~~~~~~~~~~~~
./include/cmor.h:213:42: note: format string is defined here
213 | #define GLOBAL_ATT_TITLE_MSG "%s output prepared for %s"
| ^~~~~~~~~~~~~~~~~~~~~
Src/cmor.c:3113:5: note: âsnprintfâ output between 22 and 2068 bytes into a destination of size 1024
3113 | snprintf(msg, CMOR_MAX_STRING, GLOBAL_ATT_TITLE_MSG, ctmp, ctmp2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c:3294:49: warning: â;
â directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
3294 | snprintf(ctmp2, CMOR_MAX_STRING, "%s;\n%s", ctmp, msg);
| ^~~
Src/cmor.c:3294:13: note: âsnprintfâ output between 3 and 2049 bytes into a destination of size 1024
3294 | snprintf(ctmp2, CMOR_MAX_STRING, "%s;\n%s", ctmp, msg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor.c: In function âcmor_define_dimensionsâ:
Src/cmor.c:3682:42: warning: â%sâ directive writing up to 1023 bytes into a region of size 1009 [-Wformat-overflow=]
3682 | sprintf(msg, "Inverted axis: %s",
| ^~
Src/cmor.c:3682:13: note: âsprintfâ output between 16 and 1039 bytes into a destination of size 1024
3682 | sprintf(msg, "Inverted axis: %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3683 | cmor_axes[cmor_vars[var_id].axes_ids[i]].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_axes.c
Src/cmor_axes.c: In function âcmor_axisâ:
Src/cmor_axes.c:2183:53: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size between 706 and 1020 [-Wformat-truncation=]
2183 | snprintf(msg, CMOR_MAX_STRING, "%lf %s",
| ^~
2184 | cmor_axes[cmor_naxes].approx_interval, ctmp);
| ~~~~
Src/cmor_axes.c:2183:17: note: âsnprintfâ output between 5 and 1342 bytes into a destination of size 1024
2183 | snprintf(msg, CMOR_MAX_STRING, "%lf %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2184 | cmor_axes[cmor_naxes].approx_interval, ctmp);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_CV.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_variables.c
Src/cmor_variables.c: In function âcmor_update_historyâ:
Src/cmor_variables.c:995:41: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
995 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.",
| ^~
996 | tmp, date, add);
| ~~~~
Src/cmor_variables.c:995:5: note: âsnprintfâ output 21 or more bytes (assuming 2067) into a destination of size 1024
995 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
996 | tmp, date, add);
| ~~~~~~~~~~~~~~~
Src/cmor_variables.c: In function âcmor_variableâ:
Src/cmor_variables.c:1251:49: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 996 [-Wformat-truncation=]
1251 | "Converted units from '%s' to '%s'", units, refvar.units);
| ^~ ~~~~~~~~~~~~
Src/cmor_variables.c:1249:9: note: âsnprintfâ output 30 or more bytes (assuming 1053) into a destination of size 1024
1249 | snprintf(msg,
| ^~~~~~~~~~~~~
1250 | CMOR_MAX_STRING,
| ~~~~~~~~~~~~~~~~
1251 | "Converted units from '%s' to '%s'", units, refvar.units);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c:1868:49: warning: âsnprintfâ output may be truncated before the last format character [-Wformat-truncation=]
1868 | snprintf(ctmp, CMOR_MAX_STRING, " %s",
| ^
Src/cmor_variables.c:1868:13: note: âsnprintfâ output between 2 and 1025 bytes into a destination of size 1024
1868 | snprintf(ctmp, CMOR_MAX_STRING, " %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1869 | cmor_axes[cmor_vars[vrid].original_order[i]].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c:1751:50: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 997 [-Wformat-truncation=]
1751 | "Treated scalar dimension: '%s'",
| ^~
Src/cmor_variables.c:1750:13: note: âsnprintfâ output between 29 and 1052 bytes into a destination of size 1024
1750 | snprintf(msg, CMOR_MAX_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1751 | "Treated scalar dimension: '%s'",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1752 | cmor_axes[laxes_ids[i]].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c:1766:53: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
1766 | snprintf(ctmp, CMOR_MAX_STRING, "%s %s", msg,
| ^~
Src/cmor_variables.c:1766:17: note: âsnprintfâ output between 2 and 2048 bytes into a destination of size 1024
1766 | snprintf(ctmp, CMOR_MAX_STRING, "%s %s", msg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1767 | cmor_tables[cmor_axes[laxes_ids[i]].ref_table_id].axes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1768 | [cmor_axes[laxes_ids[i]].ref_axis_id].out_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c:1762:53: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
1762 | snprintf(ctmp, CMOR_MAX_STRING, "%s %s", msg,
| ^~
Src/cmor_variables.c:1762:17: note: âsnprintfâ output between 2 and 2048 bytes into a destination of size 1024
1762 | snprintf(ctmp, CMOR_MAX_STRING, "%s %s", msg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1763 | cmor_tables[cmor_axes[laxes_ids[i]].ref_table_id].axes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1764 | [cmor_axes[laxes_ids[i]].ref_axis_id].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c:1650:45: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=]
1650 | "You defined variable '%s' (table %s) with axis "
| ^~
......
1653 | refvar.id,
| ~~~~~~~~~
Src/cmor_variables.c:1649:13: note: âsnprintfâ output between 121 and 3190 bytes into a destination of size 1024
1649 | snprintf(msg, CMOR_MAX_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1650 | "You defined variable '%s' (table %s) with axis "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1651 | "id '%s' which is not part of this variable "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1652 | "according to your table, it says: ( ",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1653 | refvar.id,
| ~~~~~~~~~~
1654 | cmor_tables[cmor_vars[vrid].ref_table_id].szTable_id,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1655 | cmor_tables[cmor_axes[laxes_ids[i]].ref_table_id].
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1656 | axes[cmor_axes[laxes_ids[i]].ref_axis_id].id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Src/cmor_variables.c: In function âcmor_write_var_to_fileâ:
Src/cmor_variables.c:3413:51: warning: â%sâ directive output may be truncated writing up to 1023 bytes into a region of size between 706 and 1020 [-Wformat-truncation=]
3413 | snprintf(units, CMOR_MAX_STRING, "%lf %s",
| ^~
3414 | cmor_axes[avar->axes_ids[0]].approx_interval, msg);
| ~~~
Src/cmor_variables.c:3413:13: note: âsnprintfâ output between 5 and 1342 bytes into a destination of size 1024
3413 | snprintf(units, CMOR_MAX_STRING, "%lf %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3414 | cmor_axes[avar->axes_ids[0]].approx_interval, msg);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_tables.c
Src/cmor_tables.c: In function âcmor_load_table_internalâ:
Src/cmor_tables.c:807:51: warning: âsnprintfâ output may be truncated before the last format character [-Wformat-truncation=]
807 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable);
| ^
Src/cmor_tables.c:807:13: note: âsnprintfâ output 2 or more bytes (assuming 1025) into a destination of size 1024
807 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cdTime/cdTimeConv.c
Src/cdTime/cdTimeConv.c: In function âcdParseRelunitsâ:
Src/cdTime/cdTimeConv.c:190:46: warning: â%sâ directive writing up to 47 bytes into a region of size between 0 and 47 [-Wformat-overflow=]
190 | sprintf(basetime,"%s %s",basetime_1,basetime_2);
| ^~ ~~~~~~~~~~
Src/cdTime/cdTimeConv.c:190:25: note: âsprintfâ output between 2 and 96 bytes into a destination of size 48
190 | sprintf(basetime,"%s %s",basetime_1,basetime_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cdTime/cdUtil.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cdTime/timeConv.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cdTime/timeArith.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_grids.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_md5.c
gcc -c -g -I./include -I./include/cdTime -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security Src/cmor_cfortran_interface.c
f95 -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -g Src/cmor_fortran_interface.f90
Building Python interface
python3 -m pip install --break-system-packages --no-deps . --prefix `pwd`/debian/tmp --no-cache-dir
Processing /<<PKGBUILDDIR>>
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
à Getting requirements to build wheel did not run successfully.
â exit code: 1
â°â> [23 lines of output]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/usr/lib/python3/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-e_9zx_3w/overlay/local/lib/python3.13/dist-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-e_9zx_3w/overlay/local/lib/python3.13/dist-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-e_9zx_3w/overlay/local/lib/python3.13/dist-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-e_9zx_3w/overlay/local/lib/python3.13/dist-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'numpy'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///<<PKGBUILDDIR>>' when getting requirements to build wheel
make[2]: *** [Makefile:174: python3] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:49: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list