Your message dated Sat, 23 Aug 2014 16:34:52 +0000
with message-id <e1xlehe-0006ah...@franck.debian.org>
and subject line Bug#751273: fixed in ruby-bluecloth 2.2.0-5
has caused the Debian Bug report #751273,
regarding ruby-bluecloth: Conflicting declarations of mkd_compile, mkd_string 
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 ow...@bugs.debian.org
immediately.)


-- 
751273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751273
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ruby-bluecloth
Version: 2.2.0-4
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 -shared -o bluecloth_ext.so bluecloth.o markdown.o html5.o mkdio.o 
version.o xml.o generate.o css.o setup.o xmlpage.o tags.o emmatch.o docheader.o 
resource.o Csio.o -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro 
-L/build/ruby2.1-R1fHdQ/ruby2.1-2.1.2/debian/lib -fstack-protector -rdynamic 
-Wl,-export-dynamic    -lruby-2.1  -lpthread -lgmp -ldl -lcrypt -lm   -lc

error: conflicting function declarations "mkd_compile"
old definition in module bluecloth file mkdio.h line 23
signed int (void *, unsigned int)
new definition in module markdown file markdown.c line 1211
signed int (struct document *doc, unsigned long int flags)

error: conflicting function declarations "mkd_string"
old definition in module bluecloth file mkdio.h line 13
void * (const char *, signed int, unsigned int)
new definition in module mkdio file mkdio.c line 173
struct document * (const char *buf, signed int len, unsigned long int flags)
Makefile:232: recipe for target 'bluecloth_ext.so' failed
make[1]: *** [bluecloth_ext.so] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-ruby-bluecloth/ruby-bluecloth-2.2.0/ext'

For any platform with sizeof(unsigned int)<sizeof(unsigned long int) the
behaviour will be undefined in at least one of two ways: several bytes will take
an undefined value; for big endian systems, the wrong set of bytes will be
extracted.

On review of the code, it seems some cleanup of typedefs is required: mkdio.h
uses mkd_flag_t while mkdio.c uses DWORD:

http://sources.debian.net/src/ruby-bluecloth/2.2.0-4/ext/mkdio.h?hl=13#L13
http://sources.debian.net/src/ruby-bluecloth/2.2.0-4/ext/mkdio.c?hl=173#L173

Best,
Michael

Attachment: pgpXfv8GjSUBl.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-bluecloth
Source-Version: 2.2.0-5

We believe that the bug you reported is fixed in the latest version of
ruby-bluecloth, 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 751...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cédric Boutillier <bou...@debian.org> (supplier of updated ruby-bluecloth 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 23 Aug 2014 17:48:47 +0200
Source: ruby-bluecloth
Binary: ruby-bluecloth
Architecture: source amd64
Version: 2.2.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Cédric Boutillier <bou...@debian.org>
Description:
 ruby-bluecloth - Ruby implementation of Markdown
Closes: 751273
Changes:
 ruby-bluecloth (2.2.0-5) unstable; urgency=medium
 .
   * Bbuild against system discount/libmarkdown2
     - remove the convenience copy of discount library when cleaning
     - add 06_update_test_suite.patch to fix the output in the testsuite
     - add 08_build_against_system_discount.patch to fix the build system
     - this avoids the typedef conflict in the not completely processed
       convenience copy of discount, potentially causing undefined behaviour
       (Closes: #751273)
Checksums-Sha1:
 2bc01afbb4dd8868bbada4935e091fd52e382aff 2165 ruby-bluecloth_2.2.0-5.dsc
 73ca0111396bcd6e42933eb9a8f02e1e22f25d43 6708 
ruby-bluecloth_2.2.0-5.debian.tar.xz
 cf703551246d89e28af2c2706fa35c69b1aa182b 18008 ruby-bluecloth_2.2.0-5_amd64.deb
Checksums-Sha256:
 1d5bfdf34c35ca8ee6cc0bf7eac3c5e9b89993d81d56a164a3f0e9027f7ceec9 2165 
ruby-bluecloth_2.2.0-5.dsc
 ed67955f5b4fd7d8f5212713167aab7d40ede19060864c1eba1ec2d2f31a0190 6708 
ruby-bluecloth_2.2.0-5.debian.tar.xz
 2e452e07f2f05c56cfc452deda41f79dcb2f8757912536930f1f849f9e376e3b 18008 
ruby-bluecloth_2.2.0-5_amd64.deb
Files:
 93994931639483bf6c71563529ea8053 18008 ruby optional 
ruby-bluecloth_2.2.0-5_amd64.deb
 dcb1af24fe900cd0e017b44f9865e38b 2165 ruby optional ruby-bluecloth_2.2.0-5.dsc
 3f1c8bfe012f0f2c0d6d56680f28b51f 6708 ruby optional 
ruby-bluecloth_2.2.0-5.debian.tar.xz

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

iQIcBAEBCgAGBQJT+L5UAAoJENpJWPYR4UnptwQP/2jMvSPtoEI/6JjL1ern/sMm
7dWGXRN5SIOwzuq+o24HLbv9OU/8SHuC3bv/i9aOPY/qSuUHEdf8oGO4IoCEwePd
0F1UKScKA9XS33WKp48VB3kqmxX7tii5xiCWu6y873hsn66/P7uBaOtIhMHqLU0V
OSppEbxxxt1+p1ZTooymulLR+Y3f+j8EVO1n8dufOp3WAvlSPeMPXdxFeYO+13+1
sOYGgg1LSaxrRfDfikmHBoEmc8ucM4ThunRi8quAW5jig6jQFXT3Ev/CcEsm1eN2
eNtS6xsKVMGc+yjQtTpCK9cO2YQPhx0kph6vqyxZ9syJuRJmklHnF3dRfUJG+6y/
z22GBKskp86WhatPq/1LTim29LsC4kjHePhTUGQgqN704MhUdsveYmWtsfvwqWds
unR0AWrYWVgL65hZR6AXPY4TRRAzHkJ1rnQcoDs6Bmx5Ab8jtYu18uAnDGiQRfg0
Ds0E+WSv16R1SgjkUfigi7e6ffKPGBMUQeCUb0N1fG/Qy89viMYlnQkQpOQCcJbZ
DHzWSBnPm0jgvARdoRw9mBsc+4sIVAJ8oOHi9VA9StC4SusofWT2gi2l+w8Z0d8b
0ZS+K66iKWoGrSOzhD02UXCSpVDBFo57yPALVssDqiaBDgYv4D6ZI4qeZD+LgCJZ
nxltKpcljgSCDDKMQk3X
=T3pS
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to