When using clang with net-print/hplip-3.23.3, a patch is needed (attached). Also, for those struggling to compile it and searching online for information, you will need to add -std=c++14 to an env for hplip (create a file say clang-cpp-14 in /etc/portage/env and in /etc/portage/package.env/ add net-print/hplip clang-cpp-14) Reproducible: Always Steps to Reproduce: 1. Use clang as compiler for net-print/hplip-3.23.3 Actual Results: Fails to compile (build log attached) Expected Results: Successful compile
Created attachment 864104 [details, diff] Add patch
Created attachment 864105 [details] Add build.log for when patch is not used
Created attachment 864106 [details] Add c++14 enviroment for those stuck on compiling with clang. Only use if using net-print/hplip with clang, not with gcc.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f672e161c5cd252fcba9a533d446bbc6c7fee907 commit f672e161c5cd252fcba9a533d446bbc6c7fee907 Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2023-07-01 16:17:34 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2023-07-01 16:18:13 +0000 net-print/hplip: add 3.23.5 Closes: https://bugs.gentoo.org/882891 Closes: https://bugs.gentoo.org/908736 Closes: https://bugs.gentoo.org/909351 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> net-print/hplip/Manifest | 2 + net-print/hplip/hplip-3.23.5.ebuild | 290 ++++++++++++++++++++++++++++++++++++ 2 files changed, 292 insertions(+)