Home
Support Forums

Please increase build time. CC already entered

Can the limit on builds be increased to 30 mins?

I already have a payment program setup. Please increase the build time limit on this app:

Site Name: cocky-benz-3dd57a
API ID: 5d78e2d6-caa3-4c34-890a-8fd9dbe10c28

hi there @fpigeonjr - sorry it took us so long to get to this! You are now at 30 mins. Hope this helps!

1 Like

thanks @perry , will give it a GO now and let you know.

Still a NO GO for builds @perry . The builds are still failing. Maybe the Gatsby experts could take a look?

We are using Gatsby and Strapi CMS.

Repo Link:

Hi there, @fpigeonjr :wave:

Thanks for following up! Could you please provide a bit more context for me so we can investigate further? Some helpful things would be:

  1. Your URL or Netlify site name
  2. Your build log
  3. What troubleshooting steps you have taken in addition to increasing build time.

Thank you! I have a meeting soon with one of our Gatsby experts, so any additional info I can bring to them would be great :slight_smile:

thanks @hillary for your comment. I will try and provide the data you are looking for.

This is a Gatsby 3 project using gatsby-plugin-sass to compile Bootstraps scss. We are also using Strapi as our CMS which includes some large images provided by the client.

  • Your URL or Netlify site name
    cocky-benz-3dd57a
  • Your build log
    will attach
  • What troubleshooting steps you have taken in addition to increasing build time.
    build locally on my system and it works.

Latest build log:

