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

Bug #1277953 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpx2shp (Debian)
Fix Released
Unknown
gpx2shp (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/733381:

Source: gpx2shp
Version: 0.70-1
Severity: serious
Tags: jessie sid
User: <email address hidden>
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.

Tags: ftbfs trusty
Andreas Moog (ampelbein)
Changed in gpx2shp (Ubuntu):
importance: Undecided → High
tags: added: ftbfs trusty
Changed in gpx2shp (Debian):
importance: Undecided → Unknown
Changed in gpx2shp (Debian):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

This bug was fixed in the package gpx2shp - 0.71.0-1

---------------
gpx2shp (0.71.0-1) unstable; urgency=low

  * New upstream release.

 -- Petter Reinholdtsen <email address hidden> Mon, 03 Mar 2014 20:03:21 +0100

gpx2shp (0.71-1) unstable; urgency=low

  * New upstream release.
    - Fix build problem with newer proj library (Closes: #733381).
  * Updated watch file from
    <URL: http://qa.debian.org/cgi-bin/watchfile.cgi?package=gpx2shp >
  * Updated standards-version from 0.9.4 to 0.9.5. No changes needed.
  * Update from debhelper compat level 8 to 9 to enable hardening.

 -- Petter Reinholdtsen <email address hidden> Sat, 01 Mar 2014 21:44:16 +0100

Changed in gpx2shp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.