Your message dated Sun, 03 Aug 2014 15:48:53 +0000
with message-id <[email protected]>
and subject line Bug#755227: fixed in eclib 2014-05-14a-2
has caused the Debian Bug report #755227,
regarding 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 [email protected]
immediately.)


-- 
755227: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755227
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: eclib
Severity: minor
Tags: patch
User: [email protected]
Usertags: clang-ftbfs

Hello,

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

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/eclib_2014-05-14a-1_unstable_clang.log

Thanks,
Alexander


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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./libsrc/eclib/smat.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/smat.h	2014-07-18 23:17:45.091537570 +0400
@@ -79,7 +79,7 @@
      friend smat transpose(const smat&);
      friend int operator==(const smat&, const smat&);
   // Equality mod p:
-     friend int eqmodp(const smat&, const smat&, const scalar& p=DEFAULT_MODULUS);
+     friend int eqmodp(const smat&, const smat&, const scalar& p);
      friend ostream& operator<< (ostream&s, const smat&);
      friend istream& operator>> (istream&s, smat&);
      friend int get_population (const smat& );      //mainly used for testing
@@ -87,7 +87,7 @@
      {return (((double)(get_population(m)))/m.nro)/m.nco;}
      friend void random_fill_in( smat&, int, scalar ); //the elimination program
      friend smat sidmat(scalar);  // identity matrix
-     friend int liftmat(const smat& mm, scalar pr, smat& m, scalar& dd, int trace=0);
+     friend int liftmat(const smat& mm, scalar pr, smat& m, scalar& dd, int trace);
      friend int liftmats_chinese(const smat& mm1, scalar pr1, const smat& mm2, scalar pr2,
                                  smat& m, scalar& dd);
  };
--- ./libsrc/eclib/mat.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/mat.h	2014-07-18 23:06:11.831218778 +0400
@@ -103,8 +103,8 @@
                                  long& rk, long& ny, scalar pr);
 	friend subspace combine(const subspace& s1, const subspace& s2);
         friend mat restrict_mat(const mat& m, const subspace& s, int cr);
-        friend int liftmat(const mat& mm, scalar pr, mat& m, scalar& dd, int trace=0);
-        friend int lift(const subspace& s, scalar pr, subspace& ans, int trace=0);
+        friend int liftmat(const mat& mm, scalar pr, mat& m, scalar& dd, int trace);
+        friend int lift(const subspace& s, scalar pr, subspace& ans, int trace);
 	friend subspace pcombine(const subspace& s1, const subspace& s2, scalar pr);
 	friend mat prestrict(const mat& m, const subspace& s, scalar pr, int cr);
 	friend mat matmulmodp(const mat&, const mat&, scalar pr);
--- ./libsrc/eclib/p2points.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/p2points.h	2014-07-18 23:40:42.811985774 +0400
@@ -100,15 +100,15 @@
     { X=Q.X ; Y=Q.Y; Z=Q.Z;  }
 
   // Coordinate transforms useful for elliptic curve points 
-  friend P2Point scale(const P2Point& P, const bigint& u, int back=0); 
-  friend P2Point scale(const P2Point& P, long u=1, int back=0); 
+  friend P2Point scale(const P2Point& P, const bigint& u, int back); 
+  friend P2Point scale(const P2Point& P, long u, int back); 
   friend P2Point shift(const P2Point& P,
 		       const bigint& r, const bigint& s, const bigint& t, 
-		       int back=0); 
+		       int back); 
   friend P2Point transform(const P2Point& P,
 			   const bigint& u, 
 			   const bigint& r, const bigint& s, const bigint& t, 
-			   int back=0); 
+			   int back); 
 
   void getcoordinates(bigint& x, bigint& y, bigint& z) const
     {x=X; y=Y; z=Z; }
--- ./libsrc/eclib/mmatrix.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/mmatrix.h	2014-07-18 23:12:04.429019137 +0400
@@ -84,7 +84,7 @@
                                   long& rk, long& ny, const bigint& pr);
         friend msubspace combine(const msubspace& s1, const msubspace& s2);
         friend mat_m restrict_mat(const mat_m& m, const msubspace& s);
-        friend msubspace lift(const msubspace& s, const bigint& pr, int =0);
+        friend msubspace lift(const msubspace& s, const bigint& pr, int);
         friend msubspace pcombine(const msubspace& s1, const msubspace& s2, const bigint& pr);
         friend mat_m prestrict(const mat_m& m, const msubspace& s, const bigint& pr);
         friend mat_m matmulmodp(const mat_m&, const mat_m&, const bigint& pr);
--- ./libsrc/eclib/points.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/points.h	2014-07-18 23:54:18.512144291 +0400
@@ -109,7 +109,7 @@
   friend Point transform(const Point& p,  Curvedata* newc, 
 			 const bigint& u, 
 			 const bigint& r, const bigint& s, const bigint& t, 
-			 int back=0); 
+			 int back); 
 
   void operator+=(const Point&) ; // P1 += P2 ; order and height unknown
   void operator-=(const Point&) ; // P1 -= P2 ; ditto
--- ./libsrc/eclib/svec.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/svec.h	2014-07-18 23:14:12.811891564 +0400
@@ -83,7 +83,7 @@
 
   friend inline int dim(const svec& v)  {return v.d;}
   // Equality mod p:
-  friend int eqmodp(const svec&, const svec&, const scalar& p=DEFAULT_MODULUS);
+  friend int eqmodp(const svec&, const svec&, const scalar& p);
   friend ostream& operator<< (ostream&s, const svec&);
   friend scalar operator*(const svec&, const svec&); //dot product
   friend scalar operator*(const svec&, const vec&);
--- ./libsrc/eclib/vec.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/vec.h	2014-07-18 23:03:50.329706975 +0400
@@ -78,9 +78,9 @@
         friend scalar vecgcd(const vec&);
         friend void swapvec(vec& v, vec& w);
         friend int member(scalar a, const vec& v);//tests if a=v[i] for some i
-        friend mat restrict_mat(const mat& m, const subspace& s, int cr=0);
+        friend mat restrict_mat(const mat& m, const subspace& s, int cr);
         friend mat_m restrict_mat(const mat_m& m, const msubspace& s);
-        friend mat prestrict(const mat& m, const subspace& s, scalar pr, int cr=0);
+        friend mat prestrict(const mat& m, const subspace& s, scalar pr, int cr);
         friend mat_m prestrict(const mat_m& m, const msubspace& s, const bigint& pr);
 
 // Implementation
--- ./libsrc/eclib/method.h	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/eclib/method.h	2014-07-18 23:35:51.897711841 +0400
@@ -83,7 +83,7 @@
 #define EIGENSPACE(a,b) peigenspace(a,b,MODULUS)
 #define SUBEIGENSPACE(a,b,c) psubeigenspace(a,b,c,MODULUS)
 #define COMBINE(a,b) pcombine(a,b,MODULUS)
-#define RESTRICT(a,b) prestrict(a,b,MODULUS)
+#define RESTRICT(a,b) prestrict(a,b,MODULUS, 0)
 #else
 #define EIGENSPACE(a,b) eigenspace(a,b)
 #define SUBEIGENSPACE(a,b,c) subeigenspace(a,b,c)
--- ./libsrc/svec.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/svec.cc	2014-07-18 23:18:06.815093946 +0400
@@ -508,7 +508,7 @@
 
 // Definitions of non-member, friend operators and functions
 
-int eqmodp(const svec& v1, const svec& v2, const scalar& p)
+int eqmodp(const svec& v1, const svec& v2, const scalar& p=DEFAULT_MODULUS)
 {
   if(v1.d!=v2.d) return 0;
   map<int,scalar>::const_iterator vi;
--- ./libsrc/mrank2.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/mrank2.cc	2014-07-18 23:54:44.827637615 +0400
@@ -1096,7 +1096,7 @@
   for(i=0; i<npoints; i++)
     {
       if(verbose&&(i==npoints1)) {cout<<"\nII. Points on phi(E') mod 2E\n";}
-      Point q = transform(pointlist[i],the_curve,u,r,s,t);
+      Point q = transform(pointlist[i],the_curve,u,r,s,t,0);
       bigfloat h = height(q);
       int valid = q.isvalid();
       if(verbose||!valid) cout << "Point " << q << ", height = " << h;
--- ./libsrc/qc.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/qc.cc	2014-07-18 23:55:27.706811892 +0400
@@ -84,7 +84,7 @@
   if(verbose) cout<<"\n";
 #endif
 
-  P = transform(oldP, E, tr_u, tr_r, tr_s, tr_t);
+  P = transform(oldP, E, tr_u, tr_r, tr_s, tr_t,0);
 
   valid = P.isvalid();
   if(verbose||!valid) cout<<"Point = "<<P;
--- ./libsrc/homspace.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/homspace.cc	2014-07-19 00:02:01.467252411 +0400
@@ -287,7 +287,7 @@
    int d1;
    start_time();
    smat sp;
-   int ok = liftmat(sme.kernel(npivs,pivs),MODULUS,sp,d1);
+   int ok = liftmat(sme.kernel(npivs,pivs),MODULUS,sp,d1,0);
    stop_time();
    if (!ok)
      cout << "**!!!** failed to lift modular kernel of relation matrix\n" << endl;
@@ -415,7 +415,7 @@
    vec pivs, npivs;
    int d2;
    smat sk;
-   int ok = liftmat(smat_elim(deltamat).kernel(npivs,pivs),MODULUS,sk,d2);
+   int ok = liftmat(smat_elim(deltamat).kernel(npivs,pivs),MODULUS,sk,d2,0);
    if (!ok)
      cout << "**!!!** failed to lift modular kernel of delta matrix\n" << endl;
    denom2=d2;
--- ./libsrc/xsplit.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/xsplit.cc	2014-07-18 23:34:45.603023144 +0400
@@ -554,7 +554,7 @@
     smat left = sm*sb; 
     if(dd!=1) {cout<<"(dd="<<dd<<")"; left.mult_by_scalar_mod_p(dd);}
     smat right = sb*ans;
-    int ok = eqmodp(left,right);
+    int ok = eqmodp(left,right, DEFAULT_MODULUS);
     if (!ok) 
     {
       cout<<"Warning from sparse_restrict: subspace not invariant!\n";
--- ./libsrc/sub.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./libsrc/sub.cc	2014-07-18 23:11:07.718016485 +0400
@@ -77,7 +77,7 @@
 }
  
 //This one is used a LOT
-mat restrict_mat(const mat& m, const subspace& s, int cr)
+mat restrict_mat(const mat& m, const subspace& s, int cr = 0)
 { long i,j,k,d = dim(s), n=m.nro;
   if(d==n) return m; // trivial special case, s is whole space
   scalar dd = s.denom;
@@ -166,7 +166,7 @@
   return subspace(b,p,d);
 }
 
-mat prestrict(const mat& m, const subspace& s, scalar pr, int cr)
+mat prestrict(const mat& m, const subspace& s, scalar pr, int cr = 0)
 { int i,j,k,d = dim(s), n=m.nro;
   if(d==n) return m; // trivial special case, s is whole space
   scalar dd = s.denom;  // will be 1 if s is a mod-p subspace
--- ./tests/mspace.cc	2014-05-15 15:12:49.000000000 +0400
+++ ../eclib-2014-05-14a-my/./tests/mspace.cc	2014-07-19 00:06:51.525709711 +0400
@@ -78,7 +78,7 @@
     cout << "eigenspace for lambda = " << lambda << " has basis\n" << basis(elambda);
     cout << "with dimension " << dim(elambda) << endl;
     cout << "\nNow repeating eigenspace calculation modulo " << MBIGPRIME << endl;
-    msubspace elp = lift(peigenspace(m,lambda,MBIGPRIME),MBIGPRIME);
+    msubspace elp = lift(peigenspace(m,lambda,MBIGPRIME),MBIGPRIME, 0);
     cout << "eigenspace for lambda has basis\n" << basis(elp);
     cout << "with dimension " << dim(elp) << endl;
   }

--- End Message ---
--- Begin Message ---
Source: eclib
Source-Version: 2014-05-14a-2

We believe that the bug you reported is fixed in the latest version of
eclib, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <[email protected]> (supplier of updated eclib 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 [email protected])


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

Format: 1.8
Date: Sun, 03 Aug 2014 12:22:43 +0200
Source: eclib
Binary: libec0 libec-dev eclib-tools
Architecture: source amd64
Version: 2014-05-14a-2
Distribution: sid
Urgency: low
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Julien Puydt <[email protected]>
Description:
 eclib-tools - Programs for modular symbols and elliptic curves over Q
 libec-dev  - Library for modular symbols and elliptic curves over Q (developme
 libec0     - Library for modular symbols and elliptic curves over Q
Closes: 755227
Changes:
 eclib (2014-05-14a-2) unstable; urgency=low
 .
   * Added a patch from Alexander Ovchinnikov (Closes: #755227).
Checksums-Sha1:
 af3f7c0ac2705262f09aa31835565d3319ea3fc3 2104 eclib_2014-05-14a-2.dsc
 0505dc723e35d7713463d9d652bf44d5faa9f8e6 5016 eclib_2014-05-14a-2.debian.tar.xz
 3427a222f2b21e8921ef31190f72afd87568898c 1021936 libec0_2014-05-14a-2_amd64.deb
 5903683f46d5168dea1b2b4f0d32142c80333be9 72522 
libec-dev_2014-05-14a-2_amd64.deb
 4212f4cbbd18c068d63e985018bb7ce7692e0c79 17766 
eclib-tools_2014-05-14a-2_amd64.deb
Checksums-Sha256:
 b433851782f4018bba1a23ab4dda1564396a48e2345a6872cea306524410fa4e 2104 
eclib_2014-05-14a-2.dsc
 f19d6a4e7d15efb22d8300664529fb6b9b20f849130fcd05d677978d3fd0047d 5016 
eclib_2014-05-14a-2.debian.tar.xz
 ddbbd40eb066285619e1fb1c980d7c15e9e99753645fbd687d506e8e5641301d 1021936 
libec0_2014-05-14a-2_amd64.deb
 ed75bcf2174cb50617331f43a63a19d16a6ceff67a9256d83e191103783d921e 72522 
libec-dev_2014-05-14a-2_amd64.deb
 4937c84992ffc46dc1e6de4798389f471a580d77de8cc2102ef2eef13e3c0672 17766 
eclib-tools_2014-05-14a-2_amd64.deb
Files:
 18cca36f2fa1da43fd7d69d99e1568b3 1021936 math optional 
libec0_2014-05-14a-2_amd64.deb
 5367179d9cf671d30824a388b4ecf05e 72522 libdevel optional 
libec-dev_2014-05-14a-2_amd64.deb
 92d2bc8635e832f9cacd778a2b3205fb 17766 math optional 
eclib-tools_2014-05-14a-2_amd64.deb
 88575184054f37cfde9af6473cc6aff2 2104 math optional eclib_2014-05-14a-2.dsc
 cad6bcbe17245f6ef761e5a7210cb280 5016 math optional 
eclib_2014-05-14a-2.debian.tar.xz

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

iQIcBAEBCAAGBQJT3lZeAAoJEIyCFp2Ozs0qczQP/RvQ4tqCivWqTR6yzHJfqYZi
YEqPW6BFsARstyp53Ns/WjhhHLUreA9Adr3dygdAZkFUBiomdvjYRmgcaRjNHriv
bub809kXNMLpuFGLJNyi6BQ11p/zJmNUq6oKoovQ33F7i0VY4qg+r6Kn+fwP88iw
rSywmTdwYV4fF2G2r7/SQCvPeD+BP038tS73oADybIMO+59VInYm5A36aEtn0QUG
MmRGwGnW1YIkja7ULh/JjyHGTxHkpTvc/bp0vYhj8duemBLbkwYp8JEtRJvVUNII
rTjW7tIXQAEsHA+XzdkTP7RsoeKVqM5I+VoIA9nbBgpNnSsqiXb2GcMgxbWxksag
5CyrB/DLhZIGGWnKQvT1D4wbGMDQQMtBgFLjbwmQ4/cDlWDh851b7ADF0g2MlfjH
NNXvVLdMjI5oqkAs1Jw8F2shfgDMjVbv8R0AjDrdXNMskETAM96Ig2RMuxs8OfoR
j/4bD8SRohboncp8Yb4ciPeAAOvbHCeaz6ocfdMFMEo4kOWELszCB8oNbLom3loJ
bA6x7LIyOFyiBehEGCMXRLSmx3lNXZG1lj3muq/dR4IgFjRmbfdvJkZuFIg4E7mc
+UYhenpcERW+yUGFfT/U0ZW+TTtEfp6IuussGCCyscUhNms0EN8nSugvo/IoqJ5U
00BF3+/ptUaHv0Gvo6iw
=P+T5
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to