Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add which as part of the dependencies #37

Closed
Curstantine opened this issue Mar 7, 2023 · 1 comment
Closed

Add which as part of the dependencies #37

Curstantine opened this issue Mar 7, 2023 · 1 comment

Comments

@Curstantine
Copy link

Listed under their docs.

Error thrown while installing:

==> Making package: flutter 3.7.6-1 (Tue 07 Mar 2023 03:22:07 PM +0530)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Downloading Linux x64 Dart SDK from Flutter engine ada363ee93b17cfe31587b5102679885cb40837e...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  238M  100  238M    0     0   116k      0  0:34:56  0:34:56 --:--:--  129k
Building flutter tool...
Unhandled exception:
ProcessException: Failed to find "which" in the search path.
  Command: which 
#0      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:118:7)
#1      ErrorHandlingProcessManager.runSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:718:24)
#2      _runSync (package:flutter_tools/src/base/error_handling_io.dart:600:14)
#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:717:12)
#4      _PosixUtils._which (package:flutter_tools/src/base/os.dart:209:50)
#5      OperatingSystemUtils.whichAll (package:flutter_tools/src/base/os.dart:101:43)
#6      AndroidSdk.locateAndroidSdk.findAndroidHomeDir (package:flutter_tools/src/android/android_sdk.dart:122:46)
#7      AndroidSdk.locateAndroidSdk (package:flutter_tools/src/android/android_sdk.dart:146:36)
#8      AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:104:42)
#9      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:535:23)
#10     AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:92:20)
#11     AppContext.get (package:flutter_tools/src/base/context.dart:121:32)
#12     androidSdk (package:flutter_tools/src/globals.dart:63:39)
#13     generateCommands (package:flutter_tools/executable.dart:173:25)
#14     main.<anonymous closure> (package:flutter_tools/executable.dart:93:11)
#15     run.<anonymous closure> (package:flutter_tools/runner.dart:50:13)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#17     main (package:flutter_tools/executable.dart:91:3)
<asynchronous suspension>
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'flutter-3.7.6-1': 
@Curstantine Curstantine changed the title which as part of dependencies Add which as part of the dependencies Mar 7, 2023
@frealgagu
Copy link
Owner

According to standards and wiki:

Arch_User_Repository

You need to have already installed base-devel meta package to build any package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants