# Command failed, error: exit status 5 - with Fastlane Android

**URL:** <https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631>\
**Category:** Builds\
**Tags:** fastlane, android\
**Created:** [April 1, 2019, 9:04pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631 "2019-04-01T21:04:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plastic-Uday](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Plastic-Uday](https://discuss.bitrise.io/u/Plastic-Uday)\
**Post date:** [April 1, 2019, 9:04pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/1 "2019-04-01T21:04:25Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Trying to generate build using Bitrise IO using fastlane in Android. But am receiving

> An error occurred while installing curb (0.9.9), and Bundler cannot continue.  
> Make sure that `gem install curb -v '0.9.9' --source 'https://rubygems.org/'`  
> succeeds before bundling.  
> In Gemfile:  
> fastlane-plugin-badge was resolved to 1.2.0, which depends on  
> badge was resolved to 0.10.0, which depends on  
> curb  
> Command failed, error: exit status 5

Am able to create build locally on mac, using the same .yml file. But receiving above error, from IO.

> **Gemfile**
>
> GEM  
> remote: [https://rubygems.org/](https://rubygems.org/)  
> specs:  
> CFPropertyList (3.0.0)  
> addressable (2.6.0)  
> public\_suffix (\>= 2.0.2, \< 4.0)  
> atomos (0.1.3)  
> babosa (1.0.2)  
> badge (0.10.0)  
> curb (~\> 0.9)  
> fastimage (\>= 1.6)  
> fastlane (\>= 2.0)  
> mini\_magick (\>= 4.5)  
> claide (1.0.2)  
> colored (1.2)  
> colored2 (3.1.2)  
> commander-fastlane (4.4.6)  
> highline (~\> 1.7.2)  
> curb (0.9.9)  
> declarative (0.0.10)  
> declarative-option (0.1.0)  
> digest-crc (0.4.1)  
> domain\_name (0.5.20180417)  
> unf (\>= 0.0.5, \< 1.0.0)  
> dotenv (2.7.2)  
> emoji\_regex (1.0.1)  
> excon (0.62.0)  
> faraday (0.15.4)  
> multipart-post (\>= 1.2, \< 3)  
> faraday-cookie\_jar (0.0.6)  
> faraday (\>= 0.7.4)  
> http-cookie (~\> 1.0.0)  
> faraday\_middleware (0.13.1)  
> faraday (\>= 0.7.4, \< 1.0)  
> fastimage (2.1.5)  
> fastlane (2.119.0)  
> CFPropertyList (\>= 2.3, \< 4.0.0)  
> addressable (\>= 2.3, \< 3.0.0)  
> babosa (\>= 1.0.2, \< 2.0.0)  
> bundler (\>= 1.12.0, \< 3.0.0)  
> colored  
> commander-fastlane (\>= 4.4.6, \< 5.0.0)  
> dotenv (\>= 2.1.1, \< 3.0.0)  
> emoji\_regex (\>= 0.1, \< 2.0)  
> excon (\>= 0.45.0, \< 1.0.0)  
> faraday (~\> 0.9)  
> faraday-cookie\_jar (~\> 0.0.6)  
> faraday\_middleware (~\> 0.9)  
> fastimage (\>= 2.1.0, \< 3.0.0)  
> gh\_inspector (\>= 1.1.2, \< 2.0.0)  
> google-api-client (\>= 0.21.2, \< 0.24.0)  
> google-cloud-storage (\>= 1.15.0, \< 2.0.0)  
> highline (\>= 1.7.2, \< 2.0.0)  
> json (\< 3.0.0)  
> mini\_magick (~\> 4.5.1)  
> multi\_json  
> multi\_xml (~\> 0.5)  
> multipart-post (~\> 2.0.0)  
> plist (\>= 3.1.0, \< 4.0.0)  
> public\_suffix (~\> 2.0.0)  
> rubyzip (\>= 1.2.2, \< 2.0.0)  
> security (= 0.1.3)  
> simctl (~\> 1.6.3)  
> slack-notifier (\>= 2.0.0, \< 3.0.0)  
> terminal-notifier (\>= 2.0.0, \< 3.0.0)  
> terminal-table (\>= 1.4.5, \< 2.0.0)  
> tty-screen (\>= 0.6.3, \< 1.0.0)  
> tty-spinner (\>= 0.8.0, \< 1.0.0)  
> word\_wrap (~\> 1.0.0)  
> xcodeproj (\>= 1.8.1, \< 2.0.0)  
> xcpretty (~\> 0.3.0)  
> xcpretty-travis-formatter (\>= 0.0.3)  
> fastlane-plugin-appcenter (0.1.7)  
> fastlane-plugin-badge (1.2.0)  
> badge (~\> 0.10.0)  
> gh\_inspector (1.1.3)  
> google-api-client (0.23.9)  
> addressable (~\> 2.5, \>= 2.5.1)  
> googleauth (\>= 0.5, \< 0.7.0)  
> httpclient (\>= 2.8.1, \< 3.0)  
> mime-types (~\> 3.0)  
> representable (~\> 3.0)  
> retriable (\>= 2.0, \< 4.0)  
> signet (~\> 0.9)  
> google-cloud-core (1.3.0)  
> google-cloud-env (~\> 1.0)  
> google-cloud-env (1.0.5)  
> faraday (~\> 0.11)  
> google-cloud-storage (1.16.0)  
> digest-crc (~\> 0.4)  
> google-api-client (~\> 0.23)  
> google-cloud-core (~\> 1.2)  
> googleauth (\>= 0.6.2, \< 0.10.0)  
> googleauth (0.6.7)  
> faraday (~\> 0.12)  
> jwt (\>= 1.4, \< 3.0)  
> memoist (~\> 0.16)  
> multi\_json (~\> 1.11)  
> os (\>= 0.9, \< 2.0)  
> signet (~\> 0.7)  
> highline (1.7.10)  
> http-cookie (1.0.3)  
> domain\_name (~\> 0.5)  
> httpclient (2.8.3)  
> json (2.2.0)  
> jwt (2.1.0)  
> memoist (0.16.0)  
> mime-types (3.2.2)  
> mime-types-data (~\> 3.2015)  
> mime-types-data (3.2019.0331)  
> mini\_magick (4.5.1)  
> multi\_json (1.13.1)  
> multi\_xml (0.6.0)  
> multipart-post (2.0.0)  
> nanaimo (0.2.6)  
> naturally (2.2.0)  
> os (1.0.0)  
> plist (3.5.0)  
> public\_suffix (2.0.5)  
> representable (3.0.4)  
> declarative (\< 0.1.0)  
> declarative-option (\< 0.2.0)  
> uber (\< 0.2.0)  
> retriable (3.1.2)  
> rouge (2.0.7)  
> rubyzip (1.2.2)  
> security (0.1.3)  
> signet (0.11.0)  
> addressable (~\> 2.3)  
> faraday (~\> 0.9)  
> jwt (\>= 1.5, \< 3.0)  
> multi\_json (~\> 1.10)  
> simctl (1.6.5)  
> CFPropertyList  
> naturally  
> slack-notifier (2.3.2)  
> terminal-notifier (2.0.0)  
> terminal-table (1.8.0)  
> unicode-display\_width (~\> 1.1, \>= 1.1.1)  
> tty-cursor (0.6.1)  
> tty-screen (0.6.5)  
> tty-spinner (0.9.0)  
> tty-cursor (~\> 0.6.0)  
> uber (0.1.0)  
> unf (0.1.4)  
> unf\_ext  
> unf\_ext (0.0.7.5)  
> unicode-display\_width (1.5.0)  
> word\_wrap (1.0.0)  
> xcodeproj (1.8.2)  
> CFPropertyList (\>= 2.3.3, \< 4.0)  
> atomos (~\> 0.1.3)  
> claide (\>= 1.0.2, \< 2.0)  
> colored2 (~\> 3.1)  
> nanaimo (~\> 0.2.6)  
> xcpretty (0.3.0)  
> rouge (~\> 2.0.7)  
> xcpretty-travis-formatter (1.0.0)  
> xcpretty (~\> 0.2, \>= 0.0.7)
> 
> PLATFORMS  
> ruby
> 
> DEPENDENCIES  
> fastlane  
> fastlane-plugin-appcenter  
> fastlane-plugin-badge
> 
> BUNDLED WITH  
> 2.0.1

## Environment:

[Bitrise.io](http://Bitrise.io), maxOs high Sierra 10.13.6

**Which build Step causes the issue and which version of the step?**

fastlane@2.4.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : Every time
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ : First time set up.

### Local reproduction

\_Can it be reproduced on your own Mac/PC by following our

Works fine on Mac, able to create build successfully.  
✓ | fastlane@2.4.0 | 28 sec

### Build Log

> **Log**
>
> \_Agent version: 1.2.1  
> Start time: 2019-04-01T20:28:16Z  
> $ docker “run” “-v” “/var/run/docker.sock:/var/run/docker.sock” “-v” “/bitrise:/bitrise” “-v” “/tmp/bitrise-agent378185811:/.bitrise-config” “-e” “BITRISE\_GIT\_BRANCH=ci/fastlane” “-e” “BITRISEIO\_GIT\_REPOSITORY\_OWNER=plasticmobile” “-e” “BITRISEIO\_GIT\_REPOSITORY\_SLUG=pp-pizzapizza-android-v2” “-e” “BITRISE\_APP\_SLUG=fb3f0db4e09e2582” “-e” “BITRISE\_APP\_TITLE=PizzaPizza-v2-Android-QA” “-e” “[GIT\_REPOSITORY\_URL=git@bitbucket.org](mailto:GIT_REPOSITORY_URL=git@bitbucket.org):plasticmobile/pp-pizzapizza-android-v2.git” “-e” “BITRISEIO\_STACK\_ID=linux-docker-android” “-e” “BITRISE\_BUILD\_TRIGGER\_TIMESTAMP=1554150495” “-e” “BITRISE\_BUILD\_NUMBER=12” “-e” “BITRISE\_IO=true” “-e” “BITRISE\_APP\_URL=[Log in - Bitrise](https://app.bitrise.io/app/fb3f0db4e09e2582)” “-e” “BITRISE\_BUILD\_URL=[Log in - Bitrise](https://app.bitrise.io/build/00ff03f9305dacee)” “-e” “BITRISE\_BUILD\_SLUG=00ff03f9305dacee” “–privileged” “–network=host” “–name=bitrise-main-container” “bitriseio/android-ndk:pinned” “bitrise” “run” “–config” “/.bitrise-config/bitrise.yml” “–inventory” “/.bitrise-config/bitrise.secrets.yml” “–json-params-base64” “eyJ3b3JrZmxvdyI6InByaW1hcnkifQ==”  
> ██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗  
> ██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝  
> ██████╔╝██║ ██║ ██████╔╝██║███████╗█████╗  
> ██╔══██╗██║ ██║ ██╔══██╗██║╚════██║██╔══╝  
> ██████╔╝██║ ██║ ██║ ██║██║███████║███████╗  
> ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝╚══════╝  
> version: 1.28.0  
> INFO[20:28:17] bitrise runs in Secret Filtering mode  
> INFO[20:28:17] bitrise runs in CI mode  
> INFO[20:28:17] Running workflow: primary  
> Switching to workflow: primary  
> ±-----------------------------------------------------------------------------+
> 
> | (0) activate-ssh-key@4.0.3 |  
> ±–±--------------------------------------------------------------±---------+  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | activate-ssh-key@4.0.3 | 4.81 sec |  
> ±–±--------------------------------------------------------------±---------+  
> ▼  
> ±-----------------------------------------------------------------------------+
> 
> | (1) git-clone@4.0.11 |  
> ±–±--------------------------------------------------------------±---------+  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | git-clone@4.0.11 | 7.19 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Update available: 4.0.11 → 4.0.14 |  
> ±–±--------------------------------------------------------------±---------+  
> ▼  
> ±-----------------------------------------------------------------------------+
> 
> | (2) script@1.1.5 |  
> ±–±--------------------------------------------------------------±---------+  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | script@1.1.5 | 9.89 sec |  
> ±–±--------------------------------------------------------------±---------+  
> ▼  
> INFO[20:28:40] Step info not found in StepLib ([GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib](https://github.com/bitrise-io/bitrise-steplib.git)) – Updating …  
> INFO[20:28:40] Update StepLib ([GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib](https://github.com/bitrise-io/bitrise-steplib.git))…  
> ±-----------------------------------------------------------------------------+
> 
> | (3) fastlane@2.4.0 |  
> ±-----------------------------------------------------------------------------+  
> | id: fastlane |  
> | version: 2.4.0 |  
> | collection: [GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib](https://github.com/bitrise-io/bitrise-steplib.git) |  
> | toolkit: go |  
> | time: 2019-04-01T20:28:45Z |  
> ±-----------------------------------------------------------------------------+  
> | |  
> INFO[20:28:45] Start installing (golang) with apt-get  
> INFO[20:28:45] \* [OK] Step dependency (go) installed, available.  
> Configs:
> 
> - WorkDir: .
> - Lane: android test
> - UpdateFastlane: false  
> Expand WorkDir  
> Expanded WorkDir: /bitrise/src  
> Ensure cookies for Apple Developer Portal  
> Failed to activate the Bitrise Apple Developer Portal connection: %!s(MISSING)  
> Read more: [https://devcenter.bitrise.io/getting-started/signing-up/connecting-apple-dev-account/](https://devcenter.bitrise.io/getting-started/signing-up/connecting-apple-dev-account/)  
> errors:  
> Falied to fetch portal data from Bitrise, error: Response status: 404 - Body: {“error\_msg”:“No Apple developer account found for this build.”}  
> Determine desired Fastlane version  
> Checking Gemfile.lock (/bitrise/src/Gemfile.lock) for fastlane gem  
> Gemfile.lock defined fastlane version: \>= 2.0  
> Install Fastlane with bundler  
> $ bundle “install” “–jobs” “20” “–retry” “5”  
> Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and  
> installing your bundle as root will break this application for all non-root  
> users on this machine.  
> Fetching gem metadata from [https://rubygems.org/](https://rubygems.org/)…  
> Fetching gem metadata from [https://rubygems.org/](https://rubygems.org/).  
> Resolving dependencies…  
> Using CFPropertyList 3.0.0  
> Using public\_suffix 2.0.5  
> Using atomos 0.1.3  
> Using babosa 1.0.2  
> Fetching curb 0.9.9  
> Using fastimage 2.1.5  
> Using bundler 2.0.1  
> Using colored 1.2  
> Using highline 1.7.10  
> Fetching dotenv 2.7.2  
> Using emoji\_regex 1.0.1  
> Using excon 0.62.0  
> Using multipart-post 2.0.0  
> Using unf\_ext 0.0.7.5  
> Using gh\_inspector 1.1.3  
> Using jwt 2.1.0  
> Using memoist 0.16.0  
> Using multi\_json 1.13.1  
> Using os 1.0.0  
> Using httpclient 2.8.3  
> Fetching mime-types-data 3.2019.0331  
> Using declarative 0.0.10  
> Using declarative-option 0.1.0  
> Using uber 0.1.0  
> Using retriable 3.1.2  
> Using digest-crc 0.4.1  
> Fetching json 2.2.0  
> Using mini\_magick 4.5.1  
> Using multi\_xml 0.6.0  
> Using plist 3.5.0  
> Using rubyzip 1.2.2  
> Using security 0.1.3  
> Using naturally 2.2.0  
> Using slack-notifier 2.3.2  
> Using terminal-notifier 2.0.0  
> Using unicode-display\_width 1.5.0  
> Using tty-screen 0.6.5  
> Using tty-cursor 0.6.1  
> Using word\_wrap 1.0.0  
> Using claide 1.0.2  
> Using colored2 3.1.2  
> Using nanaimo 0.2.6  
> Using rouge 2.0.7  
> Using addressable 2.6.0  
> Using representable 3.0.4  
> Fetching fastlane-plugin-appcenter 0.1.7  
> Using commander-fastlane 4.4.6  
> Using faraday 0.15.4  
> Using unf 0.1.4  
> Using simctl 1.6.5  
> Using terminal-table 1.8.0  
> Using tty-spinner 0.9.0  
> Fetching xcodeproj 1.8.2  
> Using xcpretty 0.3.0  
> Using domain\_name 0.5.20180417  
> Using faraday\_middleware 0.13.1  
> Using signet 0.11.0  
> Using google-cloud-env 1.0.5  
> Using xcpretty-travis-formatter 1.0.0  
> Using http-cookie 1.0.3  
> Using googleauth 0.6.7  
> Using google-cloud-core 1.3.0  
> Using faraday-cookie\_jar 0.0.6  
> Installing fastlane-plugin-appcenter 0.1.7  
> Installing dotenv 2.7.2  
> Installing curb 0.9.9 with native extensions  
> Installing xcodeproj 1.8.2  
> Installing json 2.2.0 with native extensions  
> Installing mime-types-data 3.2019.0331  
> Using mime-types 3.2.2  
> Using google-api-client 0.23.9  
> Using google-cloud-storage 1.16.0  
> Gem::Ext::BuildError: ERROR: Failed to build gem native extension.  
> current directory: /usr/local/lib/ruby/gems/2.5.0/gems/curb-0.9.9/ext  
> /usr/local/bin/ruby -I /usr/local/lib/ruby/site\_ruby/2.5.0 -r  
> ./siteconf20190401-1883-hqivvz.rb extconf.rb  
> checking for curl-config… no  
> checking for -lcurl… no  
> \*\*\* extconf.rb failed \*\*\*  
> Could not create Makefile due to some reason, probably lack of necessary  
> libraries and/or headers. Check the mkmf.log file for more details. You may  
> need configuration options.  
> Provided configuration options:  
> –with-opt-dir  
> –without-opt-dir  
> –with-opt-include  
> –without-opt-include=${opt-dir}/include  
> –with-opt-lib  
> –without-opt-lib=${opt-dir}/lib  
> –with-make-prog  
> –without-make-prog  
> –srcdir=.  
> –curdir  
> –ruby=/usr/local/bin/$(RUBY\_BASE\_NAME)  
> –with-curl-dir  
> –without-curl-dir  
> –with-curl-include  
> –without-curl-include=${curl-dir}/include  
> –with-curl-lib  
> –without-curl-lib=${curl-dir}/lib  
> –with-curllib  
> –without-curllib  
> extconf.rb:18:in `<main>': Can't find libcurl or curl/curl.h (RuntimeError) Try passing --with-curl-dir or --with-curl-lib and --with-curl-include options to extconf. To see why this extension failed to compile, please check the mkmf.log which can be found here: /usr/local/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/curb-0.9.9/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /usr/local/lib/ruby/gems/2.5.0/gems/curb-0.9.9 for inspection. Results logged to /usr/local/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/curb-0.9.9/gem_make.out An error occurred while installing curb (0.9.9), and Bundler cannot continue. Make sure that `gem install curb -v ‘0.9.9’ --source '[https://rubygems.org/'`](https://rubygems.org/'%60)  
> succeeds before bundling.  
> In Gemfile:  
> fastlane-plugin-badge was resolved to 1.2.0, which depends on  
> badge was resolved to 0.10.0, which depends on  
> curb  
> Command failed, error: exit status 5  
> | |  
> ±–±--------------------------------------------------------------±---------+  
> | x | fastlane@2.4.0 (exit code: 1) | 22 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Issue tracker: [GitHub · Where software is built](https://github.com/bitrise-io/steps-fastlane/issues) |  
> | Source: [GitHub - bitrise-steplib/steps-fastlane](https://github.com/bitrise-io/steps-fastlane) |  
> ±–±--------------------------------------------------------------±---------+  
> ▼  
> ±-----------------------------------------------------------------------------+
> 
> | (4) deploy-to-bitrise-io@1.3.15 |  
> ±–±--------------------------------------------------------------±---------+  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | deploy-to-bitrise-io@1.3.15 | 5.89 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Update available: 1.3.15 → 1.3.19 |  
> ±–±--------------------------------------------------------------±---------+  
> ±-----------------------------------------------------------------------------+  
> | bitrise summary |  
> ±–±--------------------------------------------------------------±---------+  
> | | title | time (s) |  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | activate-ssh-key@4.0.3 | 4.81 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | git-clone@4.0.11 | 7.19 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Update available: 4.0.11 → 4.0.14 |  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | script@1.1.5 | 9.89 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | x | fastlane@2.4.0 (exit code: 1) | 22 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Issue tracker: [GitHub · Where software is built](https://github.com/bitrise-io/steps-fastlane/issues) |  
> | Source: [GitHub - bitrise-steplib/steps-fastlane](https://github.com/bitrise-io/steps-fastlane) |  
> ±–±--------------------------------------------------------------±---------+  
> | ✓ | deploy-to-bitrise-io@1.3.15 | 5.89 sec |  
> ±–±--------------------------------------------------------------±---------+  
> | Update available: 1.3.15 → 1.3.19 |  
> ±–±--------------------------------------------------------------±---------+  
> | Total runtime: 50 sec |  
> ±-----------------------------------------------------------------------------+\_

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 2, 2019, 7:59am UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/2 "2019-04-02T07:59:30Z")

</div>

Hello there, did you try to install curb? 🤔

---

<div class="post-metadata">

**Author:** ![Plastic-Uday](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Plastic-Uday](https://discuss.bitrise.io/u/Plastic-Uday)\
**Post date:** [April 2, 2019, 2:14pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/3 "2019-04-02T14:14:17Z")

</div>

Yes tried to install, curb with script, but no success

> ERROR: Error installing curb:
> 
> ERROR: Failed to build gem native extension.
> 
> current directory: /usr/local/lib/ruby/gems/2.5.0/gems/curb-0.9.9/ext
> 
> /usr/local/bin/ruby -I /usr/local/lib/ruby/site\_ruby/2.5.0 -r ./siteconf20190402-1354-1yl6yv2.rb extconf.rb
> 
> checking for curl-config… no
> 
> checking for -lcurl… no
> 
> \*\*\* extconf.rb failed \*\*\*
> 
> Could not create Makefile due to some reason, probably lack of necessary
> 
> libraries and/or headers. Check the mkmf.log file for more details. You may
> 
> need configuration options. indent preformatted text by 4 spaces

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 2, 2019, 2:24pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/4 "2019-04-02T14:24:34Z")

</div>

did you try it with gem install? 🤔  
Could you please send me a build’s url and enable support user on the settings tab of the app? I would like to check a few things and run some builds if it’s ok with you 🙃

---

<div class="post-metadata">

**Author:** ![Plastic-Uday](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Plastic-Uday](https://discuss.bitrise.io/u/Plastic-Uday)\
**Post date:** [April 2, 2019, 8:16pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/5 "2019-04-02T20:16:13Z")

</div>

My bad, It’s with work flow specific stack configuration.  
Everything works fine now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [May 2, 2019, 8:16pm UTC](https://discuss.bitrise.io/t/command-failed-error-exit-status-5-with-fastlane-android/8631/6 "2019-05-02T20:16:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
