Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpinelinux build for ppc64le arch fails #19

Open
andypost opened this issue Nov 30, 2019 · 0 comments
Open

Alpinelinux build for ppc64le arch fails #19

andypost opened this issue Nov 30, 2019 · 0 comments

Comments

@andypost
Copy link
Contributor

Just commited package and got fail to build for ppc64le arch alpinelinux/aports#12174 (comment) (build logs will live some time)

The error itself is

/home/buildozer/aports/testing/php7-pdlib/src/pdlib-1.0/src/face_recognition.cc:37:23:   required from here
/usr/include/dlib/dnn/core.h:1025:37: error: cannot convert 'bool' to '__vector(4) __bool int' in initialization
 1025 |             this_layer_setup_called(false),
      |                                     ^~~~~
      |                                     |
      |                                     bool
/usr/include/dlib/dnn/core.h:1026:37: error: cannot convert 'bool' to '__vector(4) __bool int' in initialization
 1026 |             gradient_input_is_stale(true),
      |                                     ^~~~
      |                                     |
      |                                     bool
/usr/include/dlib/dnn/core.h:1027:52: error: cannot convert 'bool' to '__vector(4) __bool int' in initialization
 1027 |             get_output_and_gradient_input_disabled(false),
      |                                                    ^~~~~
      |                                                    |
      |                                                    bool
In file included from /usr/include/dlib/sequence.h:7,
                 from /usr/include/dlib/optimization/optimization_search_strategies.h:11,
                 from /usr/include/dlib/optimization/optimization.h:9,
                 from /usr/include/dlib/optimization.h:6,
                 from /usr/include/dlib/statistics/vector_normalizer_frobmetric.h:8,
                 from /usr/include/dlib/statistics.h:13,
                 from /usr/include/dlib/image_transforms/assign_image.h:8,
                 from /usr/include/dlib/image_transforms/spatial_filtering.h:15,
                 from /usr/include/dlib/image_processing/scan_image.h:13,
                 from /usr/include/dlib/image_processing.h:11,
                 from /usr/include/dlib/dnn/input.h:10,
                 from /usr/include/dlib/dnn.h:13,
                 from /home/buildozer/aports/testing/php7-pdlib/src/pdlib-1.0/src/face_recognition.h:8,
                 from /home/buildozer/aports/testing/php7-pdlib/src/pdlib-1.0/src/face_recognition.cc:2:
/usr/include/dlib/sequence/sequence_kernel_2.h: In instantiation of 'void dlib::sequence_kernel_2<T, mem_manager>::reset() const [with T = dlib::lbfgs_search_strategy::data_helper; mem_manager = dlib::memory_manager_stateless_kernel_1<char>]':
/usr/include/dlib/sequence/sequence_kernel_2.h:496:10:   required from here
/usr/include/dlib/sequence/sequence_kernel_2.h:500:19: error: cannot convert 'bool' to '__vector(4) __bool int' in assignment
  500 |         at_start_ = true;
      |         ~~~~~~~~~~^~~~~~
/usr/include/dlib/sequence/sequence_kernel_2.h: In instantiation of 'unsigned int dlib::sequence_kernel_2<T, mem_manager>::current_element_valid() const [with T = dlib::lbfgs_search_strategy::data_helper; mem_manager = dlib::memory_manager_stateless_kernel_1<char>]':
/usr/include/dlib/sequence/sequence_kernel_2.h:510:10:   required from here
/usr/include/dlib/sequence/sequence_kernel_2.h:514:41: error: cannot convert 'bool' to '__vector(4) __bool int' in return
  514 |         return (current_enumeration_node!=0);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      |                                         |
      |                                         bool
/usr/include/dlib/sequence/sequence_kernel_2.h: In instantiation of 'unsigned int dlib::sequence_kernel_2<T, mem_manager>::move_next() const [with T = dlib::lbfgs_search_strategy::data_helper; mem_manager = dlib::memory_manager_stateless_kernel_1<char>]':
/usr/include/dlib/sequence/sequence_kernel_2.h:549:10:   required from here
/usr/include/dlib/sequence/sequence_kernel_2.h:573:19: error: cannot convert 'bool' to '__vector(4) __bool int' in assignment
  573 |         at_start_ = false;
      |         ~~~~~~~~~~^~~~~~~
/usr/include/dlib/sequence/sequence_kernel_2.h:574:41: error: cannot convert 'bool' to '__vector(4) __bool int' in return
  574 |         return (current_enumeration_node!=0);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      |                                         |
      |                                         bool
make: *** [Makefile:202: src/face_recognition.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant