Re: mathgl 1.11 upload

2010-11-15 Thread Sylvestre Ledru
No worries.

I tried to build it into a chroot and it fails:
/usr/include/hdf/hdfi.h:1011: error: conflicting declaration 'typedef
long int intf'
/usr/include/zconf.h:340: error: 'intf' has a previous declaration as
'typedef int intf'
mgl_data_io.cpp: In member function 'void mglData::ReadHDF4(const char*,
const char*)':
mgl_data_io.cpp:914: error: invalid conversion from 'int*' to 'int32*'
mgl_data_io.cpp:914: error:   initializing argument 2 of 'intn
SDfileinfo(int32, int32*, int32*)'

Sylvestre
PS: Keep the kind of reply (top-down / down-top).


Le lundi 15 novembre 2010 à 03:19 +0200, Dimitrios Eftaxiopoulos a
écrit :
 My mistake. Actually I tried to push a correction on this a few minutes ago 
 but you had already done it for me.
 
 Regards
 Dimitris
 
 Στις Δευτέρα 15 Νοέμβριος 2010 01:55:22 γράψατε:
  Hello,
  
  Le lundi 15 novembre 2010 à 02:29 +0200, Dimitrios Eftaxiopoulos a
  
  écrit :
   Hello again,
   I think that mathgl 1.11 is ready for upload, probably to experimental.
  
  Why did you tag it as unstable in the changelog ?
  
  Sylvestre
 
 



-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1289819855.6889.695.ca...@zlarin



Re: mathgl 1.11 upload

2010-11-15 Thread Dimitrios Eftaxiopoulos
Hello,

I have built the package with

$debuild

I have built it with pbuilder  with 

#pbuilder --create (did this once only)
#pbuilder --update
#pbuilder --build mathgl_1.11-1.dsc

and I have built it with

#pdebuild 

from the source directory.

I don't see any failure.

Regards
Dimitris

Στις Δευτέρα 15 Νοέμβριος 2010 13:17:35 γράψατε:
 No worries.
 
 I tried to build it into a chroot and it fails:
 /usr/include/hdf/hdfi.h:1011: error: conflicting declaration 'typedef
 long int intf'
 /usr/include/zconf.h:340: error: 'intf' has a previous declaration as
 'typedef int intf'
 mgl_data_io.cpp: In member function 'void mglData::ReadHDF4(const char*,
 const char*)':
 mgl_data_io.cpp:914: error: invalid conversion from 'int*' to 'int32*'
 mgl_data_io.cpp:914: error:   initializing argument 2 of 'intn
 SDfileinfo(int32, int32*, int32*)'
 
 Sylvestre
 PS: Keep the kind of reply (top-down / down-top).
 
 
 Le lundi 15 novembre 2010 à 03:19 +0200, Dimitrios Eftaxiopoulos a
 
 écrit :
  My mistake. Actually I tried to push a correction on this a few minutes
  ago but you had already done it for me.
  
  Regards
  Dimitris
  
  Στις Δευτέρα 15 Νοέμβριος 2010 01:55:22 γράψατε:
   Hello,
   
   Le lundi 15 novembre 2010 à 02:29 +0200, Dimitrios Eftaxiopoulos a
   
   écrit :
Hello again,
I think that mathgl 1.11 is ready for upload, probably to
experimental.
   
   Why did you tag it as unstable in the changelog ?
   
   Sylvestre


--
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201011151602.17149.eftax...@otenet.gr



Re: mathgl 1.11 upload

2010-11-15 Thread Aaron M. Ucko
Sylvestre Ledru sylves...@debian.org writes:

 I tried to build it into a chroot and it fails:
 /usr/include/hdf/hdfi.h:1011: error: conflicting declaration 'typedef
 long int intf'
 /usr/include/zconf.h:340: error: 'intf' has a previous declaration as
 'typedef int intf'

This looks like an architecture-specific issue; hdfi.h typedefs intf to
be long on i386 and int on amd64, whereas zconf.h uses int regardless.
The types are the same size on i386, but still formally distinct, hence
the error.  To work around it, you may have to use the preprocessor to
divert one library's definition:

[...]
#include zlib.h
#ifdef HAVE_HDF5
#include hdf5.h
#endif
#ifdef HAVE_HDF4
#define intf hdf4_intf
#include hdf/mfhdf.h
#undef intf
#endif
[...]

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?...@monk.mit.edu


-- 
To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/udl7hgemwci@dr-wily.mit.edu