Hello community, here is the log from the commit of package fplll for openSUSE:Factory checked in at 2020-06-05 20:24:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fplll (Old) and /work/SRC/openSUSE:Factory/.fplll.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fplll" Fri Jun 5 20:24:41 2020 rev:6 rq:811814 version:5.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fplll/fplll.changes 2019-12-17 13:29:57.583413525 +0100 +++ /work/SRC/openSUSE:Factory/.fplll.new.3606/fplll.changes 2020-06-05 20:29:05.309326557 +0200 @@ -1,0 +2,6 @@ +Thu Jan 9 14:56:53 UTC 2020 - Jan Engelhardt <[email protected]> + +- Update to release 5.3.2 + * Nobody has any intention of providing a changelog. + +------------------------------------------------------------------- Old: ---- fplll-5.3.1.tar.gz New: ---- fplll-5.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fplll.spec ++++++ --- /var/tmp/diff_new_pack.WLJMzl/_old 2020-06-05 20:29:05.981328543 +0200 +++ /var/tmp/diff_new_pack.WLJMzl/_new 2020-06-05 20:29:05.981328543 +0200 @@ -1,7 +1,7 @@ # # spec file for package fplll # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: fplll %define lname libfplll6 -Version: 5.3.1 +Version: 5.3.2 Release: 0 Summary: Lenstra-Lovász Lattice Basis Reduction Algorithm Library License: LGPL-2.1-or-later ++++++ fplll-5.3.1.tar.gz -> fplll-5.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/configure new/fplll-5.3.2/configure --- old/fplll-5.3.1/configure 2019-12-14 17:58:15.000000000 +0100 +++ new/fplll-5.3.2/configure 2020-01-09 15:50:54.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for fplll 5.3.1. +# Generated by GNU Autoconf 2.69 for fplll 5.3.2. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='fplll' PACKAGE_TARNAME='fplll' -PACKAGE_VERSION='5.3.1' -PACKAGE_STRING='fplll 5.3.1' +PACKAGE_VERSION='5.3.2' +PACKAGE_STRING='fplll 5.3.2' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1339,7 +1339,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures fplll 5.3.1 to adapt to many kinds of systems. +\`configure' configures fplll 5.3.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1409,7 +1409,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of fplll 5.3.1:";; + short | recursive ) echo "Configuration of fplll 5.3.2:";; esac cat <<\_ACEOF @@ -1530,7 +1530,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -fplll configure 5.3.1 +fplll configure 5.3.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2179,7 +2179,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by fplll $as_me 5.3.1, which was +It was created by fplll $as_me 5.3.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2532,9 +2532,9 @@ # cf http://comments.gmane.org/gmane.comp.sysutils.autoconf.general/15737 # First extract pieces from the version number string -FPLLL_MAJOR_VERSION=`echo 5.3.1 | awk -F. '{print $1}'` -FPLLL_MINOR_VERSION=`echo 5.3.1 | awk -F. '{print $2}'` -FPLLL_MICRO_VERSION=`echo 5.3.1 | awk -F. '{print $3}'` +FPLLL_MAJOR_VERSION=`echo 5.3.2 | awk -F. '{print $1}'` +FPLLL_MINOR_VERSION=`echo 5.3.2 | awk -F. '{print $2}'` +FPLLL_MICRO_VERSION=`echo 5.3.2 | awk -F. '{print $3}'` FPLLL_VERSION=$FPLLL_MAJOR_VERSION.$FPLLL_MINOR_VERSION.$FPLLL_MICRO_VERSION$FPLLL_MICRO_VERSION_SUFFIX FPLLL_VERSION_NUMBER=`expr $FPLLL_MAJOR_VERSION \* 1000000 + $FPLLL_MINOR_VERSION \* 1000 + $FPLLL_MICRO_VERSION` @@ -3054,7 +3054,7 @@ # Define the identity of the package. PACKAGE='fplll' - VERSION='5.3.1' + VERSION='5.3.2' cat >>confdefs.h <<_ACEOF @@ -11843,7 +11843,7 @@ # current, and set both revision and age to zero. FPLLL_LT_CURRENT=6 -FPLLL_LT_REVISION=1 +FPLLL_LT_REVISION=2 FPLLL_LT_AGE=0 @@ -18725,7 +18725,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by fplll $as_me 5.3.1, which was +This file was extended by fplll $as_me 5.3.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18791,7 +18791,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -fplll config.status 5.3.1 +fplll config.status 5.3.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/configure.ac new/fplll-5.3.2/configure.ac --- old/fplll-5.3.1/configure.ac 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/configure.ac 2020-01-09 15:50:30.000000000 +0100 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT(fplll, 5.3.1) +AC_INIT(fplll, 5.3.2) AC_CONFIG_SRCDIR([fplll/fplll.cpp]) # cf http://comments.gmane.org/gmane.comp.sysutils.autoconf.general/15737 @@ -39,7 +39,7 @@ # current, and set both revision and age to zero. FPLLL_LT_CURRENT=6 -FPLLL_LT_REVISION=1 +FPLLL_LT_REVISION=2 FPLLL_LT_AGE=0 AC_SUBST(FPLLL_LT_CURRENT) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/fplll/bkz_param.h new/fplll-5.3.2/fplll/bkz_param.h --- old/fplll-5.3.1/fplll/bkz_param.h 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/fplll/bkz_param.h 2020-01-09 15:50:30.000000000 +0100 @@ -111,7 +111,7 @@ int flags = BKZ_DEFAULT, int max_loops = 0, double max_time = 0, double auto_abort_scale = BKZ_DEF_AUTO_ABORT_SCALE, int auto_abort_max_no_dec = BKZ_DEF_AUTO_ABORT_MAX_NO_DEC, - double gh_factor = BKZ_DEF_AUTO_ABORT_MAX_NO_DEC, + double gh_factor = BKZ_DEF_GH_FACTOR, double min_success_probability = BKZ_DEF_MIN_SUCCESS_PROBABILITY, int rerandomization_density = BKZ_DEF_RERANDOMIZATION_DENSITY) : block_size(block_size), strategies(strategies), delta(delta), flags(flags), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/fplll/hlll.cpp new/fplll-5.3.2/fplll/hlll.cpp --- old/fplll-5.3.1/fplll/hlll.cpp 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/fplll/hlll.cpp 2020-01-09 15:50:30.000000000 +0100 @@ -354,7 +354,7 @@ /* * A first version of this test was introduced in 2015-04-09 in hplll (see - * commit 93da15d1418347714ef5c07ae8860946825772e5). This test to detect not + * commit 93da15d1418347714ef5c07ae8860946825772e5). This test detects not * enough precision during the computation is therefore needed in addition to * the one about the norms (such a test is implemented and send a * RED_HLLL_NORM_FAILURE in this implementation). @@ -435,7 +435,9 @@ if (ftmp1.cmp(ftmp2) > 0) { +#ifdef HOUSEHOLDER_DEBUG cerr << "This is probably the first time this test is used." << endl; +#endif // HOUSEHOLDER_DEBUG cerr << "Anomaly: weak size reduction is not complete kappa = " << kappa << " and i = " << i << endl; @@ -443,7 +445,7 @@ return false; } } -#else // HOUSEHOLDER_VERIFY_SIZE_REDUCTION_HPLLL +#else // HOUSEHOLDER_VERIFY_SIZE_REDUCTION_HPLLL /* * This test is similar to the test of hplll in hsizereduce. It is however not * exactly the same, this one crudely verify the condition of the weak-size @@ -481,7 +483,9 @@ if (ftmp0.cmp(ftmp2) > 0) { +#ifdef HOUSEHOLDER_DEBUG cerr << "This is probably the first time this test is used." << endl; +#endif // HOUSEHOLDER_DEBUG cerr << "Anomaly: weak size reduction is not complete kappa = " << kappa << " and i = " << i << endl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/fplll/io/thread_pool.hpp new/fplll-5.3.2/fplll/io/thread_pool.hpp --- old/fplll-5.3.1/fplll/io/thread_pool.hpp 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/fplll/io/thread_pool.hpp 2020-01-09 15:50:30.000000000 +0100 @@ -27,8 +27,10 @@ * * \*********************************************************************************/ -#ifndef THREAD_POOL_HPP -#define THREAD_POOL_HPP +// this file is slightly modified for fplll to use specialized header guards and namespace + +#ifndef FPLLL_THREAD_POOL_HPP +#define FPLLL_THREAD_POOL_HPP #include <cstdint> #include <memory> @@ -42,6 +44,10 @@ #include <future> #include <atomic> + +#include <fplll/defs.h> +FPLLL_BEGIN_NAMESPACE + /*************************** example usage ***************************************\ grep "^//test.cpp" thread_pool.hpp -A33 > test.cpp g++ -std=c++11 -o test test.cpp -pthread -lpthread @@ -342,4 +348,6 @@ } // namespace thread_pool -#endif // THREAD_POOL_HPP +FPLLL_END_NAMESPACE + +#endif // FPLLL_THREAD_POOL_HPP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/fplll/threadpool.cpp new/fplll-5.3.2/fplll/threadpool.cpp --- old/fplll-5.3.1/fplll/threadpool.cpp 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/fplll/threadpool.cpp 2020-01-09 15:50:30.000000000 +0100 @@ -17,7 +17,7 @@ FPLLL_BEGIN_NAMESPACE -thread_pool::thread_pool threadpool(std::thread::hardware_concurrency() - 1); +thread_pool::thread_pool threadpool; /* get and set number of threads in threadpool, both return the (new) number of threads */ int get_threads() { return threadpool.size() + 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fplll-5.3.1/fplll/wrapper.cpp new/fplll-5.3.2/fplll/wrapper.cpp --- old/fplll-5.3.1/fplll/wrapper.cpp 2019-12-14 17:57:49.000000000 +0100 +++ new/fplll-5.3.2/fplll/wrapper.cpp 2020-01-09 15:50:30.000000000 +0100 @@ -810,7 +810,7 @@ double theta, double c, LLLMethod method, IntType int_type, FloatType float_type, int precision, int flags, bool nolll) { - FPLLL_CHECK(method != LM_HEURISTIC, "HLLL heuristic is not implementated."); + FPLLL_CHECK(method != LM_HEURISTIC, "HLLL heuristic is not implemented."); int sel_prec = 0; int status = -1;
