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

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Dec 11 08:31:20 UTC 2009


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.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-ofed-devel mailing list