4:51:08 PM: Build ready to start
4:51:10 PM: build-image version: 2cee85eb7f808bf3b6e87378c5307f9411f0a332
4:51:10 PM: build-image tag: v3.8.0
4:51:10 PM: buildbot version: 3b0c079a2e52aae070f2433b3231592eec65b71e
4:51:10 PM: Fetching cached dependencies
4:51:10 PM: Failed to fetch cache, continuing with build
4:51:10 PM: Starting to prepare the repo for build
4:51:11 PM: No cached dependencies found. Cloning fresh repo
4:51:11 PM: git clone https://github.com/sacodersunited/portillo-tenor
4:51:12 PM: Preparing Git Reference refs/heads/master
4:51:13 PM: Parsing package.json dependencies
4:51:13 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'frontend/public' versus 'public/' in the Netlify UI
4:51:13 PM: Starting build script
4:51:14 PM: Installing dependencies
4:51:14 PM: Python version set to 2.7
4:51:15 PM: Downloading and installing node v14.17.0...
4:51:15 PM: Downloading https://nodejs.org/dist/v14.17.0/node-v14.17.0-linux-x64.tar.xz...
4:51:16 PM: Computing checksum with sha256sum
4:51:16 PM: Checksums matched!
4:51:19 PM: Now using node v14.17.0 (npm v6.14.13)
4:51:19 PM: Started restoring cached build plugins
4:51:19 PM: Finished restoring cached build plugins
4:51:19 PM: Attempting ruby version 2.7.1, read from environment
4:51:21 PM: Required ruby-2.7.1 is not installed - installing.
4:51:21 PM: Searching for binary rubies, this might take some time.
4:51:21 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.7.1.tar.bz2
4:51:21 PM: Checking requirements for ubuntu.
4:51:22 PM: Requirements installation successful.
4:51:22 PM: ruby-2.7.1 - #configure
4:51:22 PM: ruby-2.7.1 - #download
4:51:23 PM: ruby-2.7.1 - #validate archive
4:51:28 PM: ruby-2.7.1 - #extract
4:51:32 PM: ruby-2.7.1 - #validate binary
4:51:32 PM: ruby-2.7.1 - #setup
4:51:33 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
4:51:33 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
4:51:34 PM: ruby-2.7.1 - #generating global wrappers........
4:51:34 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
4:51:34 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
4:51:35 PM: ruby-2.7.1 - #generating default wrappers........
4:51:35 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
4:51:36 PM: Using ruby version 2.7.1
4:51:36 PM: Using PHP version 5.6
4:51:36 PM: Started restoring cached node modules
4:51:36 PM: Finished restoring cached node modules
4:51:36 PM: Installing NPM modules using NPM version 6.14.13
4:52:33 PM: > sharp@0.28.3 install /opt/build/repo/frontend/node_modules/sharp
4:52:33 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
4:52:35 PM: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.6/libvips-8.10.6-linux-x64.tar.br
4:52:37 PM: > core-js@2.6.12 postinstall /opt/build/repo/frontend/node_modules/babel-runtime/node_modules/core-js
4:52:37 PM: > node -e "try{require('./postinstall')}catch(e){}"
4:52:37 PM: > core-js@3.14.0 postinstall /opt/build/repo/frontend/node_modules/core-js
4:52:37 PM: > node -e "try{require('./postinstall')}catch(e){}"
4:52:38 PM: > core-js-pure@3.14.0 postinstall /opt/build/repo/frontend/node_modules/core-js-pure
4:52:38 PM: > node -e "try{require('./postinstall')}catch(e){}"
4:52:39 PM: > gatsby-telemetry@2.7.0 postinstall /opt/build/repo/frontend/node_modules/gatsby-telemetry
4:52:39 PM: > node src/postinstall.js || true
4:52:39 PM: > gatsby-telemetry@2.7.1 postinstall /opt/build/repo/frontend/node_modules/gatsby-plugin-sharp/node_modules/gatsby-telemetry
4:52:39 PM: > node src/postinstall.js || true
4:52:39 PM: > mozjpeg@7.1.0 postinstall /opt/build/repo/frontend/node_modules/mozjpeg
4:52:39 PM: > node lib/install.js
4:52:40 PM:   βœ” mozjpeg pre-build test passed successfully
4:52:40 PM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/frontend/node_modules/pngquant-bin
4:52:40 PM: > node lib/install.js
4:52:40 PM:   βœ” pngquant pre-build test passed successfully
4:52:40 PM: > gatsby-cli@3.7.0 postinstall /opt/build/repo/frontend/node_modules/gatsby/node_modules/gatsby-cli
4:52:40 PM: > node scripts/postinstall.js
4:52:40 PM: > gatsby@3.6.2 postinstall /opt/build/repo/frontend/node_modules/gatsby
4:52:40 PM: > node scripts/postinstall.js
4:52:43 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
4:52:43 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
4:52:43 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
4:52:43 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
4:52:43 PM: added 2456 packages from 1163 contributors and audited 2464 packages in 65.896s
4:52:46 PM: 244 packages are looking for funding
4:52:46 PM:   run `npm fund` for details
4:52:46 PM: found 18 vulnerabilities (9 moderate, 9 high)
4:52:46 PM:   run `npm audit fix` to fix them, or `npm audit` for details
4:52:46 PM: NPM modules installed
4:52:46 PM: Started restoring cached go cache
4:52:46 PM: Finished restoring cached go cache
4:52:46 PM: go version go1.14.4 linux/amd64
4:52:46 PM: go version go1.14.4 linux/amd64
4:52:46 PM: Installing missing commands
4:52:46 PM: Verify run directory
4:52:47 PM: ​
4:52:47 PM: ────────────────────────────────────────────────────────────────
4:52:47 PM:   Netlify Build                                                 
4:52:47 PM: ────────────────────────────────────────────────────────────────
4:52:47 PM: ​
4:52:47 PM: ❯ Version
4:52:47 PM:   @netlify/build 12.7.1
4:52:47 PM: ​
4:52:47 PM: ❯ Flags
4:52:47 PM:   deployId: 60d25b4ce2ff4e0b0f9eafbb
4:52:47 PM: ​
4:52:47 PM: ❯ Current directory
4:52:47 PM:   /opt/build/repo/frontend
4:52:47 PM: ​
4:52:47 PM: ❯ Config file
4:52:47 PM:   No config file was defined: using default values.
4:52:47 PM: ​
4:52:47 PM: ❯ Context
4:52:47 PM:   production
4:52:47 PM: ​
4:52:47 PM: ────────────────────────────────────────────────────────────────
4:52:47 PM:   1. Build command from Netlify app                             
4:52:47 PM: ────────────────────────────────────────────────────────────────
4:52:47 PM: ​
4:52:47 PM: $ npm run build
4:52:47 PM: > portillo-tenor@0.1.0 build /opt/build/repo/frontend
4:52:47 PM: > gatsby build
4:52:50 PM: success open and validate gatsby-configs - 0.047s
4:52:51 PM: success load plugins - 0.929s
4:52:51 PM: success onPreInit - 0.049s
4:52:51 PM: success initialize cache - 0.008s
4:52:51 PM: success copy gatsby files - 0.058s
4:52:51 PM: success onPreBootstrap - 0.043s
4:52:51 PM: success createSchemaCustomization - 0.015s
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/events with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/acclaims with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/carousels with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/videos with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/merches with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/photo-albums with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/banners with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/biography with params {"_limit":1000}
4:52:52 PM: info Starting to fetch data from Strapi - http://13.65.120.79:1337/footer with params {"_limit":1000}
4:52:56 PM: success Fetched Strapi Data - 4.887s
4:52:56 PM: success Checking for changed pages - 0.000s
4:52:56 PM: success source and transform nodes - 4.974s
4:52:58 PM: success building schema - 1.220s
4:52:58 PM: success createPages - 0.000s
4:52:58 PM: success createPagesStatefully - 0.082s
4:52:58 PM: info Total nodes: 295, SitePage nodes: 7 (use --verbose for breakdown)
4:52:58 PM: success Checking for changed pages - 0.000s
4:52:58 PM: success update schema - 0.133s
4:52:58 PM: success onPreExtractQueries - 0.000s
4:53:00 PM: success extract queries from components - 2.167s
4:53:00 PM: success write out redirect data - 0.001s
4:53:00 PM: success Build manifest and related icons - 0.079s
4:53:00 PM: success onPostBootstrap - 0.081s
4:53:00 PM: info bootstrap finished - 12.892s
4:53:10 PM: success run static queries - 9.854s - 12/12 1.22/s
4:53:26 PM: success run page queries - 16.217s - 7/7 0.43/s
4:53:26 PM: success write out requires - 0.169s
4:57:34 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
4:57:34 PM: Recommendation: math.div($spacer, 2)
4:57:34 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
4:57:34 PM:     β•·
4:57:34 PM: 302 β”‚ $headings-margin-bottom:      $spacer / 2 !default;
4:57:34 PM:     β”‚                               ^^^^^^^^^^^
4:57:34 PM:     β•΅
4:57:34 PM:     node_modules/bootstrap/scss/_variables.scss 302:31  @import
4:57:34 PM:     node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
4:57:34 PM:     src/styles/index.scss 11:9                          root stylesheet
4:57:34 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
4:57:34 PM: Recommendation: math.div($input-padding-y, 2)
4:57:34 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
4:57:34 PM:     β•·
4:57:34 PM: 498 β”‚ $input-height-inner-quarter:            add($input-line-height * .25em, $input-padding-y / 2) !default;
4:57:34 PM:     β”‚                                                                         ^^^^^^^^^^^^^^^^^^^^
4:57:34 PM:     β•΅
4:57:34 PM:     node_modules/bootstrap/scss/_variables.scss 498:73  @import
4:57:34 PM:     node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
4:57:34 PM:     src/styles/index.scss 11:9                          root stylesheet
4:57:34 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
4:57:34 PM: Recommendation: math.div($custom-control-indicator-size, 2)
4:57:34 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
4:57:34 PM:     β•·
4:57:34 PM: 568 β”‚ $custom-switch-indicator-border-radius:         $custom-control-indicator-size / 2 !default;
4:57:34 PM:     β”‚                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4:57:34 PM:     β•΅
4:57:34 PM:     node_modules/bootstrap/scss/_variables.scss 568:49  @import
4:57:34 PM:     node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
4:57:34 PM:     src/styles/index.scss 11:9                          root stylesheet
4:57:34 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
4:57:34 PM: Recommendation: math.div($spacer, 2)
4:57:34 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
4:57:34 PM:     β•·
4:57:34 PM: 713 β”‚ $nav-divider-margin-y:              $spacer / 2 !default;
4:57:34 PM:     β”‚                                     ^^^^^^^^^^^
4:57:34 PM:     β•΅
4:57:34 PM:     node_modules/bootstrap/scss/_variables.scss 713:37  @import
4:57:34 PM:     node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
4:57:34 PM:     src/styles/index.scss 11:9                          root stylesheet
4:57:34 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
4:57:34 PM: Recommendation: math.div($spacer, 2)
4:57:34 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
4:57:34 PM:     β•·
4:57:34 PM: 718 β”‚ $navbar-padding-y:                  $spacer / 2 !default;
4:57:34 PM:     β”‚                                     ^^^^^^^^^^^
4:57:34 PM:     β•΅
4:57:34 PM:     node_modules/bootstrap/scss/_variables.scss 718:37  @import
4:57:34 PM:     node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
4:57:34 PM:     src/styles/index.scss 11:9                          root stylesheet
4:57:37 PM: WARNING: 64 repetitive deprecation warnings omitted.
5:02:48 PM: success Building production JavaScript and CSS bundles - 562.015s
5:02:48 PM: success Rewriting compilation hashes - 0.002s
5:04:32 PM: Killed
5:04:32 PM: npm ERR! code ELIFECYCLE
5:04:32 PM: npm ERR! errno 137
5:04:32 PM: npm ERR! portillo-tenor@0.1.0 build: `gatsby build`
5:04:32 PM: npm ERR! Exit status 137
5:04:32 PM: npm ERR!
5:04:32 PM: npm ERR! Failed at the portillo-tenor@0.1.0 build script.
5:04:32 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
5:04:32 PM: npm ERR! A complete log of this run can be found in:
5:04:32 PM: npm ERR!     /opt/buildhome/.npm/_logs/2021-06-22T22_04_32_889Z-debug.log
5:04:32 PM: ​
5:04:32 PM: ────────────────────────────────────────────────────────────────
5:04:32 PM:   "build.command" failed                                        
5:04:32 PM: ────────────────────────────────────────────────────────────────
5:04:32 PM: ​
5:04:32 PM:   Error message
5:04:32 PM:   Command failed with exit code 137: npm run build
5:04:32 PM: ​
5:04:32 PM:   Error location
5:04:32 PM:   In Build command from Netlify app:
5:04:32 PM:   npm run build
5:04:32 PM: ​
5:04:32 PM:   Resolved config
5:04:32 PM:   build:
5:04:32 PM:     base: /opt/build/repo/frontend
5:04:32 PM:     command: npm run build
5:04:32 PM:     commandOrigin: ui
5:04:32 PM:     environment:
5:04:32 PM:       - NODE_VERSION
5:04:32 PM:     publish: /opt/build/repo/frontend/public
5:04:32 PM:     publishOrigin: ui
5:04:32 PM:   functions:
5:04:32 PM:     '*': {}
5:04:33 PM: Caching artifacts
5:04:33 PM: Started saving node modules
5:04:33 PM: Finished saving node modules
5:04:33 PM: Started saving build plugins
5:04:33 PM: Finished saving build plugins
5:04:33 PM: Started saving pip cache
5:04:33 PM: Finished saving pip cache
5:04:33 PM: Started saving emacs cask dependencies
5:04:33 PM: Finished saving emacs cask dependencies
5:04:33 PM: Started saving maven dependencies
5:04:33 PM: Finished saving maven dependencies
5:04:33 PM: Started saving boot dependencies
5:04:33 PM: Finished saving boot dependencies
5:04:33 PM: Started saving rust rustup cache
5:04:33 PM: Finished saving rust rustup cache
5:04:33 PM: Started saving go dependencies
5:04:33 PM: Finished saving go dependencies
5:04:39 PM: Cached ruby version 2.7.1
5:04:39 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:04:39 PM: Creating deploy upload records
5:04:39 PM: Failing build: Failed to build site
5:04:39 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
5:04:39 PM: Finished processing build request in 13m28.799573806s

