Bug#646466: syrthes: FTBFS: lecture_med.c:59:27: error: 'MED_LECTURE' undeclared (first use in this function)

Mònica Ramírez Arceda monica at probeta.net
Mon Oct 24 11:22:36 UTC 2011


Source: syrthes
Version: 3.4.3-dfsg1-4
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20111022 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> cc  -o convert2syrthes -O -DMED -I. -I/usr/include/openmpi ecriture_syr.c lecture_neu.c lecture_msh.c lecture_med.c convert2syrthes.c -lmedC 
> lecture_med.c: In function 'ouvrir_med':
> lecture_med.c:59:27: error: 'MED_LECTURE' undeclared (first use in this function)
> lecture_med.c:59:27: note: each undeclared identifier is reported only once for each function it appears in
> lecture_med.c:60:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 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]
> 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]
> lecture_med.c:143:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:144:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:145:3: error: unknown type name 'med_maillage'
> lecture_med.c:170:15: error: 'MED_NON_STRUCTURE' undeclared (first use in this function)
> lecture_med.c:176:45: error: 'MED_COOR' undeclared (first use in this function)
> lecture_med.c:176:54: error: 'MED_NOEUD' undeclared (first use in this function)
> lecture_med.c:184:36: error: 'MED_CONN' undeclared (first use in this function)
> lecture_med.c:184:45: error: 'MED_MAILLE' undeclared (first use in this function)
> lecture_med.c:278:28: error: 'MED_TAILLE_LNOM' undeclared (first use in this function)
> 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]
> lecture_med.c:313:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:318:17: error: 'MED_TAILLE_PNOM' undeclared (first use in this function)
> lecture_med.c:323:3: error: unknown type name 'med_repere'
> lecture_med.c:326:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:327:3: error: unknown type name 'med_maillage'
> lecture_med.c:338:54: error: 'MED_ALL' undeclared (first use in this function)
> lecture_med.c:344:14: error: 'MED_CART' undeclared (first use in this function)
> 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]
> lecture_med.c:395:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:396:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:397:3: error: unknown type name 'med_maillage'
> lecture_med.c:415:70: error: 'MED_NOEUD' undeclared (first use in this function)
> 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]
> lecture_med.c:431:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:432:12: error: 'MED_TAILLE_PNOM' undeclared (first use in this function)
> lecture_med.c:434:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:435:3: error: unknown type name 'med_maillage'
> lecture_med.c:457:73: error: 'MED_MAILLE' undeclared (first use in this function)
> lecture_med.c:457:96: error: 'MED_NOD' undeclared (first use in this function)
> 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]
> lecture_med.c:542:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:543:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:544:3: error: unknown type name 'med_maillage'
> lecture_med.c:567:76: error: 'MED_MAILLE' undeclared (first use in this function)
> 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]
> lecture_med.c:628:12: error: 'MED_TAILLE_NOM' undeclared (first use in this function)
> lecture_med.c:629:12: error: 'MED_TAILLE_PNOM' undeclared (first use in this function)
> lecture_med.c:631:13: error: 'MED_TAILLE_DESC' undeclared (first use in this function)
> lecture_med.c:632:3: error: unknown type name 'med_maillage'
> lecture_med.c:686:73: error: 'MED_MAILLE' undeclared (first use in this function)
> lecture_med.c:686:94: error: 'MED_NOD' undeclared (first use in this function)
> make[2]: *** [exe] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/10/22/syrthes_3.4.3-dfsg1-4_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the debian-science-maintainers mailing list