[Pkg-ofed-devel] Bug#560537: Bug#560537: opensm: FTBFS: ../include/vendor/osm_vendor.h:68:6: error: #elif with no expression

Guy Coates gmpc at sanger.ac.uk
Fri Dec 11 09:29:56 UTC 2009


Lucas Nussbaum wrote:
> Source: opensm
> Version: 3.2.6-20090317-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20091210 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
>> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -I./../../libibcommon/include -I./../../libibumad/include -I/usr/include   -Wall -g -g -O2 -MT libosmvendor_la-osm_vendor_ibumad.lo -MD -MP -MF .deps/libosmvendor_la-osm_vendor_ibumad.Tpo -c -o libosmvendor_la-osm_vendor_ibumad.lo `test -f 'osm_vendor_ibumad.c' || echo './'`osm_vendor_ibumad.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -I./../../libibcommon/include -I./../../libibumad/include -I/usr/include -Wall -g -g -O2 -MT libosmvendor_la-osm_vendor_ibumad.lo -MD -MP -MF .deps/libosmvendor_la-osm_vendor_ibumad.Tpo -c osm_vendor_ibumad.c  -fPIC -DPIC -o .libs/libosmvendor_la-osm_vendor_ibumad.o
>> In file included from osm_vendor_ibumad.c:58:
>> ../include/iba/ib_types.h: In function 'ib_path_rec_init_local':
>> ../include/iba/ib_types.h:2719: warning: dereferencing type-punned pointer will break strict-aliasing rules
>> In file included from ../include/opensm/osm_madw.h:51,
>>                  from osm_vendor_ibumad.c:62:
>> ../include/vendor/osm_vendor.h:68:6: error: #elif with no expression
>> In file included from ../include/opensm/osm_mad_pool.h:50,
>>                  from osm_vendor_ibumad.c:64:
>> ../include/vendor/osm_vendor.h:68:6: error: #elif with no expression
>> In file included from ../include/vendor/osm_vendor_api.h:47,
>>                  from ../include/opensm/osm_path.h:41,
>>                  from ../include/opensm/osm_helper.h:44,
>>                  from osm_vendor_ibumad.c:65:
>> ../include/vendor/osm_vendor.h:68:6: error: #elif with no expression
>> make[3]: *** [libosmvendor_la-osm_vendor_ibumad.lo] Error 1
> 
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2009/12/10/opensm_3.2.6-20090317-1_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.
> 
Ok, looks like this is fallout from the compiler switching from gcc-4.3 ->
gcc-4.4. http://gcc.gnu.org/gcc-4.4/porting_to.html

I have applied a fix and will get the fixed packages re-uploaded.

Cheers,

Guy

-- 
Dr. Guy Coates,  Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
Tel: +44 (0)1223 834244 x 6925
Fax: +44 (0)1223 496802


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 





More information about the Pkg-ofed-devel mailing list