Hi @fpigeonjr
Looking at that build log, it’s taking an extremely long time on the β€œBuilding production JavaScript and CSS bundles” phase: nearly 10 minutes. In most sites I’d expect that to take just a few seconds. How long does that phase take when you run it locally? How many pages are you building? I see that you’ve added a thing to your gatsby-node that does some stuff to the webpack config. How does the build time look without that?

2 Likes

A work around would be to use the netlify cli to deploy your site. This would at least get your site uploaded.

1 Like

Thanks @jacebenson for your suggestion. I am actually doing that and it works great for now but my end goal is to have it setup with Github actions for weekly deploy.

Hi @ascorbic and thanks for taking the time to look at my issue here. I am happy to have someone look at my code and am open to any suggestions you may have.

How long does that phase take when you run it locally?

When I run it locally from a fresh pull from GitHub it takes a long time, 88.070s.
I’ve attached my log from my local build.

How many pages are you building?

5 pages. The media page has a lot of images. Live site is here: https://davidportillotenor.com.

I see that you’ve added a thing to your gatsby-node that does some stuff to the webpack config. How does the build time look without that?

Commenting out the Gatsby-Node stuff it brings down the JS and CSS bundles down to 87s but then I get the error warn undefined Css Minimizer Plugin: postcss-svgo: /frontend/styles.79806722fdd2c8d00801.css:52:60002: Error: Plugin name should be specified

