Thread

  1. Dependency on ccache in postgresql17-devel-17.5-1PGDG.rhel9

    Zane Duffield <duffieldzane@gmail.com> — 2025-05-12T06:18:12Z

    Hi all,
    
    I just tried recompiling an extension against PG 17.5 (via PGXS) and found
    that I'm getting a new error from rpmbuild.
    
    > make: /usr/lib64/ccache/clang: No such file or directory
    
    I think this is the same problem that was reported in this thread
    https://www.postgresql.org/message-id/flat/CA%2BmZaON9nDxWrg%3DABBczU3DuYwQ3Q02atsY%2BXhb0ogAgHzmYVg%40mail.gmail.com
    
    The problem evaporates when I downgrade to 17.4, and I think it's the
    change in the value for the CLANG variable in Makefile.global (previously
    /usr/bin/clang, now /usr/lib64/ccache/clang).
    
    Thanks,
    Zane
    
  2. Re: Dependency on ccache in postgresql17-devel-17.5-1PGDG.rhel9

    Devrim Gündüz <devrim@gunduz.org> — 2025-05-13T08:59:49Z

    Hi,
    
    On Mon, 2025-05-12 at 16:18 +1000, Zane Duffield wrote:
    > 
    > I just tried recompiling an extension against PG 17.5 (via PGXS) and
    > found
    > that I'm getting a new error from rpmbuild.
    > 
    > > make: /usr/lib64/ccache/clang: No such file or directory
    > 
    > I think this is the same problem that was reported in this thread
    > https://www.postgresql.org/message-id/flat/CA%2BmZaON9nDxWrg%3DABBczU3DuYwQ3Q02atsY%2BXhb0ogAgHzmYVg%40mail.gmail.com
    > 
    > The problem evaporates when I downgrade to 17.4, and I think it's the
    > change in the value for the CLANG variable in Makefile.global
    > (previously
    > /usr/bin/clang, now /usr/lib64/ccache/clang).
    
    Thanks for the report. Fixed here:
    
    https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=6e46ff1d62450ad76e64a429db96ae367ef56ec1
    Pushing new packages soon. Apologies for the inconvenience.
    
    Regards,
    -- 
    Devrim Gündüz
    Open Source Solution Architect, PostgreSQL Major Contributor
    BlueSky: @devrim.gunduz.org , @gunduz.org
    
  3. Re: Dependency on ccache in postgresql17-devel-17.5-1PGDG.rhel9

    Zane Duffield <duffieldzane@gmail.com> — 2025-05-13T11:38:02Z

    Thanks for the quick fix!
    
    ________________________________
    From: Devrim Gündüz <devrim@gunduz.org>
    Sent: Tuesday, May 13, 2025 6:59:54 pm
    To: Zane Duffield <duffieldzane@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
    Subject: Re: Dependency on ccache in postgresql17-devel-17.5-1PGDG.rhel9
    
    Hi,
    
    On Mon, 2025-05-12 at 16:18 +1000, Zane Duffield wrote:
    >
    > I just tried recompiling an extension against PG 17.5 (via PGXS) and
    > found
    > that I'm getting a new error from rpmbuild.
    >
    > > make: /usr/lib64/ccache/clang: No such file or directory
    >
    > I think this is the same problem that was reported in this thread
    > https://www.postgresql.org/message-id/flat/CA%2BmZaON9nDxWrg%3DABBczU3DuYwQ3Q02atsY%2BXhb0ogAgHzmYVg%40mail.gmail.com
    >
    > The problem evaporates when I downgrade to 17.4, and I think it's the
    > change in the value for the CLANG variable in Makefile.global
    > (previously
    > /usr/bin/clang, now /usr/lib64/ccache/clang).
    
    Thanks for the report. Fixed here:
    
    https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=6e46ff1d62450ad76e64a429db96ae367ef56ec1
    Pushing new packages soon. Apologies for the inconvenience.
    
    Regards,
    --
    Devrim Gündüz
    Open Source Solution Architect, PostgreSQL Major Contributor
    BlueSky: @devrim.gunduz.org , @gunduz.org