--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libwine:i386: missing printf output, without a printf failure
- From: Vincent Lefevre <vincent@vinc17.net>
- Date: Tue, 27 Nov 2018 18:59:26 +0100
- Message-id: <20181127175926.GA28720@cventin.lip.ens-lyon.fr>
Package: libwine
Version: 3.0.3-2
Severity: important
(Not sure this is the right package...)
I do some tests of MPFR with MinGW, running the tests under wine
(32-bit version). But sometimes, output from a printf is missing.
The MPFR code (in tests/tversion.c) is the following:
if (printf ("[tversion] MPFR %s\n", MPFR_VERSION_STRING) < 0)
{
perror ("tversion (first printf)");
err = 1;
}
and at the end:
return err;
so that if printf fails, the test will fail. But this is not the
case: the test succeeds, even though output is missing, as shown
by a diff on the generated file:
@@ -3722,7 +3722,6 @@
CC = i586-mingw32msvc-gcc -D__USE_MINGW_ANSI_STDIO
i586-mingw32msvc-gcc (GCC) 7.3-win32 20180506
--> PASS: 183 / SKIP: 0 / FAIL: 0
-[tversion] MPFR 4.1.0-dev
[tversion] Compiler: GCC 7.3-win32 20180506
[tversion] C standard: __STDC__ = 1, __STDC_VERSION__ = 201112L
[tversion] __GNUC__ = 7, __GNUC_MINOR__ = 3
@@ -3774,7 +3773,6 @@
CC = i586-mingw32msvc-gcc
i586-mingw32msvc-gcc (GCC) 7.3-win32 20180506
--> PASS: 183 / SKIP: 0 / FAIL: 0
-[tversion] MPFR 4.1.0-dev
[tversion] Compiler: GCC 7.3-win32 20180506
[tversion] C standard: __STDC__ = 1, __STDC_VERSION__ = 201112L
[tversion] __GNUC__ = 7, __GNUC_MINOR__ = 3
So, there's something wrong with wine, which yields data loss
without a failure.
Note: The tests are run with misc/vl-tests/mpfrtests.sh from the
MPFR repository.
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libwine:i386 depends on:
ii libasound2 1.1.7-1
ii libc6 2.27-8
ii libfontconfig1 2.12.6-0.1
ii libfreetype6 2.6.3-3.2
ii libglib2.0-0 2.58.1-2
ii libgphoto2-6 2.5.20-3
ii libgphoto2-port12 2.5.20-3
ii libgstreamer-plugins-base1.0-0 1.14.4-1
ii libgstreamer1.0-0 1.14.4-1
ii liblcms2-2 2.9-3
ii libldap-2.4-2 2.4.46+dfsg-5+b1
ii libmpg123-0 1.25.10-2
ii libncurses6 6.1+20181013-1
ii libopenal1 1:1.19.1-1
ii libpcap0.8 1.8.1-6
ii libpulse0 12.2-2
ii libtinfo6 6.1+20181013-1
ii libudev1 239-13
ii libx11-6 2:1.6.7-1
ii libxext6 2:1.3.3-1+b2
ii libxml2 2.9.4+dfsg1-7+b2
ii ocl-icd-libopencl1 [libopencl1] 2.2.12-1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages libwine:i386 recommends:
ii fonts-liberation 1:1.07.4-8
ii fonts-wine 3.0.3-2
ii libasound2-plugins 1.1.7-3
ii libcapi20-3 1:3.27-3
ii libcups2 2.2.9-2
ii libdbus-1-3 1.12.10-1
ii libgl1 1.1.0-1
ii libgl1-mesa-dri 18.2.5-3
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libgnutls30 3.5.19-1+b1
ii libgsm1 1.0.13-4+b2
ii libjpeg62-turbo 1:1.5.2-2+b1
ii libkrb5-3 1.16.1-1
pn libodbc1 <none>
ii libosmesa6 18.2.5-3
ii libpng16-16 1.6.34-2
pn libsane1 <none>
ii libtiff5 4.0.10-3
ii libv4l-0 1.16.1-2
ii libxcomposite1 1:0.4.4-2
ii libxcursor1 1:1.1.15-2
ii libxfixes3 1:5.0.3-1
ii libxi6 2:1.7.9-1
ii libxinerama1 2:1.1.4-1
ii libxrandr2 2:1.5.1-1
ii libxrender1 1:0.9.10-1
ii libxslt1.1 1.1.32-2
ii libxxf86vm1 1:1.1.4-1+b2
Versions of packages libwine:i386 suggests:
ii cups-bsd 2.2.9-2
pn ttf-mscorefonts-installer <none>
-- no debconf information
--- End Message ---