Your message dated Sat, 11 Aug 2018 14:38:41 +0000
with message-id <e1fov2p-000dtk...@fasolo.debian.org>
and subject line Bug#748898: fixed in lcalc 1.23+dfsg-7
has caused the Debian Bug report #748898,
regarding lcalc: FTBFS 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.)


-- 
748898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748898
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lcalc
Severity: minor
Usertags: clang-ftbfs
User: pkg-llvm-t...@lists.alioth.debian.org
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).

Thanks,
Arthur
diff -Naur lcalc.orig/lcalc-1.23+dfsg/debian/changelog lcalc/lcalc-1.23+dfsg/debian/changelog
--- lcalc.orig/lcalc-1.23+dfsg/debian/changelog	2014-05-18 22:01:55.817738552 -0500
+++ lcalc/lcalc-1.23+dfsg/debian/changelog	2014-05-21 23:11:45.965611744 -0500
@@ -1,3 +1,16 @@
+lcalc (1.23+dfsg-3) unstable; urgency=low
+
+  * Fix FTBFS with clang:
+    - Fixed error: C++ requires a type specifier for all declarations,
+            error: variable length array of non-POD element type in
+	    include/L.h
+	    include/Lcomplex.h
+	    include/Ldokchitser.h
+	    include/Lexplicit_formula.h
+	    include/Lgamma.h
+    	 	    
+ -- Arthur Marble <art...@info9.net>  Wed, 21 May 2014 23:11:43 -0500
+
 lcalc (1.23+dfsg-2) unstable; urgency=medium
 
   * Add patch fix_pari_include.patch:
