Bug#707452: mpich2: FTBFS: topo_hwloc.c:70: undefined reference to `hwloc_cpuset_zero'

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 9 08:10:03 UTC 2013


Source: mpich2
Version: 1.4.1-4.2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -I./../../mpl/include -I./../../mpl/include -I./tools/topo -I./tools/topo/plpa/plpa/src/libplpa -I./tools/topo/plpa/plpa/src/libplpa  -I./tools/bootstrap/include -I./tools/bootstrap/utils -I./tools/ckpoint -I./tools/demux -I./tools/debugger -I./tools/ftb -I./pm/include -I./pm/utils -I./ui/include -I./ui/utils -DHYDRA_CONF_FILE=\"/etc/mpich2/mpiexec.hydra.conf\" -D_FORTIFY_SOURCE=2 -I/«PKGBUILDDIR»/src/mpl/include -I/«PKGBUILDDIR»/src/mpl/include -I/«PKGBUILDDIR»/src/openpa/src -I/«PKGBUILDDIR»/src/openpa/src -I/«PKGBUILDDIR»/src/mpid/ch3/include -I/«PKGBUILDDIR»/src/mpid/ch3/include -I/«PKGBUILDDIR»/src/mpid/common/datatype -I/«PKGBUILDDIR»/src/mpid/common/datatype -I/«PKGBUILDDIR»/src/mpid/common/locks -I/«PKGBUILDDIR»/src/mpid/common/locks -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/include -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/include -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/nemesis/include -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/nemesis/include -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor -I/«PKGBUILDDIR»/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor -I/«PKGBUILDDIR»/src/util/wrappers -I/«PKGBUILDDIR»/src/util/wrappers  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2  -g -c -o hydra_persist-persist_server.o `test -f './tools/bootstrap/persist/persist_server.c' || echo './'`./tools/bootstrap/persist/persist_server.c
> /bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2  -g -L./../../mpl -L./tools/topo/plpa/plpa/src/libplpa  -L. -Wl,-z,relro -lnsl -o hydra_persist hydra_persist-persist_server.o -lhydra -lmpl -lplpa_included  -lcr -lpthread -lhwloc 
> libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2 -g -Wl,-z -Wl,relro -o .libs/hydra_persist hydra_persist-persist_server.o  -L/«PKGBUILDDIR»/src/mpl -L/«PKGBUILDDIR»/src/pm/hydra/tools/topo/plpa/plpa/src/libplpa -L/«PKGBUILDDIR»/src/pm/hydra /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a /«PKGBUILDDIR»/src/mpl/.libs/libmpl.so /«PKGBUILDDIR»/src/pm/hydra/tools/topo/plpa/plpa/src/libplpa/.libs/libplpa_included.a -lnsl /usr/lib/libcr.so -lpthread -lhwloc
> /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o): In function `hydra_to_hwloc_cpuset_dup':
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:70: undefined reference to `hwloc_cpuset_zero'
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:73: undefined reference to `hwloc_cpuset_set'
> /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o): In function `hwloc_to_hydra_cpuset_dup':
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:56: undefined reference to `hwloc_cpuset_isset'
> /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o): In function `get_cache_nbobjs':
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:86: undefined reference to `hwloc_cpuset_compare'
> /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o): In function `load_cache_objs':
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:100: undefined reference to `hwloc_cpuset_compare'
> /«PKGBUILDDIR»/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o): In function `HYDT_topo_hwloc_bind':
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:329: undefined reference to `hwloc_cpuset_alloc'
> /«PKGBUILDDIR»/src/pm/hydra/./tools/topo/hwloc/topo_hwloc.c:337: undefined reference to `hwloc_cpuset_free'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2013/05/09/mpich2_1.4.1-4.2_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