Re: pgsql: oauth: Add unit tests for multiplexer handling

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Jacob Champion <jchampion(at)postgresql(dot)org>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org, "stefan(at)kaltenbrunner(dot)cc" <stefan(at)kaltenbrunner(dot)cc>
Subject: Re: pgsql: oauth: Add unit tests for multiplexer handling
Date: 2025-08-26 20:10:43
Message-ID: CAOYmi+mJ9y2bQnkc0TTkwKtDF_L=kriVcSZ0b9YLG9LBXEJ88A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, Aug 26, 2025 at 12:48 PM Christoph Berg <myon(at)debian(dot)org> wrote:
> This seems to require more linking on Debian bullseye:

Bleh. Thanks for the report; looks like none of the bullseye animals
in the farm are building with Curl yet.

(cc Stefan: guaibasaurus seems like it'd be a good candidate; would
you consider using --with-libcurl there?)

> 20:19:29 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC test-oauth-curl.o oauth-utils.o -L../../../src/port -L../../../src/common -L../../../src/common -lpgcommon_shlib -L../../../src/port -lpgport_shlib -L../../../src/interfaces/libpq -lpq -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -lcurl -lm -o oauth_tests
> 20:19:29 /usr/bin/ld: oauth-utils.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.17'
> 20:19:29 /usr/bin/ld: /lib/aarch64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
> 20:19:29 collect2: error: ld returned 1 exit status

Okay. So I need to pull in PTHREAD_CFLAGS/LIBS as well...

--Jacob

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Jacob Champion 2025-08-26 20:30:57 Re: pgsql: oauth: Add unit tests for multiplexer handling
Previous Message Nathan Bossart 2025-08-26 19:49:53 pgsql: Document privileges required for vacuumdb --missing-stats-only.

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-08-26 20:14:39 Re: Improve LWLock tranche name visibility across backends
Previous Message Maksim Milyutin 2025-08-26 20:04:20 Re: [BUG] Remove self joins causes 'variable not found in subplan target lists' error