Bug#730901: syrthes: FTBFS: medC_win_dll.h:23:2: error: #error "MED_API_23 must be defined before including medC_win_dll.h"

David Suárez david.sephirot at gmail.com
Sat Nov 30 15:34:47 UTC 2013


Source: syrthes
Version: 3.4.3-dfsg1-6
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131128 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):
> cc  -o convert2syrthes -O -DMED -I. -I/usr/include/2.3.6 -I/usr/include/openmpi ecriture_syr.c lecture_neu.c lecture_msh.c lecture_med.c convert2syrthes.c -lmedC 
> In file included from /usr/include/2.3.6/med_proto.h:21:0,
>                  from /usr/include/2.3.6/med.h:143,
>                  from lecture_med.c:44:
> /usr/include/2.3.6/medC_win_dll.h:23:2: error: #error "MED_API_23 must be defined before including medC_win_dll.h"
>  #error "MED_API_23 must be defined before including medC_win_dll.h"
>   ^
> lecture_med.c: In function 'ouvrir_med':
> lecture_med.c:60:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>    (*maillage).fichier_ext = (FILE *) fid;
>                              ^
> lecture_med.c: In function 'fermer_med':
> lecture_med.c:127:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>     if (MEDfermer((int) (*maillage).fichier_ext) < 0) {
>                   ^
> lecture_med.c: In function 'lire_entete_med':
> lecture_med.c:139:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> lecture_med.c: In function 'lire_coord_med':
> lecture_med.c:309:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> lecture_med.c: In function 'lire_noeuds_colores_med':
> lecture_med.c:394:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> lecture_med.c: In function 'lire_elem_med':
> lecture_med.c:427:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> lecture_med.c: In function 'lire_zones_med':
> lecture_med.c:538:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> lecture_med.c: In function 'lire_cl_med':
> lecture_med.c:624:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    med_idt fid = (int) (*maillage).fichier_ext;
>                  ^
> make[2]: *** [exe] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/28/syrthes_3.4.3-dfsg1-6_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 debian-science-maintainers mailing list