[Debian-astro-maintainers] Bug#1077254: cpl-plugin-uves FTBFS with gcc 14

Adrian Bunk bunk at debian.org
Sat Jul 27 12:40:38 BST 2024


Source: cpl-plugin-uves
Version: 6.1.8+dfsg-2
Severity: serious
Tags: ftbfs trixie sid

https://buildd.debian.org/status/logs.php?pkg=cpl-plugin-uves&ver=6.1.8%2Bdfsg-2%2Bb3

...
uves_reduce_scired.c: In function 'uves_flux_calibrate_spectra':
uves_reduce_scired.c:145:44: error: passing argument 1 of 'uves_pfits_get_airm_mean' from incompatible pointer type [-Wincompatible-pointer-types]
  145 |     double airm = uves_pfits_get_airm_mean(phead);
      |                                            ^~~~~
      |                                            |
      |                                            const uves_propertylist * {aka const struct _uves_propertylist_ *}
In file included from uves_reduce_scired.c:53:
./uves_pfits.h:582:59: note: expected 'const cpl_propertylist *' {aka 'const struct _cpl_propertylist_ *'} but argument is of type 'const uves_propertylist *' {aka 'const struct _uves_propertylist_ *'}
  582 | double uves_pfits_get_airm_mean (const cpl_propertylist * plist);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
...
uves_reduce_scired.c:283:57: error: passing argument 1 of 'cpl_propertylist_duplicate' from incompatible pointer type [-Wincompatible-pointer-types]
  283 |     cpl_propertylist* head = cpl_propertylist_duplicate(rhead);
      |                                                         ^~~~~
      |                                                         |
      |                                                         const uves_propertylist * {aka const struct _uves_propertylist_ *}
In file included from /usr/include/cpl_vector.h:31,
                 from /usr/include/cpl_bivector.h:28,
                 from /usr/include/cpl.h:24,
                 from ./uves_reduce_scired.h:39,
                 from uves_reduce_scired.c:44:
/usr/include/cpl_propertylist.h:60:52: note: expected 'const cpl_propertylist *' {aka 'const struct _cpl_propertylist_ *'} but argument is of type 'const uves_propertylist *' {aka 'const struct _uves_propertylist_ *'}
   60 | cpl_propertylist_duplicate(const cpl_propertylist *other) CPL_ATTR_ALLOC;
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
uves_reduce_scired.c:288:28: error: passing argument 1 of 'uves_free_propertylist' from incompatible pointer type [-Wincompatible-pointer-types]
  288 |     uves_free_propertylist(&head);
      |                            ^~~~~
      |                            |
      |                            cpl_propertylist ** {aka struct _cpl_propertylist_ **}
In file included from ./uves_parameters.h:76,
                 from uves_reduce_scired.c:54:
./uves_utils_wrappers.h:160:49: note: expected 'uves_propertylist **' {aka 'struct _uves_propertylist_ **'} but argument is of type 'cpl_propertylist **' {aka 'struct _cpl_propertylist_ **'}
  160 | void uves_free_propertylist(uves_propertylist **p);
      |                             ~~~~~~~~~~~~~~~~~~~~^
...



More information about the Debian-astro-maintainers mailing list