Repository: conan-io/conan-center-index

Issue:
[boost/1.83.0]: doesn't compile on PowerPC because math_tr1l and math_c99l do not exist.
### Description

Testing a fix by adding `without_math_c99l` and `without_math_tr1l` to the boost options.

### Package and Environment Details

* Package Name/Version: **zlib/1.2.13**
* Operating System+version: **PPC Linux**
* Compiler+version: **GCC 10**
* Docker image: **none**
* Conan version: **conan 2.0.17**
* Python version: **Python 3.9**


```
### Conan profile

[settings]
arch=ppc64le
build_type=Release
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=10
[options]
boost/*:bzip2=False
boost/*:extra_b2_flags=[]
boost/*:i18n_backend_iconv=off
boost/*:i18n_backend_icu=True
boost/*:shared=False
boost/*:without_atomic=False
boost/*:without_chrono=False
boost/*:without_container=False
boost/*:without_context=True
boost/*:without_contract=True
boost/*:without_coroutine=True
boost/*:without_date_time=False
boost/*:without_exception=False
boost/*:without_fiber=True
boost/*:without_filesystem=False
boost/*:without_graph=True
boost/*:without_graph_parallel=True
boost/*:without_iostreams=True
boost/*:without_json=True
boost/*:without_locale=False
boost/*:without_log=False
boost/*:without_math=False
boost/*:without_mpi=True
boost/*:without_nowide=True
boost/*:without_program_options=True
boost/*:without_python=True
boost/*:without_random=False
boost/*:without_regex=False
boost/*:without_serialization=True
boost/*:without_stacktrace=True
boost/*:without_system=False
boost/*:without_test=True
boost/*:without_thread=False
boost/*:without_timer=True
boost/*:without_type_erasure=True
boost/*:without_url=True
boost/*:without_wave=True
```

### Steps to reproduce

```
conan build . --build=missing -pr:h=linux-ppc64le-host -pr:b=linux-ppc64le-build -c 'tools.build:skip_test=True' -s build_type=Release
```

### Logs

<details><summary>Click to expand log</summary>

```
13:22:00  boost/1.83.0: Package folder /var/tmp/jenkins/workspace/re_disable-pvcl_cloud-on-ppc64le@2/build/linux-ppc64le/conan/p/b/boosta482770cf5014/p
13:22:00  boost/1.83.0: WARN: Boost component 'math_c99l' is missing libraries. Try building boost with '-o boost:without_math_c99l'. (Option is not guaranteed to exist)
13:22:00  boost/1.83.0: WARN: Boost component 'math_tr1l' is missing libraries. Try building boost with '-o boost:without_math_tr1l'. (Option is not guaranteed to exist)
13:22:00  ERROR: boost/1.83.0: Error in package_info() method, line 1702
13:22:00  	raise ConanException(f"These libraries were expected to be built, but were not built: {non_built}")
13:22:00  	ConanException: These libraries were expected to be built, but were not built: {'boost_math_tr1l', 'boost_math_c99l'}
```
</details>



Discussion:

Resolving patch:
diff --git a/recipes/boost/all/conanfile.py b/recipes/boost/all/conanfile.py
--- a/recipes/boost/all/conanfile.py
+++ b/recipes/boost/all/conanfile.py
@@ -1624,6 +1624,8 @@ def filter_transform_module_libraries(names):
                 for name in names:
                     if name in ("boost_stacktrace_windbg", "boost_stacktrace_windbg_cached") and self.settings.os != "Windows":
                         continue
+                    if name in ("boost_math_c99l", "boost_math_tr1l") and str(self.settings.arch).startswith("ppc"):
+                        continue
                     if name in ("boost_stacktrace_addr2line", "boost_stacktrace_backtrace", "boost_stacktrace_basic",) and self.settings.os == "Windows":
                         continue
                     if name == "boost_stacktrace_addr2line" and not self._stacktrace_addr2line_available:


Test patch: