[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#750241: marked as done (qrq: Conflicting declarations of function write_audio to cause undefined behaviour)



Your message dated Sat, 09 May 2015 22:32:24 +0000
with message-id <E1YrDIG-0006dn-R9@franck.debian.org>
and subject line Bug#750241: fixed in qrq 0.3.1-2
has caused the Debian Bug report #750241,
regarding qrq: Conflicting declarations of function write_audio to cause undefined behaviour
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
750241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750241
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qrq
Version: 0.3.1-1
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
gcc -Wall -o qrq qrq.o pulseaudio.o -lm -Wl,-z,relro -lpthread -lpulse-simple -lpulse -lncurses

error: conflicting function declarations "write_audio"
old definition in module qrq file pulseaudio.h line 25
void (void *, signed int *, unsigned long int)
new definition in module pulseaudio file pulseaudio.c line 66
void (void *bla, signed int *in, signed int size)
Makefile:65: recipe for target 'qrq' failed
make[1]: *** [qrq] Error 64
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-qrq/qrq-0.3.1'
dh_auto_build: make -j1 returned exit code 2
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2

For all platforms with sizeof(int)<sizeof(long) undefined behaviour will appear
in (at least) one of two ways: either the value will be truncated in an
arbitrary way, if it does not fit in a positive signed int; even if the value
fits that range, big endian systems will extract the wrong bytes.

Adjusting the declaration in pulseaudio.h should solve the problem, assuming all
values passed to the function actually fit into a signed int.

Best,
Michael

Attachment: pgplQntsIG4Wv.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: qrq
Source-Version: 0.3.1-2

We believe that the bug you reported is fixed in the latest version of
qrq, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 750241@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Tuckley <colint@debian.org> (supplier of updated qrq package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 09 May 2015 20:29:20 +0100
Source: qrq
Binary: qrq
Architecture: source amd64
Version: 0.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Colin Tuckley <colint@debian.org>
Description:
 qrq        - high speed morse trainer, similar to DL4MM's Rufz
Closes: 750241 782096
Changes:
 qrq (0.3.1-2) unstable; urgency=medium
 .
   * Bump Standards-Version to 3.9.6
   * Remove Hurd from list of supported archs (Closes: #782096)
     Thanks to patch from mtang@openmailbox.org
   * fix Conflicting declarations of function write_audio
     patch from Michael Tautschnig <mt@debian.org> (Closes: #750241)
Checksums-Sha1:
 17ae8ba48f1ea2efb02f3e07080df96cfe31f20e 1856 qrq_0.3.1-2.dsc
 4e47b4ac68d271e12d5c0653020b228f8bfe5eb8 6748 qrq_0.3.1-2.debian.tar.xz
 af59de57917e2f9ef74734ac13867484be9cfa96 88706 qrq_0.3.1-2_amd64.deb
Checksums-Sha256:
 ea2888fab9087d3f6df0deaf75a5cf4a72696af17328ba313ef36e29028e80dc 1856 qrq_0.3.1-2.dsc
 81cbe2cc80d6f5b375b087ea65744e0f9a4cb0462a0746c2e3ce5ffb4259331e 6748 qrq_0.3.1-2.debian.tar.xz
 b82eddcd043a6f729a77a1f8708d11e6a52fe2a560d14f8073c7fd7aea146050 88706 qrq_0.3.1-2_amd64.deb
Files:
 2260c2cd606947c6dd96915b51888f2b 1856 hamradio extra qrq_0.3.1-2.dsc
 1d44c768fcdb5bce726432ef4c3577da 6748 hamradio extra qrq_0.3.1-2.debian.tar.xz
 920129cb3141c20eeea3dabfe5618e65 88706 hamradio extra qrq_0.3.1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVTn0wAAoJEPoMQQc4ydkDTNYP/jxqT15ViQKIhx7yiPo2XySh
KCxOJdfry3mqSQgyHPj+sfAFVZZ1IIqkGtIWEfINLyQ07ZjifjqnB/wwE/tIRl2J
IjwJCtw49KwJZxUiIr6qVdiYLzka6ZxTM3v7svNAf0HNaBa3Qqx9pojOFKiOvI6g
lxfBa8uPXtFEKuUz6NMiC1V4bgW7c7M1ueydWZSDB7hbHEvpf8JLbCrzxlhLPNcX
Or4TKzZ53Xnk0fGesr8dRHCcmiOosHXVva/kYH5lTPDYvvVURFSaSxnq978UqOGB
fx9CDjCa1LyCf4/491p+FbPGoOJQGcpWDGJuVONL7UdkvmCuZqjhXZrJnRH3HLae
oE61v8S4ORAX4d/fbVsdcqVwP1A13O5AIukmyhbEWwU1vZaSmXcG446W01LjDVvi
NYbU15l7ouMXtH00LyD1JlnBzGWRGsUwirnzRoMO8KCz2siuwN38niQAhoBVqFvX
kGi9IfFA/bsVI5A+nVKoYuBzUydzWEduimbULGoI7vQVBGeat0mK0EQCT9tOMYMk
Xg3j7FJH6D+A1TJje1Ug3SoMe9Bi3fYEvA9YOR18ZNrDBC7Hc+qoE4fEX1+ai9TU
PIIBajkQZ9OvtBEW49tTF0Owhh0MxIK1NKRRkPtnfuu8PZV89H1Z/NboEK2RnB8O
E+9zaRtWcUOCc6A/bPIY
=hKep
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: