Your message dated Wed, 24 Sep 2014 17:00:07 +0000
with message-id <e1xwpvd-0006jw...@franck.debian.org>
and subject line Bug#748976: fixed in apertium 3.3.0.56825-1
has caused the Debian Bug report #748976,
regarding apertium: fails to build with clang instead of gcc
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.)


-- 
748976: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748976
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: apertium
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Dear Maintainer,

Your package fails to build with clang instead of gcc.
Log file available here: 
http://clang.debian.net/logs/2014-01-14/apertium_3.1.0-2_unstable_clang.log

The attached patch fixes it.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- apertium-3.1.0/apertium/hmm.cc	2008-11-25 10:39:55.000000000 -0500
+++ apertium-3.1.0-my/apertium/hmm.cc	2014-05-22 14:50:59.956906339 -0400
@@ -727,7 +727,7 @@
   double prob, loli, x;
   int N = td->getN();  
   double alpha[2][N];
-  vector<TTag> best[2][N];
+  vector<TTag> **best = reinterpret_cast<vector<TTag> **>(alloca(sizeof(vector<TTag>) * 2 * N));
   
   vector <TaggerWord> wpend; 
   int nwpend;
--- apertium-3.1.0/apertium/lextor.cc	2008-12-08 13:23:01.000000000 -0500
+++ apertium-3.1.0-my/apertium/lextor.cc	2014-05-22 14:50:59.940906339 -0400
@@ -277,8 +277,8 @@
 	    //Note: Words in the context can also be ambiguous (with more than one lexical choice)
 	    //In that case the count will come from all the possible
 	    //translations 
-	    vector<wstring> translation_buffer[buffer_max_size];
-	    wstring reduced_buffer[buffer_max_size];
+	    vector<wstring> *translation_buffer = reinterpret_cast<vector<wstring> *>(alloca(sizeof(vector<wstring>) * buffer_max_size));
+	    wstring *reduced_buffer = reinterpret_cast<wstring *>(alloca(sizeof(wstring) * buffer_max_size));
 
 	    for (int i=0; i<(int)buffer_max_size; i++) {
 	      reduced_buffer[i]=lextor_data->reduce(buffer[i].get_word_string());	      
@@ -867,8 +867,8 @@
   }  
 
   double lexchoices_count[window[word_index].n_lexical_choices()];
-  vector<wstring> translation_window[window.size()];
-  wstring reduced_window[window.size()];
+  vector<wstring> *translation_window = reinterpret_cast<vector<wstring> *>(alloca(sizeof(vector<wstring>) * window.size()));
+  wstring *reduced_window = reinterpret_cast<wstring *>(alloca(sizeof(wstring) * window.size()));
 
   for (unsigned i=0; i<window.size(); i++) 
     reduced_window[i]=lextor_data->reduce(window[i].get_word_string());	      

--- End Message ---
--- Begin Message ---
Source: apertium
Source-Version: 3.3.0.56825-1

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

Debian distribution maintenance software
pp.
Kartik Mistry <kar...@debian.org> (supplier of updated apertium 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: SHA256

Format: 1.8
Date: Wed, 24 Sep 2014 10:23:13 +0530
Source: apertium
Binary: apertium libapertium3-3.3-0 libapertium3-3.3-dev
Architecture: source amd64
Version: 3.3.0.56825-1
Distribution: experimental
Urgency: low
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Kartik Mistry <kar...@debian.org>
Description:
 apertium   - Shallow-transfer machine translation engine
 libapertium3-3.3-0 - Shared library for Apertium
 libapertium3-3.3-dev - Development library for Apertium
Closes: 748976 753459
Changes:
 apertium (3.3.0.56825-1) experimental; urgency=low
 .
   [ Tino Didriksen ]
   * New upstream release
   * Standards-Version updated to version 3.9.5
   * Using upstream release from svn, to avoid pre-generated automake files
   * Re-done packaging to take advantage of debhelper 9
   * Added multiarch support
   * Builds with clang (Closes: #748976)
   * 3.3 includes all of 3.2 (Closes: #753459)
 .
   [ Kartik Mistry ]
   * Added myself as uploader.
   * wrap-and-sort control and install files.
   * Updated VCS-* fields.
   * Added debian/watch file.
Checksums-Sha1:
 a7dfee157df8ca5a894048296eca738bf5109a80 2357 apertium_3.3.0.56825-1.dsc
 e43347c931344a6f57d9103d451c29cd033bf66a 229023 
apertium_3.3.0.56825.orig.tar.bz2
 08e9598e0b6080d495c62c777f1cb91a15b408b6 4460 
apertium_3.3.0.56825-1.debian.tar.xz
 72a0888a01009780f8bdf2cdca310c42ddd2a170 297478 
apertium_3.3.0.56825-1_amd64.deb
 be32f5f3a55b923fe5a3fb00bf5bab9ba46e2177 411298 
libapertium3-3.3-0_3.3.0.56825-1_amd64.deb
 39d1bb6ac87e0785d131868bd4a0a361b3c993f5 457246 
libapertium3-3.3-dev_3.3.0.56825-1_amd64.deb
Checksums-Sha256:
 03d9d81982a97255d86d5d2fdc8c2f2c231f1b7e09b96840cd56b91a58253803 2357 
apertium_3.3.0.56825-1.dsc
 82c91572fd2dc224e88102547442eb04355ee9d95b51b05a3ddfdf3334df6a11 229023 
apertium_3.3.0.56825.orig.tar.bz2
 56862d0bb6538ece45a5fa9b0dd786035341080e3ad98ca67556cb8b97a5077f 4460 
apertium_3.3.0.56825-1.debian.tar.xz
 0101a6522498de5afcba2f31405d1e451c20917de7389921a4108b05a3f97b62 297478 
apertium_3.3.0.56825-1_amd64.deb
 93fce93bbc06a02fcc3fbbf0dd0ba2c16a7776a0ad11ce2d4aa7ec40d212e431 411298 
libapertium3-3.3-0_3.3.0.56825-1_amd64.deb
 65b164e02b21dedb8c5e668a53293779c7faf4f50f7df8b024119507f2aed86b 457246 
libapertium3-3.3-dev_3.3.0.56825-1_amd64.deb
Files:
 4ecd703b8eb0bbdecd5e7987c127a77d 297478 science optional 
apertium_3.3.0.56825-1_amd64.deb
 df8837a1ad0c63089d1811d4ad77d803 411298 science optional 
libapertium3-3.3-0_3.3.0.56825-1_amd64.deb
 5d1c9a3c5fa84e08ef6ef1cc52a2fbe7 457246 libdevel optional 
libapertium3-3.3-dev_3.3.0.56825-1_amd64.deb
 98f9e1b2874648a417f0c7fe16c8c27a 2357 science optional 
apertium_3.3.0.56825-1.dsc
 2ab86ebe00af00c54ca2b44b7333155f 229023 science optional 
apertium_3.3.0.56825.orig.tar.bz2
 28a088730dc22941d7c81dac59efbf13 4460 science optional 
apertium_3.3.0.56825-1.debian.tar.xz

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

iQIcBAEBCAAGBQJUImaHAAoJEALB0/J4OqTeF0wP/Rv6oxDDIV2F1SiDLlFJWdez
LLEFQi2UY94LnxkYvshIYayQcP9AudkkM1FnZaRS2yDP34HCt8qz+/F5XpNE2kdB
KrSjeWQlvKPPk9vr+GK60TJKwtK4A9ov1gevvl0Vmk+zp++py50/VsTar0G0HkeL
LqvG9yyCuf4McZaJHeOHUh15/o4YFJfPmivJpZ4f6w7e6Grdi4rZMVVwOn2xU5w/
hj91oFExzkaDqIrkkFfm3tXzHhyVbFAKj7wQc5NDbSACkCPlJaO0dbdVODpcPkFh
9pMrTc7ShexlxcHg2XhyArTc7ZCq53QOfNQJm2D/rf2qWzHCLu7JfLGPBnnOmPtl
Wa4gA1Ejluqgy76V338fVNqRSacDm7oZBlaoE+ZWM9vlFCjTs0qCoHZ8DOyF1+Dr
6K0zEPVKvZWbo4dLBbQe3P6U8tzH+u7vnzi1wHd5tg5fFZd/44u/uJyb2efXz6MK
QaM2yaWnKcXFbSvM+8U2khRlYy712sBVl4IuAZzPeZ5p3xb03t/QyLrqfJ9HI4yu
1xQPzib8w5gveJxdX2FsKquXmb6Dyzeqf3vAqgnwqRkVSae7OPDEEk/HyUMSelB3
zu43dnxqlKW3RqLfPLpo3cgJLailgovM6bJODNNlo86gUZPPC5I7SfVqWU0KxgB+
fcw6w6khfuCEkKAoCXT9
=UYms
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to