poudriere
poudriere copied to clipboard
/nxb-bin/ paths hard-baked into devel/libtool
Prerequisites
- [X] Have you checked for an existing issue describing your problem?
- [X] Are you running the latest version?
- [X] Is your ports tree recent?
- [X] Is your FreeBSD Host on a supported release?
Describe the bug
The devel/libtool
port hard codes the C compiler it sees during its own build and tries to use it for building packages later on. If the original C compiler is gone after its own build (e.g. if it is /nxb-bin/usr/bin/cc
and libtool
is installed on native HW), libtool
will fail to produce a binary.
This is a duplicate of FreeBSD bug #230018.
How to reproduce
Build devel/libtool
with native cross tools. Then install the resulting package on a native system. Finally, try to build a port that uses libtool (e.g. www/apache24
) with it.
Expected behavior
Poudriere should set up the native-xtools such that devel/libtool
does not bake in a wrong CC
or devel/libtool
should be patched to ignore native-xtools.
Environment
- Host OS: 13.0
- Jail OS: 13.0
- Poudriere Version [e.g. 3.3.1 or git hash or port version]: 3.3.7_1
- Ports branch and revision [e.g. 2020Q3 r550754]: 2021Q4