Bug#733381: gpx2shp: FTBFS: geod_set.c:32:2: error: too few arguments to function 'pj_ell_set'

David Suárez david.sephirot at gmail.com
Sat Dec 28 17:53:53 UTC 2013


Source: gpx2shp
Version: 0.70-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I.   -g  -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -c -o geod_set.o geod_set.c
> geod_set.c: In function 'geod_set':
> geod_set.c:32:2: warning: passing argument 1 of 'pj_ell_set' from incompatible pointer type [enabled by default]
>   if (pj_ell_set(start, &geod_a, &es))
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:365:5: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  int pj_ell_set(projCtx ctx, paralist *, double *, double *);
>      ^
> geod_set.c:32:2: warning: passing argument 2 of 'pj_ell_set' from incompatible pointer type [enabled by default]
>   if (pj_ell_set(start, &geod_a, &es))
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:365:5: note: expected 'struct paralist *' but argument is of type 'double *'
>  int pj_ell_set(projCtx ctx, paralist *, double *, double *);
>      ^
> geod_set.c:32:2: error: too few arguments to function 'pj_ell_set'
>   if (pj_ell_set(start, &geod_a, &es))
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:365:5: note: declared here
>  int pj_ell_set(projCtx ctx, paralist *, double *, double *);
>      ^
> geod_set.c:37:2: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>   if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:37:2: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>   if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:37:2: error: too few arguments to function 'pj_param'
>   if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:60:2: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>   if (pj_param(start, "tlat_1").i) {
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:60:2: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>   if (pj_param(start, "tlat_1").i) {
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:60:2: error: too few arguments to function 'pj_param'
>   if (pj_param(start, "tlat_1").i) {
>   ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:63:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    phi1 = pj_param(start, "rlat_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:63:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    phi1 = pj_param(start, "rlat_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:63:3: error: too few arguments to function 'pj_param'
>    phi1 = pj_param(start, "rlat_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:64:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    lam1 = pj_param(start, "rlon_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:64:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    lam1 = pj_param(start, "rlon_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:64:3: error: too few arguments to function 'pj_param'
>    lam1 = pj_param(start, "rlon_1").f;
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:65:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    if (pj_param(start, "tlat_2").i) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:65:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    if (pj_param(start, "tlat_2").i) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:65:3: error: too few arguments to function 'pj_param'
>    if (pj_param(start, "tlat_2").i) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:66:4: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>     phi2 = pj_param(start, "rlat_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:66:4: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>     phi2 = pj_param(start, "rlat_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:66:4: error: too few arguments to function 'pj_param'
>     phi2 = pj_param(start, "rlat_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:67:4: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>     lam2 = pj_param(start, "rlon_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:67:4: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>     lam2 = pj_param(start, "rlon_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:67:4: error: too few arguments to function 'pj_param'
>     lam2 = pj_param(start, "rlon_2").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:70:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((geod_S = pj_param(start, "dS").f)) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:70:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((geod_S = pj_param(start, "dS").f)) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:70:3: error: too few arguments to function 'pj_param'
>    } else if ((geod_S = pj_param(start, "dS").f)) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:73:4: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>     al12 = pj_param(start, "rA").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:73:4: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>     al12 = pj_param(start, "rA").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:73:4: error: too few arguments to function 'pj_param'
>     al12 = pj_param(start, "rA").f;
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:78:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    if ((n_alpha = pj_param(start, "in_A").i) > 0) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:78:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    if ((n_alpha = pj_param(start, "in_A").i) > 0) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:78:3: error: too few arguments to function 'pj_param'
>    if ((n_alpha = pj_param(start, "in_A").i) > 0) {
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:79:4: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>     if (!(del_alpha = pj_param(start, "rdel_A").f))
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:79:4: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>     if (!(del_alpha = pj_param(start, "rdel_A").f))
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:79:4: error: too few arguments to function 'pj_param'
>     if (!(del_alpha = pj_param(start, "rdel_A").f))
>     ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:81:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:81:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:81:3: error: too few arguments to function 'pj_param'
>    } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:85:3: warning: passing argument 1 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((n_S = pj_param(start, "in_S").i) <= 0)
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'projCtx' but argument is of type 'struct paralist *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:85:3: warning: passing argument 2 of 'pj_param' from incompatible pointer type [enabled by default]
>    } else if ((n_S = pj_param(start, "in_S").i) <= 0)
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: expected 'struct paralist *' but argument is of type 'char *'
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> geod_set.c:85:3: error: too few arguments to function 'pj_param'
>    } else if ((n_S = pj_param(start, "in_S").i) <= 0)
>    ^
> In file included from geod_set.c:10:0:
> /usr/include/projects.h:363:8: note: declared here
>  PVALUE pj_param(projCtx ctx, paralist *, const char *);
>         ^
> make[3]: *** [geod_set.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/gpx2shp_0.70-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-grass-devel mailing list