Bug#718055: nlopt: FTBFS: dh_auto_test: error: unable to chdir to debian/build

David Suárez david.sephirot at gmail.com
Sun Jul 28 08:12:21 UTC 2013


Source: nlopt
Version: 2.3+dfsg-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130726 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[5]: Entering directory `/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7/swig'
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I..   -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o libnlopt_guile_la-nlopt-guile.lo `test -f 'nlopt-guile.cpp' || echo '/«BUILDDIR»/nlopt-2.3+dfsg/swig/'`nlopt-guile.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I.. -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-guile.cpp  -fPIC -DPIC -o .libs/libnlopt_guile_la-nlopt-guile.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I.. -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-guile.cpp -o libnlopt_guile_la-nlopt-guile.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -version-info 7:0:7 -Wl,-z,relro -o libnlopt_guile.la -rpath /usr/lib/x86_64-linux-gnu libnlopt_guile_la-nlopt-guile.lo ../libnlopt.la -lm 
> libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o  .libs/libnlopt_guile_la-nlopt-guile.o   -Wl,-rpath -Wl,/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7/.libs ../.libs/libnlopt.so -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o  -O2 -Wl,-z -Wl,relro   -Wl,-soname -Wl,libnlopt_guile.so.0 -o .libs/libnlopt_guile.so.0.7.0
> libtool: link: (cd ".libs" && rm -f "libnlopt_guile.so.0" && ln -s "libnlopt_guile.so.0.7.0" "libnlopt_guile.so.0")
> libtool: link: (cd ".libs" && rm -f "libnlopt_guile.so" && ln -s "libnlopt_guile.so.0.7.0" "libnlopt_guile.so")
> libtool: link: ar cru .libs/libnlopt_guile.a  libnlopt_guile_la-nlopt-guile.o
> libtool: link: ranlib .libs/libnlopt_guile.a
> libtool: link: ( cd ".libs" && rm -f "libnlopt_guile.la" && ln -s "../libnlopt_guile.la" "libnlopt_guile.la" )
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I..  -I/usr/include/python2.7 -I/usr/lib/pymodules/python2.7/numpy/core/include -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o _nlopt_la-nlopt-python.lo `test -f 'nlopt-python.cpp' || echo '/«BUILDDIR»/nlopt-2.3+dfsg/swig/'`nlopt-python.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I.. -I/usr/include/python2.7 -I/usr/lib/pymodules/python2.7/numpy/core/include -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp  -fPIC -DPIC -o .libs/_nlopt_la-nlopt-python.o
> In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1728:0,
>                  from /usr/include/python2.7/numpy/ndarrayobject.h:17,
>                  from /usr/include/python2.7/numpy/arrayobject.h:15,
>                  from /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4721:
> /usr/include/python2.7/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>  #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
>   ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'char* pytype_string(PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4907:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (py_obj == NULL          ) return "C NULL value";
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4908:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (py_obj == Py_None       ) return "Python None" ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4909:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyCallable_Check(py_obj)) return "callable"    ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4910:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyString_Check(  py_obj)) return "string"      ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4911:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyInt_Check(     py_obj)) return "int"         ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4912:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyFloat_Check(   py_obj)) return "float"       ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4913:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyDict_Check(    py_obj)) return "dict"        ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4914:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyList_Check(    py_obj)) return "list"        ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4915:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyTuple_Check(   py_obj)) return "tuple"       ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4916:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyFile_Check(    py_obj)) return "file"        ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4917:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyModule_Check(  py_obj)) return "module"      ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4918:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      if (PyInstance_Check(py_obj)) return "instance"    ;
>                                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4920:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>      return "unknown type";
>             ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'char* typecode_string(int)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>                                     "notype", "char", "unknown"};
>                                                                ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:4934:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_optimize__SWIG_1(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:8426:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_get_lower_bounds__SWIG_1(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:10607:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_get_upper_bounds__SWIG_1(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:10856:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_get_xtol_abs__SWIG_1(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:11337:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_get_initial_step__SWIG_1(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:11947:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp: In function 'PyObject* _wrap_opt_get_initial_step_(PyObject*, PyObject*)':
> /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp:12302:26: warning: null argument where non-null required (argument 2) [-Wnonnull]
>        sizeof(double) * sz);
>                           ^
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/«BUILDDIR»/nlopt-2.3+dfsg/swig -I.. -I/usr/include/python2.7 -I/usr/lib/pymodules/python2.7/numpy/core/include -I/«BUILDDIR»/nlopt-2.3+dfsg/api -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /«BUILDDIR»/nlopt-2.3+dfsg/swig/nlopt-python.cpp -o _nlopt_la-nlopt-python.o >/dev/null 2>&1
> /bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -module -version-info 7:0:7 -Wl,-z,relro -o _nlopt.la -rpath /usr/lib/python2.7/dist-packages _nlopt_la-nlopt-python.lo ../libnlopt.la -lm 
> libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbeginS.o  .libs/_nlopt_la-nlopt-python.o   -Wl,-rpath -Wl,/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7/.libs ../.libs/libnlopt.so -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o  -O2 -Wl,-z -Wl,relro   -Wl,-soname -Wl,_nlopt.so.0 -o .libs/_nlopt.so.0.7.0
> libtool: link: (cd ".libs" && rm -f "_nlopt.so.0" && ln -s "_nlopt.so.0.7.0" "_nlopt.so.0")
> libtool: link: (cd ".libs" && rm -f "_nlopt.so" && ln -s "_nlopt.so.0.7.0" "_nlopt.so")
> libtool: link: ar cru .libs/_nlopt.a  _nlopt_la-nlopt-python.o
> libtool: link: ranlib .libs/_nlopt.a
> libtool: link: ( cd ".libs" && rm -f "_nlopt.la" && ln -s "../_nlopt.la" "_nlopt.la" )
> make[5]: Leaving directory `/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7/swig'
> make[4]: Leaving directory `/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7/swig'
> make[3]: Leaving directory `/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7'
> make[2]: Leaving directory `/«BUILDDIR»/nlopt-2.3+dfsg/debian/build2.7'
> make[1]: Leaving directory `/«BUILDDIR»/nlopt-2.3+dfsg'
>    dh_auto_test -O--buildsystem=autoconf -O--builddirectory=/«BUILDDIR»/nlopt-2.3\+dfsg/debian/build
> dh_auto_test: error: unable to chdir to debian/build
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/07/26/nlopt_2.3+dfsg-1_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