Bug#1037007: libopenmpt: failing autopkgtests with 0.7.0

2023-06-09 Thread Danilo Egea Gondolfo

Package: libopenmpt
Version: 0.7.0-1
Followup-For: Bug #1037007
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu mantic ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

Please, find attached a small patch to address this issue.


* debian/tests/build: do not emit deprecation warnings.
It's causing autopkgtest failures due to the stderr output


Thanks for considering the patch.

*** /tmp/tmp_eonmzfe/libopenmpt_0.7.0-1ubuntu1.debdiff
diff -Nru libopenmpt-0.7.0/debian/tests/build 
libopenmpt-0.7.0/debian/tests/build

--- libopenmpt-0.7.0/debian/tests/build 2023-05-07 14:01:57.0 +0100
+++ libopenmpt-0.7.0/debian/tests/build 2023-06-09 16:50:17.0 +0100
@@ -28,9 +28,9 @@
}

# Build programs
-${CROSS_COMPILE}gcc -Wall -o "$AUTOPKGTEST_TMP/pattern-dump-c1" 
pattern-dump-c.c -lopenmpt
+${CROSS_COMPILE}gcc -Wall -o "$AUTOPKGTEST_TMP/pattern-dump-c1" 
pattern-dump-c.c -lopenmpt -Wno-deprecated-declarations

echo "build1: OK"
-${CROSS_COMPILE}gcc -Wall -o "$AUTOPKGTEST_TMP/pattern-dump-c2" 
pattern-dump-c.c $(${CROSS_COMPILE}pkg-config --cflags --libs libopenmpt)
+${CROSS_COMPILE}gcc -Wall -o "$AUTOPKGTEST_TMP/pattern-dump-c2" 
pattern-dump-c.c $(${CROSS_COMPILE}pkg-config --cflags --libs 
libopenmpt) -Wno-deprecated-declarations

echo "build2: OK"

${CROSS_COMPILE}g++ -Wall -o "$AUTOPKGTEST_TMP/pattern-dump-cpp1" 
pattern-dump-cpp.cpp -lopenmpt



-- System Information:
Debian Release: bookworm/sid
APT prefers mantic
APT policy: (500, 'mantic'), (100, 'mantic-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#1037007: libopenmpt: failing autopkgtests with 0.7.0

2023-05-31 Thread Jeremy Bícha
Source: libopenmpt
Version: 0.7.0-1
Severity: serious
Tags: experimental

libopenmpt 0.7.0-1 in experimental has failing autopkgtests because of
errors emitted because of a deprecation warning.

pattern-dump-c.c: In function ‘main’:
pattern-dump-c.c:25:13: warning: ‘openmpt_stream_get_file_callbacks’
is deprecated [-Wdeprecated-declarations]
   25 | openmpt_stream_get_file_callbacks(),

https://release.debian.org/britney/pseudo-excuses-experimental.html#libopenmpt

Thank you,
Jeremy Bícha