Skip to content

Conversation

hebasto
Copy link
Owner

@hebasto hebasto commented Mar 24, 2024

No description provided.

@hebasto hebasto closed this Mar 24, 2024
@hebasto hebasto deleted the 240324-depends branch August 28, 2024 13:35
hebasto pushed a commit that referenced this pull request Mar 25, 2025
google#13146)

## Problem and Fix
- connectedhomeip Dockerfile installs an older version of PyYaml using
APT (as a recommended dependenancy),
- `FuzzIntrospector` later attempts to reinstall a newer version of
PyYaml using `pip`, yet fails since `pip` cannot uninstall a package
installed by APT.

- **Fix**: stop APT from installing recommended packages
`--no-install-recommends`
## Error Log
```
Step #6 - "compile-libfuzzer-introspector-x86_64":   Attempting uninstall: PyYAML
Step #6 - "compile-libfuzzer-introspector-x86_64":     Found existing installation: PyYAML 5.3.1
Step #6 - "compile-libfuzzer-introspector-x86_64": �[1;31merror�[0m: �[1muninstall-distutils-installed-package�[0m
Step #6 - "compile-libfuzzer-introspector-x86_64": 
Step #6 - "compile-libfuzzer-introspector-x86_64": �[31m�[0m Cannot uninstall PyYAML 5.3.1
Step #6 - "compile-libfuzzer-introspector-x86_64": �[31m╰─>�[0m It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial 
```
- Log:
https://oss-fuzz-build-logs.storage.googleapis.com/log-d984595c-7ee5-4f93-a1f7-3f5d7536ffca.txt
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

Successfully merging this pull request may close these issues.

1 participant