NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.36k stars 14.31k forks source link

Build failure: prusa-slicer #341632

Open tko opened 2 months ago

tko commented 2 months ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build prusa-slicer-2.8.0 on aarch64-darwin

Build log

error: builder for '/nix/store/zjbv8xmqpm9j6iz583fr68yq0q7j7nk0-prusa-slicer-2.8.0.drv' failed with exit code 2;
       last 25 log lines:
       > include/boost/functional.hpp:45:24: note: '__unary_function' declared here
       >             using std::unary_function;
       >                        ^
       > include/boost/functional.hpp:487:68: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
       >     class const_mem_fun1_ref_t : public boost::functional::detail::binary_function<const T&, A, S>
       >                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       > include/boost/functional.hpp:46:24: note: '__binary_function' declared here
       >             using std::binary_function;
       >                        ^
       > include/boost/functional.hpp:533:73: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'?
       >     class pointer_to_unary_function : public boost::functional::detail::unary_function<Arg,Result>
       >                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       > include/boost/functional.hpp:45:24: note: '__unary_function' declared here
       >             using std::unary_function;
       >                        ^
       > include/boost/functional.hpp:557:74: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'?
       >     class pointer_to_binary_function : public boost::functional::detail::binary_function<Arg1,Arg2,Result>
       >                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       > include/boost/functional.hpp:46:24: note: '__binary_function' declared here
       >             using std::binary_function;
       >                        ^
       > 16 errors generated.
       > make[2]: *** [src/libslic3r/CMakeFiles/libslic3r.dir/build.make:77: src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx.pch] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:1078: src/libslic3r/CMakeFiles/libslic3r.dir/all] Error 2
       > make: *** [Makefile:146: all] Error 2

Additional context

Looks same as https://github.com/NixOS/nixpkgs/issues/282618

Notify maintainers

@Moredread @tweber @tmarkus

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.6.0, macOS 13.6.9`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.21.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

tko commented 2 months ago

Ping @Moredread @tweber @tmarkus @toonn