Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1178946 > unrolled thread
| Started by | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| First post | 2023-12-16 21:40 +0100 |
| Last post | 2023-12-16 21:40 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#1058814: flint-arb: FTBFS: /<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration Sebastian Ramacher <sramacher@debian.org> - 2023-12-16 21:40 +0100
| From | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| Date | 2023-12-16 21:40 +0100 |
| Subject | Bug#1058814: flint-arb: FTBFS: /<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration |
| Message-ID | <HLJC2-e2Nj-3@gated-at.bofh.it> |
Source: flint-arb
Version: 1:2.23.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
https://buildd.debian.org/status/fetch.php?pkg=flint-arb&arch=amd64&ver=1%3A2.23.0-1%2Bb2&stamp=1702719943&raw=0
gcc -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/<<PKGBUILDDIR>> -I/usr/local/include -I/usr/local/include -I/usr/include -c add_si.c -o ../build/fmpr/add_si.lo -MMD -MP -MF "../build/fmpr/add_si.d" -MT "../build/fmpr/add_si.d" -MT "../build/fmpr/add_si.lo"
In file included from /<<PKGBUILDDIR>>/fmpr.h:30,
from add_naive.c:12:
/<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration
208 | fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e)
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:23:
/usr/include/flint/fmpz.h:422:6: note: previous declaration of ‘fmpz_ui_pow_ui’ with type ‘void(fmpz *, mp_limb_t, mp_limb_t)’ {aka ‘void(long int *, long unsigned int, long unsigned int)’}
422 | void fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e);
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_ui’:
/<<PKGBUILDDIR>>/fmpr.h:360:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
360 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_si’:
/<<PKGBUILDDIR>>/fmpr.h:375:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
375 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:30,
from add_eps.c:12:
/<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration
208 | fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e)
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:30,
from add_fmpz.c:12:
/<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration
208 | fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e)
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:23:
/usr/include/flint/fmpz.h:422:6: note: previous declaration of ‘fmpz_ui_pow_ui’ with type ‘void(fmpz *, mp_limb_t, mp_limb_t)’ {aka ‘void(long int *, long unsigned int, long unsigned int)’}
422 | void fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e);
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:23:
/usr/include/flint/fmpz.h:422:6: note: previous declaration of ‘fmpz_ui_pow_ui’ with type ‘void(fmpz *, mp_limb_t, mp_limb_t)’ {aka ‘void(long int *, long unsigned int, long unsigned int)’}
422 | void fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e);
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:30,
from add.c:12:
/<<PKGBUILDDIR>>/fmpz_extras.h:208:1: error: static declaration of ‘fmpz_ui_pow_ui’ follows non-static declaration
208 | fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e)
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/fmpr.h:23:
/usr/include/flint/fmpz.h:422:6: note: previous declaration of ‘fmpz_ui_pow_ui’ with type ‘void(fmpz *, mp_limb_t, mp_limb_t)’ {aka ‘void(long int *, long unsigned int, long unsigned int)’}
422 | void fmpz_ui_pow_ui(fmpz_t x, ulong b, ulong e);
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_ui’:
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_ui’:
/<<PKGBUILDDIR>>/fmpr.h:360:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
360 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h:360:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
360 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_si’:
/<<PKGBUILDDIR>>/fmpr.h:375:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
375 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_si’:
/<<PKGBUILDDIR>>/fmpr.h:375:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
375 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_ui’:
/<<PKGBUILDDIR>>/fmpr.h:360:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
360 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/fmpr.h: In function ‘fmpr_set_si’:
/<<PKGBUILDDIR>>/fmpr.h:375:11: error: 'count_trailing_zeros' is deprecated. Use 'flint_ctz' instead.
375 | count_trailing_zeros(b, c);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [../Makefile.subdirs:60: ../build/fmpr/add_naive.lo] Error 1
Cheers
--
Sebastian Ramacher
Back to top | Article view | linux.debian.bugs.dist
csiph-web