diff -Naur lcalc.orig/lcalc-1.23+dfsg/debian/patches/clang-ftbfs.diff lcalc/lcalc-1.23+dfsg/debian/patches/clang-ftbfs.diff 
--- lcalc.orig/lcalc-1.23+dfsg/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ lcalc/lcalc-1.23+dfsg/debian/patches/clang-ftbfs.diff	2014-05-21 23:06:15.701619120 -0500
@@ -0,0 +1,161 @@
+--- a/include/Lcomplex.h
++++ b/include/Lcomplex.h
+@@ -135,7 +135,7 @@ namespace std
+       template<typename _Up>
+         complex<_Tp>& operator/=(const complex<_Up>&);
+ 
+-      friend reset(complex<_Tp>& C) {
++      friend void reset(complex<_Tp>& C) {
+ 	      reset(C._M_real);
+ 	      reset(C._M_imag);
+       }
+--- a/include/Lgamma.h
++++ b/include/Lgamma.h
+@@ -77,7 +77,7 @@ Complex exp_recycle();
+ //n=0 should just give log_GAMMA(z)... thus making log_GAMMA
+ //code obsolete. But leave log_GAMMA intact anyways.
+ template <class ttype>
+-precise(ttype) log_GAMMA (ttype z,int n=0)
++precise(ttype) log_GAMMA (ttype z,int n)
+ {
+     int M;
+     precise(ttype) log_G,r,r2,y;
+@@ -230,7 +230,7 @@ Complex GAMMA (ttype z1, ttype2 delta)
+ //value exp_w which holds exp(-w)
+ //computes G(z,w), so there's an extra w^(-z) factor.
+ template <class ttype>
+-Complex inc_GAMMA (ttype z,ttype w, const char *method="temme", ttype exp_w = 0, bool recycle=false)
++Complex inc_GAMMA (ttype z,ttype w, const char *method, ttype exp_w, bool recycle)
+ {
+ 
+     Complex G;
+@@ -334,7 +334,7 @@ Complex inc_GAMMA (ttype z,ttype w, cons
+ 
+ 
+ template <class ttype>
+-ttype cfrac_GAMMA (ttype z,ttype w, ttype exp_w=0, bool recycle=false)  //computes G(z,w) via continued fraction
++ttype cfrac_GAMMA (ttype z,ttype w, ttype exp_w, bool recycle)  //computes G(z,w) via continued fraction
+ {
+ 
+         ttype G;
+@@ -424,7 +424,7 @@ ttype cfrac_GAMMA (ttype z,ttype w, ttyp
+ }
+ 
+ template <class ttype>
+-ttype asympt_GAMMA (ttype z,ttype w, ttype exp_w = 0, bool recycle=false)  //computes G(z,w) via asymptotic series
++ttype asympt_GAMMA (ttype z,ttype w, ttype exp_w, bool recycle)  //computes G(z,w) via asymptotic series
+ {
+ 
+         if(my_verbose>3) cout << "called asympt_GAMMA("<<z<<","<<w<<")"<< endl;
+@@ -446,7 +446,7 @@ ttype asympt_GAMMA (ttype z,ttype w, tty
+ 
+ 
+ template <class ttype>
+-ttype comp_inc_GAMMA (ttype z,ttype w,ttype exp_w = 0, bool recycle=false)  //computes g(z,w)
++ttype comp_inc_GAMMA (ttype z,ttype w,ttype exp_w, bool recycle)  //computes g(z,w)
+ {
+ 
+     ttype g;
+@@ -604,7 +604,7 @@ ttype comp_inc_GAMMA (ttype z,ttype w,tt
+ }
+ 
+ template <class ttype>
+-Complex gamma_sum(Complex s, int what_type, ttype *coeff, int N, Double g, Complex l, Double Q, Long Period, Complex delta=1, const char *method="temme")
++Complex gamma_sum(Complex s, int what_type, ttype *coeff, int N, Double g, Complex l, Double Q, Long Period, Complex delta, const char *method)
+ {
+     Complex SUM=0;
+ 
+--- a/include/L.h
++++ b/include/L.h
+@@ -491,7 +491,7 @@ public:
+ 
+     //#include "Ldirichlet_series.h" //for computing Dirichlet series
+     Complex partial_dirichlet_series(Complex s, long long N1, long long N2);
+-    Complex dirichlet_series(Complex s, long long N);
++    Complex dirichlet_series(Complex s, long long N=-1);
+ 
+     //#include "Ltaylor_series.h" //for computing taylor series for Dirichlet series
+     //void compute_taylor_series(int N, int K, Complex s_0, Complex *series);
+--- a/include/Ldokchitser.h
++++ b/include/Ldokchitser.h
+@@ -1,6 +1,8 @@
+ #ifndef Ldokchitser_H
+ #define Ldokchitser_H
+ 
++#include <vector>
++
+ //finding the explicit taylor series for \phi(t) using Dokchitser algo
+ 
+ #define MYDIGITS 5 // estimate of precision ... will be set using the precision variable
+@@ -69,7 +71,8 @@ phi_series(int precision)
+     
+     // compute the values m[j] for the respective lambda_k[j]
+     
+-    Complex m[N+1];
++    std::vector<Complex> m;
++    m.resize(N+1);
+     for (j=1;j<=N;j++)
+     	m[j] = -2*lambda_k[j] + 2;
+ 	
+@@ -77,8 +80,18 @@ phi_series(int precision)
+ 	// compute sum_{k=1}^a log Gamma((s+m[j]+2*lambda[k])/2) for each j
+ 	
+ 	int n,fact_n;
+-	Complex log_Gamma[N+1][a+1][MYDIGITS+1];
+-	Complex sum_log_Gamma[N+1][MYDIGITS+1];
++	std::vector<std::vector<std::vector<Complex> > log_Gamma;
++	log_Gamma.resize(N+1);
++	for (j=1;j<=N;j++)
++        {
++		log_Gamma[j].resize(a+1);
++		for (k=1;k<=a;k++)
++			log_Gamma[j][k].resize(MYDIGITS+1);
++	}
++
++	std::vector<std::vector<Complex> > sum_log_Gamma;
++	sum_log_Gamma.resize(N+1);
++	for (j=1;j<=N;j++) sum_log_Gamma[j].resize(MYDIGITS+1);
+ 	
+ 	for (j=1;j<=N;j++)
+ 	for (n=0;n<=MYDIGITS;n++)
+@@ -103,8 +116,19 @@ phi_series(int precision)
+ 	
+ 	// compute the exponential taylor series for gamma = exp(sum_log_Gamma)
+ 	
+-	Complex exp_sum_log_Gamma[N+1][MYDIGITS+1][MYDIGITS+1]; // symmetric functions
+-	Complex gamma[N+1][MYDIGITS+1]; // gamma(s+m[j]) for j = 1 to N
++	std::vector<std::vector<std::vector<Complex> > > exp_sum_log_Gamma;
++	exp_sum_log_Gamma.resize(N+1);
++	for (j=1;j<=N;j++)
++	{
++		exp_sum_log_Gamma[j].resize(MYDIGITS+1);
++		for (k=1;k<=MYDIGITS;k++)
++			exp_sum_log_Gamma[j][k].resize(MYDIGITS+1);
++	}
++
++	std::vector<std::vector<Complex> > gamma;
++	gamma.resize(N+1);
++	for (j=1;j<=N;j++) gamma[j].resize(MYDIGITS+1);
++	
+ 	Complex temp_gamma[MYDIGITS+1];
+ 	Complex temp_mult_gamma[MYDIGITS+1];
+ 	Complex temp_exp_sum_log_Gamma[MYDIGITS+1];
+--- a/include/Lexplicit_formula.h
++++ b/include/Lexplicit_formula.h
+@@ -1,4 +1,5 @@
+ // This file mainly due to Kevin McGown, with modifications by Michael Rubinstein
++#include <vector>
+ 
+ #ifndef Lexplicit_formula_H
+ #define Lexplicit_formula_H
+@@ -24,8 +25,8 @@ template <class ttype>
+ int L_function <ttype>::
+ dirichlet_coeffs_log_diff(int num_coeffs, Complex *c)
+ {
+-
+-  Complex b[num_coeffs+1];
++  std::vector<Complex> b;
++  b.resize(num_coeffs+1);
+   int j, n, d1, ind;
+   Complex total, total2, temp;
diff -Naur lcalc.orig/lcalc-1.23+dfsg/debian/patches/series lcalc/lcalc-1.23+dfsg/debian/patches/series 
--- lcalc.orig/lcalc-1.23+dfsg/debian/patches/series	2014-05-18 22:01:55.817738552 -0500
+++ lcalc/lcalc-1.23+dfsg/debian/patches/series	2014-05-18 22:33:33.473696172 -0500
@@ -2,3 +2,4 @@
 pari_2.7.patch
 Makefile.patch
 fix_pari_include.patch
+clang-ftbfs.diff

--- End Message ---
--- Begin Message ---
Source: lcalc
Source-Version: 1.23+dfsg-7

We believe that the bug you reported is fixed in the latest version of
lcalc, 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.
Julien Puydt <jpu...@debian.org> (supplier of updated lcalc 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, 11 Aug 2018 15:39:10 +0200
Source: lcalc
Binary: lcalc liblfunction0 liblfunction-dev
Architecture: source amd64
Version: 1.23+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Julien Puydt <jpu...@debian.org>
Description:
 lcalc      - program for calculating with L-functions
 liblfunction-dev - development files for liblfunction
 liblfunction0 - library for calculating with L-functions
Closes: 748898
Changes:
 lcalc (1.23+dfsg-7) unstable; urgency=medium
 .
   * Refresh packaging:
     - Use my debian.org mail address.
     - Bump d/watch to version 4.
     - Bump dh compat to 11.
     - Bump std-ver to 4.2.0.
     - Point Vcs-* fields to salsa.
     - Mark the -dev package Multi-Arch: same.
     - Put the lib package in section libs.
   * Add a patch for clang compilation (Closes: #748898).
   * Add a patch to fix spelling issues.
   * Comment why the sources are repacked in d/copyright.
Checksums-Sha1:
 dfcf8a2e180a5da0e95703db815e94ade3986847 2156 lcalc_1.23+dfsg-7.dsc
 5ebc410892f049a4f183cae7b47f1dad0a2f7210 14264 lcalc_1.23+dfsg-7.debian.tar.xz
 f79b97b6fe56f89e1ef4ae96d0165e245c992f14 1174060 
lcalc-dbgsym_1.23+dfsg-7_amd64.deb
 40ec7aaecee59cbf3c621039379be36a7699d5af 6950 lcalc_1.23+dfsg-7_amd64.buildinfo
 31d00355b3dc265b0ce87303f64c62891cccea2b 127728 lcalc_1.23+dfsg-7_amd64.deb
 227e5d8f8e8339ddf8955765528417dd4650910e 50368 
liblfunction-dev_1.23+dfsg-7_amd64.deb
 2102281a5157b8aa06dd77787094e707f054d689 174040 
liblfunction0-dbgsym_1.23+dfsg-7_amd64.deb
 884117ee9c402c461bb606db2da7f7fec85af0fb 36884 
liblfunction0_1.23+dfsg-7_amd64.deb
Checksums-Sha256:
 b80b6765a4a3b3d6192f9b5724a74f05b5c24ba7960f3bebd2e385ad96a9ff03 2156 
lcalc_1.23+dfsg-7.dsc
 018ad0dffdb9a8c7bb9676ab6d76400f0cf1d6d77153bbec4b1714acf3b8d7a1 14264 
lcalc_1.23+dfsg-7.debian.tar.xz
 8c59f60140996aa05e7fd393ee1e734edf0182845143747dbdf3d28851649e82 1174060 
lcalc-dbgsym_1.23+dfsg-7_amd64.deb
 c05cab62620ca93032ed10a0eaac1dc6804073156d44e3e5f0fc4eb982465f6c 6950 
lcalc_1.23+dfsg-7_amd64.buildinfo
 094e49ca21535b0016ac6e92cc4e53992001a514c7df3170691e4d3309cc6270 127728 
lcalc_1.23+dfsg-7_amd64.deb
 5dbe6383e4443eb4dcf68446fa01fce07b45bc51a72861cb3192c8629fbd7bf2 50368 
liblfunction-dev_1.23+dfsg-7_amd64.deb
 7256e91d43f5a029ebf8975b16e26ee0ab6efd9351162ab992800e53762cfc27 174040 
liblfunction0-dbgsym_1.23+dfsg-7_amd64.deb
 2fd9653141b0cdc01524345a839499ad5b2d995e6733a453241af850160767bd 36884 
liblfunction0_1.23+dfsg-7_amd64.deb
Files:
 f1a3ae1f2238f4bfb33275e2531e685c 2156 math optional lcalc_1.23+dfsg-7.dsc
 a7fb413940ce7b92dcabd3526ba23f44 14264 math optional 
lcalc_1.23+dfsg-7.debian.tar.xz
 c95fc9bbb91cc14d2aaed1d1430760ca 1174060 debug optional 
lcalc-dbgsym_1.23+dfsg-7_amd64.deb
 4515aa525857c92512b33e191f8c88db 6950 math optional 
lcalc_1.23+dfsg-7_amd64.buildinfo
 4604bb430bde56f663c456814c4464eb 127728 math optional 
lcalc_1.23+dfsg-7_amd64.deb
 59a9c2df070024460a7977b9507b8b0e 50368 libdevel optional 
liblfunction-dev_1.23+dfsg-7_amd64.deb
 6db64e79d2abba9b57cb7fc0c76f6c8a 174040 debug optional 
liblfunction0-dbgsym_1.23+dfsg-7_amd64.deb
 1c6d5078934e07fd08d3227620c7c861 36884 libs optional 
liblfunction0_1.23+dfsg-7_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAltu51MZHGp1bGllbi5w
dXlkdEBsYXBvc3RlLm5ldAAKCRAExTvX/gMFUWZ7EACMYWpFrIYWY0szPgr9owoz
y698ORqc7meRtqu/Rr00YeZFkBFpkoAvMfoGemx7K2jXhrTlCqZr2x2Tif3Kg3NY
5A5TZZNr8pJ1phl51X1HUIxB0EkfJltGOKHe2H+ZMdpSZKm2V79c7AG9c6qeP95z
rnNzRmKrTxOwjh/LQPY3nIgBQ991u6xWpQ+ZEergqzqOin0vwp2CHqqTf2awqONM
k41/vFebrxOISbT+GU0rbeuPQfH85OrgkPJr/sOcBtSOW8Cf/mJJ4WXu5/QZo7GR
nKnGzP48ZOcEMINi+nNsgJceAyBiZntsicuXTsMWKhaTCsI3bNH6AA/rdqiGTkf/
TBEfwpHZbalpZ4nPPpjGDA+TWtwAAFz27WDCv8UdllTLdsQoPWBZVFhvbgxwNeAK
A2BDlBkaMv7ndk9YANT/hBF2sFsI56Hrexhmi0RGgX0qliG0259tAr0Aeoy3zG6i
aFCEbfxFvkKfbBpYehPKw8qc8RF+DJw6VGvSUVUjAARpz1GrO25iBKdSaTlTBRX0
dY700GPsexkkLzHz8B3C9bk7b6hXatHSwQPx1JpViY+OG2oGa91YKbkkkZtHEDHv
JN567AcA4EJm3GNWZfKZ6MnVBUoLJiwwVmK/w9sEQTNsna3CGGmNYsLfBDTno9Gh
1xHL7qTD3Pn4XL7FGjNfAA==
=I/Tu
-----END PGP SIGNATURE-----

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

Reply via email to