pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: turn off CHECK_SHLIBS on macOS?
> On Aug 12, 2025, at 04:24, Jonathan Perkin <jperkin%pkgsrc.org@localhost> wrote:
>
> * On 2025-08-12 at 08:50 BST, Adam wrote:
>
>>> Building gettext-tools on macOS fails:
>>
>> It builds fine for me. Is your LOCALBASE set correctly? Or, maybe, you should re-build libtool-base.
>
> The user has a highly customised mk.conf as per an earlier message which is the likely cause for all of these strange failures that nobody else is seeing.
I'll try to reproduce this issue with GitHub workflows here:
https://github.com/mansourmoufid/pkgsrc-macos-test
There's a couple steps to get to the gettext-tools failure.
The first is that archivers/xz fails because it builds with -Werror:
configure:7387: checking if the -Werror option is usable
configure:7395: clang -c -O2 -Werror conftest.c >&5
clang: error: argument unused during compilation: '-L/Users/runner/work/pkgsrc-macos-test/pkgsrc-macos-test/usr/pkgsrc/archivers/xz/work/.buildlink/lib' [-Werror,-Wunused-command-line-argument]
configure:7395: $? = 1
so I have to add to mk.conf:
CFLAGS+= -Wno-unused-command-line-argument
See the log here:
https://github.com/mansourmoufid/pkgsrc-macos-test/actions/runs/16908929929/job/47905237926
I'll follow up with the next step(s).
Home |
Main Index |
Thread Index |
Old Index