Hello Cyril, I could verify at https://buildd.debian.org/status/package.php?p=units-filter that the package builds again on kfreebsd-amd64 and s390x.
Best regards, Georges.
Cyril Brulebois a écrit :
> Source: units-filter
> Version: 3.6-1
> Severity: serious
> Justification: FTBFS
>
> Hi,
>
> your package no longer builds on kfreebsd-amd64 and s390x. Build excerpt:
> | g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security -g -c -DRECODE_SUPPORT=1 unitesparser.cc
> | In file included from unites.h:5:0,
> | from unites.y:6:
> | /usr/include/mpreal.h:174:5: error: 'mpfr::mpreal::mpreal(uint64_t,
> mpfr_prec_t, mpfr_rnd_t)' cannot be overloaded
> | mpreal(const uint64_t u, mp_prec_t prec =
> mpreal::get_default_prec(), mp_rnd_t mode = mpreal::get_default_rnd());
> | ^
> | /usr/include/mpreal.h:164:5: error: with 'mpfr::mpreal::mpreal(long
> unsigned int, mpfr_prec_t, mpfr_rnd_t)'
> | mpreal(const unsigned long int u, mp_prec_t prec =
> mpreal::get_default_prec(), mp_rnd_t mode = mpreal::get_default_rnd());
> | ^
> | /usr/include/mpreal.h:175:5: error: 'mpfr::mpreal::mpreal(int64_t,
> mpfr_prec_t, mpfr_rnd_t)' cannot be overloaded
> | mpreal(const int64_t u, mp_prec_t prec =
> mpreal::get_default_prec(), mp_rnd_t mode = mpreal::get_default_rnd());
> | ^
> | /usr/include/mpreal.h:166:5: error: with 'mpfr::mpreal::mpreal(long int,
> mpfr_prec_t, mpfr_rnd_t)'
> | mpreal(const long int u, mp_prec_t prec =
> mpreal::get_default_prec(), mp_rnd_t mode = mpreal::get_default_rnd());
> | ^
> | /usr/include/mpreal.h:221:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator+=(int64_t)' cannot be overloaded
> | mpreal& operator+=(const int64_t u);
> | ^
> | /usr/include/mpreal.h:217:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator+=(long int)'
> | mpreal& operator+=(const long int u);
> | ^
> | /usr/include/mpreal.h:222:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator+=(uint64_t)' cannot be overloaded
> | mpreal& operator+=(const uint64_t u);
> | ^
> | /usr/include/mpreal.h:215:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator+=(long unsigned int)'
> | mpreal& operator+=(const unsigned long int u);
> | ^
> | /usr/include/mpreal.h:241:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator-=(long unsigned int)' cannot be overloaded
> | mpreal& operator-=(const unsigned long int u);
> | ^
> | /usr/include/mpreal.h:224:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator-=(uint64_t)'
> | mpreal& operator-=(const uint64_t u);
> | ^
> | /usr/include/mpreal.h:243:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator-=(long int)' cannot be overloaded
> | mpreal& operator-=(const long int u);
> | ^
> | /usr/include/mpreal.h:223:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator-=(int64_t)'
> | mpreal& operator-=(const int64_t u);
> | ^
> | /usr/include/mpreal.h:260:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator*=(long unsigned int)' cannot be overloaded
> | mpreal& operator*=(const unsigned long int v);
> | ^
> | /usr/include/mpreal.h:226:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator*=(uint64_t)'
> | mpreal& operator*=(const uint64_t u);
> | ^
> | /usr/include/mpreal.h:262:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator*=(long int)' cannot be overloaded
> | mpreal& operator*=(const long int v);
> | ^
> | /usr/include/mpreal.h:225:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator*=(int64_t)'
> | mpreal& operator*=(const int64_t u);
> | ^
> | /usr/include/mpreal.h:271:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator/=(long unsigned int)' cannot be overloaded
> | mpreal& operator/=(const unsigned long int v);
> | ^
> | /usr/include/mpreal.h:228:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator/=(uint64_t)'
> | mpreal& operator/=(const uint64_t u);
> | ^
> | /usr/include/mpreal.h:273:13: error: 'mpfr::mpreal&
> mpfr::mpreal::operator/=(long int)' cannot be overloaded
> | mpreal& operator/=(const long int v);
> | ^
> | /usr/include/mpreal.h:227:13: error: with 'mpfr::mpreal&
> mpfr::mpreal::operator/=(int64_t)'
> | mpreal& operator/=(const int64_t u);
> | ^
> | /usr/include/mpreal.h:703:8: error: redefinition of
> 'mpfr::mpreal::mpreal(uint64_t, mpfr_prec_t, mpfr_rnd_t)'
> | inline mpreal::mpreal(const uint64_t u, mp_prec_t prec, mp_rnd_t mode)
> | ^
> | /usr/include/mpreal.h:670:8: error: 'mpfr::mpreal::mpreal(long unsigned
> int, mpfr_prec_t, mpfr_rnd_t)' previously defined here
> | inline mpreal::mpreal(const unsigned long int u, mp_prec_t prec, mp_rnd_t
> mode)
> | ^
> | /usr/include/mpreal.h:711:8: error: redefinition of
> 'mpfr::mpreal::mpreal(int64_t, mpfr_prec_t, mpfr_rnd_t)'
> | inline mpreal::mpreal(const int64_t u, mp_prec_t prec, mp_rnd_t mode)
> | ^
> | /usr/include/mpreal.h:686:8: error: 'mpfr::mpreal::mpreal(long int,
> mpfr_prec_t, mpfr_rnd_t)' previously defined here
> | inline mpreal::mpreal(const long int u, mp_prec_t prec, mp_rnd_t mode)
> | ^
> | /usr/include/mpreal.h:768:24: error: redefinition of 'struct
> mpfr::internal::result_type<long int>'
> | template <> struct result_type<int64_t > {typedef mpreal
> type;};
> | ^
> | /usr/include/mpreal.h:764:24: error: previous definition of 'struct
> mpfr::internal::result_type<long int>'
> | template <> struct result_type<long int> {typedef mpreal
> type;};
> | ^
> | /usr/include/mpreal.h:769:24: error: redefinition of 'struct
> mpfr::internal::result_type<long unsigned int>'
> | template <> struct result_type<uint64_t > {typedef mpreal
> type;};
> | ^
> | /usr/include/mpreal.h:762:24: error: previous definition of 'struct
> mpfr::internal::result_type<long unsigned int>'
> | template <> struct result_type<unsigned long int> {typedef mpreal
> type;};
> | ^
> | /usr/include/mpreal.h:1136:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator+=(int64_t)'
> | inline mpreal& mpreal::operator+=(const int64_t u){ *this +=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1121:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator+=(long int)' previously defined here
> | inline mpreal& mpreal::operator+=(const long int u)
> | ^
> | /usr/include/mpreal.h:1137:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator+=(uint64_t)'
> | inline mpreal& mpreal::operator+=(const uint64_t u){ *this +=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1107:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator+=(long unsigned int)' previously defined here
> | inline mpreal& mpreal::operator+=(const unsigned long int u)
> | ^
> | /usr/include/mpreal.h:1221:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator-=(long unsigned int)'
> | inline mpreal& mpreal::operator-=(const unsigned long int v)
> | ^
> | /usr/include/mpreal.h:1139:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator-=(uint64_t)' previously defined here
> | inline mpreal& mpreal::operator-=(const uint64_t u){ *this -=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1235:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator-=(long int)'
> | inline mpreal& mpreal::operator-=(const long int v)
> | ^
> | /usr/include/mpreal.h:1138:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator-=(int64_t)' previously defined here
> | inline mpreal& mpreal::operator-=(const int64_t u){ *this -=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1345:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator*=(long unsigned int)'
> | inline mpreal& mpreal::operator*=(const unsigned long int v)
> | ^
> | /usr/include/mpreal.h:1141:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator*=(uint64_t)' previously defined here
> | inline mpreal& mpreal::operator*=(const uint64_t u){ *this *=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1359:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator*=(long int)'
> | inline mpreal& mpreal::operator*=(const long int v)
> | ^
> | /usr/include/mpreal.h:1140:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator*=(int64_t)' previously defined here
> | inline mpreal& mpreal::operator*=(const int64_t u){ *this *=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1421:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator/=(long unsigned int)'
> | inline mpreal& mpreal::operator/=(const unsigned long int v)
> | ^
> | /usr/include/mpreal.h:1143:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator/=(uint64_t)' previously defined here
> | inline mpreal& mpreal::operator/=(const uint64_t u){ *this /=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | /usr/include/mpreal.h:1435:16: error: redefinition of 'mpfr::mpreal&
> mpfr::mpreal::operator/=(long int)'
> | inline mpreal& mpreal::operator/=(const long int v)
> | ^
> | /usr/include/mpreal.h:1142:16: error: 'mpfr::mpreal&
> mpfr::mpreal::operator/=(int64_t)' previously defined here
> | inline mpreal& mpreal::operator/=(const int64_t u){ *this /=
> mpreal(u); MPREAL_MSVC_DEBUGVIEW_CODE; return *this; }
> | ^
> | make[2]: *** [unitesparser.o] Error 1
> | make[2]: Leaving directory `/«PKGBUILDDIR»/src'
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory `/«PKGBUILDDIR»'
> | dh_auto_build: make -j1 returned exit code 2
> | make: *** [build-arch] Error 2
> | dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
>
> Full build logs:
>
> https://buildd.debian.org/status/fetch.php?pkg=units-filter&arch=kfreebsd-amd64&ver=3.6-1&stamp=1396799120
>
> https://buildd.debian.org/status/fetch.php?pkg=units-filter&arch=s390x&ver=3.6-1&stamp=1403695605
>
> Mraw,
> KiBi.
>
--
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70
signature.asc
Description: Digital signature

