Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/d/drawxtl/drawxtl_5.5-5_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/drawxtl-5.5-5hy4uhfvf/drawxtl_5.5-5_amd64.buildinfo Get source package info: drawxtl=5.5-5 Source URL: http://snapshot.notset.fr/mr/package/drawxtl/5.5-5/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-5 binutils=2.33.1-6 binutils-common=2.33.1-6 binutils-x86-64-linux-gnu=2.33.1-6 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-21 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.7.2 debianutils=4.9.1 dh-autoreconf=19 dh-strip-nondeterminism=1.6.3-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fdisk=2.34-0.1 file=1:5.37-6 findutils=4.7.0-1 fontconfig-config=2.13.1-2 fonts-dejavu-core=2.37-1 freeglut3=2.8.1-3+b1 freeglut3-dev=2.8.1-3+b1 g++=4:9.2.1-3.1 g++-9=9.2.1-21 gcc=4:9.2.1-3.1 gcc-9=9.2.1-21 gcc-9-base=9.2.1-21 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.3-1 groff-base=1.22.4-4 gzip=1.9-3+b1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-5 libarchive-zip-perl=1.67-1 libasan5=9.2.1-21 libatomic1=9.2.1-21 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libbinutils=2.33.1-6 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-6 libc-dev-bin=2.29-6 libc6=2.29-6 libc6-dev=2.29-6 libcap-ng0=0.7.9-2.1+b1 libcc1-0=9.2.1-21 libcroco3=0.6.13-1 libcrypt1=1:4.4.10-7 libcrypt1-dev=1:4.4.10-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.250 libdebhelper-perl=12.7.2 libdpkg-perl=1.19.7 libdrm-amdgpu1=2.4.100-4 libdrm-common=2.4.100-4 libdrm-intel1=2.4.100-4 libdrm-nouveau2=2.4.100-4 libdrm-radeon1=2.4.100-4 libdrm2=2.4.100-4 libedit2=3.1-20191211-1 libelf1=0.176-1.1 libexpat1=2.2.9-1 libexpat1-dev=2.2.9-1 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-stripnondeterminism-perl=1.6.3-1 libfltk1.1=1.1.10-26 libfltk1.1-dev=1.1.10-26 libfontconfig1=2.13.1-2+b1 libfontconfig1-dev=2.13.1-2+b1 libfreetype-dev=2.10.1-2 libfreetype6=2.10.1-2 libfreetype6-dev=2.10.1-2 libgcc-9-dev=9.2.1-21 libgcc1=1:9.2.1-21 libgcrypt20=1.8.5-3 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libgl-dev=1.3.0-5 libgl1=1.3.0-5 libgl1-mesa-dev=19.3.1-3 libgl1-mesa-dri=19.3.1-3 libgl2ps-dev=1.4.0+dfsg1-2 libgl2ps1.4=1.4.0+dfsg1-2 libglapi-mesa=19.3.1-3 libglib2.0-0=2.62.3-2 libglu1-mesa=9.0.1-1 libglu1-mesa-dev=9.0.1-1 libglvnd0=1.3.0-5 libglx-mesa0=19.3.1-3 libglx0=1.3.0-5 libgmp10=2:6.1.2+dfsg-4 libgomp1=9.2.1-21 libgpg-error0=1.36-7 libice-dev=2:1.0.9-2 libice6=2:1.0.9-2 libicu63=63.2-2 libisl22=0.22-2 libitm1=9.2.1-21 libjpeg62-turbo=1:1.5.2-2+b1 libllvm9=1:9.0.1-2 liblsan0=9.2.1-21 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.37-6 libmagic1=1:5.37-6 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncursesw6=6.1+20191019-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpciaccess0=0.14-1 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.1-3 libpng-dev=1.6.37-1 libpng16-16=1.6.37-1 libpthread-stubs0-dev=0.4-1 libquadmath0=9.2.1-21 libseccomp2=2.4.2-2 libselinux1=3.0-1 libsensors-config=1:3.6.0-2 libsensors5=1:3.6.0-2 libsigsegv2=2.12-2 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.34-0.1 libstdc++-9-dev=9.2.1-21 libstdc++6=9.2.1-21 libsub-override-perl=0.09-2 libsystemd0=244-3 libtinfo6=6.1+20191019-1 libtool=2.4.6-11 libtsan0=9.2.1-21 libubsan1=9.2.1-21 libuchardet0=0.0.6-3 libudev1=244-3 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libx11-6=2:1.6.8-1 libx11-data=2:1.6.8-1 libx11-dev=2:1.6.8-1 libx11-xcb1=2:1.6.8-1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb-dri2-0=1.13.1-2 libxcb-dri3-0=1.13.1-2 libxcb-glx0=1.13.1-2 libxcb-present0=1.13.1-2 libxcb-sync1=1.13.1-2 libxcb1=1.13.1-2 libxcb1-dev=1.13.1-2 libxdamage1=1:1.1.5-1 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1+b2 libxext6=2:1.3.3-1+b2 libxfixes3=1:5.0.3-1 libxft-dev=2.3.2-2 libxft2=2.3.2-2 libxi6=2:1.7.9-1 libxinerama-dev=2:1.1.4-2 libxinerama1=2:1.1.4-2 libxml2=2.9.4+dfsg1-8 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 libxshmfence1=1.3-1 libxt-dev=1:1.1.5-1+b3 libxt6=1:1.1.5-1+b3 libxxf86vm1=1:1.1.4-1+b2 libz3-4=4.8.7-2 linux-libc-dev=5.3.15-1 login=1:4.8-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.0-2 mawk=1.3.3-17+b3 ncurses-base=6.1+20191019-1 ncurses-bin=6.1+20191019-1 patch=2.7.6-6 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 pkg-config=0.29-6 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sharutils=1:4.15.2-4 sysvinit-utils=2.96-1 tar=1.30+dfsg-6+b1 ucf=3.0038+nmu1 util-linux=2.34-0.1 uuid-dev=2.34-0.1 x11-common=1:7.7+20 x11proto-core-dev=2018.4-4 x11proto-dev=2018.4-4 x11proto-xext-dev=2018.4-4 x11proto-xinerama-dev=2018.4-4 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.3.5-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1+b1 zlib1g-dev=1:1.2.11.dfsg-1+b1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20191227T155055Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d drawxtl=5.5-5 && mkdir -p /build/drawxtl-a5IGvj && dpkg-source --no-check -x /*.dsc /build/drawxtl-a5IGvj/drawxtl-5.5 && chown -R builduser:builduser /build/drawxtl-a5IGvj" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/drawxtl-a5IGvj/drawxtl-5.5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1577320258" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/drawxtl-a5IGvj /tmp/drawxtl-5.5-5hy4uhfvf bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20191227T155055Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.wfZOlU13PM as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.wfZOlU13PM Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20191227T155055Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20191227T155055Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (724 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4508 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-6) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20191227T155055Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.wfZOlU13PM Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20191227T155055Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1111 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.wfZOlU13PM I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d drawxtl=5.5-5 && mkdir -p /build/drawxtl-a5IGvj && dpkg-source --no-check -x /*.dsc /build/drawxtl-a5IGvj/drawxtl-5.5 && chown -R builduser:builduser /build/drawxtl-a5IGvj"' exec /tmp/mmdebstrap.wfZOlU13PM Reading package lists... NOTICE: 'drawxtl' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debichem-team/drawxtl.git Please use: git clone https://salsa.debian.org/debichem-team/drawxtl.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 4026 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main drawxtl 5.5-5 (dsc) [2086 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main drawxtl 5.5-5 (tar) [4014 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main drawxtl 5.5-5 (diff) [9488 B] Fetched 4026 kB in 3s (1284 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'drawxtl_5.5-5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting drawxtl in /build/drawxtl-a5IGvj/drawxtl-5.5 dpkg-source: info: unpacking drawxtl_5.5.orig.tar.gz dpkg-source: info: unpacking drawxtl_5.5-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_segfault.patch dpkg-source: info: applying hardening.patch dpkg-source: info: applying link_lib2glps.patch dpkg-source: info: applying povray_default_location.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/drawxtl-a5IGvj/drawxtl-5.5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1577320258" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.wfZOlU13PM dpkg-buildpackage: info: source package drawxtl dpkg-buildpackage: info: source version 5.5-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Daniel Leidert dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --buildsystem=makefile debian/rules override_dh_auto_clean make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_auto_clean -- -C source/DRAWxtl55/ make -j4 clean -C source/DRAWxtl55/ make[2]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5/source/DRAWxtl55' make[2]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_autoreconf_clean -O--buildsystem=makefile dh_clean -O--buildsystem=makefile debian/rules binary-arch dh binary-arch --buildsystem=makefile dh_update_autotools_config -a -O--buildsystem=makefile dh_autoreconf -a -O--buildsystem=makefile dh_auto_configure -a -O--buildsystem=makefile debian/rules override_dh_auto_build make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_auto_build -- -C source/DRAWxtl55/ \ OS=Linux \ prefix=/usr \ includedir=/usr/include \ libdir=/usr/lib/ \ LINKFLTKGL="-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed" \ OPTIM="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/drawxtl-a5IGvj/drawxtl-5.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wunused -fno-exceptions" make -j4 "INSTALL=install --strip-program=true" -C source/DRAWxtl55/ OS=Linux prefix=/usr includedir=/usr/include libdir=/usr/lib/ "LINKFLTKGL=-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed" "OPTIM=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/drawxtl-a5IGvj/drawxtl-5.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wunused -fno-exceptions" make[2]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5/source/DRAWxtl55' Building dependencies... Compiling CrystalView.cxx ... Compiling cursor.cxx ... Compiling drawmap.cxx ... Compiling DRAWxtl1.cxx ... CrystalView.cxx: In member function ‘virtual void CrystalView::draw()’: CrystalView.cxx:518:21: warning: variable ‘cpz’ set but not used [-Wunused-but-set-variable] 518 | float cpx, cpy, cpz; | ^~~ CrystalView.cxx: In function ‘void start_picking(int, int, int, int)’: CrystalView.cxx:2346:21: warning: variable ‘cpz’ set but not used [-Wunused-but-set-variable] 2346 | float cpx, cpy, cpz; | ^~~ CrystalView.cxx: In function ‘int main(int, char**)’: CrystalView.cxx:187:10: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 187 | getcwd (drvui->Cur_Dir, 1023); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:196:9: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 196 | chdir (drvui->Cur_Dir); | ~~~~~~^~~~~~~~~~~~~~~~ CrystalView.cxx:197:10: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 197 | getcwd (drvui->Cur_Dir, 1023); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘int Get_Unique_Atoms(char (*)[5], int)’: CrystalView.cxx:921:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 921 | fgets (string, 100, aout); | ~~~~~~^~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void ImportDataFile_cb(Fl_Widget*, void*)’: CrystalView.cxx:1062:8: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 1062 | chdir (tmp_dir); // switch to that directory | ~~~~~~^~~~~~~~~ CrystalView.cxx:1070:9: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 1070 | chdir (drvui->Cur_Dir); // restore the original directory | ~~~~~~^~~~~~~~~~~~~~~~ CrystalView.cxx:1169:13: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1169 | fgets (string, 133, inp); | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx:1196:13: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1196 | fgets (string, 133, inp); | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void LoadConfig(bool)’: CrystalView.cxx:1407:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1407 | fgets (temp, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx:1442:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1442 | fgets (drvui->DRAWxtl_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1444:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1444 | fgets (drvui->POV_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1446:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1446 | fgets (drvui->VRML_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1448:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1448 | fgets (drvui->EditName, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1450:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1450 | fgets (drvui->FileViewName, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1452:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1452 | fgets (drvui->POV_Options, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1454:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1454 | fgets (drvui->Cur_File, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1456:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1456 | fgets (drvui->Cur_Dir, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1458:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1458 | fgets (drvui->POV_Include, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1460:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1460 | fgets (drvui->LoadOnStartup, 10, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1462:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1462 | fgets (drvui->DefaultFinish, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1464:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1464 | fgets (temp, 256, fname); // skip over executable path | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx:1465:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1465 | fgets (autolabel, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1466:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1466 | fgets (stereo, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1468:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1468 | fgets (temp, 256, fname); // skip over window dimensions | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx:1470:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1470 | fgets (temp, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~ CrystalView.cxx:1473:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1473 | fgets (drvui->MSMS_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1476:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1476 | fgets (drvui->Mencoder_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx:1479:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1479 | fgets (drvui->FFmpeg_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void Process_Inp(int)’: CrystalView.cxx:1769:12: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 1769 | _chdir (drvui->Cur_Dir); | ^ CrystalView.cxx: In function ‘void SelectDataFile_cb()’: CrystalView.cxx:2220:8: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 2220 | chdir (drvui->Cur_Dir); // switch to that directory | ~~~~~~^~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void Update_Str(int)’: CrystalView.cxx:2771:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2771 | fgets (string, 256, inp); | ~~~~~~^~~~~~~~~~~~~~~~~~ Compiling DRAWxtl2.cxx ... CrystalView.cxx: In function ‘void Load_Bond_Data(const char*, char*)’: CrystalView.cxx:1359:20: warning: ‘%4s’ directive writing between 4 and 4999 bytes into a region of size 100 [-Wformat-overflow=] 1359 | sprintf (string, "%4s %8.3f\n", atoms[i], d_list[i]); | ^~~ In file included from /usr/include/stdio.h:867, from CrystalView.cxx:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 16 and 5317 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling DRAWxtl3.cxx ... DRAWxtl3.cxx: In function ‘void calc_simplevoids()’: DRAWxtl3.cxx:2419:11: warning: variable ‘saved_boxlim’ set but not used [-Wunused-but-set-variable] 2419 | float saved_boxlim[3]; | ^~~~~~~~~~~~ DRAWxtl3.cxx: In function ‘void calculate_sas()’: DRAWxtl3.cxx:3304:11: warning: variable ‘saved_boxlim’ set but not used [-Wunused-but-set-variable] 3304 | float saved_boxlim[3]; | ^~~~~~~~~~~~ DRAWxtl3.cxx:3306:11: warning: variable ‘saved_crystlim’ set but not used [-Wunused-but-set-variable] 3306 | float saved_crystlim[6]; | ^~~~~~~~~~~~~~ DRAWxtl3.cxx: In function ‘void calculate_msms()’: DRAWxtl3.cxx:3840:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3840 | fgets (cmd, 200, tdf); | ~~~~~~^~~~~~~~~~~~~~~ DRAWxtl3.cxx:3841:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3841 | fgets (cmd, 200, tdf); | ~~~~~~^~~~~~~~~~~~~~~ DRAWxtl3.cxx: In function ‘void generate_msms()’: DRAWxtl3.cxx:3910:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3910 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3911:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3911 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3912:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3912 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3964:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3964 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3965:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3965 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3966:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3966 | (void) fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:3973:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3973 | fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx:4046:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 4046 | fgets (line, 100, msmsfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘int main(int, char**)’: CrystalView.cxx:220:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] 220 | sprintf (string, "The file you selected ('%s') cannot be read\n" | ^~ 221 | "Do you wish to continue?", newfile); | ~~~~~~~ In file included from /usr/include/stdio.h:867, from CrystalView.cxx:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 67 and 322 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void ImportDataFile_cb(Fl_Widget*, void*)’: CrystalView.cxx:1108:33: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 230 [-Wformat-truncation=] 1108 | "The implied output file ('%s') could not be created.", | ^~ In file included from /usr/include/stdio.h:867, from CrystalView.cxx:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 51 and 1074 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function ‘void SelectDataFile_cb()’: CrystalView.cxx:2227:48: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 232 [-Wformat-overflow=] 2227 | sprintf (string, "The file you selected ('%s') cannot be read\n" | ^~ In file included from /usr/include/stdio.h:867, from CrystalView.cxx:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 67 and 1090 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling DRAWxtlViewUI.cxx ... Compiling EditView.cxx ... Compiling Edit1.cxx ... Edit1.cxx: In function ‘void Edit_Bond_cb()’: Edit1.cxx:1399:9: warning: variable ‘newBonds’ set but not used [-Wunused-but-set-variable] 1399 | int newBonds = 0; | ^~~~~~~~ Compiling Edit2.cxx ... Edit1.cxx: In function ‘void Automation_Go_cb()’: Edit1.cxx:378:33: warning: ‘d.png’ directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] 378 | sprintf(format," +O%%s%%.%dd.png",num); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 14 and 24 bytes into a destination of size 20 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:376:33: warning: ‘d.tga’ directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] 376 | sprintf(format," +O%%s%%.%dd.tga",num); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 14 and 24 bytes into a destination of size 20 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:418:15: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); | ^~ Edit1.cxx:418:14: note: directive argument in the range [-2147483647, 2147483647] 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:418:14: note: using the range [-2147483648, 2147483647] for directive argument Edit1.cxx:418:14: note: using the range [-2147483648, 2147483647] for directive argument In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 61 and 1512 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:416:15: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); | ^~ Edit1.cxx:416:14: note: directive argument in the range [-2147483647, 2147483647] 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:416:14: note: using the range [-2147483648, 2147483647] for directive argument Edit1.cxx:416:14: note: using the range [-2147483648, 2147483647] for directive argument In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 39 and 1500 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:413:15: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); | ^~ Edit1.cxx:413:14: note: using the range [-2147483648, 2147483647] for directive argument 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit1.cxx:413:14: note: using the range [-2147483648, 2147483647] for directive argument In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 80 and 1531 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit2.cxx: In function ‘void Map_Info_cb()’: Edit2.cxx:1001:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1001 | Edit_Maps_Save_cb ((Fl_Button *) zero, &zero); | ^~~~ Edit2.cxx: In function ‘void Edit_Surfaces_Save_cb(Fl_Button*, int*)’: Edit2.cxx:3319:9: warning: variable ‘Frame_No’ set but not used [-Wunused-but-set-variable] 3319 | int Frame_No = 1; | ^~~~~~~~ Edit2.cxx: In function ‘void Edit_STR_Save_cb(Fl_Button*, int*)’: Edit2.cxx:800:12: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 800 | chdir (drvui->Cur_Dir); // switch to new directory | ~~~~~~^~~~~~~~~~~~~~~~ Compiling Ellipsoids.cxx ... Compiling Flu_Combo_Box.cxx ... Edit1.cxx: In function ‘void Modify_Occ_cb(Fl_Widget*, void*)’: Edit1.cxx:3471:23: warning: ‘%2d’ directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] 3471 | sprintf (value, "%2d", n); | ^~~ Edit1.cxx:3471:22: note: directive argument in the range [0, 2147483647] 3471 | sprintf (value, "%2d", n); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit1.cxx:64: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 3 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling Flu_Combo_List.cxx ... Edit2.cxx: In function ‘void Modify_Spheres_cb(Fl_Widget*, void*)’: Edit2.cxx:1585:23: warning: ‘%2d’ directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] 1585 | sprintf (value, "%2d", n); | ^~~ Edit2.cxx:1585:22: note: directive argument in the range [0, 2147483647] 1585 | sprintf (value, "%2d", n); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 3 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling Flu_Spinner.cxx ... Compiling Fourier.cxx ... Edit2.cxx: In function ‘void New_Arrow_Add_cb(Fl_Widget*, int*)’: Edit2.cxx:1628:72: warning: ‘%s’ directive writing up to 39 bytes into a region of size between 0 and 34 [-Wformat-overflow=] 1628 | sprintf (string, "%6.3f %6.3f %6.3f %10.3f %6.3f %6.3f %10.3f %6.3f %s\n", | ^~ ...... 1633 | color); | ~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 68 and 2563 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling Generate_Drawing.cxx ... Edit2.cxx: In function ‘void New_Ellipsoid_Add_cb(Fl_Widget*, int*)’: Edit2.cxx:1781:34: warning: ‘%s’ directive writing up to 39 bytes into a region of size between 21 and 29 [-Wformat-overflow=] 1781 | sprintf (string, "%4s %3d %s\n", atom, no, color); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 13 and 60 bytes into a destination of size 40 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit2.cxx:1778:34: warning: ‘%s’ directive writing up to 39 bytes into a region of size 29 [-Wformat-overflow=] 1778 | sprintf (string, "%4s * %s\n", atom, color); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 13 and 52 bytes into a destination of size 40 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit2.cxx: In function ‘void Modify_Ellipsoids_cb(Fl_Widget*, void*)’: Edit2.cxx:1248:27: warning: ‘%2d’ directive writing between 2 and 11 bytes into a region of size between 1 and 6 [-Wformat-overflow=] 1248 | sprintf (string, "%4s%2d", atom, no); | ^~~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 7 and 21 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit2.cxx:1245:27: warning: ‘ *’ directive writing 2 bytes into a region of size between 1 and 6 [-Wformat-overflow=] 1245 | sprintf (string, "%4s *", atom); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/FL/Fl_File_Chooser.H:34, from CrystalView.h:26, from DRAWxtlViewUI.h:25, from Edit2.cxx:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 7 and 12 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_m81(char*, int)’: Fourier.cxx:718:15: warning: variable ‘nmap’ set but not used [-Wunused-but-set-variable] 718 | int nrec, nmap, maptype; | ^~~~ Compiling gl2gif.cxx ... Fourier.cxx: In function ‘void read_stf(char*, int)’: Fourier.cxx:2682:9: warning: variable ‘fullcell’ set but not used [-Wunused-but-set-variable] 2682 | int fullcell = 1; | ^~~~~~~~ Fourier.cxx: In function ‘void read_w2k(char*, int)’: Fourier.cxx:3035:11: warning: variable ‘reslt’ set but not used [-Wunused-but-set-variable] 3035 | char *reslt; | ^~~~~ Fourier.cxx: In function ‘void read_exc(char*, int)’: Fourier.cxx:3254:11: warning: variable ‘reslt’ set but not used [-Wunused-but-set-variable] 3254 | char *reslt; | ^~~~~ Fourier.cxx: In function ‘void read_aim(char*, int)’: Fourier.cxx:3384:11: warning: variable ‘reslt’ set but not used [-Wunused-but-set-variable] 3384 | char *reslt; | ^~~~~ Fourier.cxx: In function ‘void read_xsf(char*, int)’: Fourier.cxx:3467:11: warning: variable ‘reslt’ set but not used [-Wunused-but-set-variable] 3467 | char *reslt = NULL; | ^~~~~ Fourier.cxx: In function ‘void read_fcf(char*, int)’: Fourier.cxx:338:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 338 | fgets (string, 80, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:365:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 365 | fgets (string, 80, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:434:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 434 | fgets (string, 80, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:547:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 547 | fgets (string, 80, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_m81(char*, int)’: Fourier.cxx:1515:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1515 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1518:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1518 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1525:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1525 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1534:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1534 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1537:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1537 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1544:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1544 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1553:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1553 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1556:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1556 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1563:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1563 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1572:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1572 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1575:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1575 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1582:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1582 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1591:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1591 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1594:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1594 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1601:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1601 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1610:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1610 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1613:13: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1613 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1648:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1648 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1664:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1664 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1680:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1680 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1696:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1696 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx:1712:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1712 | fread (ftmp, 4, 1, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_m80(char*, int)’: Fourier.cxx:1987:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1987 | fgets (string, 199, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2115:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2115 | fgets (string, 199, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_flp(char*, int)’: Fourier.cxx:2360:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2360 | fread (titulo, sizeof (char), icount, mapin); // read title | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2361:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2361 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2365:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2365 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2368:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2368 | fread (version, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2369:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2369 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2371:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2371 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2374:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2374 | fread (&celda, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2381:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2381 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2387:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2387 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2390:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2390 | fread (&spg, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2391:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2391 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2393:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2393 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2396:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2396 | fread (&natoms, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2397:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2397 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2399:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2399 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2402:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2402 | fread (&atm, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2403:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2403 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2406:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2406 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2409:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2409 | fread (&temp, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2410:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2410 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2413:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2413 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2416:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2416 | fread (&map_param, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2417:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2417 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2438:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2438 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2441:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2441 | fread (&temp, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2442:11: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2442 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2491:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2491 | fread (&icount, sizeof (int), 1, mapin); // read header for next record | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2494:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2494 | fread (&dens, sizeof (char), icount, mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2495:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2495 | fread (&icount, sizeof (int), 1, mapin); // skip trailer | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_stf(char*, int)’: Fourier.cxx:2810:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 2810 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Fourier.cxx:2813:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 2813 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_vasp(char*, int)’: Fourier.cxx:2888:11: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2888 | fgets (line, sizeof (line), mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2891:11: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2891 | fgets (line, sizeof (line), mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2905:11: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2905 | fgets (line, sizeof (line), mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2926:11: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2926 | fgets (line, sizeof (line), mapin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function ‘void read_w2k(char*, int)’: Fourier.cxx:3162:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 3162 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Fourier.cxx:3165:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 3165 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Fourier.cxx:3214:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 3214 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Fourier.cxx:3217:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 3217 | fscanf (mapin, "%*f"); | ~~~~~~~^~~~~~~~~~~~~~ Compiling Help.cxx ... Compiling Import.cxx ... Compiling MC.cxx ... Import.cxx: In function ‘void import_shelx(char*, int, int, int)’: Import.cxx:2221:9: warning: variable ‘read_start’ set but not used [-Wunused-but-set-variable] 2221 | int read_start; /* flag for start of atom list */ | ^~~~~~~~~~ Import.cxx:2223:9: warning: variable ‘read_uij’ set but not used [-Wunused-but-set-variable] 2223 | int read_uij; /* flag for uij card */ | ^~~~~~~~ Import.cxx: In function ‘void import_cif(char*, int, int, int*, int)’: Import.cxx:235:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 235 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:353:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 353 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:356:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 356 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:444:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 444 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:451:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 451 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:1390:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1390 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:1395:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1395 | fgets (string, 255, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:1411:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 1411 | fgets (string, 255, impin); /* skip the line with ? */ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx: In function ‘void import_gsas(char*, int, int, int)’: Import.cxx:2013:15: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 2013 | (void) fgets (string, 100, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Compiling mpVector.cxx ... Import.cxx: In function ‘void import_pcr(char*, int, int, int)’: Import.cxx:3348:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3348 | fgets (string, 200, impin); // skip codewords | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:3357:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3357 | fgets (string, 200, impin); // b factors | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx:3359:13: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3359 | fgets (string, 100, impin); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ Import.cxx: In function ‘void import_exc(char*, int, int, int)’: Import.cxx:3473:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3473 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3478:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3478 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3483:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3483 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3488:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3488 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3494:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3494 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3496:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3496 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3498:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3498 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3505:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3505 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3509:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3509 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3524:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3524 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Import.cxx:3527:13: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] 3527 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ Compiling Read_Input.cxx ... Import.cxx: In function ‘void import_pcr(char*, int, int, int)’: Import.cxx:3228:39: warning: ‘%3d’ directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 3228 | sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ | ^~~ Import.cxx:3228:20: note: directive argument in the range [1, 2147483647] 3228 | sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from Import.cxx:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 22 and 29 bytes into a destination of size 25 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling symmtry.cxx ... Import.cxx: In function ‘void import_cif(char*, int, int, int*, int)’: Import.cxx:124:20: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 124 | sprintf (tmp2, " %d. ", ++numblocks); | ^~ Import.cxx:124:18: note: directive argument in the range [-2147483647, 2147483647] 124 | sprintf (tmp2, " %d. ", ++numblocks); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from Import.cxx:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 5 and 15 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Import.cxx:132:50: warning: ‘%s’ directive writing up to 2039 bytes into a region of size between 208 and 217 [-Wformat-overflow=] 132 | "This CIF has %d data blocks with labels\n%s.\nPlease enter the number" | ^~ 133 | " of the one to use:", numblocks, dataname); | ~~~~~~~~ In file included from /usr/include/stdio.h:867, from Import.cxx:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 84 and 2132 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read_Input.cxx: In function ‘void read_inp(int)’: Read_Input.cxx:1806:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] 1806 | sprintf (string, "Import/inline source type '%s' not recognized.", input); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from Read_Input.cxx:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 45 and 300 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling Tb_Window.cxx ... Linking ../../exe/DRAWxtl55... make[2]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_auto_test -a -O--buildsystem=makefile create-stamp debian/debhelper-build-stamp dh_testroot -a -O--buildsystem=makefile dh_prep -a -O--buildsystem=makefile debian/rules override_dh_install make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_install exe/DRAWxtl55 usr/bin/ make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' debian/rules override_dh_installdocs make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_installdocs docs/DRAWxtl55.pdf make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_installchangelogs docs/readme.txt make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_installexamples -a -O--buildsystem=makefile dh_installman -a -O--buildsystem=makefile dh_installinit -a -O--buildsystem=makefile dh_installsystemduser -a -O--buildsystem=makefile dh_perl -a -O--buildsystem=makefile debian/rules override_dh_link make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_link usr/bin/DRAWxtl55 usr/bin/drawxtl \ usr/share/doc/drawxtl/DRAWxtl55.pdf usr/share/doc/drawxtl/DRAWxtl.pdf \ usr/share/man/man1/drawxtl.1.gz usr/share/man/man1/DRAWxtl55.1.gz make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_strip_nondeterminism -a -O--buildsystem=makefile debian/rules override_dh_compress make[1]: Entering directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_compress -X*.gz -Ausr/share/doc/drawxtl/examples/*.* make[1]: Leaving directory '/build/drawxtl-a5IGvj/drawxtl-5.5' dh_fixperms -a -O--buildsystem=makefile dh_missing -a -O--buildsystem=makefile dh_dwz -a -O--buildsystem=makefile dh_strip -a -O--buildsystem=makefile dh_makeshlibs -a -O--buildsystem=makefile dh_shlibdeps -a -O--buildsystem=makefile dh_installdeb -a -O--buildsystem=makefile dh_gencontrol -a -O--buildsystem=makefile dh_md5sums -a -O--buildsystem=makefile dh_builddeb -a -O--buildsystem=makefile dpkg-deb: building package 'drawxtl' in '../drawxtl_5.5-5_amd64.deb'. dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-5_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../drawxtl_5.5-5_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/drawxtl-a5IGvj /tmp/drawxtl-5.5-5hy4uhfvf I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.wfZOlU13PM... I: success in 432.9517 seconds md5: drawxtl-dbgsym_5.5-5_amd64.deb: OK md5: drawxtl_5.5-5_amd64.deb: OK sha1: drawxtl-dbgsym_5.5-5_amd64.deb: OK sha1: drawxtl_5.5-5_amd64.deb: OK sha256: drawxtl-dbgsym_5.5-5_amd64.deb: OK sha256: drawxtl_5.5-5_amd64.deb: OK Checksums: OK