success Building production JavaScript and CSS bundles - 87.713s

// local build log

☁  frontend [master] npm run build

> portillo-tenor@0.1.0 build /Users/fpigeonjr/Code/deleteMe/frontend
> gatsby build

success open and validate gatsby-configs - 0.018s
success load plugins - 0.908s
success onPreInit - 0.014s
success initialize cache - 0.002s
success copy gatsby files - 0.051s
success onPreBootstrap - 0.009s
success createSchemaCustomization - 0.008s
info Starting to fetch data from Strapi - http://13.65.120.79:1337/events with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/acclaims with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/carousels with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/videos with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/merches with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/photo-albums with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/banners with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/biography with params {"_limit":1000}
info Starting to fetch data from Strapi - http://13.65.120.79:1337/footer with params {"_limit":1000}
success Fetched Strapi Data - 1.603s
success Checking for changed pages - 0.000s
success source and transform nodes - 1.641s
success building schema - 0.359s
success createPages - 0.000s
success createPagesStatefully - 0.023s
info Total nodes: 295, SitePage nodes: 7 (use --verbose for breakdown)
success Checking for changed pages - 0.000s
success update schema - 0.036s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.630s
success write out redirect data - 0.001s
success Build manifest and related icons - 0.039s
success onPostBootstrap - 0.041s
info bootstrap finished - 5.232s
success run static queries - 17.927s - 12/12 0.67/s
success run page queries - 7.315s - 7/7 0.96/s
success write out requires - 2.478s
β ™ Building production JavaScript and CSS bundles
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    β•·
302 β”‚ $headings-margin-bottom:      $spacer / 2 !default;
    β”‚                               ^^^^^^^^^^^
    β•΅
    node_modules/bootstrap/scss/_variables.scss 302:31  @import
    node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
    src/styles/index.scss 11:9                          root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($input-padding-y, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    β•·
498 β”‚ $input-height-inner-quarter:            add($input-line-height * .25em, $input-padding-y / 2) !default;
    β”‚                                                                         ^^^^^^^^^^^^^^^^^^^^
    β•΅
    node_modules/bootstrap/scss/_variables.scss 498:73  @import
    node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
    src/styles/index.scss 11:9                          root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($custom-control-indicator-size, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    β•·
568 β”‚ $custom-switch-indicator-border-radius:         $custom-control-indicator-size / 2 !default;
    β”‚                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    β•΅
    node_modules/bootstrap/scss/_variables.scss 568:49  @import
    node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
    src/styles/index.scss 11:9                          root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    β•·
713 β”‚ $nav-divider-margin-y:              $spacer / 2 !default;
    β”‚                                     ^^^^^^^^^^^
    β•΅
    node_modules/bootstrap/scss/_variables.scss 713:37  @import
    node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
    src/styles/index.scss 11:9                          root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($spacer, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

    β•·
718 β”‚ $navbar-padding-y:                  $spacer / 2 !default;
    β”‚                                     ^^^^^^^^^^^
    β•΅
    node_modules/bootstrap/scss/_variables.scss 718:37  @import
    node_modules/bootstrap/scss/bootstrap.scss 9:9      @import
    src/styles/index.scss 11:9                          root stylesheet

WARNING: 64 repetitive deprecation warnings omitted.
success Building production JavaScript and CSS bundles - 88.070s
success Rewriting compilation hashes - 0.001s
success Building HTML renderer - 1.836s
success Building static HTML for pages - 0.296s - 7/7 23.63/s
success onPostBuild - 0.000s
info Done building in 123.336207792 sec

To be clear, that’s locally: i.e. it just takes 1s off the build?

It really looks like it’s a specific issue with the pages on your site. There is no way that five pages should take 87s to bundle. I’d suggest that you disable pages one by one and see what difference they each make. I’d also look at your dependencies, and the generated bundle to see if that’s causing it. Failing that you might need to ask on the Gatsby forums. This isn’t a Netlify-specific issue, as it’s already very slow locally. That step taking quite a bit longer on Netlify isn’t unexpected, as locally it can use all of your cores at that point. This isn’t usually an issue, as that step is normally very quick.