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

Bug#749803: marked as done (openslp-dfsg: Conflicting declarations of function SLPDPredicateTest cause undefined behaviour)



Your message dated Mon, 26 Dec 2016 18:54:33 +0000
with message-id <[🔎] E1cLaPp-000Cvl-NB@fasolo.debian.org>
and subject line Bug#848025: Removed package(s) from unstable
has caused the Debian Bug report #749803,
regarding openslp-dfsg: Conflicting declarations of function SLPDPredicateTest 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.)


-- 
749803: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749803
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openslp-dfsg
Version: 1.2.1-9
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+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.

[...]
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc  -DNDEBUG -D_REENTRANT=1  -DLINUX -Wall -O3   -o testslpd_predicate_test slpd_predicate_test.o ../libslp/libslp.la ../libslpattr/libslpattr.la ../common/libcommonlibslp.la ../common/libcommonslpd.la ../slpd/slpd_predicate.o ../common/libcommonslpd.la -lnsl -lresolv 
libtool: link: x86_64-linux-gnu-gcc -DNDEBUG -D_REENTRANT=1 -DLINUX -Wall -O3 -o .libs/testslpd_predicate_test slpd_predicate_test.o ../slpd/slpd_predicate.o  ../libslp/.libs/libslp.so ../libslpattr/.libs/libslpattr.a ../common/.libs/libcommonlibslp.a ../common/.libs/libcommonslpd.a -lnsl -lresolv

error: conflicting function declarations "SLPDPredicateTest"
old definition in module slpd_predicate_test file SLPD_predicate_test/slpd_predicate_test.c line 9
signed int (void *, void *)
new definition in module slpd_predicate file slpd_predicate.c line 1455
signed int (signed int version, signed int attrlistlen, const char *attrlist, signed int predicatelen, const char *predicate)
Makefile:637: recipe for target 'testslpd_predicate_test' failed
make[3]: *** [testslpd_predicate_test] Error 64
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-openslp-dfsg/openslp-dfsg-1.2.1/test'
Makefile:396: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

It seems that the following declaration should simply gain a "static" to make
sure it is only visible within slpd_predicate_test.c, which is the only file
using the function with such a signature:

http://sources.debian.net/src/openslp-dfsg/1.2.1-9/test/SLPD_predicate_test/slpd_predicate_test.c?hl=9#L9

The proper global one indeed has a completely different signature:

http://sources.debian.net/src/openslp-dfsg/1.2.1-9/slpd/slpd_predicate.h?hl=60#L60

Having the linker mix them has completely undefined behaviour.

Best,
Michael

Attachment: pgpVCuFYlvGW7.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 1.2.1-11+rm

Dear submitter,

as the package openslp-dfsg has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/848025

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

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

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: