[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990771: RFS: s2geometry/0.9.0-1 [ITP] -- Computational geometry and spatial indexing on the sphere



Control: tags -1 moreinfo

On Tue, 6 Jul 2021 15:30:40 -0300 Emmanuel Arias <eamanu@yaerobi.com> wrote:
Changes for the initial release:

 s2geometry (0.9.0-1) unstable; urgency=low
 .
   * Initial release. Closes: #962686

FTBFS on i386. Please untag moreinfo when you have provided a fixed version.

[ 36%] Building CXX object CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o
/usr/bin/c++ -DABSL_MIN_LOG_LEVEL=1 -I/usr/include/python3.9 -I/home/bage/s2geometry-0.9.0/src -I/usr/src/gtest/include -g -O2 -ffile-prefix-map=/home/bage/s2geometry-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-attributes -Wno-deprecated-declarations -std=c++11 -MD -MT CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o -MF CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o.d -o CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o -c /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc: In function ‘uint64 BN_ext_get_uint64(const BIGNUM*)’: /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:104:9: error: invalid use of incomplete type ‘const BIGNUM’ {aka ‘const struct bignum_st’}
  104 |   if (bn->top == 0) return 0;
      |         ^~
In file included from /usr/include/openssl/bn.h:19,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:119,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
   80 | typedef struct bignum_st BIGNUM;
      |                ^~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:105:9: error: invalid use of incomplete type ‘const BIGNUM’ {aka ‘const struct bignum_st’}
  105 |   if (bn->top == 1) return BN_get_word(bn);
      |         ^~
In file included from /usr/include/openssl/bn.h:19,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:119,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
   80 | typedef struct bignum_st BIGNUM;
      |                ^~~~~~~~~
In file included from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:122,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:106:18: error: invalid use of incomplete type ‘const BIGNUM’ {aka ‘const struct bignum_st’}
  106 |   S2_DCHECK_EQ(bn->top, 2);
      |                  ^~
/home/bage/s2geometry-0.9.0/src/s2/base/logging.h:131:7: note: in definition of macro ‘S2_LOG_IF’
  131 |     !(condition) ? (void)0 : S2LogMessageVoidify() & S2_LOG(severity)
      |       ^~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/base/logging.h:134:22: note: in expansion of macro ‘ABSL_PREDICT_FALSE’
  134 |     S2_LOG_IF(FATAL, ABSL_PREDICT_FALSE(!(condition))) \
      |                      ^~~~~~~~~~~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/base/logging.h:140:19: note: in expansion of macro ‘S2_CHECK’
  140 | #define S2_DCHECK S2_CHECK
      |                   ^~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/base/logging.h:160:34: note: in expansion of macro ‘S2_DCHECK_OP’
  160 | #define S2_DCHECK_EQ(val1, val2) S2_DCHECK_OP(==, val1, val2)
      |                                  ^~~~~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:106:3: note: in expansion of macro ‘S2_DCHECK_EQ’
  106 |   S2_DCHECK_EQ(bn->top, 2);
      |   ^~~~~~~~~~~~
In file included from /usr/include/openssl/bn.h:19,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:119,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
   80 | typedef struct bignum_st BIGNUM;
      |                ^~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:107:33: error: invalid use of incomplete type ‘const BIGNUM’ {aka ‘const struct bignum_st’}
  107 |   return (static_cast<uint64>(bn->d[1]) << 32) + bn->d[0];
      |                                 ^~
In file included from /usr/include/openssl/bn.h:19,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:119,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
   80 | typedef struct bignum_st BIGNUM;
      |                ^~~~~~~~~
/home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:107:52: error: invalid use of incomplete type ‘const BIGNUM’ {aka ‘const struct bignum_st’}
  107 |   return (static_cast<uint64>(bn->d[1]) << 32) + bn->d[0];
      |                                                    ^~
In file included from /usr/include/openssl/bn.h:19,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.h:119,
                 from /home/bage/s2geometry-0.9.0/src/s2/util/math/exactfloat/exactfloat.cc:18:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
   80 | typedef struct bignum_st BIGNUM;
      |                ^~~~~~~~~
make[3]: *** [CMakeFiles/s2.dir/build.make:1549: CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[3]: Verzeichnis „/home/bage/s2geometry-0.9.0/obj-i686-linux-gnu“ wird verlassen
make[2]: *** [CMakeFiles/Makefile2:1766: CMakeFiles/s2.dir/all] Fehler 2
make[2]: Verzeichnis „/home/bage/s2geometry-0.9.0/obj-i686-linux-gnu“ wird verlassen
make[1]: *** [Makefile:149: all] Fehler 2
make[1]: Verzeichnis „/home/bage/s2geometry-0.9.0/obj-i686-linux-gnu“ wird verlassen
dh_auto_build: error: cd obj-i686-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2


Reply to: