<div>Hi all.</div><div>Debian 12.10, postgresql-common-277.pgdg120+1.<br /><br />There is still a bug in the pg_buildext, function run_psql<br /> </div><div>Errors (when build oracle_fdw):<br />/usr/bin/pg_buildext: line 221: cd: build-%v: No such file or directory</div><div> </div><div>Patch is<div><div><div>--- postgresql-common-277.pgdg120+1/pg_buildext 2025-04-09 13:17:57.000000000 +0300</div><div>+++ postgresql-common-277.pgdg120+interfax1/pg_buildext 2025-04-10 17:26:01.943333192 +0300</div><div>@@ -217,8 +217,8 @@</div><div> fi</div><div> </div><div> (</div><div>- if [ "$target" ] && [ "$target" != "." ]; then # if target is given, use it, else stay in the top source dir</div><div>- cd $target</div><div>+ if [ "$vtarget" ] && [ "$vtarget" != "." ]; then # if target is given, use it, else stay in the top source dir</div><div>+ cd $vtarget</div><div> fi</div><div> pg_virtualenv ${PKGARGS:-} ${PG_VIRTUALENV_ARGS:-} -v $1 \</div><div> psql -Xe -v ON_ERROR_STOP=1 < $PSQLTMP</div></div></div></div>