Bug#850989: caffe: FTBFS: libboost_python.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject'
Lucas Nussbaum
lucas at debian.org
Wed Jan 11 18:53:49 UTC 2017
Source: caffe
Version: 1.0.0~rc3+20161127-g24d2f67-4
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170111 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):
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/caffe-1.0.0~rc3+20161127-g24d2f67=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-sign-compare -Wno-uninitialized -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--as-needed CMakeFiles/test.testbin.dir/test_accuracy_layer.cpp.o CMakeFiles/test.testbin.dir/test_argmax_layer.cpp.o CMakeFiles/test.testbin.dir/test_batch_norm_layer.cpp.o CMakeFiles/test.testbin.dir/test_batch_reindex_layer.cpp.o CMakeFiles/test.testbin.dir/test_benchmark.cpp.o CMakeFiles/test.testbin.dir/test_bias_layer.cpp.o CMakeFiles/test.testbin.dir/test_blob.cpp.o CMakeFiles/test.testbin.dir/test_caffe_main.cpp.o CMakeFiles/test.testbin.dir/test_common.cpp.o CMakeFiles/test.testbin.dir/test_concat_layer.cpp.o CMakeFiles/test.testbin.dir/test_contrastive_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_convolution_layer.cpp.o CMakeFiles/test.testbin.dir/test_crop_layer.cpp.o CMakeFiles/test.testbin.dir/test_data_layer.cpp.o CMakeFiles/test.testbin.dir/test_data_transformer.cpp.o CMakeFiles/test.testbin.dir/test_db.cpp.o CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o CMakeFiles/test.testbin.dir/test_dummy_data_layer.cpp.o CMakeFiles/test.testbin.dir/test_eltwise_layer.cpp.o CMakeFiles/test.testbin.dir/test_embed_layer.cpp.o CMakeFiles/test.testbin.dir/test_euclidean_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_filler.cpp.o CMakeFiles/test.testbin.dir/test_filter_layer.cpp.o CMakeFiles/test.testbin.dir/test_flatten_layer.cpp.o CMakeFiles/test.testbin.dir/test_gradient_based_solver.cpp.o CMakeFiles/test.testbin.dir/test_hdf5_output_layer.cpp.o CMakeFiles/test.testbin.dir/test_hdf5data_layer.cpp.o CMakeFiles/test.testbin.dir/test_hinge_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_im2col_layer.cpp.o CMakeFiles/test.testbin.dir/test_image_data_layer.cpp.o CMakeFiles/test.testbin.dir/test_infogain_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_inner_product_layer.cpp.o CMakeFiles/test.testbin.dir/test_internal_thread.cpp.o CMakeFiles/test.testbin.dir/test_io.cpp.o CMakeFiles/test.testbin.dir/test_layer_factory.cpp.o CMakeFiles/test.testbin.dir/test_lrn_layer.cpp.o CMakeFiles/test.testbin.dir/test_lstm_layer.cpp.o CMakeFiles/test.testbin.dir/test_math_functions.cpp.o CMakeFiles/test.testbin.dir/test_maxpool_dropout_layers.cpp.o CMakeFiles/test.testbin.dir/test_memory_data_layer.cpp.o CMakeFiles/test.testbin.dir/test_multinomial_logistic_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_mvn_layer.cpp.o CMakeFiles/test.testbin.dir/test_net.cpp.o CMakeFiles/test.testbin.dir/test_neuron_layer.cpp.o CMakeFiles/test.testbin.dir/test_platform.cpp.o CMakeFiles/test.testbin.dir/test_pooling_layer.cpp.o CMakeFiles/test.testbin.dir/test_power_layer.cpp.o CMakeFiles/test.testbin.dir/test_protobuf.cpp.o CMakeFiles/test.testbin.dir/test_random_number_generator.cpp.o CMakeFiles/test.testbin.dir/test_reduction_layer.cpp.o CMakeFiles/test.testbin.dir/test_reshape_layer.cpp.o CMakeFiles/test.testbin.dir/test_rnn_layer.cpp.o CMakeFiles/test.testbin.dir/test_scale_layer.cpp.o CMakeFiles/test.testbin.dir/test_sigmoid_cross_entropy_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_slice_layer.cpp.o CMakeFiles/test.testbin.dir/test_softmax_layer.cpp.o CMakeFiles/test.testbin.dir/test_softmax_with_loss_layer.cpp.o CMakeFiles/test.testbin.dir/test_solver.cpp.o CMakeFiles/test.testbin.dir/test_solver_factory.cpp.o CMakeFiles/test.testbin.dir/test_split_layer.cpp.o CMakeFiles/test.testbin.dir/test_spp_layer.cpp.o CMakeFiles/test.testbin.dir/test_stochastic_pooling.cpp.o CMakeFiles/test.testbin.dir/test_syncedmem.cpp.o CMakeFiles/test.testbin.dir/test_tanh_layer.cpp.o CMakeFiles/test.testbin.dir/test_threshold_layer.cpp.o CMakeFiles/test.testbin.dir/test_tile_layer.cpp.o CMakeFiles/test.testbin.dir/test_upgrade_proto.cpp.o CMakeFiles/test.testbin.dir/test_util_blas.cpp.o -o ../../../test/test.testbin -rdynamic ../../../lib/libgtest.a ../../../lib/libcaffe.so.1.0.0-rc3 ../../../lib/libproto.a -lboost_system -lboost_thread -lboost_filesystem -lboost_chrono -lboost_date_time -lboost_atomic -lpthread -lpthread -lglog -lgflags -lprotobuf -lhdf5_cpp /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lpthread -lpthread -lglog -lgflags -lprotobuf -lhdf5_cpp /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lsz -lz -ldl -lm -lhdf5_hl_cpp /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_hl.so -llmdb -lleveldb -lsnappy /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.9 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4.9 /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4.9 -lblas -lpython3.5m -lboost_python
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_InPlaceDivide'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Size'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromStringAndSize'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_InternFromString'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_AsLong'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_AsWideChar'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_AsString'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromFormat'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyClass_Type'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromString'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_AsFile'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `Py_InitModule4_64'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_Type'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_FromLong'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_FromString'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_Divide'
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Type'
> collect2: error: ld returned 1 exit status
The full build log is available from:
http://aws-logs.debian.net/2017/01/11/caffe_1.0.0~rc3+20161127-g24d2f67-4_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