Diff of the two buildlogs: -- --- b1/build.log 2024-11-05 16:47:42.919187145 +0000 +++ b2/build.log 2024-11-05 17:22:46.744194657 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 5 04:33:16 -12 2024 -I: pbuilder-time-stamp: 1730824396 +I: Current time: Wed Nov 6 06:49:22 +14 2024 +I: pbuilder-time-stamp: 1730825362 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -36,52 +36,84 @@ dpkg-source: info: applying 40_mstop_movies.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26586/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 5 16:50 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9a3b01717baa4b0eae13e69b47154506' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='26586' - PS1='# ' - PS2='> ' + INVOCATION_ID=1ee243899d6f4a72beb04f53a5cdcb1b + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1568 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.l939nbcP/pbuilderrc_wzNy --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.l939nbcP/b1 --logfile b1/build.log pymol_3.0.0+dfsg-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.l939nbcP/pbuilderrc_fyd2 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.l939nbcP/b2 --logfile b2/build.log pymol_3.0.0+dfsg-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/26586/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -442,7 +474,7 @@ Get: 293 http://deb.debian.org/debian unstable/main armhf xdg-utils all 1.1.3-4.1 [75.5 kB] Get: 294 http://deb.debian.org/debian unstable/main armhf texlive-base all 2024.20241102-1 [22.7 MB] Get: 295 http://deb.debian.org/debian unstable/main armhf texlive-latex-base all 2024.20241102-1 [1278 kB] -Fetched 174 MB in 3s (50.1 MB/s) +Fetched 174 MB in 4s (44.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19688 files and directories currently installed.) @@ -1402,8 +1434,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Nov 5 16:34:33 UTC 2024. -Universal Time is now: Tue Nov 5 16:34:33 UTC 2024. +Local time is now: Tue Nov 5 16:51:42 UTC 2024. +Universal Time is now: Tue Nov 5 16:51:42 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:armhf (1.17.0-2+b1) ... @@ -1676,7 +1708,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/pymol-3.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pymol_3.0.0+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/pymol-3.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pymol_3.0.0+dfsg-1_source.changes dpkg-buildpackage: info: source package pymol dpkg-buildpackage: info: source version 3.0.0+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -1704,13 +1740,6 @@ I: pybuild base:311: python3.12 setup.py config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build -contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c: In function 'read_dlpoly_config_structure': -contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:292:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 292 | if (NULL == fgets(fbuffer, 1024, data->file)) - | ^~ -contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:295:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 295 | if (NULL == fgets(fbuffer, 1024, data->file)) - | ^~ contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c: In function 'PlugIOManagerInitAll': contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c:271:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 271 | if(ok) ok = ok && (molfile_xyzplugin_init() == VMDPLUGIN_SUCCESS); @@ -1718,10 +1747,6 @@ contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c:273:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 273 | if(ok) { | ^~ -contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c: In function 'read_dlpoly_config_timestep': -contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:669:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 669 | fgets(fbuffer, 1024, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c: In function 'PlugIOManagerFreeAll': contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c:411:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 411 | if(ok) ok = ok && (molfile_xyzplugin_fini() == VMDPLUGIN_SUCCESS); @@ -1729,6 +1754,17 @@ contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.c:413:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 413 | return ok; | ^~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c: In function 'read_dlpoly_config_structure': +contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:292:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 292 | if (NULL == fgets(fbuffer, 1024, data->file)) + | ^~ +contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:295:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 295 | if (NULL == fgets(fbuffer, 1024, data->file)) + | ^~ +contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c: In function 'read_dlpoly_config_timestep': +contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:669:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 669 | fgets(fbuffer, 1024, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c: In function 'read_dlpoly_timestep': contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:554:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | fgets(fbuffer, 1024, data->file); @@ -1741,6 +1777,13 @@ contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.c:267:5: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 4095 [-Wstringop-truncation] 267 | strncpy(atom->name, buf, sizeof(atom->name)); | ^ +contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp: In function 'void* open_plt_read(const char*, const char*, int*)': +contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp:69:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | fread(intHeader, sizeof(int), 5, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp:82:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 82 | fread(floatHeader, sizeof(float), 6, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/abinitplugin.c: In function 'abinit_readline': contrib/uiuc/plugins/molfile_plugin/src/abinitplugin.c:279:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 279 | for (i = 0; i < strlen(line); ++i) { @@ -1772,13 +1815,6 @@ contrib/uiuc/plugins/molfile_plugin/src/periodic_table.h:160:12: warning: 'get_pte_idx_from_string' defined but not used [-Wunused-function] 160 | static int get_pte_idx_from_string(const char *label) { | ^~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp: In function 'void* open_plt_read(const char*, const char*, int*)': -contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp:69:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | fread(intHeader, sizeof(int), 5, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/pltplugin.cpp:82:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 82 | fread(floatHeader, sizeof(float), 6, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/mdfplugin.cpp: In function 'int read_mdf_bonds(void*, int*, int**, int**, float**, int**, int*, char***)': contrib/uiuc/plugins/molfile_plugin/src/mdfplugin.cpp:278:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 278 | fgets(line, LINESIZE, mdf->file); @@ -1830,37 +1866,6 @@ contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1541:7: warning: unused variable 'i' [-Wunused-variable] 1541 | int i,j,k; | ^ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1629:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1629 | fread (&len, sizeof(int), 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1631:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1631 | fread (str, len, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h: In function 'void get_binary_item(FILE*, int, int*, unsigned int*, double*)': -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2057:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2057 | fread (ptr, 1, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2063:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2063 | fread (ptr, 1, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2069:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2069 | fread (ptr, 2, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2075:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2075 | fread (ptr, 2, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2081:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2081 | fread (ptr, 4, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2087:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2087 | fread (ptr, 4, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2093:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2093 | fread (ptr, 4, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2099:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2099 | fread (ptr, 8, 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/mol2plugin.cpp: In function 'int read_mol2_timestep(void*, int, molfile_timestep_t*)': contrib/uiuc/plugins/molfile_plugin/src/mol2plugin.cpp:275:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | fgets(line, LINESIZE, mol2->file); @@ -1898,13 +1903,37 @@ contrib/uiuc/plugins/molfile_plugin/src/mol2plugin.cpp:92:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fgets(line, LINESIZE, fd); // Read the charge_type | ~~~~~^~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h: In function 'char* recreate_command_line(int, char**)': -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1334:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1334 | line[0] = '\0'; - | ~~~~~~~~^~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1333:26: note: destination object of size 0 allocated by 'malloc' - 1333 | line = (char *) malloc (sizeof(char) * len); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1629:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1629 | fread (&len, sizeof(int), 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1631:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1631 | fread (str, len, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h: In function 'void get_binary_item(FILE*, int, int*, unsigned int*, double*)': +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2057:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2057 | fread (ptr, 1, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2063:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2063 | fread (ptr, 1, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2069:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2069 | fread (ptr, 2, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2075:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2075 | fread (ptr, 2, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2081:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2081 | fread (ptr, 4, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2087:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2087 | fread (ptr, 4, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2093:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2093 | fread (ptr, 4, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:2099:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2099 | fread (ptr, 8, 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~ In file included from contrib/uiuc/plugins/molfile_plugin/src/moldenplugin.c:49: contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h: In function 'angular_momentum_expon': contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h:545:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] @@ -1928,6 +1957,13 @@ contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h:840:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 840 | fgets(readbuf, 1024, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h: In function 'char* recreate_command_line(int, char**)': +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1334:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1334 | line[0] = '\0'; + | ~~~~~~~~^~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/ply_c.h:1333:26: note: destination object of size 0 allocated by 'malloc' + 1333 | line = (char *) malloc (sizeof(char) * len); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/moldenplugin.c: In function 'open_molden_read': contrib/uiuc/plugins/molfile_plugin/src/moldenplugin.c:224:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | fscanf(data->file, "%d", &natm); @@ -1980,60 +2016,6 @@ contrib/uiuc/plugins/molfile_plugin/src/moldenplugin.c:326:7: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 1023 [-Wstringop-truncation] 326 | strncpy(data->atoms[i].type, atname, sizeof(data->atoms[i].type)); | ^ -In file included from contrib/uiuc/plugins/molfile_plugin/src/basissetplugin.c:42: -contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h: In function 'angular_momentum_expon': -contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h:545:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 545 | for (i=0; i sizeof(name)) { @@ -2178,60 +2207,13 @@ contrib/uiuc/plugins/molfile_plugin/src/netcdfplugin.c:1060:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1060 | for (i=0; i<(3 * mmtk->atom_numberdim); i++) { | ^ -In file included from /usr/include/c++/14/map:62, - from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:58: -/usr/include/c++/14/bits/stl_tree.h: In function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, {anonymous}::Blob>; _KeyOfValue = std::_Select1st, {anonymous}::Blob> >; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': -/usr/include/c++/14/bits/stl_tree.h:2206:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 2206 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, {anonymous}::Blob>; _KeyOfValue = std::_Select1st, {anonymous}::Blob> >; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': -/usr/include/c++/14/bits/stl_tree.h:2454:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 2454 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/map:63: -/usr/include/c++/14/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'void DDmkdir(const std::string&, mode_t, int, int)': -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:23: warning: '%03x' directive writing between 3 and 8 bytes into a region of size 6 [-Wformat-overflow=] - 714 | sprintf(sub, "%03x/", i); - | ^~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:22: note: directive argument in the range [0, 2147483646] - 714 | sprintf(sub, "%03x/", i); - | ^~~~~~~ -In file included from /usr/include/stdio.h:970, - from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.hxx:56, - from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:47: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void DDmkdir(const std::string&, mode_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:9: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 10 bytes into a destination of size 6 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'void DDmkdir(const std::string&, mode_t, int, int)': -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:30: warning: '%03x' directive writing between 3 and 8 bytes into a region of size 6 [-Wformat-overflow=] - 722 | sprintf(subsub, "%03x", j); - | ^~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:29: note: directive argument in the range [0, 2147483646] - 722 | sprintf(subsub, "%03x", j); - | ^~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void DDmkdir(const std::string&, mode_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:13: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 9 bytes into a destination of size 6 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/binposplugin.c: In function 'open_binpos_read': +contrib/uiuc/plugins/molfile_plugin/src/binposplugin.c:64:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 64 | fread(magicchar,sizeof(char),4,fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/binposplugin.c:72:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | fread(&igarb,sizeof(int),1,fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/brixplugin.cpp: In function 'int read_brix_data(void*, int, float*, float*)': contrib/uiuc/plugins/molfile_plugin/src/brixplugin.cpp:247:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 247 | fread(brick, sizeof(char), 512, fd); @@ -2273,6 +2255,25 @@ contrib/uiuc/plugins/molfile_plugin/src/rst7plugin.c:70:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fgets(line, 82, fd); | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/map:62, + from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:58: +/usr/include/c++/14/bits/stl_tree.h: In function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, {anonymous}::Blob>; _KeyOfValue = std::_Select1st, {anonymous}::Blob> >; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': +/usr/include/c++/14/bits/stl_tree.h:2206:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 2206 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, {anonymous}::Blob>; _KeyOfValue = std::_Select1st, {anonymous}::Blob> >; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': +/usr/include/c++/14/bits/stl_tree.h:2454:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 2454 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/map:63: +/usr/include/c++/14/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]': +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/carplugin.c: In function 'read_car_timestep': contrib/uiuc/plugins/molfile_plugin/src/carplugin.c:326:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | fgets(line, LINESIZE, data->file); @@ -2339,39 +2340,6 @@ contrib/uiuc/plugins/molfile_plugin/src/carplugin.c:245:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | fgets(line, LINESIZE, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'std::string framefile(const std::string&, size_t, size_t, int, int)': -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:675:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 675 | sprintf(answer, "%03x/", d1); - | ^ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'std::string DDreldir(const std::string&, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:675:13, - inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 10 bytes into a destination of size 9 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'std::string framefile(const std::string&, size_t, size_t, int, int)': -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:35: warning: '%03x' directive writing between 3 and 8 bytes into a region of size between 0 and 5 [-Wformat-overflow=] - 673 | sprintf(answer, "%03x/%03x/", d1, d2); - | ^~~~ -In function 'std::string DDreldir(const std::string&, int, int)', - inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: -contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:29: note: directive argument in the range [0, 2147483646] - 673 | sprintf(answer, "%03x/%03x/", d1, d2); - | ^~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'std::string DDreldir(const std::string&, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:13, - inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 9 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/carplugin.c: In function 'read_car_structure': contrib/uiuc/plugins/molfile_plugin/src/carplugin.c:127:29: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] 127 | sprintf(atom->resname, "%d", resid); @@ -2393,6 +2361,41 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'void DDmkdir(const std::string&, mode_t, int, int)': +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:23: warning: '%03x' directive writing between 3 and 8 bytes into a region of size 6 [-Wformat-overflow=] + 714 | sprintf(sub, "%03x/", i); + | ^~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:22: note: directive argument in the range [0, 2147483646] + 714 | sprintf(sub, "%03x/", i); + | ^~~~~~~ +In file included from /usr/include/stdio.h:970, + from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.hxx:56, + from contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:47: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void DDmkdir(const std::string&, mode_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:714:9: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 10 bytes into a destination of size 6 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'void DDmkdir(const std::string&, mode_t, int, int)': +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:30: warning: '%03x' directive writing between 3 and 8 bytes into a region of size 6 [-Wformat-overflow=] + 722 | sprintf(subsub, "%03x", j); + | ^~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:29: note: directive argument in the range [0, 2147483646] + 722 | sprintf(subsub, "%03x", j); + | ^~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void DDmkdir(const std::string&, mode_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:722:13: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 9 bytes into a destination of size 6 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/parm7plugin.cpp: In function 'int read_parm7_structure(void*, int*, molfile_atom_t*)': contrib/uiuc/plugins/molfile_plugin/src/parm7plugin.cpp:78:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | fgets(buf, 85, file); @@ -2475,6 +2478,43 @@ contrib/uiuc/plugins/molfile_plugin/src/ccp4plugin.cpp:304:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fgets(symData, 81, fd); | ~~~~~^~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'std::string framefile(const std::string&, size_t, size_t, int, int)': +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:675:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 675 | sprintf(answer, "%03x/", d1); + | ^ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'std::string DDreldir(const std::string&, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:675:13, + inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 10 bytes into a destination of size 9 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp: In function 'std::string framefile(const std::string&, size_t, size_t, int, int)': +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:35: warning: '%03x' directive writing between 3 and 8 bytes into a region of size between 0 and 5 [-Wformat-overflow=] + 673 | sprintf(answer, "%03x/%03x/", d1, d2); + | ^~~~ +In function 'std::string DDreldir(const std::string&, int, int)', + inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: +contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:29: note: directive argument in the range [0, 2147483646] + 673 | sprintf(answer, "%03x/%03x/", d1, d2); + | ^~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'std::string DDreldir(const std::string&, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:673:13, + inlined from 'std::string framefile(const std::string&, size_t, size_t, int, int)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:779:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 9 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/spiderplugin.cpp: In function 'int read_spider_data(void*, int, float*, float*)': +contrib/uiuc/plugins/molfile_plugin/src/spiderplugin.cpp:286:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 286 | fread(datablock, total * sizeof(float), 1, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from contrib/uiuc/plugins/molfile_plugin/src/parmplugin.cpp:24: contrib/uiuc/plugins/molfile_plugin/src/ReadPARM.h: In member function 'int {anonymous}::ReadPARM::readparm(FILE*)': contrib/uiuc/plugins/molfile_plugin/src/ReadPARM.h:435:17: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2534,10 +2574,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | &prm->Xcap, &prm->Ycap, &prm->Zcap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/spiderplugin.cpp: In function 'int read_spider_data(void*, int, float*, float*)': -contrib/uiuc/plugins/molfile_plugin/src/spiderplugin.cpp:286:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 286 | fread(datablock, total * sizeof(float), 1, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/stlplugin.cpp: In function 'int read_rawgraphics(void*, int*, const molfile_graphics_t**)': contrib/uiuc/plugins/molfile_plugin/src/stlplugin.cpp:96:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | fgets(line, 80, infile); @@ -2560,51 +2596,6 @@ contrib/uiuc/plugins/molfile_plugin/src/stlplugin.cpp:171:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fgets(line, 80, infile); | ~~~~~^~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1496:19: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1497:13: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1498:13: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1505:28: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1506:32: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/tinkerplugin.c: In function 'read_tinker_structure': contrib/uiuc/plugins/molfile_plugin/src/tinkerplugin.c:103:5: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 1023 [-Wstringop-truncation] 103 | strncpy(atom->name, buffer, sizeof(atom->name)); @@ -2635,35 +2626,6 @@ contrib/uiuc/plugins/molfile_plugin/src/cubeplugin.cpp:349:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | fgets(readbuf, 1023, cube->fd); // gobble up rest of line | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1743:38: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_anton_sfxp_v3({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1604:38, - inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1754:32: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', - inlined from 'int handle_anton_sfxp_v3({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1626:31, - inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1754:32: -/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 - 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 533 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 534 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/vasp5xdatcarplugin.c: In function 'read_vasp5xdatcar_timestep': contrib/uiuc/plugins/molfile_plugin/src/vasp5xdatcarplugin.c:224:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | fgets(lineptr, LINESIZE, data->file); @@ -2699,6 +2661,51 @@ contrib/uiuc/plugins/molfile_plugin/src/periodic_table.h:160:12: warning: 'get_pte_idx_from_string' defined but not used [-Wunused-function] 160 | static int get_pte_idx_from_string(const char *label) { | ^~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1496:19: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1497:13: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1498:13: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1505:28: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_posn_momentum_v1({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1506:32: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ In file included from contrib/uiuc/plugins/molfile_plugin/src/dcdplugin.c:51: contrib/uiuc/plugins/molfile_plugin/src/fastio.h: In function 'fio_fread': contrib/uiuc/plugins/molfile_plugin/src/fastio.h:435:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'fio_size_t' {aka 'long long int'} [-Wformat=] @@ -2826,23 +2833,35 @@ contrib/uiuc/plugins/molfile_plugin/src/periodic_table.h:133:12: warning: 'get_pte_idx' defined but not used [-Wunused-function] 133 | static int get_pte_idx(const char *label) | ^~~~~~~~~~~ -In file included from contrib/uiuc/plugins/molfile_plugin/src/pdbplugin.c:31: -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h: In function 'read_next_timestep': -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:144:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 52 [-Wstringop-truncation] - 144 | strncpy(numstr, record + 30, 8); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:149:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 44 [-Wstringop-truncation] - 149 | strncpy(numstr+10, record + 38, 8); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:154:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 36 [-Wstringop-truncation] - 154 | strncpy(numstr+20, record + 46, 8); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:159:5: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 28 [-Wstringop-truncation] - 159 | strncpy(numstr+30, record + 54, 6); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:164:5: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 22 [-Wstringop-truncation] - 164 | strncpy(numstr+40, record + 60, 6); - | ^ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1743:38: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_anton_sfxp_v3({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1604:38, + inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1754:32: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = {anonymous}::Blob; _Compare = std::less >; _Alloc = std::allocator, {anonymous}::Blob> >]', + inlined from 'int handle_anton_sfxp_v3({anonymous}::BlobMap&, uint32_t, bool, const float*, molfile_timestep_t*)' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1626:31, + inlined from 'int desres::molfile::DtrReader::frame_from_bytes(const void*, uint64_t, molfile_timestep_t*) const' at contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.cpp:1754:32: +/usr/include/c++/14/bits/stl_map.h:532:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, {anonymous}::Blob>, std::_Select1st, {anonymous}::Blob> >, std::less >, std::allocator, {anonymous}::Blob> > >::const_iterator' changed in GCC 7.1 + 532 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 533 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 534 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c: In function 'read_vaspoutcar_timestep': contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.c:239:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 239 | fgets(lineptr, LINESIZE, data->file); @@ -2863,6 +2882,23 @@ contrib/uiuc/plugins/molfile_plugin/src/periodic_table.h:160:12: warning: 'get_pte_idx_from_string' defined but not used [-Wunused-function] 160 | static int get_pte_idx_from_string(const char *label) { | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from contrib/uiuc/plugins/molfile_plugin/src/pdbplugin.c:31: +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h: In function 'read_next_timestep': +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:144:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 52 [-Wstringop-truncation] + 144 | strncpy(numstr, record + 30, 8); + | ^ +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:149:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 44 [-Wstringop-truncation] + 149 | strncpy(numstr+10, record + 38, 8); + | ^ +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:154:5: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 36 [-Wstringop-truncation] + 154 | strncpy(numstr+20, record + 46, 8); + | ^ +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:159:5: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 28 [-Wstringop-truncation] + 159 | strncpy(numstr+30, record + 54, 6); + | ^ +contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:164:5: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 22 [-Wstringop-truncation] + 164 | strncpy(numstr+40, record + 60, 6); + | ^ contrib/uiuc/plugins/molfile_plugin/src/readpdb.h: In function 'read_pdb_structure': contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:299:3: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 70 [-Wstringop-truncation] 299 | strncpy(name, record + 12, 4); @@ -2895,6 +2931,38 @@ contrib/uiuc/plugins/molfile_plugin/src/readpdb.h:200:5: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 20 [-Wstringop-truncation] 200 | strncpy(pdbcode, record + 62, 4); | ^ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'read_vaspparchg_data': +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:238:60: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 238 | for (n = 0; n < data->numatoms + data->version + 5; ++n) fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'read_vaspparchg_metadata': +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:150:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 150 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'open_vaspparchg_read': +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:71:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 71 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:75:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 75 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:81:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 81 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:92:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:103:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 103 | fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:131:44: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 131 | for (i = 0; i < data->numatoms + 2; ++i) fgets(lineptr, LINESIZE, data->file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:41: +contrib/uiuc/plugins/molfile_plugin/src/vaspplugin.h: At top level: +contrib/uiuc/plugins/molfile_plugin/src/vaspplugin.h:111:13: warning: 'vasp_timestep_unitcell' defined but not used [-Wunused-function] + 111 | static void vasp_timestep_unitcell(molfile_timestep_t *ts, vasp_plugindata_t *data) + | ^~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/pdbxplugin.cpp: In function 'int getUniqueResID(char*, int)': contrib/uiuc/plugins/molfile_plugin/src/pdbxplugin.cpp:443:7: warning: unused variable 'i' [-Wunused-variable] 443 | int i, uid; @@ -2939,38 +3007,6 @@ contrib/uiuc/plugins/molfile_plugin/src/pdbxplugin.cpp:1409:9: warning: unused variable 'fd' [-Wunused-variable] 1409 | FILE* fd; | ^~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'read_vaspparchg_data': -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:238:60: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 238 | for (n = 0; n < data->numatoms + data->version + 5; ++n) fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'read_vaspparchg_metadata': -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:150:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 150 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c: In function 'open_vaspparchg_read': -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:71:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 71 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:75:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 75 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:81:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 81 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:92:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:103:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:131:44: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 131 | for (i = 0; i < data->numatoms + 2; ++i) fgets(lineptr, LINESIZE, data->file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.c:41: -contrib/uiuc/plugins/molfile_plugin/src/vaspplugin.h: At top level: -contrib/uiuc/plugins/molfile_plugin/src/vaspplugin.h:111:13: warning: 'vasp_timestep_unitcell' defined but not used [-Wunused-function] - 111 | static void vasp_timestep_unitcell(molfile_timestep_t *ts, vasp_plugindata_t *data) - | ^~~~~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/vaspposcarplugin.c: In function 'write_vaspposcar_timestep': contrib/uiuc/plugins/molfile_plugin/src/vaspposcarplugin.c:360:40: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 360 | strncpy(tmptype, atom->type, sizeof(atom->type)); @@ -3084,14 +3120,6 @@ contrib/uiuc/plugins/molfile_plugin/src/vtfplugin.c:629:7: warning: '__builtin___strncat_chk' output may be truncated copying 200 bytes from a string of length 254 [-Wstringop-truncation] 629 | strncat(msg, keyword, 200); | ^ -contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp: In function 'int read_edm_data(void*, int, float*, float*)': -contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp:240:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 240 | fgets(readbuf, 13, edm->fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp: In function 'void eatline(FILE*)': -contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp:44:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 44 | fgets(readbuf, 1024, fd); // go on to next line - | ~~~~~^~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/vtkplugin.cpp: In function 'int read_vtk_data_ex(void*, molfile_volumetric_readwrite_t*)': contrib/uiuc/plugins/molfile_plugin/src/vtkplugin.cpp:371:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | fscanf(fd, "%lf %lf %lf", &vx, &vy, &vz); @@ -3100,10 +3128,14 @@ contrib/uiuc/plugins/molfile_plugin/src/vtkplugin.cpp:306:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fscanf(fd, "%lf %lf %lf", &vx, &vy, &vz); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/fs4plugin.cpp: In function 'void* open_fs4_read(const char*, const char*, int*)': -contrib/uiuc/plugins/molfile_plugin/src/fs4plugin.cpp:79:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 79 | fread(&dataBegin, sizeof(int), 1, fd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp: In function 'int read_edm_data(void*, int, float*, float*)': +contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp:240:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 240 | fgets(readbuf, 13, edm->fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp: In function 'void eatline(FILE*)': +contrib/uiuc/plugins/molfile_plugin/src/edmplugin.cpp:44:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 44 | fgets(readbuf, 1024, fd); // go on to next line + | ~~~~~^~~~~~~~~~~~~~~~~~~ contrib/uiuc/plugins/molfile_plugin/src/xbgfplugin.cpp: In function 'int read_xbgf_timestep(void*, int, molfile_timestep_t*)': contrib/uiuc/plugins/molfile_plugin/src/xbgfplugin.cpp:288:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fgets(line, LINESIZE, bgf->file); @@ -3135,6 +3167,10 @@ contrib/uiuc/plugins/molfile_plugin/src/xbgfplugin.cpp:72:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fgets(line, LINESIZE, fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/fs4plugin.cpp: In function 'void* open_fs4_read(const char*, const char*, int*)': +contrib/uiuc/plugins/molfile_plugin/src/fs4plugin.cpp:79:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 79 | fread(&dataBegin, sizeof(int), 1, fd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:160: contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h: In function 'angular_momentum_expon': contrib/uiuc/plugins/molfile_plugin/src/qmplugin.h:545:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] @@ -3204,18 +3240,6 @@ contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:622:3: warning: '__builtin_strncpy' output may be truncated copying 81 bytes from a string of length 8191 [-Wstringop-truncation] 622 | strncpy(sys_data->version_string, data->version_string, | ^ -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_coordinates': -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1618:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] - 1618 | strncpy(atm->type, atname, sizeof(atm->type)); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1618:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_basis_options': -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1422:5: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] - 1422 | strncat(data->basis_string, &data->gbasis[3], 1); - | ^ -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1411:5: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] - 1411 | strncat(data->basis_string, &data->gbasis[2], 1); - | ^ contrib/uiuc/plugins/molfile_plugin/src/xsfplugin.cpp: In function 'void eatline(FILE*)': contrib/uiuc/plugins/molfile_plugin/src/xsfplugin.cpp:238:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | fgets(readbuf, 1024, fd); // go on to next line @@ -3245,18 +3269,30 @@ contrib/uiuc/plugins/molfile_plugin/src/xsfplugin.cpp:508:16: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 508 | fgets(readbuf, 256, xsf->fd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_input_structure': -contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1682:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] - 1682 | strncpy(atm->type, atname, sizeof(atm->type)); +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_coordinates': +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1618:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] + 1618 | strncpy(atm->type, atname, sizeof(atm->type)); | ^ +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1618:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] In file included from contrib/uiuc/plugins/molfile_plugin/src/xyzplugin.c:57: contrib/uiuc/plugins/molfile_plugin/src/periodic_table.h:160:12: warning: 'get_pte_idx_from_string' defined but not used [-Wunused-function] 160 | static int get_pte_idx_from_string(const char *label) { | ^~~~~~~~~~~~~~~~~~~~~~~ +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_basis_options': +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1422:5: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] + 1422 | strncat(data->basis_string, &data->gbasis[3], 1); + | ^ +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1411:5: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] + 1411 | strncat(data->basis_string, &data->gbasis[2], 1); + | ^ contrib/uiuc/plugins/molfile_plugin/src/xyzplugin.c: In function 'read_xyz_structure': contrib/uiuc/plugins/molfile_plugin/src/xyzplugin.c:133:7: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 1023 [-Wstringop-truncation] 133 | strncpy(atom->name, buffer, sizeof(atom->name)); | ^ +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_input_structure': +contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1682:5: warning: '__builtin_strncpy' output may be truncated copying 11 bytes from a string of length 8191 [-Wstringop-truncation] + 1682 | strncpy(atm->type, atname, sizeof(atm->type)); + | ^ contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c: In function 'get_contrl': contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.c:1981:3: warning: '__builtin_strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1981 | strncpy(data->geometry, trimright(temp+7), sizeof(data->geometry)); @@ -3608,6 +3644,16 @@ layer2/ObjectSurface.cpp:268:7: note: in expansion of macro 'PRINTFB' 268 | PRINTFB(I->G, FB_ObjectSurface, FB_Actions) | ^~~~~~~ +layer2/ObjectSurface.cpp: In member function 'virtual void ObjectSurface::update()': +layer2/ObjectSurface.cpp:494:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 229 [-Wformat-truncation=] + 494 | " ObjectSurface: updating \"%s\".\n", I->Name ENDFB(I->G); + | ^~ +layer0/Feedback.h:274:15: note: 'snprintf' output between 30 and 285 bytes into a destination of size 255 + 274 | (snprintf)( _FBstr, FEEDBACK_MAX_OUTPUT, + | ^ +layer2/ObjectSurface.cpp:493:13: note: in expansion of macro 'PRINTFB' + 493 | PRINTFB(I->G, FB_ObjectSurface, FB_Details) + | ^~~~~~~ layer1/SymOp.cpp: In member function 'std::string pymol::SymOp::to_string() const': layer1/SymOp.cpp:37:32: warning: '%d' directive output may be truncated writing between 1 and 4 bytes into a region of size between 0 and 5 [-Wformat-truncation=] 37 | std::snprintf(code, 8, "%u_%d%d%d", index + 1, x + 5, y + 5, z + 5); @@ -3632,16 +3678,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -layer2/ObjectSurface.cpp: In member function 'virtual void ObjectSurface::update()': -layer2/ObjectSurface.cpp:494:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 229 [-Wformat-truncation=] - 494 | " ObjectSurface: updating \"%s\".\n", I->Name ENDFB(I->G); - | ^~ -layer0/Feedback.h:274:15: note: 'snprintf' output between 30 and 285 bytes into a destination of size 255 - 274 | (snprintf)( _FBstr, FEEDBACK_MAX_OUTPUT, - | ^ -layer2/ObjectSurface.cpp:493:13: note: in expansion of macro 'PRINTFB' - 493 | PRINTFB(I->G, FB_ObjectSurface, FB_Details) - | ^~~~~~~ layer2/ObjectVolume.cpp: In function 'ObjectMapState* ObjectVolumeStateGetMapState(ObjectVolumeState*)': layer2/ObjectVolume.cpp:80:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 230 [-Wformat-truncation=] 80 | "ObjectVolume-Error: map '%s' has been deleted.\n", vs->MapName @@ -3891,14 +3927,6 @@ layer3/Editor.cpp:341:12: note: 'sprintf' output between 12 and 267 bytes into a destination of size 256 341 | sprintf(buffer, "(byobject %s)", name); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from layer1/Setting.h:27, - from layer1/PyMOLObject.h:25, - from layer3/Executive.h:25, - from layer3/Executive.cpp:37: -layer0/Result.h: In constructor 'pymol::Result::Result(type) [with ResultT = std::pair]': -layer0/Result.h:99:3: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 - 99 | Result(type r) : m_result(std::move(r)) {} - | ^~~~~~ layer2/ObjectSlice.cpp: In member function 'virtual void ObjectSlice::update()': layer2/ObjectSlice.cpp:639:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 225 [-Wformat-truncation=] 639 | "ObjectSliceUpdate-Error: map '%s' has been deleted.\n", oss->MapName @@ -3919,6 +3947,14 @@ layer2/ObjectSlice.cpp:649:11: note: in expansion of macro 'PRINTFB' 649 | PRINTFB(I->G, FB_ObjectSlice, FB_Blather) | ^~~~~~~ +In file included from layer1/Setting.h:27, + from layer1/PyMOLObject.h:25, + from layer3/Executive.h:25, + from layer3/Executive.cpp:37: +layer0/Result.h: In constructor 'pymol::Result::Result(type) [with ResultT = std::pair]': +layer0/Result.h:99:3: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 + 99 | Result(type r) : m_result(std::move(r)) {} + | ^~~~~~ layer3/Selector.cpp: In function 'int SelectorAssignSS(PyMOLGlobals*, int, int, int, int, ObjectMolecule*, int)': layer3/Selector.cpp:1717:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 207 [-Wformat-truncation=] 1717 | " AssignSS-Warning: Ignoring incomplete residue /%s/%s/%s/%d%c ...\n", @@ -4492,9 +4528,9 @@ dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'pymol' in '../pymol_3.0.0+dfsg-1_all.deb'. +dpkg-deb: building package 'pymol-data' in '../pymol-data_3.0.0+dfsg-1_all.deb'. dpkg-deb: building package 'python3-pymol-dbgsym' in '../python3-pymol-dbgsym_3.0.0+dfsg-1_armhf.deb'. dpkg-deb: building package 'python3-pymol' in '../python3-pymol_3.0.0+dfsg-1_armhf.deb'. -dpkg-deb: building package 'pymol-data' in '../pymol-data_3.0.0+dfsg-1_all.deb'. dpkg-genbuildinfo --build=binary -O../pymol_3.0.0+dfsg-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pymol_3.0.0+dfsg-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4502,12 +4538,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1568/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/26586 and its subdirectories -I: Current time: Tue Nov 5 04:47:38 -12 2024 -I: pbuilder-time-stamp: 1730825258 +I: removing directory /srv/workspace/pbuilder/1568 and its subdirectories +I: Current time: Wed Nov 6 07:22:40 +14 2024 +I: pbuilder-time-stamp: 1730827360