Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/portsmf/portsmf_0.1~svn20101010-6_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/portsmf-0.1~svn20101010-6jhbj8gow/portsmf_0.1~svn20101010-6_amd64.buildinfo Get source package info: portsmf=0.1~svn20101010-6 Source URL: http://snapshot.notset.fr/mr/package/portsmf/0.1~svn20101010-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.4-1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3+b1 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-8 bsdutils=1:2.36.1-8 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-8 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-5 libcrypt1=1:4.4.18-5 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-6 libicu67=67.1-7 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-6 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-6 libkrb5support0=1.18.3-6 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-8 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-5 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-8 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-6 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-6 libunistring2=0.9.10-4 libuuid1=2.36.1-8 libxml2=2.9.10+dfsg-6.7 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-4 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-5 perl-base=5.32.1-5 perl-modules-5.32=5.32.1-5 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-8 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --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/20210821T024315Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210821T024315Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210815T204244Z/ 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 portsmf=0.1~svn20101010-6 && mkdir -p /build/portsmf-VeFQx5 && dpkg-source --no-check -x /*.dsc /build/portsmf-VeFQx5/portsmf-0.1-svn20101010 && chown -R builduser:builduser /build/portsmf-VeFQx5" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/portsmf-VeFQx5/portsmf-0.1-svn20101010 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1629040453" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/portsmf-VeFQx5 /tmp/portsmf-0.1~svn20101010-6jhbj8gow bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210815T204244Z 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.BaATuOR_M8 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.BaATuOR_M8 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-8). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1039 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 ... 4668 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... 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/20210821T024315Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210821T024315Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210815T204244Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.BaATuOR_M8 Get:1 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm InRelease [94.4 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main Sources [11.5 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main amd64 Packages [11.2 MB] Fetched 22.8 MB in 19s (1193 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.BaATuOR_M8 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d portsmf=0.1~svn20101010-6 && mkdir -p /build/portsmf-VeFQx5 && dpkg-source --no-check -x /*.dsc /build/portsmf-VeFQx5/portsmf-0.1-svn20101010 && chown -R builduser:builduser /build/portsmf-VeFQx5"' exec /tmp/mmdebstrap.BaATuOR_M8 Reading package lists... NOTICE: 'portsmf' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/multimedia-team/portsmf.git Please use: git clone https://salsa.debian.org/multimedia-team/portsmf.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 156 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main portsmf 0.1~svn20101010-6 (dsc) [2064 B] Get:2 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main portsmf 0.1~svn20101010-6 (tar) [150 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210821T024315Z bookworm/main portsmf 0.1~svn20101010-6 (diff) [3948 B] Fetched 156 kB in 0s (695 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'portsmf_0.1~svn20101010-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting portsmf in /build/portsmf-VeFQx5/portsmf-0.1-svn20101010 dpkg-source: info: unpacking portsmf_0.1~svn20101010.orig.tar.bz2 dpkg-source: info: unpacking portsmf_0.1~svn20101010-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-bad-pkg-config-directive.patch dpkg-source: info: applying libtool-support.patch dpkg-source: info: applying pkgconfig-file.patch dpkg-source: info: applying header-in-subdirectory.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/portsmf-VeFQx5/portsmf-0.1-svn20101010 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1629040453" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.BaATuOR_M8 dpkg-buildpackage: info: source package portsmf dpkg-buildpackage: info: source version 0.1~svn20101010-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Boyuan Yang dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh build-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a dh_autoreconf -a configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled /usr/share/aclocal-1.16/maintainer.m4:16: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled /usr/share/aclocal-1.16/maintainer.m4:16: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled aclocal.m4:9723: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'. libtoolize: copying file 'autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'autotools/m4'. libtoolize: copying file 'autotools/m4/libtool.m4' libtoolize: copying file 'autotools/m4/ltoptions.m4' libtoolize: copying file 'autotools/m4/ltsugar.m4' libtoolize: copying file 'autotools/m4/ltversion.m4' libtoolize: copying file 'autotools/m4/lt~obsolete.m4' libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled /usr/share/aclocal-1.16/maintainer.m4:16: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled /usr/share/aclocal-1.16/maintainer.m4:16: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled aclocal.m4:669: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:31: warning: unexpected argument to AM_MAINTAINER_MODE: enabled aclocal.m4:669: AM_MAINTAINER_MODE is expanded from... configure.ac:31: the top level configure.ac:41: installing 'autotools/compile' configure.ac:54: installing 'autotools/config.guess' configure.ac:54: installing 'autotools/config.sub' configure.ac:28: installing 'autotools/missing' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libportSMF.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' Makefile.am:9: while processing Libtool library 'libportSMF.la' Makefile.am: installing 'autotools/depcomp' dh_auto_configure -a dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ranlib... ranlib checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CFLAGS for strict prototypes... -Wstrict-prototypes checking wall_flags for maximum warnings... -Wall checking whether the C++ compiler accepts the -Wall flag... yes checking whether the C++ preprocessor accepts the -Wall flag... yes checking for strchr... yes checking for memmove... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating portSMF.pc config.status: creating portSMF-uninstalled.pc config.status: executing depfiles commands config.status: executing libtool commands Run 'configure --help' for an explanation of the possible options, otherwise run 'make' to build portSMF. dh_auto_build -a dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o allegro.lo allegro.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegro.cpp -fPIC -DPIC -o .libs/allegro.o allegro.cpp:33: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 33 | #pragma warning(disable: 4311 4996 4267) | allegro.cpp:1542: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 1542 | #pragma warning(disable: 4800) // long to bool performance warning | allegro.cpp:1675: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 1675 | #pragma warning(default: 4800) | allegro.cpp:2867: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 2867 | #pragma warning(disable: 4715) // ok not to return a value here | allegro.cpp:2884: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 2884 | #pragma warning(default: 4715) | In file included from allegro.cpp:20: allegro.h: In destructor ‘virtual Alg_track::~Alg_track()’: allegro.h:672:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~ allegro.h:672:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~~~~~~~ allegro.cpp: In member function ‘void Alg_time_sigs::paste(double, Alg_seq*)’: allegro.cpp:2384:9: warning: variable ‘first_from_index’ set but not used [-Wunused-but-set-variable] 2384 | int first_from_index = 0; // where to start copying from | ^~~~~~~~~~~~~~~~ allegro.cpp: In member function ‘virtual void Alg_track::paste(double, Alg_event_list*)’: allegro.cpp:1875:9: warning: ‘prev_units_are_seconds’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1875 | if (prev_units_are_seconds) tr->convert_to_seconds(); | ^~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegro.cpp -o allegro.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o allegrosmfwr.lo allegrosmfwr.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrosmfwr.cpp -fPIC -DPIC -o .libs/allegrosmfwr.o In file included from allegrosmfwr.cpp:11: allegro.h: In destructor ‘virtual Alg_track::~Alg_track()’: allegro.h:672:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~ allegro.h:672:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~~~~~~~ allegrosmfwr.cpp: In member function ‘void Alg_smf_write::write_update(Alg_update_ptr)’: allegrosmfwr.cpp:371:31: warning: ‘fps’ may be used uninitialized in this function [-Wmaybe-uninitialized] 371 | smpteoffset[0] = (fps << 6) + hours; | ~~~~~^~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrosmfwr.cpp -o allegrosmfwr.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o allegrord.lo allegrord.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrord.cpp -fPIC -DPIC -o .libs/allegrord.o In file included from allegrord.cpp:10: allegro.h: In destructor ‘virtual Alg_track::~Alg_track()’: allegro.h:672:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~ allegro.h:672:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~~~~~~~ allegrord.cpp: In member function ‘Alg_parameters* Alg_reader::process_attributes(Alg_parameters_ptr, double)’: allegrord.cpp:119:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 119 | if (a = Alg_parameters::remove_key(&attributes, "tempor")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:123:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 123 | if (a = Alg_parameters::remove_key(&attributes, "beatr")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:127:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 127 | if (a = Alg_parameters::remove_key(&attributes, "timesig_numr")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:131:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 131 | if (a = Alg_parameters::remove_key(&attributes, "timesig_denr")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘bool Alg_reader::parse()’: allegrord.cpp:204:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 204 | parse_error(field, 0, "#offset specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:231:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 231 | parse_error(field, 0, "Voice specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:238:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 238 | parse_error(field, 0, "Time specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:245:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 245 | parse_error(field, 0, "Next specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:252:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 252 | parse_error(field, 0, "Key specified twice"); | ^~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:259:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 259 | parse_error(field, 0, "Loudness specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:266:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 266 | parse_error(field, 0, "Pitch specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:273:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 273 | parse_error(field, 0, "Dur specified twice"); | ^~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:280:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 280 | parse_error(field, 0, "Dur specified twice"); | ^~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:289:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 289 | parse_error(field, 0, "Pitch specified twice"); | ^~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:304:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 304 | parse_error(field, 0, "Unknown field"); | ^~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘long int Alg_reader::parse_chan(std::string&)’: allegrord.cpp:425:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 425 | char *msg = "Integer or - expected"; | ^~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:429:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 429 | while (c = *p++) { | ~~^~~~~~ allegrord.cpp: In member function ‘long int Alg_reader::parse_int(std::string&)’: allegrord.cpp:452:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 452 | char *msg = "Integer expected"; | ^~~~~~~~~~~~~~~~~~ allegrord.cpp:456:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 456 | while (c = *p++) { | ~~^~~~~~ allegrord.cpp: In member function ‘double Alg_reader::parse_real(std::string&)’: allegrord.cpp:494:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 494 | char *msg = "Real expected"; | ^~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘double Alg_reader::parse_dur(std::string&, double)’: allegrord.cpp:523:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 523 | char *msg = "Duration expected"; | ^~~~~~~~~~~~~~~~~~~ allegrord.cpp:524:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 524 | char *durs = "SIQHW"; | ^~~~~~~ allegrord.cpp:538:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 538 | } else if (p = strchr(durs, toupper(field[1]))) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘double Alg_reader::parse_after_dur(double, std::string&, int, double)’: allegrord.cpp:576:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 576 | parse_error(field, n, "Unexpected character in duration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: At global scope: allegrord.cpp:583:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | } loud_lookup[] = { {"FFF", 127}, {"FF", 120}, {"F", 110}, {"MF", 100}, | ^~~~~ allegrord.cpp:583:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | } loud_lookup[] = { {"FFF", 127}, {"FF", 120}, {"F", 110}, {"MF", 100}, | ^~~~ allegrord.cpp:583:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | } loud_lookup[] = { {"FFF", 127}, {"FF", 120}, {"F", 110}, {"MF", 100}, | ^~~ allegrord.cpp:583:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 583 | } loud_lookup[] = { {"FFF", 127}, {"FF", 120}, {"F", 110}, {"MF", 100}, | ^~~~ allegrord.cpp:584:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 584 | {"MP", 90}, {"P", 80}, {"PP", 70}, {"PPP", 60}, | ^~~~ allegrord.cpp:584:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 584 | {"MP", 90}, {"P", 80}, {"PP", 70}, {"PPP", 60}, | ^~~ allegrord.cpp:584:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 584 | {"MP", 90}, {"P", 80}, {"PP", 70}, {"PPP", 60}, | ^~~~ allegrord.cpp:584:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 584 | {"MP", 90}, {"P", 80}, {"PP", 70}, {"PPP", 60}, | ^~~~~ allegrord.cpp: In member function ‘double Alg_reader::parse_loud(std::string&)’: allegrord.cpp:590:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 590 | char *msg = "Loudness expected"; | ^~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘long int Alg_reader::parse_key(std::string&)’: allegrord.cpp:616:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 616 | char *msg = "Pitch expected"; | ^~~~~~~~~~~~~~~~ allegrord.cpp:617:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 617 | char *pitches = "ABCDEFG"; | ^~~~~~~~~ allegrord.cpp:623:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | } else if (p = strchr(pitches, toupper(field[1]))) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘long int Alg_reader::parse_after_key(int, std::string&, int)’: allegrord.cpp:651:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 651 | parse_error(field, n, "Unexpected character in pitch"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘bool Alg_reader::parse_attribute(std::string&, Alg_parameter_ptr)’: allegrord.cpp:676:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 676 | parse_error(field, 0, "attribute needs to end with typecode: i,a,r,s, or l"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘bool Alg_reader::parse_val(Alg_parameter_ptr, std::string&, int)’: allegrord.cpp:730:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 730 | parse_error(s, pos, "Unexpected char in number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ allegrord.cpp:719:13: warning: variable ‘sign’ set but not used [-Wunused-but-set-variable] 719 | int sign = 1; | ^~~~ allegrord.cpp:751:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 751 | parse_error(s, i, "invalid value"); | ^~~~~~~~~~~~~~~ allegrord.cpp: In member function ‘bool Alg_reader::parse()’: allegrord.cpp:405:26: warning: ‘next’ may be used uninitialized in this function [-Wmaybe-uninitialized] 405 | time = time + next; | ~~~~~^~~~~~~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrord.cpp -o allegrord.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o allegrowr.lo allegrowr.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrowr.cpp -fPIC -DPIC -o .libs/allegrowr.o In file included from allegrowr.cpp:13: allegro.h: In destructor ‘virtual Alg_track::~Alg_track()’: allegro.h:672:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~ allegro.h:672:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrowr.cpp -o allegrowr.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o allegrosmfrd.lo allegrosmfrd.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrosmfrd.cpp -fPIC -DPIC -o .libs/allegrosmfrd.o allegrosmfrd.cpp:182: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 182 | #pragma warning(disable: 4996) // msg is long enough | allegrosmfrd.cpp:184: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 184 | #pragma warning(default: 4996) | allegrosmfrd.cpp:271: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 271 | #pragma warning(disable: 4996) // name is long enough | allegrosmfrd.cpp:273: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 273 | #pragma warning(default: 4996) | allegrosmfrd.cpp:317: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 317 | #pragma warning(disable: 4996) // hexstr is long enough | allegrosmfrd.cpp:319: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 319 | #pragma warning(default: 4996) | allegrosmfrd.cpp:343: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 343 | #pragma warning(disable: 4996) // text is long enough | allegrosmfrd.cpp:345: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 345 | #pragma warning(default: 4996) | allegrosmfrd.cpp:366: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 366 | #pragma warning(disable: 4996) // text is long enough | allegrosmfrd.cpp:369: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 369 | #pragma warning(default: 4996) | In file included from allegrosmfrd.cpp:9: allegro.h: In destructor ‘virtual Alg_track::~Alg_track()’: allegro.h:672:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~ allegro.h:672:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 672 | if (time_map) time_map->dereference(); time_map = NULL; } | ^~~~~~~~ allegrosmfrd.cpp: In member function ‘virtual void Alg_midifile_reader::Mf_arbitrary(int, unsigned char*)’: allegrosmfrd.cpp:336:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 336 | Mf_error("arbitrary data ignored"); | ^~~~~~~~~~~~~~~~~~~~~~~~ allegrosmfrd.cpp: In member function ‘virtual void Alg_midifile_reader::Mf_seqnum(int)’: allegrosmfrd.cpp:352:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 352 | Mf_error("seqnum data ignored"); | ^~~~~~~~~~~~~~~~~~~~~ allegrosmfrd.cpp: At global scope: allegrosmfrd.cpp:356:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | static char *fpsstr[4] = {"24", "25", "29.97", "30"}; | ^~~~ allegrosmfrd.cpp:356:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | static char *fpsstr[4] = {"24", "25", "29.97", "30"}; | ^~~~ allegrosmfrd.cpp:356:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | static char *fpsstr[4] = {"24", "25", "29.97", "30"}; | ^~~~~~~ allegrosmfrd.cpp:356:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 356 | static char *fpsstr[4] = {"24", "25", "29.97", "30"}; | ^~~~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c allegrosmfrd.cpp -o allegrosmfrd.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o mfmidi.lo mfmidi.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c mfmidi.cpp -fPIC -DPIC -o .libs/mfmidi.o mfmidi.cpp:71: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 71 | #pragma warning(disable: 4996) // strcpy is safe since strings have known lengths | mfmidi.cpp:74: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 74 | #pragma warning(default: 4996) // turn it back on | mfmidi.cpp:260: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 260 | #pragma warning(disable: 4996) // safe in this case | mfmidi.cpp:262: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 262 | #pragma warning(default: 4996) | mfmidi.cpp: In member function ‘void Midifile_reader::midifile()’: mfmidi.cpp:32:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 32 | mferror("No tracks!"); | ^~~~~~~~~~~~ mfmidi.cpp: In member function ‘int Midifile_reader::readmt(char*, int)’: mfmidi.cpp:47:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 47 | char *errmsg = "expecting "; | ^~~~~~~~~~~~ mfmidi.cpp:53:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 53 | errmsg = "EOF while expecting "; | ^~~~~~~~~~~~~~~~~~~~~~ mfmidi.cpp: In member function ‘int Midifile_reader::egetc()’: mfmidi.cpp:85:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | mferror("premature EOF"); | ^~~~~~~~~~~~~~~ mfmidi.cpp: In member function ‘int Midifile_reader::readheader()’: mfmidi.cpp:97:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | if ( readmt("MThd",Mf_skipinit) == EOF ) | ^~~~~~ mfmidi.cpp: In member function ‘void Midifile_reader::readtrack()’: mfmidi.cpp:134:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 134 | if ( readmt("MTrk",0) == EOF ) | ^~~~~~ mfmidi.cpp:154:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 154 | mferror("didn't find expected continuation of a sysex"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mfmidi.cpp:159:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 159 | mferror("unexpected running status"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c mfmidi.cpp -o mfmidi.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"portSMF\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o strparse.lo strparse.cpp libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c strparse.cpp -fPIC -DPIC -o .libs/strparse.o libtool: compile: g++ -DPACKAGE_NAME=\"portSMF\" -DPACKAGE_TARNAME=\"portsmf\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"portSMF 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"portsmf\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DINSTALL_PREFIX=\"/usr\" -DHAVE_STRCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c strparse.cpp -o strparse.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o libportSMF.la -rpath /usr/lib/x86_64-linux-gnu allegro.lo allegrosmfwr.lo allegrord.lo allegrowr.lo allegrosmfrd.lo mfmidi.lo strparse.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o .libs/allegro.o .libs/allegrosmfwr.o .libs/allegrord.o .libs/allegrowr.o .libs/allegrosmfrd.o .libs/mfmidi.o .libs/strparse.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libportSMF.so.0 -o .libs/libportSMF.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libportSMF.so.0" && ln -s "libportSMF.so.0.0.0" "libportSMF.so.0") libtool: link: (cd ".libs" && rm -f "libportSMF.so" && ln -s "libportSMF.so.0.0.0" "libportSMF.so") libtool: link: ar cr .libs/libportSMF.a allegro.o allegrosmfwr.o allegrord.o allegrowr.o allegrosmfrd.o mfmidi.o strparse.o libtool: link: ranlib .libs/libportSMF.a libtool: link: ( cd ".libs" && rm -f "libportSMF.la" && ln -s "../libportSMF.la" "libportSMF.la" ) make[1]: Leaving directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) fakeroot debian/rules binary-arch dh binary-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot -a dh_prep -a dh_auto_install -a dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 install DESTDIR=/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' make[2]: Entering directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' /bin/mkdir -p '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu' /bin/bash ./libtool --mode=install /usr/bin/install -c libportSMF.la '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libportSMF.so.0.0.0 /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/libportSMF.so.0.0.0 libtool: install: (cd /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libportSMF.so.0.0.0 libportSMF.so.0 || { rm -f libportSMF.so.0 && ln -s libportSMF.so.0.0.0 libportSMF.so.0; }; }) libtool: install: (cd /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libportSMF.so.0.0.0 libportSMF.so || { rm -f libportSMF.so && ln -s libportSMF.so.0.0.0 libportSMF.so; }; }) libtool: install: /usr/bin/install -c .libs/libportSMF.lai /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/libportSMF.la libtool: install: /usr/bin/install -c .libs/libportSMF.a /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/libportSMF.a libtool: install: chmod 644 /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/libportSMF.a libtool: install: ranlib /build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/libportSMF.a libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu' /bin/mkdir -p '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/share/doc/portsmf' /usr/bin/install -c -m 644 README.txt license.txt '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/share/doc/portsmf' /bin/mkdir -p '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/include/portSMF' /usr/bin/install -c -m 644 allegro.h mfmidi.h strparse.h trace.h '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/include/portSMF' /bin/mkdir -p '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig' /usr/bin/install -c -m 644 portSMF.pc '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig' make[2]: Leaving directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' make[1]: Leaving directory '/build/portsmf-VeFQx5/portsmf-0.1-svn20101010' dh_install -a dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs -a dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs -a dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_missing -a dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip -a dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_makeshlibs -a dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'libportsmf0' in '../libportsmf0_0.1~svn20101010-6_amd64.deb'. dpkg-deb: building package 'libportsmf0-dbgsym' in '../libportsmf0-dbgsym_0.1~svn20101010-6_amd64.deb'. dpkg-deb: building package 'libportsmf-dev' in '../libportsmf-dev_0.1~svn20101010-6_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../portsmf_0.1~svn20101010-6_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/portsmf-VeFQx5 /tmp/portsmf-0.1~svn20101010-6jhbj8gow I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.BaATuOR_M8... I: success in 490.7926 seconds md5: libportsmf-dev_0.1~svn20101010-6_amd64.deb: OK md5: libportsmf0-dbgsym_0.1~svn20101010-6_amd64.deb: OK md5: libportsmf0_0.1~svn20101010-6_amd64.deb: OK sha1: libportsmf-dev_0.1~svn20101010-6_amd64.deb: OK sha1: libportsmf0-dbgsym_0.1~svn20101010-6_amd64.deb: OK sha1: libportsmf0_0.1~svn20101010-6_amd64.deb: OK sha256: libportsmf-dev_0.1~svn20101010-6_amd64.deb: OK sha256: libportsmf0-dbgsym_0.1~svn20101010-6_amd64.deb: OK sha256: libportsmf0_0.1~svn20101010-6_amd64.deb: OK Checksums: OK