Skip to content

Commit f7598e9

Browse files
committed
Problem: building omnigres packages
Gets stuck and then overflows the stack Solution: ensure we don't recurse and use a pre-calculated value
1 parent ab6e1e6 commit f7598e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/omnigres/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def artifacts(src = nil)
182182
rescue Git::GitExecuteError
183183
share_fix = "-e PGSHAREDIR=#{pgpath}/build/share"
184184
end
185-
unless Pgpm::Podman.run "run -ti #{share_fix} -v #{source}:#{source} -v #{Pgpm::Cache.directory}:#{Pgpm::Cache.directory} #{PGPM_BUILD_CONTAINER_IMAGE} cmake -S #{src} -B #{src}/build -DOPENSSL_CONFIGURED=1 -DPGVER=#{Pgpm::Postgres::Distribution.in_scope.version} -DPGDIR=#{pgpath}"
185+
unless Pgpm::Podman.run "run -ti #{share_fix} -v #{src}:#{src} -v #{Pgpm::Cache.directory}:#{Pgpm::Cache.directory} #{PGPM_BUILD_CONTAINER_IMAGE} cmake -S #{src} -B #{src}/build -DOPENSSL_CONFIGURED=1 -DPGVER=#{Pgpm::Postgres::Distribution.in_scope.version} -DPGDIR=#{pgpath}"
186186
raise "Can't configure the project"
187187
end
188188

0 commit comments

Comments
 (0)