GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix legacy Couchbase builds on Ubuntu 26.04 · setup-php/setup-php@cf194af

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/scripts/extensions
    • couchbase.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/scripts/extensions/couchbase.sh‎

Copy file name to clipboardExpand all lines: src/scripts/extensions/couchbase.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ add_couchbase_clibs() {
88
release=$(get -s -n "" "$trunk"/latest | grep -Eo -m 1 "[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)
99
fi
1010
[[ "$VERSION_ID" = "24.04" || "$VERSION_ID" = "26.04" ]] && vid=22.04 || vid="$VERSION_ID"
11-
[ "$VERSION_CODENAME" = "noble" ] && vcn=jammy || vcn="$VERSION_CODENAME"
11+
[[ "$VERSION_CODENAME" = "noble" || "$VERSION_CODENAME" = "resolute" ]] && vcn=jammy || vcn="$VERSION_CODENAME"
1212
deb_url="$trunk/download/$release/libcouchbase-${release}_ubuntu${vid/./}_${vcn}_amd64.tar"
1313
get -q -n /tmp/libcouchbase.tar "$deb_url"
1414
if ! [ -e /tmp/libcouchbase.tar ] || ! file /tmp/libcouchbase.tar | grep -q 'tar archive'; then
@@ -59,6 +59,7 @@ add_couchbase() {
5959
ext=$(get_couchbase_version)
6060
fi
6161
if [[ "$ext" =~ couchbase-[2-3].+ ]]; then
62+
export COUCHBASE_CONFIGURE_PREFIX_OPTS="${COUCHBASE_CONFIGURE_PREFIX_OPTS:-} SED=sed CFLAGS=-Wno-error=incompatible-pointer-types"
6263
add_couchbase_clibs "$ext" >/dev/null 2>&1
6364
else
6465
add_couchbase_cxxlibs >/dev/null 2>&1

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.